
:root{--bg:#f5f6f8;--paper:#fff;--ink:#17262b;--muted:#768188;--line:#e6eaed;--green:#087f70;--green-light:#e9f5f0;--sidebar:#132e32;--orange:#c48038;--radius:16px;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--green)}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #d99c40;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.2px;font-weight:600;margin-bottom:10px}h2{font-size:21px;font-weight:600;letter-spacing:-.5px}h3{font-size:15px}.muted{color:var(--muted);line-height:1.7}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted);display:block;margin-bottom:16px}.brand{display:flex;align-items:center;gap:9px;color:white;text-decoration:none;letter-spacing:2px;font-size:21px;font-weight:700}.brand-dot{color:#67c9a0;margin-left:-9px}.brand-icon{display:grid;place-items:center;border:1px solid #53716c;border-radius:9px;width:34px;height:37px;font-size:23px;letter-spacing:0;background:#224440}.primary{background:var(--green);color:white;padding:12px 17px;border-radius:9px;font-weight:600;display:inline-flex;gap:23px;align-items:center;justify-content:space-between;min-height:44px}.primary:hover{background:#066b5e}.secondary{background:#edf1f2;color:var(--ink);padding:12px 17px;border-radius:9px;min-height:44px}.quiet{background:transparent;color:var(--muted);font-size:12px;padding:10px}.icon-btn{background:transparent;color:inherit;font-size:22px;min-width:40px;min-height:40px;border-radius:8px}.icon-btn:hover{background:#ffffff18}.status-dot{display:inline-block;width:6px;height:6px;background:#58b391;border-radius:50%;margin-right:6px}.app-layout{display:grid;grid-template-columns:220px minmax(420px,1fr) 288px;min-height:100vh}.sidebar{background:var(--sidebar);color:#adbdbe;display:flex;flex-direction:column;padding:31px 18px 15px;min-height:100vh}.sidebar .brand{margin:0 7px 46px}.workspace-label{font-size:9px;letter-spacing:1.4px;color:#72918f;font-weight:600;margin:0 12px 14px}.sidebar nav{display:grid;gap:5px;margin-bottom:34px}.nav-item{color:#b4c7c7;background:transparent;display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:8px;text-align:left;min-height:43px;font-size:12px}.nav-item span{font-size:18px;color:#85a4a2}.nav-item.active{background:#2b4c4d;color:#fff}.nav-item.active span{color:#92d1b6}.nav-item:hover{background:#254547}.nav-item small{margin-left:auto;border-radius:5px;background:#56706a;padding:2px 5px}.dept-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.sidebar-bottom{margin-top:auto;padding:18px 0 0;display:flex;gap:10px;align-items:center;border-top:1px solid #315052;font-size:11px}.sidebar-bottom strong{color:#e7efec;display:block;margin-bottom:5px;font-weight:500}.sidebar-bottom small{font-size:9px;color:#8ca5a4;display:block}.sidebar-bottom .icon-btn{margin-left:auto}.avatar{background:#deebe6;color:#376d60;border-radius:50%;display:grid;place-items:center;font-weight:600}.avatar.small{width:31px;height:31px;flex-shrink:0;font-size:11px}.main-area{min-width:0;display:flex;flex-direction:column}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 34px;background:#fff9;font-size:11px;color:#7c888b;gap:12px}.topbar-right{display:flex;align-items:center;gap:14px}.private-pill{font-size:10px;white-space:nowrap}.mobile-menu{display:none}#main{padding:35px 34px 22px;flex:1;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.page-heading .eyebrow{margin-bottom:12px}.page-heading .muted{font-size:12px;margin-bottom:0}.page-heading .primary{font-size:11px;padding:11px 14px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:18px}.stat-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.stat-label span{font-size:16px}.stat-value{font-size:34px;letter-spacing:-1px;margin:14px 0 6px;font-weight:600}.stat-note{font-size:9px;color:#879190}.stat-note.orange{color:var(--orange)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:10px}.section-heading h2{font-size:16px;margin:0}.section-heading button{background:transparent;color:var(--green);font-size:11px}.department-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:28px}.department-card{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;text-align:left;color:var(--ink);position:relative;transition:transform .15s,border-color .15s}.department-card:hover{transform:translateY(-2px);border-color:#86b8a4}.department-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--tint);color:var(--accent);border-radius:10px;font-size:18px;margin-bottom:17px}.department-card h3{font-size:12px;margin-bottom:6px}.department-card p{font-size:10px;margin:0;color:var(--muted)}.department-card .arrow{position:absolute;right:15px;top:20px;color:#adb8bb}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:23px}.panel-heading{padding:19px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel-heading h2{font-size:15px;margin:0}.panel-heading small{color:var(--muted);font-size:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:#8c969b;font-weight:500;padding:12px 17px;background:#fafbfc;white-space:nowrap}td{font-size:11px;border-top:1px solid #edf0f1;padding:16px 17px}td strong{font-weight:600}.project-link{padding:0;background:transparent;text-align:left;color:var(--ink);font-weight:600;line-height:1.6}.project-link:hover{text-decoration:underline;color:var(--green)}.table-sub{display:block;font-size:9px;color:#93a09f;margin-top:4px}.badge{font-size:9px;padding:5px 8px;border-radius:5px;background:#f1f2f4;color:#77818b;display:inline-block;white-space:nowrap}.badge.green{background:#e8f5ec;color:#418761}.badge.orange{background:#fff1df;color:#b37f3b}.badge.blue{background:#eaf0fc;color:#577bb1}.overdue{color:#b75b47}.empty{padding:37px 20px;text-align:center}.empty .empty-icon{font-size:27px;color:#9ab6aa;margin-bottom:12px}.empty h3{margin-bottom:7px;font-size:14px}.empty p{font-size:11px;max-width:340px;margin:0 auto 17px;color:var(--muted);line-height:1.7}.empty .primary{font-size:11px}.dashboard-bottom{display:grid;grid-template-columns:1fr 1fr;gap:14px}.activity-list{padding:4px 20px}.activity{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f0f2f3;font-size:11px;line-height:1.5}.activity:last-child{border:0}.activity .activity-mark{width:7px;height:7px;background:#8db4a2;border-radius:50%;margin-top:5px;flex-shrink:0}.activity small{display:block;font-size:9px;color:#99a2a4;margin-top:4px}.notice{background:#eff4f1;padding:15px;border-radius:10px;font-size:11px;line-height:1.8;color:#59746a}.app-footer{padding:15px 34px;display:flex;justify-content:space-between;font-size:9px;color:#a1aaad;gap:10px}.assistant{background:#fff;border-left:1px solid var(--line);padding:31px 23px;display:flex;flex-direction:column;align-items:center}.assistant-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:12px}.assistant-top .eyebrow{margin:0;font-size:9px;letter-spacing:1.2px}.ai-indicator{font-size:9px;color:#ad864a}.ai-indicator.ready{color:var(--green)}.assistant h2{font-size:19px;text-align:center;margin-bottom:9px}.assistant>.muted{font-size:11px;text-align:center;margin-bottom:25px}.bot-portrait{width:180px;height:164px;position:relative;margin:12px 0 15px}.bot-orbit{position:absolute;inset:8px 18px;border-radius:50%;background:radial-gradient(circle,#d9f1df 0,#eef7ec 54%,#fff 70%)}.bot-head{position:absolute;width:86px;height:69px;left:47px;top:37px;background:linear-gradient(135deg,#315e56,#12332e);border:6px solid #d0e3d1;border-radius:27px;box-shadow:3px 7px 12px #28644422;display:flex;justify-content:center;gap:17px;align-items:center;transform:rotate(-5deg)}.bot-head span{width:10px;height:14px;background:#b4e9ac;border-radius:8px;box-shadow:0 0 8px #9be0aa88}.bot-body{position:absolute;left:52px;top:108px;width:77px;height:30px;border-radius:28px 28px 16px 16px;background:linear-gradient(#e0eddd,#a5c4ac);box-shadow:0 12px 18px #2f725414}.bot-spark{position:absolute;right:18px;top:27px;color:#88af7d;font-size:23px}.scope-label{font-size:10px;color:var(--muted);width:100%;margin-bottom:16px}.scope-label select{margin-top:7px;font-size:11px;padding:9px;background:#fafcfb}.suggestions{display:grid;gap:8px;width:100%;margin-bottom:18px}.suggestions button{padding:12px;text-align:left;border:1px solid var(--line);border-radius:9px;background:white;font-size:10px;color:#576a68;display:flex;justify-content:space-between}.suggestions button:hover{background:#f4f8f5}.suggestions button span{color:#8b9d94}#ask-form{width:100%;margin-top:12px}#ask-form textarea{font-size:11px;resize:vertical;min-height:80px;padding:13px;background:#fafcfb}#ask-form .primary{width:100%;font-size:11px;margin-top:9px}.ai-disclosure{font-size:9px;color:#99a4a0;line-height:1.8;margin-top:15px}#ai-answer{white-space:pre-wrap;font-size:11px;line-height:1.8;max-height:350px;overflow:auto;width:100%}#ai-answer:not(:empty){background:#f1f7f2;padding:13px;border-radius:10px}input,select,textarea{width:100%;border:1px solid #dfe6e3;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#5aa58c;box-shadow:0 0 0 3px #65a18818}label{display:block;font-size:12px;color:#597068}label input,label select,label textarea{margin-top:7px}dialog{border:1px solid var(--line);border-radius:18px;padding:26px;width:570px;max-width:calc(100vw - 30px);max-height:90vh;box-shadow:0 25px 100px #172d3455}dialog::backdrop{background:#16352e66;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-header h2{margin:0}.modal-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}#editor-fields{display:grid;gap:16px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dept-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.dept-checks label{font-size:11px;display:flex;align-items:center;gap:7px;cursor:pointer}.dept-checks input{width:16px;height:16px;margin:0}fieldset{border:1px solid var(--line);border-radius:8px;padding:12px}legend{font-size:12px;color:#597068}#editor-error,#login-error{color:#ad5942;font-size:12px;line-height:1.6}.filters{display:flex;gap:12px;margin-bottom:20px}.filters input{flex:1}.filters select{width:160px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:20px}.detail-meta small{display:block;color:var(--muted);font-size:10px;margin-bottom:7px}.detail-meta strong{font-size:12px;font-weight:500}.detail-description{white-space:pre-wrap;color:#60716f;font-size:12px;line-height:1.8;padding:0 20px 20px}.detail-header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:20px}.detail-header h2{margin:0}.detail-header .secondary{font-size:11px}.doc-link{font-weight:600;word-break:break-word}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#183e35;color:white;border-radius:10px;padding:13px 20px;box-shadow:0 5px 20px #17382c33;display:none;z-index:1000;font-size:12px}.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--sidebar);color:white;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-story h1{font-size:clamp(38px,4.5vw,66px);line-height:1.15;letter-spacing:-2px;margin-bottom:26px}.login-story .eyebrow{color:#8db6a6}.login-story p{color:#a9c2b9;line-height:1.9;font-size:15px}.login-footer{font-size:11px;color:#7a9b91}.login-panel{display:grid;place-items:center;padding:40px}.login-card{max-width:350px;width:100%}.login-card h2{font-size:30px;margin-bottom:13px}.login-card>.muted{font-size:13px;margin-bottom:28px}.login-card form{display:grid;gap:19px}.login-card .primary{width:100%;margin-top:6px}.login-note{margin-top:28px;padding-top:21px;border-top:1px solid var(--line);font-size:10px;color:#8b9a94}.alert-box{background:#fff0e9;color:#a95838;border:1px solid #f3d5c4;border-radius:10px;padding:18px;font-size:12px;line-height:1.8}.link-button{border:0;background:transparent;color:var(--green);padding:6px 0;font-size:12px}.stack-actions{display:flex;gap:8px}.task-status{font-size:10px;min-width:110px;padding:7px}.data-warning{font-size:11px;color:#927146;margin:0 0 20px;padding:11px 14px;background:#fff8ed;border:1px solid #f2e7d3;border-radius:8px}
@media(min-width:1600px){.app-layout{grid-template-columns:240px minmax(500px,1fr) 320px}#main{padding:45px}.department-card{padding:25px}.department-card h3{font-size:14px}td{font-size:13px;padding:20px}.stat{padding:23px}.stat-value{font-size:42px}.assistant{padding:35px}}
@media(max-width:1190px){.app-layout{grid-template-columns:190px minmax(380px,1fr)}.assistant{grid-column:2;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:25px 30px}.assistant-top,.assistant h2,.assistant>.muted,.ai-disclosure,#ai-answer{grid-column:1/-1}.assistant .bot-portrait{display:none}.assistant>.muted{margin-bottom:0}.assistant .scope-label{grid-column:1/-1;margin-bottom:0}.assistant .suggestions{margin:0}.assistant #ask-form{margin:0}.assistant h2{text-align:left;margin:0}.assistant>.muted{text-align:left}.sidebar{grid-row:1/3}.sidebar .brand{font-size:17px;gap:7px}.topbar,#main{padding-left:23px;padding-right:23px}.topbar-right .private-pill{display:none}}
@media(max-width:720px){.app-layout{display:block}.sidebar{display:none;position:fixed;inset:0 auto 0 0;width:235px;z-index:20;box-shadow:20px 0 50px #17352e55}.sidebar.open{display:flex}.mobile-menu{display:block}.topbar{height:65px;padding:0 17px}.topbar-right{gap:5px}.topbar-right .avatar{display:none}#main{padding:25px 17px 10px}.page-heading{align-items:flex-start;gap:10px}h1{font-size:28px}.page-heading .primary{font-size:10px;gap:6px;padding:10px}.page-heading .eyebrow{font-size:8px;letter-spacing:1px}.page-heading .muted{font-size:11px}.stats{gap:8px}.stat{padding:12px;border-radius:11px}.stat-label{font-size:9px;line-height:1.5}.stat-label span{display:none}.stat-value{font-size:30px}.stat-note{font-size:8px;line-height:1.5}.department-grid{grid-template-columns:repeat(2,1fr);gap:10px}.department-card{padding:15px}.dashboard-bottom{grid-template-columns:1fr}.assistant{display:flex;padding:25px 20px}.assistant-top{margin-bottom:3px}.assistant h2{font-size:20px;margin:8px 0}.assistant>.muted{margin-bottom:10px}.assistant .scope-label{margin-top:10px}.assistant .suggestions{margin-top:5px}.assistant #ask-form{margin-top:0}.assistant #ai-answer{max-height:300px}.app-footer{padding:15px 17px;font-size:8px}.login-layout{grid-template-columns:1fr}.login-story{min-height:270px;padding:26px}.login-story .brand{font-size:18px;margin-bottom:35px}.login-story h1{font-size:34px;letter-spacing:-1px;margin-bottom:15px}.login-story p,.login-footer{display:none}.login-story .eyebrow{font-size:8px}.login-panel{padding:34px 25px}.login-card h2{font-size:25px}.detail-meta{grid-template-columns:1fr 1fr}.form-row{grid-template-columns:1fr}.dept-checks{grid-template-columns:1fr 1fr}.filters{flex-wrap:wrap}.filters select{width:100%}dialog{padding:20px}.detail-header{flex-wrap:wrap}td,th{padding:12px}td{min-width:100px}.topbar #breadcrumb{font-size:10px}.topbar .quiet{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.settings-link{text-decoration:none;margin-bottom:12px}

/* Command bar assistant */
.app-layout{grid-template-columns:220px minmax(0,1fr)}.sidebar{grid-row:auto}.topbar{position:relative;z-index:10}.topbar-right{flex:1;justify-content:flex-end;min-width:0}.topbar-right .private-pill,.topbar-right>.avatar{display:none}
.assistant.command{position:relative;display:block;width:min(460px,48vw);padding:0;border:0;background:transparent;flex-shrink:0;color:var(--ink)}
.command-row{display:flex;align-items:center;gap:5px;border:1px solid #d6e4dd;background:white;border-radius:12px;padding:4px 5px 4px 12px;color:var(--green)}
.command #ask-form{display:flex;align-items:center;gap:4px;margin:0;flex:1;min-width:0;width:auto}.command #question{width:100%;min-width:0;border:0;background:transparent;padding:9px 7px;box-shadow:none;font-size:12px;margin:0}.command #ask-form .primary{width:34px;min-width:34px;min-height:34px;height:34px;padding:0;display:grid;place-items:center;font-size:19px;margin:0}.command #assistant-toggle{font-size:21px;min-width:32px;min-height:34px;color:var(--green)}
#assistant-details{position:absolute;top:calc(100% + 10px);right:0;width:100%;padding:20px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 45px #132e3226;max-height:calc(100dvh - 100px);overflow:auto}#assistant-details[hidden]{display:none}.command .assistant-top{margin-bottom:18px}.command .scope-label{display:block;margin:0 0 14px}.command .suggestions{margin:0 0 12px;width:100%}.command #ai-answer{width:100%;font-size:13px;line-height:1.65}.command .ai-disclosure{display:block;margin-top:14px;line-height:1.6}
@media(min-width:1600px){.app-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:1000px){.topbar-right>#export{display:none}.assistant.command{width:min(440px,53vw)}.app-layout{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:720px){.app-layout{display:block}.topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:12px 17px;gap:8px}.topbar-right{flex-basis:100%;width:100%}.assistant.command{width:100%}.topbar #breadcrumb{margin-left:auto}.command .scope-label{margin-top:0}#assistant-details{max-height:65dvh}}
