*{box-sizing:border-box}
:root{
  --bg:#0f1115;--panel:#151922;--panel2:#10141c;--border:#232833;--border2:#2b3242;
  --text:#e7ebf3;--muted:#97a2b5;--accent:#4a6cff;--accent-soft:#8aa3ff;--success:#52c279;--success-soft:#8ee1ab;
  --btn:#202737;--btn-border:#313a4d;--scroll-track:#11151d;--scroll-thumb:#2a3346;--scroll-thumb-hover:#3b4b68;
}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;height:100%;overflow:hidden}
body{min-height:100vh}
a{color:inherit;text-decoration:none}
.app-shell{height:100vh;display:flex;flex-direction:column;overflow:hidden}
.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 20px;border-bottom:1px solid var(--border);background:#12151b;flex:0 0 auto}
.topbar-branding{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;min-width:0;flex:1 1 auto}
.brand-stack{display:flex;flex-direction:column;min-width:0}
.brand-row{display:flex;align-items:center;gap:10px}
.brand-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.brand{font-size:24px;font-weight:700;letter-spacing:.02em}.beta-tag{margin-left:6px;font-size:16px;color:var(--accent-soft)}.subbrand{color:var(--muted);font-size:13px;margin-top:4px;white-space:nowrap}
.header-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;line-height:1}
.header-status-maintenance{background:rgba(224,164,49,.14);border:1px solid rgba(224,164,49,.32);color:#ffe2a1}
.beta-helper-trigger{display:none}
.beta-helper-strip{display:flex;align-items:center;gap:10px;flex:0 0 auto;width:min(540px,46vw);height:74px;min-width:0;overflow:hidden;padding:10px 12px;border:1px solid rgba(90,120,255,.24);background:#171d29;border-radius:12px;align-self:flex-start}
.beta-helper-copy{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;overflow:hidden;cursor:zoom-in}
.beta-helper-chunk{font-size:11px;font-weight:700;color:#eef3ff;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.beta-helper-path{font-size:10px;color:#99a9c5;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.beta-helper-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.beta-helper-icon{padding:6px 8px;min-width:34px}
.beta-helper-modal{width:min(720px,100%)}
.beta-helper-popup{position:fixed;left:32px;top:112px;width:620px;height:420px;display:flex;flex-direction:column;background:#151922;border:1px solid var(--border2);border-radius:18px;box-shadow:0 24px 64px rgba(0,0,0,.42);z-index:55;overflow:hidden}
.beta-helper-popup-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--border);cursor:move;user-select:none}
.beta-helper-popup-heading{display:flex;flex-direction:column;min-width:0}
.beta-helper-popup-title{font-size:16px;font-weight:700;color:#edf2fb}
.beta-helper-popup-subtitle{font-size:11px;line-height:1.45;color:#95a4be;overflow-wrap:anywhere}
.beta-helper-popup-close{border:none;background:transparent;color:#dbe5ff;font-size:28px;line-height:1;cursor:pointer;padding:0 2px}
.beta-helper-popup-body{display:flex;flex-direction:column;gap:12px;min-height:0;padding:14px 16px 18px;flex:1 1 auto}
.beta-helper-popup-text{flex:1 1 auto;min-height:0;overflow:auto;white-space:pre-wrap;font-size:12px;line-height:1.6;color:#d8e1f2;padding-right:4px}
.beta-helper-popup-path{font-size:11px;line-height:1.45;color:#99a9c5;border-top:1px solid rgba(255,255,255,.06);padding-top:10px;overflow-wrap:anywhere}
.beta-helper-popup-resize{position:absolute;right:8px;bottom:8px;width:18px;height:18px;border:none;background:transparent;cursor:nwse-resize;padding:0}
.beta-helper-popup-resize::before{content:"";display:block;width:12px;height:12px;border-right:2px solid rgba(143,160,189,.9);border-bottom:2px solid rgba(143,160,189,.9);margin-left:3px;margin-top:3px}
.topbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.topbar-link-actions{display:none;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.topbar-mobile-menu{display:block;position:relative;flex:0 0 auto;align-self:center}
.mobile-menu-trigger{display:inline-flex;align-items:center;justify-content:center;width:62px;height:52px;border-radius:999px;border:none;background:transparent;color:#e8edf8;cursor:pointer;padding:0}
.mobile-menu-trigger:hover{opacity:.82}
.mobile-menu-trigger:focus-visible{outline:2px solid rgba(90,120,255,.48);outline-offset:4px}
.mobile-menu-logo{display:block;width:58px;height:58px;object-fit:contain;opacity:.94}
.mobile-menu-panel{position:absolute;top:calc(100% + 10px);right:0;display:flex;flex-direction:column;gap:8px;min-width:210px;padding:10px;border-radius:16px;border:1px solid var(--border2);background:#171c26;box-shadow:0 18px 44px rgba(0,0,0,.34);z-index:30}
.mobile-menu-identity{padding:2px 2px 8px;font-size:12px;font-weight:600;color:#cdd8ec;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:2px;word-break:break-word}
.mobile-menu-panel .btn{width:100%;display:flex;align-items:center;justify-content:flex-start}
.mobile-menu-panel .inline-form{width:100%}
.mobile-menu-panel .inline-form .btn{width:100%}
.user-chip{display:none;flex-direction:column;align-items:flex-end;gap:2px;padding:9px 13px;border:1px solid var(--border2);border-radius:18px;background:#171c26;min-width:154px;box-shadow:0 12px 24px rgba(0,0,0,.12)}
.user-chip-role{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;padding:2px 8px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border:1px solid rgba(255,255,255,.12);background:#20283a;color:#dbe6ff}
.user-chip-role-user{background:#212938;color:#d7deef}
.user-chip-role-admin{background:rgba(90,120,255,.14);border-color:rgba(90,120,255,.28);color:#dce7ff}
.user-chip-role-sys-admin{background:rgba(82,194,121,.14);border-color:rgba(82,194,121,.34);color:#d9f8e2}
.user-chip-role-engineer{background:rgba(224,163,58,.16);border-color:rgba(224,163,58,.34);color:#ffe8b5}
.user-chip-name{font-size:13px;font-weight:700;color:#eef3ff}
.user-chip-meta{font-size:11px;color:#9aa8bf}
.inline-form{margin:0}
.btn-sm{padding:9px 11px;font-size:12px;border-radius:12px}
.workspace{display:grid;grid-template-columns:var(--workspace-sidebar-width,380px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:var(--workspace-gap,18px);padding:18px;flex:1 1 auto;min-height:0;overflow:hidden;position:relative;--workspace-gap:18px;--workspace-sidebar-width:380px;--workspace-helper-width:380px}
.workspace.has-helper-dock{grid-template-columns:var(--workspace-sidebar-width,380px) var(--workspace-helper-width,380px) minmax(0,1fr)}
.workspace-carousel-frame,.workspace-carousel-track{display:contents}
.sidebar{grid-column:1;grid-row:1;min-width:0;min-height:0;height:100%}
.chat-area{grid-column:2;grid-row:1;min-width:0;min-height:0;height:100%}
.workspace.has-helper-dock .chat-area{grid-column:3}
.helper-dock{display:none;grid-column:2;grid-row:1;min-width:0;min-height:0;height:100%}
.workspace.has-helper-dock .helper-dock{display:block}
.workspace-splitter{position:absolute;top:18px;bottom:18px;left:calc(18px + var(--workspace-sidebar-width) + (var(--workspace-gap) / 2) - 12px);width:24px;border:none;background:transparent;padding:0;cursor:col-resize;display:flex;align-items:center;justify-content:center;z-index:4}
.workspace-splitter-secondary{left:calc(18px + var(--workspace-sidebar-width) + var(--workspace-gap) + var(--workspace-helper-width) + (var(--workspace-gap) / 2) - 12px)}
.workspace-splitter-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:54px;border-radius:999px;border:1px solid rgba(90,120,255,.18);background:rgba(17,21,29,.72);color:#dbe5ff;font-size:13px;font-weight:700;opacity:0;transform:scale(.94);transition:opacity .16s ease,transform .16s ease,border-color .16s ease,background .16s ease;pointer-events:none;backdrop-filter:blur(8px)}
.workspace-splitter:hover .workspace-splitter-icon,.workspace-splitter.is-active .workspace-splitter-icon,.workspace-splitter:focus-visible .workspace-splitter-icon{opacity:1;transform:scale(1);border-color:rgba(90,120,255,.34);background:rgba(22,29,40,.92)}
.workspace-splitter:focus-visible{outline:none}
.workspace-mobile-nav{display:none}
.workspace-mobile-tab{display:none}
.workspace-mobile-tab.is-active{display:none}
.workspace-mobile-arrow{display:none;position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(15,19,26,.66);color:#dce5f7;font-size:18px;font-weight:700;line-height:1;align-items:center;justify-content:center;cursor:pointer;z-index:3;backdrop-filter:blur(8px)}
.workspace-mobile-arrow-left{left:6px}
.workspace-mobile-arrow-right{right:6px}
.workspace-mobile-arrow:hover{background:rgba(20,26,36,.9);border-color:rgba(90,120,255,.28)}
.mobile-carousel-clone{display:none;pointer-events:none;user-select:none}
.is-carousel-active .panel{box-shadow:0 10px 30px rgba(0,0,0,.2),0 0 0 1px rgba(255,255,255,.02)}
.panel{background:var(--panel);border:1px solid var(--border);border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.explorer-panel,.chat-panel{height:100%;min-height:0}
.explorer-panel{display:flex;flex-direction:column;overflow:hidden}
.helper-panel{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.panel-title{padding:12px 14px;border-bottom:1px solid var(--border);font-weight:600;color:#c8d2e6;font-size:13px}
.panel-title-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.explorer-toolbar{padding:10px 12px;border-bottom:1px solid var(--border);display:flex;gap:8px;flex:0 0 auto}
.explorer-search{flex:1;background:#0f131a;color:#eef2fb;border:1px solid var(--border2);border-radius:12px;padding:12px 14px;font-size:14px;outline:none}
.panel-body{padding:10px;min-height:0}
.explorer-pane{flex:1 1 auto;height:auto;overflow:auto;min-height:0}
.helper-panel-body{display:flex;flex:1 1 auto;flex-direction:column;gap:12px;min-height:0}
.helper-panel-subtitle{font-size:11px;line-height:1.45;color:#95a4be;overflow-wrap:anywhere}
.helper-panel-text{flex:1 1 auto;min-height:0;overflow:auto;white-space:pre-wrap;font-size:12px;line-height:1.6;color:#d8e1f2;padding-right:4px}
.helper-panel-path{font-size:11px;line-height:1.45;color:#99a9c5;border-top:1px solid rgba(255,255,255,.06);padding-top:10px;overflow-wrap:anywhere}
.helper-panel-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.helper-panel-icon{padding:6px 8px;min-width:34px}
.helper-slide{display:none}
.explorer-list{list-style:none;margin:0;padding:0}.explorer-item+.explorer-item{margin-top:8px}
.explorer-card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:14px;background:var(--panel2);border:1px solid #222938;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.explorer-item.active .explorer-card{border-color:#5a78ff;box-shadow:inset 0 0 0 1px rgba(90,120,255,.25)}
.explorer-item.top-candidate .explorer-card{border-color:rgba(82,194,121,.72);box-shadow:inset 0 0 0 1px rgba(82,194,121,.16),0 0 0 1px rgba(82,194,121,.08);background:linear-gradient(180deg, rgba(82,194,121,.08), rgba(16,20,28,.96))}
.explorer-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.explorer-status{display:flex;align-items:center;gap:8px;min-height:32px}
.explorer-main{min-width:0;width:100%}.explorer-file-name{font-size:14px;line-height:1.35;font-weight:600;color:#eef3ff}.explorer-preview{margin-top:6px;font-size:12px;line-height:1.45;color:#c9d6ee;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.explorer-meta{margin-top:6px;font-size:11px;color:#92a1bb;word-break:break-all}
.explorer-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;border:1px solid rgba(82,194,121,.45);background:rgba(82,194,121,.12);color:#d8f9e3;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.explorer-actions{display:flex;gap:6px;flex-shrink:0;align-self:flex-start}.text-btn{border:1px solid var(--btn-border);background:var(--btn);color:#e8edf8;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:700;cursor:pointer}
.empty-state{color:#8d98ab;padding:12px}
.chat-panel{position:relative;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.chat-scroll{flex:1 1 auto;min-height:0;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:14px;background:radial-gradient(circle at top, rgba(90,120,255,.08), transparent 26%),#11151d}
.scroll-to-bottom{position:absolute;right:20px;bottom:104px;width:42px;height:42px;border-radius:999px;border:1px solid rgba(90,120,255,.26);background:rgba(20,25,34,.92);color:#eef3ff;font-size:22px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.28);z-index:2;transition:transform .16s ease,background .16s ease,border-color .16s ease,opacity .16s ease}
.scroll-to-bottom:hover{background:rgba(28,35,48,.98);border-color:rgba(90,120,255,.46);transform:translateY(-1px)}
#chatMessages{display:flex;flex-direction:column;gap:14px}
.chat-row{display:flex}.chat-row.user{justify-content:flex-end}.chat-row.assistant{justify-content:flex-start}
.bubble{max-width:min(760px,88%);border-radius:20px;padding:14px 16px;line-height:1.45;white-space:pre-wrap}
.user-flat{background:#1a202b;border:1px solid var(--border2);border-bottom-right-radius:6px}
.assistant-flat{background:transparent;border:none;padding-left:0;max-width:min(820px,96%)}
.bubble-role-wrap{display:flex;align-items:center;gap:10px;margin-bottom:6px}.bubble-role{font-size:12px;font-weight:700;letter-spacing:.02em;opacity:.88;margin:0}.bubble-text{font-size:15px}.bubble-target-list{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(250px,1fr));gap:10px;max-width:820px}.bubble-target{display:inline-flex;align-items:center;gap:8px;border:1px solid #31415f;background:rgba(74,108,255,.12);color:#dce6ff;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:700;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.bubble-target-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:100%;max-width:none;gap:8px;border-radius:18px;padding:10px 14px}.bubble-target-card.best-match{border-color:rgba(82,194,121,.72);background:linear-gradient(180deg, rgba(82,194,121,.14), rgba(74,108,255,.08));box-shadow:0 0 0 1px rgba(82,194,121,.12)}.bubble-target-topbar{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:10px}.bubble-target-status{display:flex;align-items:center;gap:8px;min-height:32px;flex:0 0 auto}.bubble-target-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;border:1px solid rgba(82,194,121,.45);background:rgba(82,194,121,.12);color:#d8f9e3;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.bubble-target-name{font-size:12px;font-weight:700;color:#eef3ff;text-align:left;flex:1 1 auto;overflow-wrap:anywhere}.bubble-target-confidence{flex:0 0 auto}.bubble-target-preview{font-size:11px;font-weight:500;line-height:1.5;color:#b9c8e8;text-align:left;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;padding-top:2px;border-top:1px solid rgba(255,255,255,.06);width:100%}.bubble-target:hover{background:rgba(74,108,255,.18);border-color:#496dff}.bubble-target-card.best-match:hover{border-color:rgba(82,194,121,.9);background:linear-gradient(180deg, rgba(82,194,121,.18), rgba(74,108,255,.1))}.bubble-meta{margin-top:10px;font-size:11px;color:#92a1bb;letter-spacing:.01em}.bubble-feedback{margin-top:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bubble-feedback-label{font-size:11px;color:#9aa8bf;letter-spacing:.01em}.bubble-feedback-actions{display:flex;align-items:center;gap:8px}.bubble-feedback-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:#171c26;color:#9aa8bf;font-size:15px;line-height:1;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease,color .16s ease}.bubble-feedback-btn:hover{border-color:rgba(90,120,255,.42);background:#1b2230;transform:translateY(-1px);color:#e8edf8}.bubble-feedback-btn.is-active{box-shadow:0 0 0 1px rgba(90,120,255,.12)}.bubble-feedback-btn-up.is-active{border-color:rgba(82,194,121,.5);background:rgba(82,194,121,.14);color:#8ee1ab}.bubble-feedback-btn-down.is-active{border-color:rgba(217,95,95,.48);background:rgba(217,95,95,.14);color:#ffb2b2}.bubble-feedback-icon{display:block;width:18px;height:18px}
.welcome-card{margin:auto;max-width:620px;text-align:center;background:#171c26;border:1px solid #2a3140;border-radius:22px;padding:28px}.welcome-title-row{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:10px}.welcome-title-logo{width:65px;height:65px;object-fit:contain;opacity:.9;flex:0 0 auto}.welcome-title{font-size:24px;font-weight:700;margin:0}.welcome-text{color:#98a5bb;line-height:1.5}
.composer-wrap{border-top:1px solid var(--border);padding:14px;background:#141922;flex:0 0 auto}
.thinking-bar{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#a9b7cf;font-size:13px}.thinking-dot{width:8px;height:8px;border-radius:999px;background:var(--accent-soft);animation:pulse 1s infinite ease-in-out}
@keyframes pulse{0%{transform:scale(.9);opacity:.6}50%{transform:scale(1.15);opacity:1}100%{transform:scale(.9);opacity:.6}}
.composer{display:flex;gap:10px;align-items:center}.composer-input{flex:1;background:#0f131a;color:#eef2fb;border:1px solid var(--border2);border-radius:16px;padding:14px 16px;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease}.composer-input:focus{border-color:#5a78ff;box-shadow:0 0 0 3px rgba(90,120,255,.16)}
.composer-actions{display:flex;gap:8px}.btn{border:none;border-radius:14px;padding:12px 14px;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .18s ease,filter .18s ease,transform .18s ease}.btn-primary{background:var(--accent);color:#fff}.btn-secondary{background:var(--btn);color:#e8edf8;border:1px solid var(--btn-border)}.btn:disabled,.text-btn:disabled{cursor:not-allowed;opacity:.48;filter:saturate(.7)}.btn-primary:disabled{background:#33446e;color:#cfd7eb}.btn-secondary:disabled{background:#1a2231;color:#8f9bb2;border-color:#2a3242}.composer-input:disabled,.explorer-search:disabled{opacity:.58;cursor:not-allowed}.hidden{display:none!important}
.confidence-ring{--ring-color:#e0a33a;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center}.confidence-good{--ring-color:#54c26f}.confidence-mid{--ring-color:#e0c34f}.confidence-low{--ring-color:#d98a3a}
.confidence-ring-sm{width:32px;height:32px}
.confidence-ring-inner{width:34px;height:34px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:3px}.confidence-core{width:100%;height:100%;border-radius:999px;background:var(--panel);display:flex;align-items:center;justify-content:center;font-size:11px;color:#eef3ff;font-weight:700}
.confidence-ring-sm .confidence-ring-inner{width:32px;height:32px}
.confidence-ring-sm .confidence-core{font-size:10px}
.explorer-confidence{flex:0 0 auto}
.auth-shell{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:14px;padding:30px 20px 20px;overflow:auto}
.account-page{flex:1 1 auto;display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;padding:18px 12px 18px}
.account-shell{display:grid;grid-template-columns:repeat(2,minmax(320px,1fr));gap:12px;align-content:start}
.account-panel{min-height:0;display:flex;flex-direction:column}
.account-panel .admin-body{display:flex;flex-direction:column;gap:10px}
.account-shell .panel-title{padding:12px 14px;border-bottom:1px solid var(--border);font-weight:600;color:#c8d2e6;font-size:13px}
.account-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.auth-card{width:min(336px,100%);padding:16px}
.auth-card-wide{width:min(404px,100%)}
.maintenance-card .auth-text{margin-bottom:0}
.maintenance-note{margin:0}
.auth-title-row{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.auth-title-logo{width:58px;height:58px;object-fit:contain;opacity:.9;flex:0 0 auto}
.auth-title{font-size:17px;font-weight:700;margin:0}
.auth-text{font-size:11px;line-height:1.4;color:#98a5bb;margin-bottom:11px}
.auth-form{display:flex;flex-direction:column;gap:8px}
.auth-terms-link,.auth-accept-btn{text-align:center}
.auth-accept-btn.is-accepted{background:rgba(82,194,121,.14);border-color:rgba(82,194,121,.42);color:#d8f9e3}
.auth-terms-note{font-size:10px;line-height:1.4;color:#9fb0cb;margin-top:-2px}
.field-label{font-size:11px;font-weight:700;color:#cbd5e9;margin-top:2px}
.field-input{width:100%;background:#0f131a;color:#eef2fb;border:1px solid var(--border2);border-radius:12px;padding:11px 13px;font-size:13px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.field-input:focus{border-color:#5a78ff;box-shadow:0 0 0 3px rgba(90,120,255,.16)}
.field-help{font-size:12px;line-height:1.45;color:#9fb0cb;margin-top:-4px}
.field-error{font-size:12px;line-height:1.45;color:#ffd3d3;margin-top:-4px}
.auth-submit{margin-top:6px}
.auth-footer{margin-top:11px;font-size:10px;color:#98a5bb}
.auth-footer a{color:#d8e3ff}
.auth-shell .btn{padding:8px 10px;font-size:11px;border-radius:10px}
.auth-shell .field-label{font-size:9px}
.auth-shell .field-input{padding:8px 10px;font-size:11px;border-radius:9px}
.auth-shell .field-help,.auth-shell .field-error,.auth-shell .auth-terms-note{font-size:10px}
.auth-shell .form-error,.auth-shell .form-banner,.auth-shell .form-note{padding:7px 9px;font-size:10px}
.modal-backdrop{position:fixed;inset:0;background:rgba(7,10,15,.72);display:flex;align-items:center;justify-content:center;padding:24px;z-index:50}
.modal-card{width:min(760px,100%);max-height:min(82vh,820px);display:flex;flex-direction:column;background:#151922;border:1px solid var(--border2);border-radius:18px;box-shadow:0 24px 64px rgba(0,0,0,.38)}
.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 18px;border-bottom:1px solid var(--border)}
.modal-title{font-size:18px;font-weight:700;color:#edf2fb}
.modal-subtitle{font-size:12px;color:#95a4be;margin-top:4px}
.modal-close{border:none;background:transparent;color:#dbe5ff;font-size:28px;line-height:1;cursor:pointer;padding:0 2px}
.modal-body{padding:16px 18px;overflow:auto}
.terms-body{font-size:13px;line-height:1.6;color:#d6deef}
.terms-body p{margin:0 0 12px}
.form-error,.form-banner,.form-note{border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.45;margin-bottom:12px}
.form-error{background:rgba(217,95,95,.12);border:1px solid rgba(217,95,95,.32);color:#ffd3d3}
.form-banner{background:rgba(82,194,121,.12);border:1px solid rgba(82,194,121,.32);color:#d8f9e3}
.form-note{background:rgba(90,120,255,.12);border:1px solid rgba(90,120,255,.28);color:#dbe5ff}
.admin-page{flex:1 1 auto;display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;padding:12px}
.admin-layout-toolbar{display:none}
.admin-layout-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.admin-layout-link{padding:0;border:none;background:transparent;color:#9fb6ff;font-size:12px;font-weight:600;text-decoration:underline;cursor:pointer}
.admin-layout-link:hover{color:#dbe5ff}
.admin-shell{flex:1 1 auto;display:grid;grid-template-columns:minmax(260px,0.88fr) minmax(340px,1.12fr);gap:12px;overflow:auto;align-content:start;align-items:start}
.admin-layout{padding:0}
.admin-layout.is-grid-ready{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:28px}
.admin-panel{min-height:0;display:flex;flex-direction:column;align-self:start}
.admin-body{padding:10px}
.admin-shell .panel-title,.system-layout .panel-title{padding:10px 12px;font-size:12px}
.admin-shell .btn,.system-layout .btn{padding:9px 11px;font-size:12px;border-radius:12px}
.admin-shell .field-label,.system-layout .field-label{font-size:10px}
.admin-shell .field-input,.system-layout .field-input{padding:9px 11px;font-size:12px;border-radius:10px}
.admin-shell .form-error,.admin-shell .form-banner,.admin-shell .form-note,.system-layout .form-error,.system-layout .form-banner,.system-layout .form-note,.system-layout-banner{padding:8px 10px;font-size:11px}
.system-page{flex:1 1 auto;display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;padding:12px}
.system-layout-toolbar{display:none}
.system-layout-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.system-layout-link{padding:0;border:none;background:transparent;color:#9fb6ff;font-size:12px;font-weight:600;text-decoration:underline;cursor:pointer}
.system-layout-link:hover{color:#dbe5ff}
.system-layout-banner{margin:0}
.system-browser{display:block}
.system-browser-shell{display:grid;grid-template-columns:minmax(220px,20%) minmax(0,1fr);gap:12px;min-height:0}
.system-browser-sidebar{min-height:0;align-self:start}
.system-browser-sidebar .admin-body{display:flex;flex-direction:column;gap:10px}
.system-browser-note-stack{display:flex;flex-direction:column;gap:10px}
.system-browser-nav{display:flex;flex-direction:column;gap:8px}
.system-browser-nav-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px}
.system-browser-nav-btn,.system-browser-nav-plus{border:1px solid var(--btn-border);background:#171d29;color:#dbe5ff;border-radius:12px;min-height:40px;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}
.system-browser-nav-btn{padding:10px 12px;text-align:left;font-size:12px;font-weight:700}
.system-browser-nav-plus{display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;line-height:1}
.system-browser-nav-btn:hover,.system-browser-nav-plus:hover{border-color:rgba(90,120,255,.36);background:#1b2230}
.system-browser-nav-btn.is-active-primary{background:rgba(74,108,255,.16);border-color:rgba(90,120,255,.46);color:#eef3ff}
.system-browser-nav-btn.is-active-secondary,.system-browser-nav-plus.is-active{background:rgba(82,194,121,.12);border-color:rgba(82,194,121,.38);color:#dff7e7}
.system-browser-content{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0}
.system-browser-content.has-secondary{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}
.system-browser-slot{min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px}
.system-browser-stack{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}
.system-summary-single{grid-template-columns:1fr}
.system-layout.is-browser-source,.admin-layout.is-browser-source,.engineer-layout.is-browser-source{display:none}
.system-browser .system-grid-card,
.system-browser .system-browser-panel,
.system-browser .admin-grid-card,
.system-browser .engineer-grid-card,
.system-browser .admin-panel{position:static;min-width:0;width:100%;height:auto!important;align-self:stretch;grid-column:auto!important;grid-row:auto!important}
.system-browser .system-grid-card .admin-body,
.system-browser .system-browser-panel .admin-body,
.system-browser .admin-grid-card .admin-body,
.system-browser .engineer-grid-card .admin-body,
.system-browser .admin-panel .admin-body{height:auto;overflow:visible}
.system-browser .system-card-size,
.system-browser .system-card-edit-hint,
.system-browser .system-card-resize,
.system-browser .admin-card-size,
.system-browser .admin-card-edit-hint,
.system-browser .admin-card-resize,
.system-browser .engineer-card-size,
.system-browser .engineer-card-edit-hint,
.system-browser .engineer-card-resize{display:none!important}
.system-browser .system-card-handle,
.system-browser .admin-card-handle,
.system-browser .engineer-card-handle{cursor:default}
.system-layout{display:grid;grid-template-columns:minmax(320px,0.96fr) minmax(320px,0.96fr);gap:8px;align-content:start;align-items:start}
.system-layout.is-grid-ready{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:28px}
.system-layout .admin-panel{min-width:0}
.system-grid-card{position:relative;min-width:0;height:auto;align-self:start}
.system-grid-card .admin-body{height:auto;overflow:visible}
.system-layout.is-grid-ready .system-grid-card{height:100%;align-self:stretch}
.system-layout.is-grid-ready .system-grid-card .admin-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.system-card-handle{cursor:default;user-select:none}
.system-card-edit-hint{display:none;font-size:10px;font-weight:700;color:#8fa0bd;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.system-card-size{display:none;position:absolute;top:10px;right:12px;padding:3px 8px;border-radius:999px;border:1px solid rgba(90,120,255,.26);background:rgba(18,24,39,.9);color:#dbe5ff;font-size:10px;font-weight:700;letter-spacing:.03em;pointer-events:none}
.system-card-resize{display:none;position:absolute;right:8px;bottom:8px;width:16px;height:16px;border:none;background:transparent;cursor:nwse-resize;padding:0}
.system-card-resize::before{content:"";display:block;width:12px;height:12px;border-right:2px solid rgba(143,160,189,.9);border-bottom:2px solid rgba(143,160,189,.9);margin-left:2px;margin-top:2px}
.system-layout-editing .system-layout{background-image:linear-gradient(to right, rgba(90,120,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(90,120,255,.06) 1px, transparent 1px);background-size:calc((100% - 11 * 8px) / 12 + 8px) 36px;background-position:0 0;border-radius:16px;padding:3px}
.system-layout-editing .system-grid-card{box-shadow:0 0 0 2px rgba(90,120,255,.28)}
.system-layout-editing .system-grid-card.is-moving{z-index:4}
.system-layout-editing .system-grid-card.is-resizing{box-shadow:0 0 0 2px rgba(224,163,58,.42)}
.system-layout-editing .system-card-handle{cursor:grab}
.system-layout-editing .system-grid-card.is-moving .system-card-handle{cursor:grabbing}
.system-layout-editing .system-card-edit-hint{display:inline-flex}
.system-layout-editing .system-card-size{display:inline-flex;align-items:center;justify-content:center}
.system-layout-editing .system-card-resize{display:block}
.admin-create-form{display:flex;gap:10px;align-items:flex-end;margin-bottom:12px;flex-wrap:wrap}
.admin-form-block{flex:1 1 220px}
.admin-create-btn{white-space:nowrap}
.invite-confirm-modal{width:min(620px,100%)}
.table-wrap{overflow:auto;max-height:260px;border:1px solid var(--border);border-radius:14px;background:#10141c}
.admin-table{width:100%;border-collapse:collapse;font-size:12px}
.admin-table th,.admin-table td{padding:8px 9px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
.admin-table thead th{background:#171c26;color:#cfd8ec;font-size:11px;text-transform:uppercase;letter-spacing:.03em}
.admin-table tbody tr:last-child td{border-bottom:none}
.table-input{width:100%;min-width:140px;background:#0f131a;color:#eef2fb;border:1px solid var(--border2);border-radius:10px;padding:8px 9px;font-size:12px;outline:none}
.table-input:focus{border-color:#5a78ff;box-shadow:0 0 0 3px rgba(90,120,255,.14)}
.admin-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.admin-users-panel{height:min(640px,calc(100vh - 180px))}
.admin-users-panel .admin-body{display:flex;flex-direction:column;min-height:0}
.admin-codes-panel{height:min(640px,calc(100vh - 180px))}
.admin-codes-panel .admin-body{display:flex;flex-direction:column;min-height:0}
.admin-codes-panel .table-wrap{flex:1 1 auto;max-height:none}
.panel-title-meta{font-size:11px;font-weight:600;color:#95a4be}
.admin-user-search{width:min(320px,100%);padding:8px 10px;font-size:11px;border-radius:10px}
.admin-user-table-wrap{flex:1 1 auto;min-height:0;max-height:none;overflow:scroll;border:1px solid var(--border);scrollbar-gutter:stable}
.admin-user-table td{vertical-align:middle}
.admin-user-table{min-width:1040px}
.admin-user-table .table-input{min-width:160px}
.admin-inline-input{margin:0}
.admin-actions-cell{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;white-space:nowrap}
.user-save-state{display:inline-flex;align-items:center;min-width:72px;font-size:11px;font-weight:600;color:#98a5bb}
.user-save-state.is-saving{color:#dbe5ff}
.user-save-state.is-saved{color:#8ee1ab}
.user-save-state.is-error{color:#ffd3d3}
.btn-danger{background:#6a2931;color:#ffe4e6;border:1px solid rgba(255,200,205,.18)}
.btn-danger:hover{filter:brightness(1.05)}
.admin-card-title-meta{display:flex;align-items:center;gap:10px;min-width:0}
.admin-card-title-meta-grow{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:1 1 auto;min-width:0}
.admin-grid-card{position:relative;min-width:0;height:100%;align-self:stretch}
.admin-grid-card .admin-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}
.admin-card-handle{cursor:default;user-select:none}
.admin-card-edit-hint{display:none;font-size:10px;font-weight:700;color:#8fa0bd;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.admin-card-size{display:none;position:absolute;top:10px;right:12px;padding:3px 8px;border-radius:999px;border:1px solid rgba(90,120,255,.26);background:rgba(18,24,39,.9);color:#dbe5ff;font-size:10px;font-weight:700;letter-spacing:.03em;pointer-events:none}
.admin-card-resize{display:none;position:absolute;right:8px;bottom:8px;width:16px;height:16px;border:none;background:transparent;cursor:nwse-resize;padding:0}
.admin-card-resize::before{content:"";display:block;width:12px;height:12px;border-right:2px solid rgba(143,160,189,.9);border-bottom:2px solid rgba(143,160,189,.9);margin-left:2px;margin-top:2px}
.mobile-card-toggle{display:none;border:1px solid rgba(255,255,255,.08);background:#1b2230;color:#dbe5ff;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700;cursor:pointer}
.admin-panel.is-collapsed .admin-body{display:none}
.admin-layout-editing .admin-layout{background-image:linear-gradient(to right, rgba(90,120,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(90,120,255,.06) 1px, transparent 1px);background-size:calc((100% - 11 * 12px) / 12 + 12px) 40px;background-position:0 0;border-radius:16px;padding:6px}
.admin-layout-editing .admin-grid-card{box-shadow:0 0 0 2px rgba(90,120,255,.28)}
.admin-layout-editing .admin-grid-card.is-moving{z-index:4}
.admin-layout-editing .admin-grid-card.is-resizing{box-shadow:0 0 0 2px rgba(224,163,58,.42)}
.admin-layout-editing .admin-card-handle{cursor:grab}
.admin-layout-editing .admin-grid-card.is-moving .admin-card-handle{cursor:grabbing}
.admin-layout-editing .admin-card-edit-hint{display:inline-flex}
.admin-layout-editing .admin-card-size{display:inline-flex;align-items:center;justify-content:center}
.admin-layout-editing .admin-card-resize{display:block}
.admin-layout.is-grid-ready .admin-codes-panel,
.admin-layout.is-grid-ready .admin-users-panel{height:100%}
.system-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}
.system-item{background:#151a24;border:1px solid var(--border2);border-radius:12px;padding:8px}
.system-label{font-size:9px;font-weight:700;color:#9dafcc;letter-spacing:.03em;text-transform:uppercase;margin-bottom:4px}
.system-value{font-size:12px;font-weight:600;color:#edf2fb;word-break:break-word}
.system-form{display:flex;flex-direction:column;gap:7px}
.external-api-key-tile{margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;cursor:text;transition:border-color .18s ease,background .18s ease}
.external-api-key-tile:hover{border-color:#34435f;background:#161c28}
.external-api-key-label{display:block}
.external-api-key-display{width:100%;min-height:18px}
.external-api-key-input{display:none;width:100%;background:transparent;border:none;outline:none;box-shadow:none;padding:0;margin:0;color:#edf2fb;font-size:12px;font-weight:600;letter-spacing:.01em}
.external-api-key-input::placeholder{color:#7f8ca5}
.external-api-key-tile.is-editing .external-api-key-display{display:none}
.external-api-key-tile.is-editing .external-api-key-input{display:block}
.external-api-key-note{margin-top:2px;padding:0;background:transparent;border:none;color:#93a4c2;font-size:10px;line-height:1.4}
.external-api-key-actions{display:none;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px}
.external-api-key-tile.is-editing .external-api-key-actions{display:flex}
.external-api-key-clear{color:#ffb8c0}
.external-api-key-clear:hover{color:#ffd8dc}
.system-subsection{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.system-download-actions{margin-top:10px;flex-wrap:wrap}
.admin-user-table select.table-input{min-width:140px}
.admin-user-table .table-input:disabled{opacity:.72;cursor:not-allowed}
.engineer-shell{grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr)}
.engineer-page{flex:1 1 auto;display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;padding:12px}
.engineer-layout-toolbar{display:none}
.engineer-layout-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.engineer-layout-link{padding:0;border:none;background:transparent;color:#9fb6ff;font-size:12px;font-weight:600;text-decoration:underline;cursor:pointer}
.engineer-layout-link:hover{color:#dbe5ff}
.engineer-layout{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr);gap:12px;align-content:start;align-items:start}
.engineer-layout.is-grid-ready{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:28px}
.engineer-grid-card{position:relative;min-width:0;height:auto;align-self:start}
.engineer-grid-card .admin-body{height:auto;overflow:visible}
.engineer-card-handle{cursor:default;user-select:none}
.engineer-card-edit-hint{display:none;font-size:10px;font-weight:700;color:#8fa0bd;text-transform:uppercase;letter-spacing:.04em}
.engineer-card-size{display:none;position:absolute;top:10px;right:12px;padding:3px 8px;border-radius:999px;border:1px solid rgba(90,120,255,.26);background:rgba(18,24,39,.9);color:#dbe5ff;font-size:10px;font-weight:700;letter-spacing:.03em;pointer-events:none}
.engineer-card-resize{display:none;position:absolute;right:8px;bottom:8px;width:16px;height:16px;border:none;background:transparent;cursor:nwse-resize;padding:0}
.engineer-card-resize::before{content:"";display:block;width:12px;height:12px;border-right:2px solid rgba(143,160,189,.9);border-bottom:2px solid rgba(143,160,189,.9);margin-left:2px;margin-top:2px}
.engineer-layout-editing .engineer-layout{background-image:linear-gradient(to right, rgba(90,120,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(90,120,255,.06) 1px, transparent 1px);background-size:calc((100% - 11 * 12px) / 12 + 12px) 40px;background-position:0 0;border-radius:16px;padding:6px}
.engineer-layout-editing .engineer-grid-card{box-shadow:0 0 0 2px rgba(90,120,255,.28)}
.engineer-layout-editing .engineer-grid-card.is-moving{z-index:4}
.engineer-layout-editing .engineer-grid-card.is-resizing{box-shadow:0 0 0 2px rgba(224,163,58,.42)}
.engineer-layout-editing .engineer-card-handle{cursor:grab}
.engineer-layout-editing .engineer-grid-card.is-moving .engineer-card-handle{cursor:grabbing}
.engineer-layout-editing .engineer-card-edit-hint{display:inline-flex}
.engineer-layout-editing .engineer-card-size{display:inline-flex;align-items:center;justify-content:center}
.engineer-layout-editing .engineer-card-resize{display:block}
.code-copy{border:1px solid rgba(90,120,255,.26);background:#121827;color:#dbe5ff;border-radius:10px;padding:6px 9px;font-size:11px;font-weight:700;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}
.code-copy:hover{background:#1a2234;border-color:rgba(90,120,255,.46)}
.code-copy.is-copied{background:rgba(82,194,121,.14);border-color:rgba(82,194,121,.42);color:#d8f9e3}
.code-copy-inline{margin-left:6px}
.website-shell{min-height:100vh;background:radial-gradient(circle at top left, rgba(74,108,255,.16), transparent 30%),radial-gradient(circle at 86% 18%, rgba(82,194,121,.08), transparent 22%),linear-gradient(180deg,#0f131a 0%,#0b0f15 100%)}
.website-page{flex:1 1 auto;display:flex;flex-direction:column;gap:18px;min-height:0;overflow:auto;padding:26px}
.website-page-public{padding-top:30px}
.website-top-grid{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:18px;align-items:stretch}
.website-logo-stage{display:flex;align-items:center;justify-content:center;min-height:520px;border-radius:30px;background:linear-gradient(180deg,rgba(21,27,37,.94) 0%,rgba(16,21,30,.98) 100%);box-shadow:0 28px 80px rgba(0,0,0,.28)}
.website-logo-stage-image{width:min(68%,360px);height:auto;object-fit:contain;filter:drop-shadow(0 24px 52px rgba(0,0,0,.28))}
.website-hero-card{display:flex;flex-direction:column;justify-content:flex-start;gap:14px;padding:30px;max-height:520px;overflow:auto;border-radius:30px;background:linear-gradient(180deg,rgba(22,28,38,.92) 0%,rgba(16,21,30,.98) 100%);box-shadow:0 28px 80px rgba(0,0,0,.28)}
.website-kicker{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#9fb6ff}
.website-beta-pill{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;padding:7px 12px;border-radius:999px;border:1px solid rgba(92,119,255,.22);background:rgba(32,41,60,.78);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#eef3ff}
.website-title{margin:0;font-size:46px;line-height:1;color:#f4f7ff;max-width:14ch;letter-spacing:-.035em}
.website-text{margin:0;color:#b8c6dd;font-size:14px;line-height:1.72}
.website-lead{max-width:68ch;font-size:18px;color:#d8e1f2}
.website-sublead{max-width:70ch;font-size:15px}
.website-beta-copy{color:#eef3ff}
.website-capability-grid{display:flex;flex-wrap:wrap;gap:10px;padding-top:8px}
.website-capability-chip{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;border:1px solid rgba(124,143,190,.18);background:rgba(20,26,35,.92);font-size:12px;font-weight:700;color:#dfe7f7}
.website-middle-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:16px}
.website-bottom-grid{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(0,1.08fr);gap:16px}
.website-panel{min-height:0;border-radius:24px}
.website-body{display:flex;flex-direction:column;gap:16px}
.website-feature-title{font-size:16px;font-weight:700;color:#eef3ff;margin-bottom:8px}
.website-flow-list,.website-legal-stack{display:flex;flex-direction:column;gap:12px}
.website-flow-step,.website-legal-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:flex-start;border:1px solid rgba(124,143,190,.18);background:linear-gradient(180deg,#151b25 0%,#121823 100%);border-radius:18px;padding:16px}
.website-legal-card{grid-template-columns:minmax(0,1fr)}
.website-flow-number{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:rgba(90,120,255,.16);border:1px solid rgba(90,120,255,.28);font-size:14px;font-weight:800;color:#eef3ff}
.website-example-carousel{position:relative;min-height:236px;overflow:hidden}
.website-example-slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:20px;border:1px solid rgba(124,143,190,.18);background:linear-gradient(180deg,#151b25 0%,#121823 100%);border-radius:20px;opacity:0;transform:translateX(18px);pointer-events:none;transition:opacity .34s ease,transform .34s ease}
.website-example-slide.is-active{opacity:1;transform:translateX(0);pointer-events:auto}
.website-example-label{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9dafcc}
.website-example-question{font-size:22px;line-height:1.34;color:#eef3ff;letter-spacing:-.02em}
.website-example-answer{font-size:15px;line-height:1.7;color:#d8e1f2}
.website-carousel-dots{display:flex;gap:8px;padding-top:6px}
.website-carousel-dot{width:10px;height:10px;border:0;border-radius:999px;background:rgba(152,169,207,.24);cursor:pointer;transition:transform .16s ease,background .16s ease}
.website-carousel-dot.is-active{background:#8ea7ff;transform:scale(1.08)}
.website-contact-form{display:flex;flex-direction:column;gap:12px}
.website-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.website-checkbox-row{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#e7ecf8;cursor:pointer}
.website-checkbox-row input{margin-top:3px}
.website-beta-fields{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid rgba(124,143,190,.18);background:linear-gradient(180deg,#151b25 0%,#121823 100%);border-radius:18px}
.website-message-input{min-height:180px;resize:vertical}
.website-legal-note{margin:0}
.website-honeypot{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.mono{font-family:Consolas,Menlo,monospace}
.muted-cell{color:#93a0b8}
*::-webkit-scrollbar{width:12px;height:12px}*::-webkit-scrollbar-track{background:var(--scroll-track)}*::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border-radius:999px;border:3px solid var(--scroll-track)}*::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover)}
*{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
@media (max-width:1180px){.system-layout{grid-template-columns:1fr}}
@media (max-width:980px){html,body{overflow:hidden}.app-shell{height:100dvh}.workspace-mobile-nav{display:none}.workspace{display:flex;position:relative;flex:1 1 auto;min-height:0;padding:14px 16px 18px;overflow:hidden;align-items:center;justify-content:center}.workspace-carousel-frame{display:flex;position:relative;width:min(100%,860px);height:var(--mobile-workspace-height,auto);overflow:hidden;align-items:center;justify-content:center;margin:0 auto;touch-action:pan-y}.workspace-carousel-track{display:flex;width:100%;height:100%;transition:transform .28s ease;will-change:transform}.workspace-mobile-arrow{display:flex}.workspace-splitter{display:none}.sidebar,.chat-area,.helper-slide{grid-column:auto;grid-row:auto;display:flex;align-items:center;justify-content:center;flex:0 0 100%;min-width:100%;min-height:100%;padding:10px 14px}.sidebar{order:1}.chat-area{order:2}.helper-slide{order:3}.helper-dock{display:none!important}.mobile-carousel-clone{display:none!important}.explorer-panel,.chat-panel,.helper-panel-mobile{width:min(100%,720px);max-width:100%;height:100%;max-height:100%;min-height:0;margin:0 auto}.explorer-pane,.chat-scroll,.helper-panel-text{height:auto;max-height:none;flex:1 1 auto;min-height:0;overflow:auto}.explorer-toolbar{flex-direction:column;align-items:stretch}.explorer-toolbar .btn,.explorer-toolbar .explorer-search{width:100%}.composer{flex-direction:column;align-items:stretch}.composer-actions{width:100%}.composer-actions .btn{flex:1}.admin-shell,.system-layout,.engineer-layout,.account-shell,.admin-layout.is-grid-ready,.engineer-layout.is-grid-ready,.system-layout.is-grid-ready,.system-browser-shell,.system-browser-content,.website-top-grid,.website-middle-grid,.website-bottom-grid,.website-form-grid{display:flex;flex-direction:column;gap:12px;grid-template-columns:none;grid-auto-rows:auto;overflow:visible}.topbar{padding:14px 16px}.topbar-branding{min-width:0;flex:1 1 auto;gap:8px}.brand-stack{min-width:0}.brand-row{gap:8px}.brand-tools{width:100%}.subbrand{font-size:11px;overflow:hidden;text-overflow:ellipsis;max-width:100%}.topbar-actions{width:auto;justify-content:flex-end;align-items:flex-start;flex:0 0 auto}.topbar-link-actions{display:none}.topbar-mobile-menu{display:block;margin-left:auto}.user-chip{display:none}.panel-title-toolbar{align-items:flex-start;flex-direction:column}.admin-user-search{width:100%}.admin-users-panel,.admin-codes-panel{height:auto}.admin-page .table-wrap,.admin-page .admin-user-table-wrap{max-height:min(336px,56vh);overflow:auto}.admin-actions-cell{min-width:180px}.system-summary,.account-field-grid{grid-template-columns:1fr}.bubble-target-list{grid-template-columns:1fr}.beta-helper-strip{width:100%;max-width:100%;height:72px}.engineer-layout-toolbar,.admin-layout-toolbar,.system-layout-toolbar{display:none}.engineer-layout-editing .engineer-card-resize,.engineer-layout-editing .engineer-card-edit-hint,.admin-layout-editing .admin-card-resize,.admin-layout-editing .admin-card-edit-hint,.admin-layout-editing .admin-card-size,.system-layout-editing .system-card-resize,.system-layout-editing .system-card-edit-hint,.system-layout-editing .system-card-size{display:none}.engineer-grid-card,.admin-grid-card,.system-grid-card,.admin-panel{width:100%;height:auto!important;min-height:0;align-self:stretch}.engineer-grid-card .admin-body,.admin-grid-card .admin-body,.system-grid-card .admin-body{height:auto;overflow:visible}.mobile-card-toggle{display:inline-flex}.engineer-page,.admin-page,.system-page,.account-page,.website-page{padding:12px;overflow:auto}.website-page-public{padding-top:12px}.website-logo-stage{min-height:320px}.website-logo-stage-image{width:min(72%,280px)}.website-hero-card{max-height:none;overflow:visible}.website-title{font-size:34px;max-width:none}.website-example-carousel{min-height:280px}.website-flow-step,.website-legal-card{grid-template-columns:1fr}.website-flow-number{margin-bottom:4px}}
@media (max-width:980px){.welcome-card{max-width:min(360px,60vw);padding:16px 18px;border-radius:18px}.welcome-title-row{gap:8px;margin-bottom:8px}.welcome-title-logo{width:39px;height:39px}.welcome-title{font-size:16px}.welcome-text{font-size:11px;line-height:1.45}}
