/* Visual layer; the existing analysis engine, selectors and role rules are preserved. */
:root{--atlas-blue:#315bea;--atlas-tint:#eef2fd;--atlas-subtle:#f4f7fb;--atlas-border:#dce4ef;--atlas-muted:#607187;--atlas-sidebar:248px;--shadow:0 4px 18px rgba(20,36,61,.025)}
:root[data-theme="dark"]{--atlas-tint:#1a2e54;--atlas-subtle:#152139;--atlas-border:#2b3d59;--atlas-muted:#a5b6cc;--shadow:none}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #7898fa;outline-offset:3px}.workspace-skip{position:fixed;top:-100px;left:20px;z-index:100;background:white;color:#14243d;padding:14px;border-radius:6px}.workspace-skip:focus{top:12px}
.app-page{background:var(--canvas);font-size:14px}.app-page .sidebar{width:var(--atlas-sidebar);padding:27px 16px 16px;background:#07162f;border-color:#172943;overflow-y:auto;scrollbar-width:thin}.app-page .sidebar-brand{gap:12px;padding:0 9px 28px}.app-page .sidebar-brand .brand-symbol{width:37px;height:37px;flex-basis:37px}.app-page .sidebar-brand strong{font-size:15px;letter-spacing:.06em}.app-page .sidebar-brand small{font-size:8px;letter-spacing:.12em;color:#93a8c2;margin-top:5px}.app-page .workspace-label{border:1px solid #253650;border-radius:7px;padding:12px 10px;gap:10px;background:#10213c}.app-page .workspace-avatar{height:31px;width:31px;flex-shrink:0;background:#294eb3;border-radius:5px;font-size:10px}.app-page .workspace-label small{font-size:7px;letter-spacing:.12em;color:#a1b3cb}.app-page .workspace-label strong{font-size:11px;font-weight:550;margin-top:4px;color:#d5deec}.app-page .side-nav{gap:4px;margin-bottom:28px}.app-page .side-nav>small{margin:24px 11px 8px;color:#849ab5;font-size:8px;font-weight:600;letter-spacing:.14em}.app-page .side-nav button,.app-page .side-nav .connection-nav{position:relative;display:flex;align-items:center;gap:11px;min-height:41px;padding:10px 12px;text-align:left;text-decoration:none;border:1px solid transparent;border-radius:5px;color:#a9bad1;background:transparent;font-size:12px;font-weight:500;box-shadow:none;flex-shrink:0}.app-page .side-nav button>span,.app-page .side-nav .connection-nav>span{font-size:12px;color:inherit;width:auto;text-align:left}.app-page .side-nav svg{width:18px;height:18px;flex:0 0 18px;opacity:.9}.app-page .side-nav button:hover,.app-page .side-nav .connection-nav:hover{background:#142a4c;color:white}.app-page .side-nav button.active{border-color:#3b5eae;background:#203f7a;color:white;box-shadow:none}.app-page .side-nav .ai-nav{background:#122b50;border-color:#294471;color:#c7d8ff}.app-page .side-nav .ai-nav.active{background:#244993;border-color:#4166b1}.sidebar-note{display:flex;gap:10px;margin-top:auto;padding:15px 10px 18px;border-top:1px solid #253650;color:#b3c5dd}.sidebar-note>span{font-size:22px;color:#83a8f4}.sidebar-note strong{font-size:10px;font-weight:500}.sidebar-note p{margin:6px 0 0;font-size:10px;line-height:1.7;color:#8199b7}.sidebar-site{padding:12px 10px;color:#8da7c8;font-size:10px;text-decoration:none}.sidebar-site:hover{color:white}.app-page .logout-button{margin-top:4px;padding:10px;text-align:left;border-top:1px solid #1b304e;color:#8da7c8;font-size:11px}.app-page .app-main{margin-left:var(--atlas-sidebar);min-width:0}.app-page .app-topbar{height:76px;padding:0 34px;background:var(--white);border-bottom:1px solid var(--line);gap:16px}.app-page .breadcrumb{font-size:12px;gap:9px}.app-page .breadcrumb>span{color:var(--atlas-muted);font-size:10px;font-weight:600;letter-spacing:.07em}.app-page .breadcrumb b{font-weight:550}.app-page .topbar-actions{gap:19px;min-width:0}.workspace-home-link{font-size:11px;color:var(--atlas-muted);text-decoration:none;white-space:nowrap}.workspace-home-link:hover{color:var(--atlas-blue)}.app-page .api-status{font-size:8px;letter-spacing:.07em;color:var(--atlas-muted);border-left:1px solid var(--line);padding-left:17px;white-space:nowrap}.app-page .user-chip{border-left:1px solid var(--line);padding-left:18px;min-width:0}.app-page .user-chip>span{border-radius:50%;height:33px;width:33px;flex-shrink:0;background:var(--atlas-tint);color:var(--atlas-blue);font-size:12px;font-weight:650}.app-page .user-chip strong{font-size:11px;font-weight:600}.app-page .user-chip small{font-size:9px;color:var(--atlas-muted);margin-top:3px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-page .theme-toggle{width:32px;height:32px;border-radius:5px;border:1px solid var(--line);background:var(--white);box-shadow:none}.app-page .content{max-width:1510px;padding:31px 34px 40px;min-width:0}.app-page .view{animation:none}.app-page .eyebrow{font-size:9px;letter-spacing:.12em;font-weight:650}.app-page .page-heading,.app-page .assistant-heading{margin-bottom:26px}.app-page .page-heading h1,.app-page .assistant-heading h1{margin:10px 0 8px;font-size:30px;font-weight:550;letter-spacing:-.045em}.app-page .page-heading p,.app-page .assistant-heading p{font-size:13px;color:var(--atlas-muted);line-height:1.7;max-width:670px}.app-page .primary-action,.app-page .secondary-action{min-height:40px;border-radius:5px;font-size:11px;font-weight:550;padding:11px 15px;box-shadow:none}.app-page .primary-action{background:var(--atlas-blue);color:white}.app-page .primary-action:hover:not(:disabled){background:#254acb}.app-page .secondary-action{background:var(--white);color:var(--ink);border:1px solid var(--line)}.app-page .secondary-action:hover{border-color:#7997eb}.app-page .surface{border-radius:8px;box-shadow:var(--shadow)}.app-page .metric-grid{gap:16px}.app-page .metric-grid article{min-height:127px;align-items:flex-start;padding:21px;border-radius:8px;gap:14px}.app-page .metric-grid article>i{height:33px;width:33px;flex-shrink:0;border-radius:6px;font-size:17px}.app-page .metric-grid small{font-size:11px;font-weight:500}.app-page .metric-grid strong{font-size:29px;font-weight:550;letter-spacing:-.04em;margin:9px 0 4px}.app-page .metric-grid article div>span{font-size:10px;color:var(--atlas-muted)}.app-page .dashboard-grid{margin-top:23px;gap:22px}.app-page .spotlight,.app-page .flow-panel,.app-page .recent-section{padding:24px}.app-page .surface>header h2{font-size:17px;font-weight:550;margin-top:7px;letter-spacing:-.02em}.app-page .text-button{font-size:11px;font-weight:550}.app-page .spotlight-card{margin-top:24px;grid-template-columns:minmax(0,1fr) 205px}.app-page .property-visual{min-height:250px;border-radius:5px;background:#102a45 url('/assets/atlas-terrain.svg') center 30%/cover}.app-page .property-visual:before{display:none}.app-page .property-visual:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#07162fe8)}.app-page .property-visual-content{z-index:1}.app-page .property-visual-content span{font-size:9px;color:#c3d4ff}.app-page .property-visual-content h3{font-weight:550;font-size:21px}.app-page .property-visual-content p{font-size:11px}.app-page .spot-stat{border-radius:5px;background:var(--atlas-subtle);padding:14px}.app-page .spot-stat span,.app-page .spot-stat small{font-size:10px;color:var(--atlas-muted)}.app-page .spot-stat strong{font-size:18px;font-weight:550}.app-page .open-property{border-radius:5px;font-size:10px;padding:12px}.app-page .analysis-flow li{grid-template-columns:30px 1fr;gap:13px;padding:12px 0}.app-page .analysis-flow strong{font-weight:550;font-size:12px}.app-page .analysis-flow small{font-size:10px;line-height:1.7;color:var(--atlas-muted)}.app-page .analysis-flow .done>span{background:#197358}.app-page .recent-section{margin-top:23px}.app-page .file-row{padding:15px 2px;grid-template-columns:36px minmax(0,1fr) minmax(100px,.5fr) auto;gap:13px}.app-page .file-badge{border-radius:5px;background:var(--atlas-tint);font-size:9px;color:var(--atlas-blue)}.app-page .file-row strong{font-size:12px;font-weight:550}.app-page .file-row small,.app-page .file-row>span:last-child{font-size:10px;color:var(--atlas-muted)}.app-page .empty-inline{font-size:12px;color:var(--atlas-muted);line-height:1.8;padding-block:38px}.app-page .toolbar{align-items:center;gap:15px;margin-bottom:22px}.app-page .search-field{height:43px;border-radius:5px;max-width:450px}.app-page .search-field input{font-size:12px;color:var(--ink);min-width:0}.app-page .count-pill{font-size:10px;padding:8px 11px;border-radius:5px;white-space:nowrap}.app-page .properties-grid{gap:20px}.app-page .property-card{border-radius:8px;box-shadow:var(--shadow)}.app-page .property-card:hover{transform:translateY(-2px)}.app-page .property-card-map{height:145px;background:#102a45 url('/assets/atlas-terrain.svg') center 25%/cover}.app-page .property-card-map:before{display:none}.app-page .property-status{font-size:9px;border-radius:4px;background:#07162fd9;padding:7px 9px}.app-page .property-card-body{padding:20px}.app-page .property-card-body h3{font-size:17px;font-weight:550;letter-spacing:-.025em}.app-page .property-location{font-size:11px;color:var(--atlas-muted);margin-top:7px}.app-page .property-card-stats div{padding:11px;border-radius:5px;background:var(--atlas-subtle)}.app-page .property-card-stats small{font-size:10px;color:var(--atlas-muted)}.app-page .property-card-stats strong{font-size:12px;font-weight:550;margin-top:7px}.app-page .mini-progress{margin-top:16px;height:3px}.app-page .property-card-foot{font-size:9px;color:var(--atlas-muted);margin-top:10px;gap:10px;flex-wrap:wrap}.app-page .empty-state{font-size:13px;color:var(--atlas-muted);padding:55px 25px;border-radius:8px;line-height:1.8}
/* Assistant: familiar conversation, quiet background and readable evidence context. */
.assistant-heading-actions{display:flex;gap:9px;flex-shrink:0}.chat-case-field{margin-bottom:18px;display:flex;align-items:center;gap:15px}.chat-case-field>span{font-size:8px;letter-spacing:.1em;color:var(--atlas-muted);font-weight:600}.chat-case-field select{width:240px;max-width:100%;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);font-size:11px;padding:9px 32px 9px 11px;min-height:37px}.app-page .assistant-shell{grid-template-columns:minmax(0,1fr) 295px;gap:22px}.app-page .chat-panel{height:clamp(530px,calc(100dvh - 270px),850px);min-height:0;border-radius:8px}.app-page .chat-contact{padding:17px 21px;background:var(--white);border-bottom:1px solid var(--line);gap:11px}.app-page .oliver-avatar{height:37px;width:37px;border-radius:8px;background:#173c83;color:white;font-size:18px;box-shadow:none}.app-page .oliver-avatar i{display:none}.app-page .chat-contact strong{font-size:12px;font-weight:600}.app-page .chat-contact small{font-size:10px;color:var(--atlas-muted);margin-top:5px}.app-page .chat-contact small i{display:none}.app-page .secure-chat{font-size:8px;color:var(--atlas-muted);background:var(--atlas-subtle);border:1px solid var(--line);padding:7px 9px;border-radius:4px}.app-page .chat-messages{padding:25px 22px;background:var(--atlas-subtle);background-image:none}.app-page .chat-bubble{max-width:88%;padding:13px 16px;border:1px solid var(--line);border-radius:0 8px 8px 8px;background:var(--white);color:var(--ink);font-size:13px;line-height:1.8;box-shadow:none}.app-page .chat-bubble.assistant:before,.app-page .chat-bubble.user:after{display:none}.app-page .chat-bubble.user{background:#e6edfc;color:#173368;border-color:#d4dff7;border-radius:8px 0 8px 8px}.app-page .chat-bubble small{font-size:8px;margin-top:7px;opacity:.7}.app-page .chat-system{padding:14px;border-radius:6px;box-shadow:none;border:1px solid var(--line);background:var(--white);font-size:11px}.app-page .chat-system strong{font-size:11px;font-weight:550}.app-page .chat-system small{font-size:10px;line-height:1.7}.app-page .chat-quick-actions{background:var(--white);padding:12px 18px;gap:6px}.app-page .chat-quick-actions button{border-radius:4px;border:1px solid var(--line);background:var(--white);font-size:10px;padding:8px 10px;color:var(--atlas-muted)}.app-page .chat-quick-actions button:hover{border-color:#7799f0;color:var(--atlas-blue)}.app-page .chat-attachment-preview{background:var(--white)}.app-page .chat-composer{padding:13px 16px;background:var(--white);gap:10px;border-top:1px solid var(--line)}.app-page .chat-composer textarea{font-size:12px;line-height:1.7;border-radius:5px;padding:11px 12px;background:var(--atlas-subtle);color:var(--ink);min-width:0}.app-page .chat-attach{width:35px;height:37px;border-radius:5px;color:var(--atlas-muted);background:transparent;border:1px solid var(--line);flex-shrink:0}.app-page #chat-send{width:38px;height:38px;border-radius:5px;background:var(--atlas-blue);flex-shrink:0}.app-page .assistant-context{padding:24px 20px;align-self:stretch;border-radius:8px}.app-page .assistant-context h2{margin:14px 0 9px;font-weight:550;font-size:20px;letter-spacing:-.035em;overflow-wrap:anywhere}.app-page .assistant-context>p{font-size:11px;line-height:1.8;color:var(--atlas-muted)}.app-page .chat-progress{margin:23px 0}.app-page .chat-progress li{padding:12px 0;gap:11px}.app-page .chat-progress li>i{height:26px;width:26px;flex-shrink:0;font-size:9px;background:var(--atlas-subtle);color:var(--atlas-muted)}.app-page .chat-progress strong{font-size:11px;font-weight:550}.app-page .chat-progress small{font-size:9px;line-height:1.8;color:var(--atlas-muted)}.app-page .chat-progress .current>i{background:var(--atlas-blue);color:white}.app-page .chat-progress .done>i{background:#197358;color:white}.app-page .chat-live-status{border:1px solid var(--line);background:var(--atlas-subtle);border-radius:5px;padding:13px 11px;gap:10px}.app-page .chat-live-status strong{font-size:10px;font-weight:600}.app-page .chat-live-status small{font-size:9px;line-height:1.8;color:var(--atlas-muted)}.app-page .context-trust{border-top:1px solid var(--line);border-radius:0;background:none;padding:20px 0 0;margin-top:22px}.app-page .context-trust strong{font-size:10px;font-weight:600}.app-page .context-trust p{font-size:10px;line-height:1.9;color:var(--atlas-muted);margin-top:8px}.app-page .chat-result{border-radius:6px;background:var(--white)}.app-page .chat-result h3{font-size:18px;font-weight:550}.app-page .chat-result p small,.app-page .chat-result p em{font-size:10px}.app-page .chat-result p strong{font-size:15px}
/* Intake and technical views retain their data layout and all original controls. */
.app-page .analysis-layout{gap:23px;grid-template-columns:minmax(0,1fr) 310px}.app-page .analysis-form,.app-page .intake-guide{padding:27px}.app-page .form-title h2{font-size:16px;font-weight:550}.app-page .form-title p{font-size:11px;line-height:1.8;color:var(--atlas-muted)}.app-page .form-title>span{border-radius:5px;font-size:11px;flex-shrink:0}.app-page .choice-tabs{border-radius:5px;padding:4px;background:var(--atlas-subtle)}.app-page .choice-tabs button{border-radius:3px;font-size:11px;font-weight:550}.app-page .field-grid label>span,.app-page .user-form label{font-size:11px;font-weight:550}.app-page .field-grid input,.app-page .field-grid select,.app-page .field-grid textarea,.app-page .user-form input,.app-page .user-form select{font-size:12px;border-radius:5px;min-height:42px}.app-page .multi-dropzone{border-radius:6px;background:var(--atlas-subtle);padding-block:30px}.app-page .multi-dropzone strong{font-size:13px;font-weight:550}.app-page .multi-dropzone p{font-size:11px}.app-page .multi-dropzone small{font-size:10px;color:var(--atlas-muted)}.app-page .queue-item{border-radius:5px}.app-page .intake-guide h2{font-size:19px;font-weight:550;letter-spacing:-.03em}.app-page .intake-guide li strong{font-size:11px;font-weight:550}.app-page .intake-guide li small{font-size:10px;line-height:1.7;color:var(--atlas-muted)}.app-page .honesty-card{border-radius:5px;padding:15px}.app-page .honesty-card strong{font-size:11px}.app-page .honesty-card p{font-size:10px;line-height:1.8}.app-page .method-grid{gap:20px}.app-page .method-grid article{padding:27px}.app-page .method-grid h2{font-size:23px;font-weight:550;letter-spacing:-.03em}.app-page .method-grid p{font-size:13px;line-height:1.85;color:var(--atlas-muted)}.app-page .method-grid b{font-size:11px;font-weight:550;line-height:1.7}.app-page .lab-rule{padding:27px;margin-top:22px;border-radius:8px}.app-page .lab-rule h2{font-size:22px;font-weight:550}.app-page .lab-rule p{font-size:12px;line-height:1.85}.app-page .role-guide{gap:15px;margin-bottom:24px}.app-page .role-guide article{padding:20px;border-radius:6px}.app-page .role-guide strong{font-size:12px;font-weight:600}.app-page .role-guide span{font-size:11px;line-height:1.85;color:var(--atlas-muted)}.app-page .users-layout{gap:23px}.app-page .user-form,.app-page .users-list-panel{padding:25px}.app-page .user-form h2,.app-page .users-list-panel h2{font-size:20px;font-weight:550}.app-page .user-form>small,.app-page .user-form p{font-size:11px;line-height:1.8;color:var(--atlas-muted)}.app-page .user-row strong{font-size:12px}.app-page .user-row small{font-size:10px;color:var(--atlas-muted)}.app-page .detail-hero{border-radius:8px;background:#0d2850}.app-page .detail-hero h1{font-size:30px;font-weight:550;letter-spacing:-.04em}.app-page .detail-hero-stats strong{font-size:23px;font-weight:550}.app-page .detail-hero-stats small{font-size:10px}.app-page .result-section{padding-top:28px}.app-page .result-heading h2{font-weight:550;font-size:23px}.app-page .result-heading p{font-size:12px;line-height:1.8}.app-page .result-card{border-radius:6px;padding:19px}.app-page .result-card small{font-size:10px;line-height:1.7}.app-page .result-card strong{font-size:21px;font-weight:550}.app-page .result-card>span{font-size:10px;line-height:1.7}.app-page .result-grid{gap:20px}.app-page .result-grid h3,.app-page .document-card h3{font-size:16px;font-weight:550}.app-page .depth-table{font-size:11px}.app-page .depth-table th{font-size:10px}.app-page .depth-table td{font-size:11px;line-height:1.8}.app-page .opinion-text{font-size:14px;line-height:1.9}.app-page .opinion-text h3{font-size:16px}.app-page .decision-brief{border-radius:7px}.app-page .document-card{border-radius:6px}.app-page .document-card p{font-size:12px;line-height:1.8}.app-page .car-record{border-radius:5px}.app-page .back-button{font-size:11px;margin-bottom:20px}.app-page .toast{font-size:12px;line-height:1.8;border-radius:6px;max-width:min(430px,calc(100vw - 36px))}
html[data-theme="dark"] .app-page .chat-bubble.user{background:#1c3868;color:#e1ebff;border-color:#29487b}html[data-theme="dark"] .app-page .chat-bubble.assistant,html[data-theme="dark"] .app-page .chat-contact,html[data-theme="dark"] .app-page .chat-quick-actions,html[data-theme="dark"] .app-page .chat-composer{background:var(--white);color:var(--ink)}html[data-theme="dark"] .app-page .chat-messages{background:var(--canvas);background-image:none}html[data-theme="dark"] .app-page .metric-grid article>i{background:var(--atlas-tint);color:#9eb9ff}html[data-theme="dark"] .app-page .side-nav button.active{background:#24427c}html[data-theme="dark"] .app-page .user-chip>span{color:#c1d4ff}html[data-theme="dark"] .app-page .context-trust{background:transparent}html[data-theme="dark"] .app-page .chat-composer textarea{background:var(--atlas-subtle)}
/* Login shares the site identity; the form and login.js contract are unchanged. */
.login-page{background:#f7f9fc;color:#14243d}.login-wrap{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,1fr);padding:0;align-items:stretch}.login-story{padding:48px max(45px,7vw);display:flex;flex-direction:column;justify-content:space-between;gap:70px;background:#07162f url('/assets/atlas-terrain.svg') center/cover;position:relative;color:white;isolation:isolate}.login-story:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#07162ff7,#07162fbb)}.login-story>a img{width:265px}.login-story .eyebrow{color:#94adff;font-size:9px;letter-spacing:.12em}.login-story h2{font-size:clamp(32px,3.6vw,51px);letter-spacing:-.045em;font-weight:450;line-height:1.18;margin:24px 0}.login-story p{font-size:14px;line-height:1.9;color:#b0c3dd}.login-story>small{font-size:10px;letter-spacing:.1em;color:#91a9c9}.login-page .login-card{align-self:center;justify-self:center;margin:50px 30px;width:min(390px,calc(100% - 60px));padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#14243d}.mobile-login-brand{display:none}.login-page .login-kicker{border:0;background:transparent;padding:0;border-radius:0;color:#315bea;letter-spacing:.14em;font-size:9px;font-weight:650}.login-page .login-card h1{margin:16px 0 12px;font-size:33px;font-weight:550;letter-spacing:-.045em}.login-page .login-intro{font-size:13px;color:#607187;line-height:1.8;margin-bottom:32px}.login-page .login-form{gap:21px}.login-page .login-form label>span:first-child{font-size:11px;font-weight:550;margin-bottom:9px}.login-page .login-form input{background:white;color:#14243d;border:1px solid #ccd7e6;border-radius:5px;height:47px;font-size:13px}.login-page .login-form label>small{color:#607187;font-size:10px}.login-page .password-field button{color:#315bea;font-size:11px;font-weight:550;height:47px}.login-page .login-button{border-radius:5px;height:48px;font-size:12px;font-weight:550;margin-top:5px;background:#315bea}.login-page .login-button:hover{background:#254acb}.login-page .form-error{background:#fff0f0;color:#9b2f40;border:1px solid #efc1ca;border-radius:5px;font-size:12px;line-height:1.7}.login-page .secure-note{color:#607187;font-size:10px;margin-top:25px}.login-page .secure-note span{background:#647da2;box-shadow:none;width:5px;height:5px}.login-page .login-footnote{margin-top:28px;font-size:11px;color:#607187}.login-footnote a{color:inherit;text-decoration:none}.login-footnote a:hover{color:#315bea}
/* Dedicated channel keeps exactly the existing connection and QR handlers. */
.connections-page{min-height:100vh;background:#f7f9fc;color:#14243d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.connections-wrap{max-width:1120px;margin:auto;padding:38px 30px 60px}.connections-wrap>.back-button{display:inline-flex;text-decoration:none;color:#607187;font-size:12px}.connection-eyebrow{display:block;margin-top:35px}.connections-wrap>h1{font-size:35px;font-weight:550;letter-spacing:-.045em;margin:13px 0}.connections-wrap>p{font-size:14px;color:#607187;max-width:730px;line-height:1.85}.connections-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);gap:24px;margin-top:30px;align-items:start}.connections-page .surface{border-radius:8px;padding:29px;background:white;box-shadow:none;border:1px solid #dce4ef}.connection-kicker{font-size:9px;letter-spacing:.12em;color:#607187}.connections-page #status{font-size:23px;letter-spacing:-.025em;font-weight:550;margin:20px 0 10px;line-height:1.4}.connections-page #phone{font-size:12px;color:#607187;line-height:1.7}.connections-page .metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-block:23px}.connections-page .metrics span{padding:13px;background:#f1f5fb;color:#4e647f;border-radius:5px;font-size:10px;line-height:1.7}.connections-page #instruction{font-size:12px;line-height:1.85;color:#607187}.connections-page #connect{border-radius:5px;font-size:12px;padding:13px 19px;box-shadow:none;margin-top:8px}.connections-page #qr{width:280px;max-width:100%;display:block;margin:26px auto;border:1px solid #dce4ef;border-radius:6px}.connections-page #qr[hidden]{display:none}.connections-page #error{font-size:12px;color:#a63e50;line-height:1.8}.connection-help h2{font-size:22px;line-height:1.3;font-weight:550;letter-spacing:-.035em;margin-top:14px}.connection-help p{font-size:12px;line-height:1.9;color:#607187;margin-top:18px}.sidebar-scrim{position:fixed;inset:0;background:#07162f88;border:0;z-index:19;backdrop-filter:blur(2px)}
@media(max-width:1250px){.workspace-home-link{display:none}.app-page .content{padding:28px}.app-page .app-topbar{padding-inline:28px}.app-page .assistant-shell{grid-template-columns:minmax(0,1fr) 265px;gap:16px}.app-page .assistant-heading{align-items:flex-start}.assistant-heading-actions{flex-direction:column}.app-page .assistant-heading p{max-width:510px}.app-page .metric-grid article{padding:17px;gap:10px}.app-page .spotlight-card{grid-template-columns:minmax(0,1fr) 180px}.app-page .analysis-layout{grid-template-columns:minmax(0,1fr) 275px}.app-page .analysis-form,.app-page .intake-guide{padding:22px}.app-page .api-status{display:none}}
@media(max-width:1080px){.app-page .assistant-shell{grid-template-columns:minmax(0,1fr)}.app-page .assistant-context{display:none}.app-page .chat-panel{height:clamp(530px,calc(100dvh - 295px),850px)}.app-page .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-page .dashboard-grid{grid-template-columns:minmax(0,1fr)}.app-page .analysis-layout{grid-template-columns:minmax(0,1fr)}.app-page .intake-guide{display:none}.app-page .user-chip small{max-width:170px}}
@media(max-width:880px){.app-page .app-main{margin-left:0}.app-page .sidebar{width:260px;transform:translateX(-100%)}.app-page .sidebar.open{transform:translateX(0)}.app-page .app-topbar{height:66px;padding:0 22px;justify-content:flex-start}.app-page .menu-button{display:block;flex-shrink:0;border-radius:5px;background:var(--white);color:var(--ink)}.app-page .breadcrumb{display:flex}.app-page .breadcrumb>span{display:none}.app-page .topbar-actions{margin-left:auto;gap:14px}.app-page .content{padding:25px 22px}.app-page .assistant-shell{grid-template-columns:minmax(0,1fr)}.app-page .assistant-heading{flex-direction:row;gap:20px}.assistant-heading-actions{flex-direction:row}.app-page .assistant-heading p{max-width:430px}.app-page .chat-panel{height:clamp(480px,calc(100dvh - 280px),800px)}.app-page.menu-open{overflow:hidden}.login-wrap{grid-template-columns:minmax(0,1fr) minmax(360px,1fr)}.login-story{padding:42px 30px}.login-story h2{font-size:36px}.login-page .login-card{margin:35px 25px;width:calc(100% - 50px)}.connections-layout{grid-template-columns:1fr}.connection-help{max-width:none}}
@media(max-width:630px){.app-page .content{padding:25px 16px 35px}.app-page .app-topbar{padding-inline:16px;gap:12px}.app-page .user-chip{border-left:0;padding-left:0}.app-page .user-chip>div{display:none}.app-page .topbar-actions{gap:12px}.app-page .breadcrumb b{font-size:12px}.app-page .assistant-heading{flex-direction:column;margin-bottom:20px;gap:16px}.app-page .page-heading h1,.app-page .assistant-heading h1{font-size:27px}.app-page .assistant-heading p{font-size:12px;max-width:none}.assistant-heading-actions{width:100%;flex-direction:row;gap:8px}.assistant-heading-actions .secondary-action{flex:1;font-size:10px}.chat-case-field{display:grid;grid-template-columns:1fr;gap:8px}.chat-case-field select{width:100%}.app-page .chat-panel{height:clamp(430px,calc(100dvh - 320px),750px)}.app-page .chat-contact{padding:14px 16px}.app-page .chat-contact .secure-chat{display:none}.app-page .chat-messages{padding:20px 14px}.app-page .chat-bubble{font-size:12px;max-width:92%;padding:12px 13px}.app-page .chat-quick-actions{padding:10px 12px;flex-wrap:wrap}.app-page .chat-quick-actions button{font-size:9px;padding:7px}.app-page .chat-composer{padding:11px;gap:7px}.app-page .chat-composer textarea{font-size:12px;padding:9px}.app-page .metric-grid{gap:10px}.app-page .metric-grid article{padding:15px;min-height:123px;display:block}.app-page .metric-grid article>i{width:27px;height:27px;font-size:14px;margin-bottom:12px}.app-page .metric-grid strong{font-size:26px}.app-page .metric-grid small{font-size:10px}.app-page .metric-grid article div>span{font-size:9px}.app-page .dashboard-grid{gap:16px;margin-top:16px}.app-page .spotlight,.app-page .flow-panel,.app-page .recent-section{padding:19px}.app-page .spotlight-card{grid-template-columns:1fr}.app-page .spotlight-stats{grid-template-columns:1fr 1fr}.app-page .property-visual{min-height:210px}.app-page .file-row{grid-template-columns:29px minmax(0,1fr);gap:9px}.app-page .file-row>div:nth-child(3),.app-page .file-row>span:last-child{display:none}.app-page .file-row strong{font-size:11px}.app-page .file-row small{font-size:9px}.app-page .file-badge{height:29px;width:29px;font-size:8px}.app-page .properties-grid,.app-page .method-grid{grid-template-columns:minmax(0,1fr)}.app-page .property-card-map{height:150px}.app-page .toolbar{gap:10px}.app-page .search-field{min-width:0}.app-page .count-pill{font-size:9px}.app-page .analysis-form{padding:20px}.app-page .field-grid{margin-left:0}.app-page .choice-tabs{margin-left:0}.app-page .form-title{gap:10px}.app-page .form-title h2{font-size:14px}.app-page .form-title p{font-size:10px}.app-page .multi-dropzone{margin-left:0;padding:23px 12px}.app-page .multi-dropzone small{font-size:9px}.app-page .result-grid,.app-page .detail-columns{grid-template-columns:minmax(0,1fr)}.app-page .result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-page .result-card{padding:15px;min-width:0}.app-page .result-card strong{font-size:18px;overflow-wrap:anywhere}.app-page .depth-table{display:block;overflow-x:auto}.app-page .result-heading h2{font-size:21px}.app-page .detail-hero{padding:24px 20px}.app-page .detail-hero h1{font-size:27px}.app-page .detail-hero-stats strong{font-size:20px}.app-page .surface>header{gap:13px}.app-page .lab-rule{padding:23px}.app-page .role-guide{grid-template-columns:1fr}.login-wrap{display:block;min-height:100dvh}.login-story{display:none}.mobile-login-brand{display:flex;margin-bottom:43px}.login-page .login-card{margin:0 auto;width:min(440px,100%);padding:40px 25px 35px;min-height:100dvh}.login-page .login-brand .brand-lockup{width:250px}.login-page .login-card h1{font-size:31px}.connections-wrap{padding:25px 18px 40px}.connections-wrap>h1{font-size:29px}.connections-wrap>p{font-size:13px}.connections-page .surface{padding:22px}.connections-page #status{font-size:20px}.connections-page .metrics{gap:8px}.connections-page .metrics span{padding:12px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.app-page .property-card:hover{transform:none}}

/* The contextual analysis actions remain available on smaller screens. */
@media(max-width:1080px){.app-page .assistant-context{display:block;order:0}.app-page .assistant-context h2{font-size:18px}.app-page .chat-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:17px 0}.app-page .chat-progress li{align-items:flex-start;padding:0}.app-page .chat-progress small{font-size:9px}.app-page .context-trust{margin-top:16px;padding-top:16px}.app-page .context-trust p{margin-bottom:0}.app-page .assistant-context>.primary-action,.app-page .assistant-context>.secondary-action{margin-top:12px}}
@media(max-width:630px){.app-page .assistant-context{display:block;padding:20px}.app-page .chat-progress{grid-template-columns:1fr 1fr;gap:18px 12px}.app-page .chat-progress strong{font-size:10px}.app-page .chat-progress small{font-size:9px}.app-page .chat-progress li>i{width:23px;height:23px}.app-page .assistant-context>p{font-size:11px}}
