:root{--ink:#183d49;--muted:#6a818c;--canvas:#f3f6fa;--surface:#fff;--line:#e2eaf0;--teal:#137a80;--navy:#082f40;--accent:#d0ac59;--shadow:0 8px 30px #183b4b05;font:14px/1.6 "Segoe UI",Arial,sans-serif;background:var(--canvas);color:var(--ink)}body{background:var(--canvas)}h1,h2,h3{letter-spacing:-.025em}h1{font-size:28px;font-weight:700}h2{font-size:21px;font-weight:650}h3{font-size:16px}.pilot-icon{width:20px;height:20px;flex:none}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:11px;padding:11px 16px;background:var(--navy);font-weight:600;font-size:13px;transition:background .15s,box-shadow .15s,transform .15s}button:hover:not(:disabled){box-shadow:0 4px 12px #123c4812;transform:translateY(-1px)}button.secondary{background:#edf4f6;border:1px solid #e1ebef;color:#315967}button:disabled{cursor:not-allowed;transform:none;opacity:.5}.icon-button{width:42px;height:42px;min-height:42px;padding:10px;border:1px solid var(--line);background:var(--surface);color:#456573;flex:none}.text-button{background:transparent;color:var(--teal);padding:6px 0;box-shadow:none!important}.text-button .pilot-icon{width:16px}.wide{width:100%}label{font-size:12px;color:#476572;font-weight:600;margin:16px 0 8px}input,select,textarea{border:1px solid #dce6ed;border-radius:10px;background:#fbfcfe;min-height:45px;padding:11px 13px;font-size:13px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#42979c;box-shadow:0 0 0 3px #258b9512;outline:0}textarea{min-height:110px}button:focus-visible{outline:3px solid #c7a653;outline-offset:3px}.layout{grid-template-columns:76px minmax(0,1fr);background:var(--canvas)}.layout.open{grid-template-columns:272px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;background:linear-gradient(180deg,#082d3e,#0b3949);padding:18px 12px 12px;box-shadow:inset -1px 0 #ffffff0a;scrollbar-width:thin;scrollbar-color:#315263 transparent}.sidebar-brand{display:flex;justify-content:center;align-items:center;gap:8px;min-height:53px;margin-bottom:16px}.sidebar .home-brand img{width:43px;display:block;border-radius:12px}.layout.open .sidebar .home-brand img{width:182px;border-radius:0}.sidebar .sidebar-close{width:28px;height:32px;min-height:32px;color:#c0d6df;padding:3px}.sidebar nav,.layout.open .sidebar nav{display:block;flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.nav-section{margin-bottom:13px}.nav-heading{display:none;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#84a4b1;margin:18px 10px 7px}.layout.open .nav-heading{display:block}.sidebar nav button{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:10px 9px;color:#bad0d9;border-radius:10px;font-size:12px;text-align:left;margin:3px 0;white-space:nowrap;position:relative}.sidebar nav button:hover{background:#ffffff0a;color:white;transform:none;box-shadow:none}.sidebar nav button.active{background:#236071;color:white;box-shadow:inset 3px 0 #d1b36c}.sidebar nav .pilot-icon{width:20px;height:20px}.nav-label{display:none}.layout.open .nav-label{display:block}.layout.open .sidebar nav button{justify-content:flex-start;padding-left:12px}.nav-dot{display:none;margin-left:auto;width:5px;height:5px;background:#d8bd7c;border-radius:50%}.layout.open .nav-dot{display:block}.sidebar-end{display:flex;justify-content:center;align-items:center;padding:13px 7px 0;color:#88a7b3;font-size:10px;border-top:1px solid #ffffff10;gap:8px;margin-top:7px}.layout.open .sidebar-end{justify-content:space-between}.sidebar-live{width:6px;height:6px;background:#71acaa;border-radius:50%}.top{height:88px;min-height:88px;background:#ffffffed;backdrop-filter:blur(14px);padding:16px 30px;gap:20px;justify-content:space-between;border-color:var(--line)}.top-start,.top-end{display:flex;align-items:center;gap:15px;min-width:0}.top-start{flex:1}.top .top-brand img{width:140px;background:#0a3445;padding:8px 10px;border-radius:9px}.page-heading{display:flex;flex-direction:column;gap:2px;min-width:0;padding-left:16px;border-left:1px solid var(--line)}.page-heading small{color:#8497a1;font-size:10px;letter-spacing:.03em}.page-heading b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:270px}.pilot-label{display:flex;align-items:center;gap:7px;color:#6c8790;font-size:10px;white-space:nowrap}.pilot-label i{width:6px;height:6px;border-radius:50%;background:#61a6a3}.account-chip{background:transparent;color:var(--ink);padding:0 6px;gap:9px;min-width:0}.avatar{width:35px;height:35px;border-radius:11px;background:#e6f0f2;color:#277780;display:grid;place-items:center;font-size:12px;font-weight:700;border:1px solid #d9e7eb}.account-name{display:flex;flex-direction:column;text-align:left;gap:0}.account-name b{font-size:11px;font-weight:650;max-width:110px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-name small{font-size:10px;color:#8a9ca4}.content{padding:25px 32px 18px;max-width:1530px;margin:0 auto;min-height:calc(100vh - 145px)}.pilot-notice{display:flex;align-items:center;gap:8px;font-size:10px;color:#8397a2;margin:0 0 20px}.pilot-notice .pilot-icon{width:13px;height:13px;color:#a0b5bf}.card{padding:25px;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);margin-bottom:20px;background:var(--surface)}.app-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#92a3ad;border-top:1px solid var(--line);padding:15px 32px}.workspace-hero{background:linear-gradient(120deg,#0a3b4b,#105a62);border-radius:21px;position:relative;overflow:hidden;padding:35px 42px;display:grid;grid-template-columns:1.2fr 1fr;gap:20px;color:#fff;min-height:318px;box-shadow:0 15px 35px #143f5012;margin-bottom:22px}.hero-eyebrow{display:flex;gap:13px;align-items:center;font-size:10px;color:#b0cdd3;margin-bottom:20px}.hero-badge{padding:4px 9px;background:#ffffff12;border:1px solid #ffffff1a;border-radius:6px;letter-spacing:.02em;color:#d2e8e9}.workspace-hero h1{font-size:43px;line-height:1.13;letter-spacing:-.045em;margin-bottom:14px;font-weight:650}.workspace-hero h1 em{color:#dfc487;font-style:normal}.workspace-hero p{max-width:380px;color:#b8d5da;font-size:12px;line-height:1.8;margin-bottom:22px}.hero-actions button{background:#dfc181;color:#183f48;border:1px solid #e8d29e}.hero-actions .hero-secondary{background:#ffffff09;color:#e4eff1;border:1px solid #ffffff26}.hero-visual{min-height:235px;position:relative;align-self:center;display:grid;place-items:center}.visual-orbit{position:absolute;border:1px solid #ffffff0c;border-radius:50%;width:280px;height:280px}.orbit-two{width:370px;height:370px}.visual-document{width:245px;min-height:202px;background:#ffffffef;color:#315968;border:1px solid #fff;border-radius:16px;transform:rotate(-5deg);padding:22px;box-shadow:0 20px 40px #001d2d38;z-index:1}.visual-document-head{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:650;margin-bottom:18px}.visual-document-head svg{color:#278c8b}.visual-line{height:6px;width:93%;background:#e0eaed;border-radius:5px;margin-bottom:8px}.visual-line.short{width:61%;margin-bottom:17px}.visual-check{display:flex;align-items:center;gap:10px;font-size:10px;color:#637f8a;padding-top:12px}.visual-check svg{color:#2c9292;width:19px}.visual-bubble{position:absolute;border:1px solid #ffffff25;border-radius:15px;display:grid;place-items:center;width:49px;height:49px;background:#297382;color:#d7f0ef;box-shadow:0 8px 20px #002b3a33;z-index:2}.bubble-chat{top:22px;right:20px;transform:rotate(10deg)}.bubble-shield{bottom:2px;left:20px;background:#dfc487;color:#28484f;transform:rotate(-9deg)}.visual-bubble svg{width:23px;height:23px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.metric-card{display:flex;align-items:center;gap:15px;border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:21px}.metric-card strong{display:block;font-size:28px;line-height:1.3;font-weight:650;letter-spacing:-.03em;margin-top:4px}.metric-label{font-size:11px;color:#7b909a}.metric-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;flex:none}.metric-icon.teal{background:#e7f4f2;color:#228c86}.metric-icon.gold{background:#faf3e4;color:#b68c3c}.metric-icon.blue{background:#eaf1fb;color:#5f85bc}.metric-icon.rose{background:#f9edef;color:#ba7b85}.home-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px}.section-heading h2{font-size:19px;margin:3px 0 0}.eyebrow{font-size:9px;letter-spacing:.12em;font-weight:650;color:#92a2ab}.item{padding:17px 0;border-color:var(--line)}.item small{font-size:10px}.item b{font-weight:600;font-size:12px}.record-tools{gap:7px;margin-top:11px}.record-tools button{min-height:33px;padding:7px 10px;font-size:10px;border-radius:7px}.pill{font-size:9px;font-weight:600;border:1px solid #dfebeb;background:#edf6f4;color:#378179;padding:3px 8px}.pill.warn{background:#fff5e3;border-color:#f1e3c9;color:#a58341}.focus-item{display:flex;align-items:flex-start;gap:10px;padding:15px 0;border-top:1px solid var(--line)}.focus-item b{display:block;font-size:11px;line-height:1.7;font-weight:600}.focus-item small{display:block;font-size:10px;margin-top:4px;color:#90a0aa}.focus-dot{width:6px;height:6px;margin-top:7px;background:#4faaa5;border-radius:50%;flex:none}.focus-dot.late{background:#ce8c86}.empty-state{padding:35px 20px;text-align:center;color:#91a4ad}.empty-state>svg{width:30px;height:30px;color:#8eb8bf;margin-bottom:10px}.empty-state h3{font-size:13px;color:#547580;margin-bottom:6px}.empty-state p{font-size:11px;margin:0}.compact-empty{padding:24px 10px}.function-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.function-card{background:#fafcfd;border:1px solid var(--line);color:#365966;justify-content:flex-start;padding:16px;font-size:12px}.function-card>svg:last-child{margin-left:auto;width:15px;color:#9bb1bb}.function-icon{display:grid;place-items:center;width:34px;height:34px;background:#edf4f5;color:#397e86;border-radius:10px;flex:none}.setup-prompt{display:flex;align-items:center;gap:17px;border:1px solid #e8dfcb;background:#fffcf4;border-radius:15px;padding:19px 24px;margin-bottom:10px}.setup-prompt>svg{color:#b39860;width:28px;height:28px}.setup-prompt b{font-size:12px;color:#76633e}.setup-prompt p{font-size:11px;color:#a08d67;margin:4px 0 0}.setup-prompt button{margin-left:auto;background:#efe6d4;color:#796744;font-size:11px}.settings-tabs{gap:14px}.settings-group{background:#fbfcfe;border-color:var(--line);padding:18px;border-radius:13px}.settings-group h3{color:#8b9ea8;font-size:9px;letter-spacing:.13em;margin:0 0 12px}.settings-group .row{gap:7px}.settings-group button{font-size:11px;padding:9px 11px;min-height:39px;gap:7px}.settings-group button .pilot-icon{width:16px;height:16px}.settings-group button[aria-pressed=true]{background:#145768;color:#fff;border-color:#145768}.recovery-method{background:#fafcfd;border-color:var(--line);padding:22px;border-radius:13px}.recovery-method h3{font-size:14px}.recovery-method p{font-size:12px;color:#788f99}.toolbar{background:#ffffffed;backdrop-filter:blur(12px);border-color:#dfe9ed;box-shadow:0 5px 25px #1a3f4e07;top:100px;border-radius:12px}.question{padding:22px 0}.question .answer{font-size:12px;min-width:75px;border:1px solid var(--line);background:#f5f8fa}.question .answer.selected{background:#e9f4f2;color:#257b77;border-color:#7ab5ae}.finding{background:#fffbf1;border:1px solid #f0e7d2}.activity{background:#fcfdfe;border-color:var(--line);font-size:12px;min-height:94px;border-radius:12px}.activity.selected{background:#eff8f6;border-color:#65a99e}.activity-art{background:#eef5f5}.channel{border-radius:12px;font-size:12px;padding:13px}.channel.selected{background:#eef7f5;border-color:#85b9ad}.chat-history{background:#f7fafb;border:1px solid var(--line);border-radius:15px}.chat-message{border-radius:14px;border-color:#e2ebef;box-shadow:0 3px 12px #234b5c03}.chat-message.mine{background:#eff7f4;border-color:#cbe0d7}.chat-message p{font-size:12px}.chat-message b{font-size:11px}.auth{background:#f6f8fb}.brand-panel{background:radial-gradient(ellipse at bottom right,#1a6470,#082f40 70%);padding:70px;gap:55px}.brand-panel h1{font-size:46px;font-weight:600;letter-spacing:-.05em}.brand-panel p{font-size:13px;color:#adc7d1}.brand-panel img{width:360px;max-width:100%}.auth-panel{padding:60px}.auth-form{width:440px}.auth-title{font-size:29px;margin:32px 0 12px}.auth-form>.muted{font-size:12px}.auth-form .notice{border:1px solid #dce9ed;border-left:3px solid #77aeb1;background:#edf5f6;font-size:11px;padding:16px;border-radius:10px}.auth-form .row>button{font-size:12px}.auth-form form>.wide{margin-top:15px;min-height:48px}.auth-form>p{font-size:11px}.auth-form>p>button,.auth-form>#openOfflineVault{font-size:11px;padding:8px 12px;min-height:36px}.auth .brand-panel small{color:#7ea2b2}dialog{box-shadow:0 25px 80px #07263733;border:1px solid var(--line);padding:30px;border-radius:18px}dialog h2{font-size:22px}#toast{box-shadow:0 12px 35px #0e344633;font-size:12px}.app-footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact .content{padding:18px 24px}.compact .card{padding:19px}@media(min-width:1600px){.workspace-hero{padding:40px 50px;min-height:340px}.workspace-hero h1{font-size:49px}}
@media(max-width:1150px){.page-heading{display:none}.pilot-label{display:none}.top{padding:16px 24px}.account-name{display:none}.content{padding:22px}.workspace-hero{padding:30px;grid-template-columns:1.15fr 1fr}.workspace-hero h1{font-size:37px}.hero-visual{transform:scale(.88)}.metric-grid{gap:11px}.metric-card{padding:16px;gap:10px}.metric-label{font-size:10px}.metric-icon{width:35px;height:35px}.function-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.layout,.layout.open{display:block}.sidebar{display:none;position:fixed;width:272px;z-index:9;height:100dvh}.layout.open .sidebar{display:flex}.layout.open:after{z-index:8}.top{height:72px;min-height:72px;flex-wrap:nowrap;padding:12px 15px;gap:9px}.top-start,.top-end{gap:8px}.top .top-brand img{width:115px;padding:7px}.top .icon-button{width:36px;height:38px;min-height:38px;padding:8px}.top .account-chip{padding:0}.top .avatar{width:32px;height:34px;font-size:10px}.top-end>button[data-click=logout]{display:none}.account-name,.page-heading,.pilot-label{display:none}.content,.compact .content{padding:17px 15px;min-height:calc(100dvh - 120px)}.pilot-notice{font-size:8px;line-height:1.5;margin-bottom:13px}.pilot-notice svg{width:12px;height:12px}.workspace-hero{padding:27px 24px 23px;grid-template-columns:1fr;gap:0;min-height:0;border-radius:18px}.workspace-hero h1{font-size:36px;margin-bottom:13px}.workspace-hero p{font-size:11px;max-width:285px;margin-bottom:18px}.hero-eyebrow{font-size:9px;gap:9px;margin-bottom:18px}.hero-actions{gap:8px}.hero-actions button{padding:10px 12px;font-size:11px;min-height:41px}.hero-actions svg{width:17px;height:17px}.hero-visual{display:none}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.metric-card{padding:14px 13px;border-radius:13px;gap:10px}.metric-card strong{font-size:25px}.metric-label{font-size:9px}.metric-icon{width:34px;height:34px;border-radius:10px}.metric-icon svg{width:18px;height:18px}.home-columns{grid-template-columns:1fr;gap:0}.card,.compact .card{padding:20px 17px;border-radius:14px;margin-bottom:16px}.section-heading{margin-bottom:15px}.section-heading h2{font-size:18px}.function-grid{gap:9px}.function-card{padding:13px 10px;gap:8px;font-size:10px}.function-card>svg:last-child{display:none}.function-icon{width:30px;height:30px;border-radius:8px}.function-icon svg{width:17px;height:17px}.setup-prompt{padding:16px;flex-wrap:wrap;gap:12px}.setup-prompt button{margin-left:39px;min-height:36px}.setup-prompt>svg{width:25px}.settings-tabs{gap:11px}.settings-group{padding:14px}.settings-group button{font-size:10px;padding:9px 10px;gap:6px}.settings-group button .pilot-icon{width:15px;height:15px}.settings-group h3{font-size:9px}.recovery-method{padding:17px}.toolbar{top:83px;gap:8px}.toolbar button{min-height:38px;padding:9px 12px;font-size:11px}.app-footer{padding:12px 17px;font-size:8px}.brand-panel{padding:35px 30px;gap:25px}.brand-panel img{width:250px}.brand-panel h1{font-size:32px}.brand-panel p{font-size:12px}.auth-panel{padding:30px 24px}.auth-title{font-size:26px}.auth .brand-panel small{font-size:9px}dialog{padding:23px 19px}.settings-tabs{grid-template-columns:1fr}.chat-layout{gap:16px}.chat-message p{font-size:12px}.top-end .icon-button[aria-label=Settings]{border-color:transparent;background:transparent}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.pilot-notice,.app-footer,.workspace-hero,.sidebar,.top{display:none!important}.content{padding:0}}

@media(max-width:800px){.top-end>button[data-click=logout]{display:inline-flex}}

:root{--canvas:#f3f6fa;--surface:#fff;--subtle:#fafcfd;--line:#e2eaf0;--ink:#183d49;--muted:#6a818c;--chat-mine:#eff7f4;color-scheme:light;}html[data-theme=dark]{--canvas:#102833;--surface:#173640;--subtle:#1a3c48;--line:#2a4a57;--ink:#d9e8ed;--muted:#9ab3be;--chat-mine:#224b49;color-scheme:dark;}@media(prefers-color-scheme:dark){html[data-theme=system]{--canvas:#102833;--surface:#173640;--subtle:#1a3c48;--line:#2a4a57;--ink:#d9e8ed;--muted:#9ab3be;--chat-mine:#224b49;color-scheme:dark;}}
html[data-theme] body{background:var(--canvas);color:var(--ink)}html[data-theme] .card,html[data-theme] .top,html[data-theme] dialog,html[data-theme] .metric-card{background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme] .settings-group,html[data-theme] .recovery-method,html[data-theme] .function-card,html[data-theme] .channel,html[data-theme] .activity{background:var(--subtle);color:var(--ink);border-color:var(--line)}html[data-theme] label{color:var(--muted)}html[data-theme] .muted,html[data-theme] small{color:var(--muted)}html[data-theme] .chat-history{background:var(--canvas);border-color:var(--line)}html[data-theme] .chat-message{background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme] .chat-message.mine{background:var(--chat-mine)}html[data-theme=dark] .secondary,html[data-theme=dark] .function-icon{background:#264b58;color:#c4dce3;border-color:#335967}html[data-theme=dark] .settings-group h3{color:#a5c1cd}@media(prefers-color-scheme:dark){html[data-theme=system] .secondary,html[data-theme=system] .function-icon{background:#264b58;color:#c4dce3;border-color:#335967}html[data-theme=system] .settings-group h3{color:#a5c1cd}}
