:root{color-scheme:light;--bg:#f8fafc;--surface:#fff;--ink:#172033;--muted:#66748b;--line:#e6ebf2;--primary:#4f46e5;--primary-soft:#eeedff;--radius:14px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:15px}small{display:block;font-size:12px;color:var(--muted)}.muted{color:var(--muted)}.mono{font-family:ui-monospace,monospace;font-size:11px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--primary);margin-bottom:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:12px;z-index:20;padding:12px;background:white;border:1px solid var(--primary)}.skip-link:focus{top:12px}
.sidebar{width:244px;background:var(--surface);border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:32px 20px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:700;letter-spacing:-.4px;min-width:0}.brand>span:last-child{overflow-wrap:anywhere}.brand small{font-size:9px;letter-spacing:1.8px;font-weight:600;margin-top:4px}.brand-mark{position:relative;display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;border-radius:12px;background:var(--primary);color:white;font-size:23px}.brand-mark span{position:absolute;right:8px;top:8px;width:5px;height:5px;border-radius:50%;background:#b4f1ce}.nav-label{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#8a96a8;font-weight:600;margin:46px 12px 15px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:9px;color:var(--muted);font-weight:500;margin-bottom:5px;transition:background .15s,color .15s}.nav-item>span{font-size:21px;line-height:1;width:21px;text-align:center}.nav-item:hover{background:#f5f6fa;color:var(--ink)}.nav-item.is-active{color:var(--primary);background:var(--primary-soft)}.sidebar-note{margin-top:auto;border:1px solid var(--line);border-radius:10px;padding:14px;font-size:11px;font-weight:600;background:#fbfcfe}.sidebar-note small{font-size:10px;font-weight:400;margin:7px 0 0 14px}.live-dot{display:inline-block;width:6px;height:6px;background:#27ae7b;border-radius:50%;margin-right:7px}.profile{display:flex;gap:10px;align-items:center;padding:22px 2px 0;margin-top:20px;border-top:1px solid var(--line)}.profile>div{min-width:0}.profile strong{font-size:12px;overflow-wrap:anywhere}.profile small{margin-top:4px}.avatar{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;background:#e7eaf3;color:#586381;border-radius:50%;font-weight:600}.avatar-soft{background:#eeedff;color:#6255b8}.admin-shell{margin-left:244px}.topbar{height:76px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb>span{margin:0 12px;color:#b7c0cd}.breadcrumb strong{font-weight:500;color:var(--ink)}.main-content{max-width:1400px;margin:auto;padding:38px 40px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.page-heading p:last-child{color:var(--muted);font-size:13px;margin-top:10px;line-height:1.6}.pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:600;line-height:1.2}.pill-neutral{background:#f0f3f8;color:#647088;border:1px solid #e5eaf2}.pill-success{background:#eaf9f1;color:#16815b}.pill-warning{background:#fff6df;color:#986300}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;padding:8px 13px;border:1px solid var(--line);border-radius:8px;background:white;font-weight:500;font-size:12px;transition:background .15s,box-shadow .15s}.button:hover{background:#f3f5fa}.button-primary{color:white;background:var(--primary);border-color:var(--primary);box-shadow:0 2px 3px #4f46e51c}.button-primary:hover{background:#4338ca}.button-quiet{background:transparent;border-color:transparent;color:var(--muted)}.is-disabled{opacity:.4;cursor:default}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 2px 3px #17203303}.stat-label{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;gap:8px}.stat-symbol{background:var(--primary-soft);color:var(--primary);width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:19px}.stat-card>strong{display:block;font-size:32px;letter-spacing:-1px;font-weight:600;margin:17px 0 7px}.stat-card>small{font-size:10px}.stats-note{color:#8a96a8;font-size:11px;margin:14px 0 30px}.panel{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);box-shadow:0 2px 3px #17203303;overflow:hidden}.overview-panel{padding:28px}.overview-panel>div>p.muted{font-size:12px;margin-top:10px;line-height:1.6}.shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}.shortcut{display:block;border:1px solid var(--line);border-radius:11px;padding:20px;transition:border-color .15s,background .15s}.shortcut:hover{border-color:#c4bfff;background:#fafaff}.shortcut-icon{display:grid;place-items:center;width:35px;height:35px;background:#f4f5fa;border-radius:10px;color:#726ba0;font-size:22px;margin-bottom:19px}.shortcut h3{display:flex;justify-content:space-between;font-size:13px}.shortcut h3>span{color:#9ba5b5}.shortcut p{color:var(--muted);font-size:12px;line-height:1.7;margin-top:9px}.page-footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#9aa5b6;margin-top:44px;border-top:1px solid var(--line);padding-top:20px}
.filters{display:flex;gap:10px;align-items:center;padding:20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search-field{flex:1;min-width:180px;max-width:380px}input,select{min-height:39px;border:1px solid #dfe5ee;border-radius:8px;padding:9px 12px;background:white;color:var(--ink);min-width:0}input{width:100%}input::placeholder{color:#9aa5b6;font-size:12px}input[aria-invalid=true]{border-color:#e09b9b}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8a96a8;font-weight:600;background:#fbfcfe;padding:14px 22px;border-bottom:1px solid var(--line)}td{padding:18px 22px;font-size:12px;border-bottom:1px solid #f0f3f7}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcff}td strong{font-size:12px;font-weight:500}td small{margin-top:5px;font-size:11px}.identity{display:flex;align-items:center;gap:11px}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:16px 20px;font-size:11px}.pagination{display:flex;gap:8px}.pagination .button{font-size:11px}.empty-state{text-align:center;padding:64px 20px;white-space:normal}.empty-state strong{font-size:15px}.empty-state p{margin-top:10px;font-size:12px;color:var(--muted)}.panel-heading{padding:22px;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-heading h2{font-size:15px}.notice{padding:14px 16px;border-radius:9px;font-size:12px;line-height:1.7;margin:18px 0}.notice ul{margin:5px 0 0;padding-left:18px}.notice-error{background:#fff1f2;border:1px solid #fecdd3;color:#b4233b}.notice-success{background:#edf9f1;border:1px solid #bbebcf;color:#167246}
.auth-page{min-height:100dvh;display:grid;place-items:center;padding:40px 24px;background:radial-gradient(ellipse at top,#eeedff 0,transparent 60%),var(--bg)}.login-layout{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:1080px;min-height:660px;background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 24px 70px #1720330d}.login-story{background:#151934;color:white;padding:48px 56px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:560px;height:560px;right:-300px;bottom:-260px;border:1px solid #ffffff0b;border-radius:50%;box-shadow:0 0 0 90px #ffffff03,0 0 0 180px #ffffff02;pointer-events:none}.login-story .brand small{color:#9399b7}.story-copy{margin:auto 0;padding:75px 0;z-index:1}.story-tag{font-size:9px;letter-spacing:1.4px;color:#b6bddc}.story-copy h1{font-size:clamp(30px,3.5vw,54px);line-height:1.18;letter-spacing:-1.8px;font-weight:600;margin:24px 0}.story-copy>p{color:#a3abc9;line-height:1.9;font-size:14px;max-width:340px}.story-lines{display:flex;gap:6px;margin-top:42px}.story-lines span{height:3px;width:21px;border-radius:3px;background:#393e60}.story-lines span:first-child{width:40px;background:#8b85f6}.story-footer{font-size:11px;color:#7d86a9}.login-form-section{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:56px 32px;background:white}.login-card{width:100%;max-width:350px;margin:auto 0}.login-icon{display:grid;place-items:center;color:var(--primary);width:44px;height:44px;border:1px solid #e5e2ff;border-radius:13px;font-size:25px;background:#f7f6ff;margin-bottom:28px}.login-card h2{font-size:29px;letter-spacing:-1px;margin-bottom:11px}.login-card>p.muted{font-size:13px}.login-form{margin-top:32px}.field{margin-bottom:20px}.field label{display:block;font-size:12px;font-weight:500;margin-bottom:9px}.field input{min-height:45px}.password-field{position:relative}.password-field input{padding-right:61px}.password-toggle{position:absolute;right:8px;top:8px;border:0;background:transparent;font-size:11px;color:var(--muted);padding:7px}.login-submit{width:100%;min-height:44px;justify-content:space-between;margin-top:8px}.login-help{font-size:11px;line-height:1.8;color:#96a0b1;text-align:center;border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.login-copyright{font-size:10px;color:#9aa5b6;padding-top:40px}
@media(min-width:1600px){.login-story{padding:64px 90px}}@media(max-width:1150px){.sidebar{width:215px}.admin-shell{margin-left:215px}.main-content{padding:30px 24px}.topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-story{padding:40px 32px}.shortcut-grid{gap:10px}.shortcut{padding:16px}}@media(max-width:760px){.sidebar{position:static;width:auto;padding:18px 20px;border-right:0;border-bottom:1px solid var(--line);gap:18px}.sidebar .brand{font-size:15px}.sidebar .brand-mark{width:32px;height:32px;border-radius:9px;font-size:20px}.sidebar nav{display:flex;gap:6px;overflow-x:auto}.nav-label,.sidebar-note,.profile{display:none}.nav-item{margin:0;white-space:nowrap;padding:9px 12px;font-size:12px}.nav-item>span{font-size:17px}.admin-shell{margin:0}.topbar{height:60px;padding:0 20px}.main-content{padding:26px 20px}.page-heading{margin-bottom:24px}.page-heading>.pill{display:none}h1{font-size:26px}.stats-grid{gap:12px}.stat-card{padding:18px}.stat-card>strong{font-size:29px}.stat-label{font-size:11px}.overview-panel{padding:22px}.shortcut-grid{grid-template-columns:1fr}.shortcut{display:block}.shortcut-icon{display:none}.shortcut p{margin-top:6px}.table-footer{flex-wrap:wrap}.filters{padding:16px}.filters select{flex:1}.search-field{max-width:none;flex-basis:100%}.page-footer{margin-top:30px}.login-layout{grid-template-columns:1fr}.login-story{padding:24px}.story-copy,.story-footer{display:none}.login-story:after{display:none}.auth-page{padding:20px 16px}.login-layout{min-height:0;max-width:460px;border-radius:16px}.login-form-section{padding:36px 24px;min-height:0}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@font-face {
    font-family: 'Inter';
    src: url('./inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body:not(.auth-page) { background: var(--bg); padding: 0; }
.admin-frame {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--bg);
    box-shadow: none;
}
.admin-frame .sidebar {
    position: sticky;
    inset: auto;
    top: 0;
    width: auto;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    align-self: start;
    overflow-y: auto;
    border-right: 1px solid #27365a;
    background: linear-gradient(165deg, #222b57 0%, #182441 52%, #111b32 100%);
    color: #f5f7ff;
}
.admin-frame .sidebar .brand small { color: #aebce0; }
.admin-frame .sidebar .brand-mark { background: #6159e8; }
.admin-frame .sidebar .nav-label { color: #93a3ca; }
.admin-frame .sidebar .nav-item { color: #bdc9e4; }
.admin-frame .sidebar .nav-item:hover { background: #ffffff16; color: #fff; }
.admin-frame .sidebar .nav-item.is-active { background: #ffffff20; color: #fff; box-shadow: inset 3px 0 0 #a8a3ff; }
.admin-frame .sidebar .sidebar-note { border-color: #ffffff21; background: #ffffff0d; color: #e8edff; }
.admin-frame .sidebar .sidebar-note small { color: #afbddb; }
.admin-frame .sidebar .profile { border-top-color: #ffffff24; }
.admin-frame .sidebar .profile small { color: #aebce0; }
.admin-frame .sidebar .avatar { background: #ffffff24; color: #fff; }
.admin-frame .admin-shell { margin-left: 0; min-width: 0; min-height: 100dvh; }
.admin-frame .topbar { position: sticky; top: 0; z-index: 4; }
.admin-frame .main-content { width: 100%; max-width: none; margin: 0; }
.detail-back { margin-bottom: 20px; }
.customer-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; margin-bottom: 20px; }
.customer-avatar { width: 52px; height: 52px; font-size: 20px; }
.customer-summary h2 { margin-bottom: 6px; overflow-wrap: anywhere; }
.customer-summary p { font-size: 13px; overflow-wrap: anywhere; }
.customer-summary .identity { min-width: 0; }
.customer-summary .identity > div { min-width: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.detail-card { padding: 24px; }
.detail-card h2 { font-size: 15px; }
.detail-list { margin: 20px 0 0; }
.detail-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.detail-list > div:last-child { border: 0; padding-bottom: 0; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.detail-empty { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 20px; }
.usage-card { margin-bottom: 20px; }
.usage-card .panel-heading { padding: 0; margin-bottom: 24px; }
.usage-card .panel-heading p { font-size: 12px; margin-top: 8px; }
.usage-heading { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; margin-bottom: 12px; }
.usage-progress { display: block; width: 100%; height: 8px; appearance: none; border: 0; border-radius: 20px; background: var(--primary-soft); overflow: hidden; }
.usage-progress::-webkit-progress-bar { background: var(--primary-soft); border-radius: 20px; }
.usage-progress::-webkit-progress-value { background: var(--primary); border-radius: 20px; }
.usage-progress::-moz-progress-bar { background: var(--primary); border-radius: 20px; }
.detail-helper { margin-top: 12px; font-size: 11px; line-height: 1.8; color: var(--muted); }
@media (max-width: 1150px) {
    .admin-frame { grid-template-columns: 210px minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .admin-frame { display: block; }
    .admin-frame .sidebar { position: static; height: auto; min-height: 0; max-height: none; overflow-y: visible; border-right: 0; border-bottom: 1px solid #27365a; }
    .detail-grid { grid-template-columns: 1fr; }
    .customer-summary { padding: 20px; align-items: flex-start; flex-wrap: wrap; }
    .detail-card { padding: 20px; }
}
.ai-settings-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 20px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.settings-grid .field { margin: 0; min-width: 0; }
.settings-grid select { width: 100%; }
.settings-wide { grid-column: 1/-1; }
.settings-save { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.settings-save .detail-helper { margin: 0; max-width: 480px; }
.model-picker-actions { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; margin-top: 20px; }
.plan-price { margin: 18px 0 6px; font-size: 27px; font-weight: 700; letter-spacing: -.6px; }
.plan-price small { display: inline; font-size: 12px; font-weight: 400; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.plan-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.plan-card { display: flex; flex-direction: column; min-width: 0; }
.plan-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-card-actions form { min-width: 0; margin: 0; }
.plan-card-actions .button { width: 100%; min-width: 0; padding: 8px 4px; border-color: #d7deeb; background: #fff; color: #27344b; font-size: 11px; font-weight: 600; white-space: nowrap; }
.plan-card-actions .button:hover { border-color: #aebbd2; background: #f5f7fb; }
.plan-card-actions .plan-action-edit { border-color: #dcd9ff; background: #f1f0ff; color: #4338ca; }
.plan-card-actions .plan-action-edit:hover { background: #e7e5ff; }
.plan-card-actions .plan-action-delete { border-color: #f4c7cd; color: #b4233b; }
.plan-card-actions .plan-action-delete:hover:not(:disabled) { border-color: #e99ba7; background: #fff1f2; }
.plan-card-actions .plan-action-delete:disabled { opacity: 1; cursor: not-allowed; border-color: #d7deeb; background: #f8fafc; color: #66748b; }
.plan-action-note { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.catalog-toolbar > div:first-child { min-width: 0; }
.catalog-toolbar .detail-helper { margin-top: 5px; max-width: 680px; }
.catalog-count { font-size: 16px; font-weight: 700; color: var(--ink); }
.catalog-count span { font-size: 12px; font-weight: 500; color: var(--muted); }
.catalog-toolbar-actions { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.catalog-empty { margin-top: 20px; }
.catalog-empty .button { margin-top: 20px; }
.plan-card { border-top: 3px solid #6862e9; }
.plan-card-inactive { border-top-color: #b8c3d4; }
.plan-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-card-heading > div { min-width: 0; }
.plan-card-heading h2 { font-size: 18px; overflow-wrap: anywhere; }
.plan-card-key { margin-bottom: 7px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7168b6; overflow-wrap: anywhere; }
.plan-card-description { min-height: 44px; margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.plan-card .plan-price { margin: 14px 0 16px; }
.plan-card-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; padding: 13px; border: 1px solid #edf0f6; border-radius: 9px; background: #f8faff; }
.plan-card-facts dt { margin-bottom: 5px; font-size: 10px; color: var(--muted); }
.plan-card-facts dd { margin: 0; font-size: 12px; font-weight: 650; color: var(--ink); }
.feature-group { margin-top: 20px; }
.feature-group-heading { padding: 19px 23px; border-bottom: 1px solid var(--line); background: #f8f9ff; }
.feature-group-heading h2 { font-size: 15px; }
.feature-group-heading p { margin-top: 4px; font-size: 11px; color: var(--muted); }
.feature-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 23px; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row-main { min-width: 0; }
.feature-row-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature-row-title h3 { font-size: 13px; overflow-wrap: anywhere; }
.feature-row-main > p { margin: 6px 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.feature-row-main code { font-size: 11px; color: #626ba0; overflow-wrap: anywhere; }
.feature-row-main details { margin-top: 8px; font-size: 12px; line-height: 1.6; }
.feature-row-main summary { cursor: pointer; color: var(--muted); }
.feature-row-main details ul { padding-left: 18px; margin-top: 6px; }
.feature-row-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.feature-row-actions .button { min-width: 58px; border-color: #d7deeb; font-weight: 600; }
.feature-type { min-width: 95px; text-align: right; font-size: 11px; color: var(--muted); }
@media (max-width: 1000px) {
    .catalog-toolbar { align-items: stretch; flex-direction: column; }
    .catalog-toolbar-actions { flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .catalog-toolbar { padding: 18px; }
    .catalog-toolbar-actions .button { flex: 1; white-space: nowrap; }
    .feature-row { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px 18px; }
    .feature-row-actions { width: 100%; justify-content: space-between; }
    .feature-type { min-width: 0; text-align: left; }
}
.model-picker-actions .detail-helper { flex: 1; margin: 0; }
.model-picker-actions .button { flex-shrink: 0; font-size: 11px; padding: 6px 10px; }
.model-picker-manual { margin-top: 12px; font-size: 11px; color: var(--muted); }
.model-picker-manual summary { cursor: pointer; }
.model-picker-manual .detail-helper { margin: 8px 0; }
.model-picker-custom { display: flex; gap: 8px; }
.model-picker-custom input { min-width: 0; flex: 1; }
[data-model-picker][data-error] [data-model-status] { color: #b45309; }
@media(max-width:760px) { .settings-grid { grid-template-columns: 1fr; } .settings-save { align-items: stretch; flex-direction: column; } }
.contact-excerpt { max-width: 440px; overflow: hidden; text-overflow: ellipsis; }
.contact-back { margin-bottom: 18px; }
.contact-detail { max-width: 840px; }
.contact-detail .panel-heading { border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-detail .panel-heading .muted { margin-top: 7px; font-size: 12px; }
.contact-detail-body { padding: 24px; }
.contact-detail-body .eyebrow { margin: 0 0 8px; }
.contact-detail-body a { color: var(--primary); overflow-wrap: anywhere; }
.contact-detail-body .eyebrow:not(:first-child) { margin-top: 26px; }
.contact-message { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; font-size: 13px; }
