@charset "UTF-8";
:root{color-scheme:light;--bg:#f6f7f9;--surface:#fff;--surface-soft:#f8f9fb;--ink:#242a33;--muted:#75808f;--line:#e7eaf0;--navy:#223858;--navy-hover:#182b47;--nav-active:#eef2f7;--red:#b64550;--red-bg:#fcf0f1;--amber:#9c6b20;--amber-bg:#fdf7eb;--green:#36775c;--green-bg:#edf6f1;--shadow:0 2px 5px #172e4903;--radius:10px}
:root[data-theme=dark]{color-scheme:dark;--bg:#111821;--surface:#19222f;--surface-soft:#1e2a38;--ink:#e9edf3;--muted:#a2adbc;--line:#2b3645;--navy:#90b1df;--navy-hover:#afc9ef;--nav-active:#26374e;--red:#ed8d97;--red-bg:#36252e;--amber:#dfb66c;--amber-bg:#332d23;--green:#83c8a8;--green-bg:#20362e;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:13px;line-height:1.55;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #90afdc;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:none;border-color:#8aa4c7;box-shadow:0 0 0 3px #6c96cf1c}h1,h2,h3,p{margin:0}h1,h2,h3,strong{font-weight:600}h2{font-size:15px}h3{font-size:13px}small{font-size:11px}svg.icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle}input:not([type=checkbox]):not([type=hidden]),select,textarea{display:block;width:100%;padding:11px 13px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:7px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}textarea{resize:vertical;min-height:70px}label{display:block;font-size:12px;font-weight:500}label input,label textarea{margin-top:7px}.muted{color:var(--muted)}.mono{font-family:"Cascadia Mono",Consolas,monospace;font-size:11px}.small-text{font-size:11px}.separator{margin:0 5px;color:var(--muted)}.overdue,.danger{color:var(--red)}.soon,.warning{color:var(--amber)}.accepted,.success{color:var(--green)}.skip-link{position:fixed;top:-60px;left:15px;z-index:300;padding:10px;background:var(--surface)}.skip-link:focus{top:10px}
.sidebar{position:fixed;top:0;bottom:0;left:0;width:238px;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:35px 16px 14px;z-index:40}.brand{display:flex;align-items:flex-end;gap:9px;color:var(--navy);padding:0 12px;font-size:13px;line-height:1.04;font-weight:750;letter-spacing:-.25px}.brand-mark{height:57px;width:51px}.brand-caption{color:var(--muted);font-size:11px;margin:14px 12px 31px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:11px;padding:12px 13px;min-height:43px;color:var(--muted);border-radius:7px;font-size:12px;transition:background .15s,color .15s}.nav-link:hover{background:var(--surface-soft);color:var(--ink)}.nav-link.selected{color:var(--navy);background:var(--nav-active);font-weight:600}.nav-link.selected .icon{stroke-width:1.9}.nav-count{margin-left:auto;padding:0 6px;border-radius:5px;background:var(--line);font-size:10px}.nav-caption{font-size:9px;letter-spacing:1.4px;color:var(--muted);padding:30px 13px 8px}.sidebar-bottom{margin-top:auto;padding-top:30px}.workspace-note{display:flex;align-items:center;gap:7px;padding:15px 10px 20px;color:var(--muted);font-size:10px}.online-dot{height:6px;width:6px;border-radius:50%;background:#65977d;display:inline-block;flex-shrink:0}.user-card{border-top:1px solid var(--line);padding:18px 5px 5px;display:flex;align-items:center;gap:9px}.user-card strong{display:block;font-size:12px}.user-card small{display:block;color:var(--muted);font-size:10px}.user-card form{margin-left:auto}.user-card .icon-button{border:0;width:29px;height:29px;color:var(--muted)}.account-link{display:block;color:var(--muted);font-size:10px;padding:9px 0 0 47px}.workspace{margin-left:238px}.topbar{height:99px;position:sticky;top:0;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:20px 36px;gap:18px;z-index:20}.page-heading h1{font-size:21px;letter-spacing:-.6px;line-height:1.3}.page-heading p{font-size:11px;color:var(--muted);margin-top:6px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.button{border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:10px 16px;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--navy);color:var(--surface)}.button.primary:hover{background:var(--navy-hover)}.button.secondary{border-color:var(--line);background:var(--surface);color:var(--muted)}.button.secondary:hover{background:var(--surface-soft);color:var(--ink)}.button.danger-button{background:var(--red-bg);color:var(--red);border-color:var(--red-bg)}.button.mini{min-height:28px;padding:5px 9px;font-size:10px}.icon-button{position:relative;width:39px;height:39px;border-radius:7px;border:1px solid var(--line);background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button:hover{background:var(--surface-soft);color:var(--ink)}.notification-count{position:absolute;top:-5px;right:-4px;font-size:9px;line-height:17px;min-width:17px;background:var(--red);border-radius:8px;color:#fff;padding:0 3px;border:2px solid var(--surface)}.main-content{max-width:1600px;margin:0 auto;padding:27px 36px 0;min-height:calc(100vh - 99px)}.page-eyebrow{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;margin-bottom:20px}.page-eyebrow>span:first-child{font-size:9px;letter-spacing:1.2px;display:flex;align-items:center;gap:8px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:33px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 21px 14px;transition:box-shadow .2s;min-width:0}.stat-card:hover{box-shadow:0 4px 18px #13263d0a}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.stat-label{color:var(--muted);font-size:11px;white-space:nowrap}.stat-icon{width:28px;height:28px;background:var(--surface-soft);border-radius:7px;display:grid;place-items:center;color:var(--muted)}.stat-icon .icon{width:15px;height:15px}.stat-card.danger .stat-icon{background:var(--red-bg);color:var(--red)}.stat-card.warning .stat-icon{background:var(--amber-bg);color:var(--amber)}.stat-card.success .stat-icon{background:var(--green-bg);color:var(--green)}.stat-card>strong{display:block;font-size:32px;font-weight:500;letter-spacing:-1px;line-height:1.2;margin:14px 0 16px;font-variant-numeric:tabular-nums}.stat-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:10px}.stat-bottom .icon{width:14px;height:14px}.dashboard-section{margin-bottom:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;min-height:24px}.section-heading h2{display:flex;gap:9px;align-items:center;font-size:13px}.count-pill{font-size:10px;display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:20px;padding:1px 6px;background:var(--line);color:var(--muted);border-radius:5px;font-weight:500}.text-link{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.text-link:hover{color:var(--navy)}.text-link .icon{width:13px;height:13px}.section-hint{color:var(--muted);font-size:10px}.decision-row{display:flex;align-items:center;gap:15px;padding:19px 22px}.decision-row+.decision-row{border-top:1px solid var(--line)}.decision-row:hover,.task-row:hover,.employee-row:hover{background:var(--surface-soft)}.decision-icon{width:35px;height:35px;display:grid;place-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;flex-shrink:0}.decision-icon.warning{background:var(--amber-bg);border-color:transparent}.decision-icon.success{background:var(--green-bg);border-color:transparent}.decision-row>div{display:flex;flex-direction:column;gap:3px}.decision-row strong{font-size:12px}.eyebrow{font-size:8px;font-weight:650;letter-spacing:1.1px}.decision-row .muted{font-size:11px}.review-link{display:flex;gap:8px;align-items:center;margin-left:auto;color:var(--muted);font-size:10px;white-space:nowrap}.review-link .icon{width:14px;height:14px}.task-row{display:flex;align-items:center;gap:15px;padding:17px 21px;min-height:80px;transition:background .15s}.task-row+.task-row{border-top:1px solid var(--line)}.status-line{width:3px;height:32px;background:#94a3b8;border-radius:4px;flex-shrink:0}.status-line.overdue{background:var(--red)}.status-line.soon,.status-line.submitted,.status-line.undated{background:var(--amber)}.status-line.accepted{background:var(--green)}.task-row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.task-row-body strong{font-size:12px;line-height:1.55}.task-row-body>.muted{font-size:10.5px}.task-row-date{display:flex;flex-direction:column;gap:4px;text-align:right;white-space:nowrap;align-self:center;font-size:12px}.task-row-date>small{font-size:10px}.task-row-date span small{font-size:10px;opacity:.8;margin-left:3px}.task-row>.icon{width:13px;height:13px;color:var(--muted);margin-left:2px}.task-row .parent-label{font-size:9px;color:var(--muted)}.stale-note{font-size:9px;color:var(--amber);display:flex;gap:4px;align-items:center}.stale-note .icon{width:12px;height:12px}.dashboard-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.compact .task-row{padding:18px 16px;flex-wrap:wrap;gap:10px}.compact .task-row>.icon{display:none}.compact .task-row-body{flex-basis:75%}.compact .task-row-date{margin-left:13px;flex-direction:row;gap:9px}.employee-row{display:flex;align-items:center;gap:12px;padding:18px 21px}.employee-row+.employee-row{border-top:1px solid var(--line)}.avatar{width:35px;height:35px;border-radius:50%;background:var(--surface-soft);border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:10px;font-weight:500;color:var(--muted)}.avatar.navy{background:var(--nav-active);color:var(--navy);border-color:transparent}.avatar.rose{background:var(--red-bg);color:var(--red);border-color:transparent}.avatar.small{width:28px;height:28px;font-size:9px}.employee-info{display:flex;flex-direction:column;gap:4px;min-width:0}.employee-info strong{font-size:12px}.employee-info>.muted{font-size:10px}.employee-workload{margin-left:auto;font-size:10px;text-align:right}.employee-workload span{margin:0 3px;color:var(--muted)}.compact .employee-row{padding:14px 16px;flex-wrap:wrap}.compact .employee-info{flex:1}.compact .employee-workload{font-size:9px;max-width:125px}.page-footer{border-top:1px solid var(--line);margin-top:38px;padding:18px 0;display:flex;justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:.15px}.filter-toolbar{border-bottom:1px solid var(--line);margin-bottom:20px}.filter-tabs{display:flex;gap:6px;overflow-x:auto}.filter-tab{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:12px 10px 15px;font-size:11px;color:var(--muted);border-bottom:2px solid transparent}.filter-tab span{font-size:9px;background:var(--line);padding:0 5px;border-radius:4px}.filter-tab.active{color:var(--navy);border-bottom-color:var(--navy);font-weight:600}.filter-tab.active span{background:var(--nav-active);color:var(--navy)}.list-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0 28px}.list-toolbar>.muted{font-size:10px;margin-left:auto}.list-toolbar>select{width:auto;max-width:240px}.search-form{display:flex;align-items:center;gap:10px;flex:1;max-width:540px;position:relative}.search-form>.icon{position:absolute;left:13px;color:var(--muted);width:15px;height:15px}.search-form input:not([type=hidden]){padding-left:36px;font-size:11px}.status-dot{display:inline-block;width:6px;height:6px;background:#8294af;border-radius:50%;flex-shrink:0}.status-dot.overdue{background:var(--red)}.status-dot.soon,.status-dot.undated,.status-dot.submitted{background:var(--amber)}.status-dot.accepted{background:var(--green)}.empty-state{padding:60px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;color:var(--muted)}.empty-state>.icon{width:30px;height:30px;margin-bottom:5px;opacity:.6}.empty-state h2,.empty-state strong{color:var(--ink)}.empty-state.small{padding:35px 20px;font-size:11px}.back-link{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin:0 0 20px}.back-link .icon{width:15px;height:15px}.detail-page{max-width:920px;margin:auto}.detail-header{padding:29px 32px 23px;border-bottom:1px solid var(--line)}.detail-meta{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}.status-badge{font-size:10px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:4px 8px;border-radius:5px;background:var(--surface-soft)}.status-badge.overdue{background:var(--red-bg)}.status-badge.soon,.status-badge.undated,.status-badge.submitted{background:var(--amber-bg);color:var(--amber)}.status-badge.accepted{background:var(--green-bg)}.chair-tag{font-size:8px;text-transform:uppercase;letter-spacing:.5px;background:var(--nav-active);padding:3px 6px;color:var(--navy);border-radius:4px}.detail-header h2{font-size:20px;line-height:1.5;max-width:95%;letter-spacing:-.3px}.detail-body{padding:26px 32px}.detail-description{color:var(--muted);margin-bottom:24px;line-height:1.85;font-size:12px}.notice{padding:18px;border:1px solid var(--line);border-radius:8px;margin:0 0 24px}.notice.warning{background:var(--amber-bg);border-color:color-mix(in srgb,var(--amber) 13%,transparent)}.notice p{font-size:11px;margin:7px 0 12px;color:var(--muted)}.notice strong{font-size:12px}.task-properties{display:grid;grid-template-columns:88px 1fr;row-gap:18px;font-size:11px;margin:26px 0}.task-properties dt{color:var(--muted);padding-top:2px}.task-properties dd{margin:0;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.task-properties dd small{display:block;color:var(--muted);margin-top:3px;font-size:10px}.task-actions{display:flex;align-items:flex-start;gap:9px;flex-wrap:wrap;padding:9px 0 28px;border-bottom:1px solid var(--line)}.task-actions details{max-width:100%}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}details[open]>summary{margin-bottom:12px}details[open].inline-details{display:block}.inline-details{margin-top:12px;font-size:11px}.inline-details summary{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.inline-details label{margin-bottom:12px}.action-form{background:var(--surface-soft);padding:16px;border:1px solid var(--line);border-radius:8px;display:grid;gap:14px;width:min(460px,100%)}.action-buttons{display:flex;gap:10px}.detail-section{padding-top:27px}.detail-section>h3{display:flex;align-items:center;gap:8px;margin-bottom:23px}.detail-section>h3>.icon{width:16px;height:16px;color:var(--muted)}.chain-timeline{margin-left:6px}.chain-person{position:relative;display:block;padding:0 0 22px 25px;border-left:1px solid var(--line);font-size:11px}.chain-person:last-child{border:0;padding-bottom:0}.chain-person strong .muted{font-size:9px;font-weight:400;margin-left:5px}.chain-person p{font-size:10px;color:var(--muted);margin-top:4px}.chain-dot{position:absolute;left:-4px;top:5px;height:7px;width:7px;border-radius:50%;background:var(--muted)}.chain-dot.overdue{background:var(--red)}.chain-dot.soon,.chain-dot.undated{background:var(--amber)}.chain-dot.accepted{background:var(--green)}.event-row{position:relative;display:flex;gap:13px;padding:0 0 22px;font-size:11px}.event-dot{width:6px;height:6px;border-radius:50%;background:var(--line);margin-top:6px;flex-shrink:0}.event-row>div{flex:1;min-width:0}.event-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px}.event-heading time{color:var(--muted);font-size:9px;white-space:nowrap}.event-row p{margin:5px 0;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.event-row a{color:var(--navy);font-weight:500}.event-row small{font-size:9px}.comment-form{padding-top:14px;border-top:1px solid var(--line)}.comment-form .button{margin-top:12px}.task-drawer{position:fixed;inset:0 0 0 auto;max-height:100dvh;height:100dvh;width:min(610px,100vw);max-width:100vw;margin:0;padding:0;border:0;border-left:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:-10px 0 45px #0001;overscroll-behavior:contain}.task-drawer::backdrop{background:#12213766;backdrop-filter:blur(1px)}.task-drawer .detail-header{padding-right:65px}.drawer-close{position:absolute;right:17px;top:20px;width:30px;height:30px;z-index:2}.drawer-close .icon{width:15px;height:15px}.form-card{max-width:660px;margin:auto;padding:30px}.form-card-heading{margin-bottom:26px}.form-card-heading h2{font-size:20px;letter-spacing:-.4px;margin-top:8px}.form-card-heading p{color:var(--muted);font-size:11px;line-height:1.8;margin-top:8px}.form-symbol{display:inline-grid;place-items:center;width:40px;height:40px;background:var(--nav-active);color:var(--navy);border-radius:10px}.stack-form{display:flex;flex-direction:column;gap:20px}.form-field label{margin-bottom:8px}.form-field .required{color:var(--red);margin-left:2px}.help-text{font-size:10px;line-height:1.7;color:var(--muted);margin-top:7px}.help-text ul{padding-left:17px;margin:3px 0}.errorlist{list-style:none;padding:0;margin:0}.form-errors{background:var(--red-bg);color:var(--red);font-size:11px;padding:12px;border-radius:6px}.field-errors{font-size:10px;color:var(--red);margin-top:7px}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:20px;border-top:1px solid var(--line);margin-top:8px}.voice-box{display:flex;gap:14px;background:var(--surface-soft);border:1px solid var(--line);padding:18px;border-radius:8px;align-items:center;margin-bottom:15px}.voice-box strong{font-size:12px}.voice-box p{font-size:10px;color:var(--muted);margin-top:5px}.voice-circle{border:1px solid var(--line);background:var(--surface);color:var(--navy);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.voice-circle.recording{color:var(--red);background:var(--red-bg)}.voice-text{font-size:11px;margin-bottom:25px;color:var(--muted)}.voice-text summary{display:inline-block;border-bottom:1px dashed var(--muted)}.voice-text textarea{margin:10px 0}.quick-dates{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}.quick-dates button{background:var(--surface-soft);border:1px solid var(--line);border-radius:5px;padding:5px 9px;color:var(--muted)}.quick-dates button:hover{color:var(--navy);border-color:var(--navy)}.structure-top{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:28px}.structure-create{padding:25px;display:flex;align-items:flex-start;flex-direction:column;gap:13px}.structure-create p{font-size:11px}.structure-create form{display:grid;gap:14px;width:100%}.department-card{margin-bottom:20px}.department-heading{display:flex;align-items:center;justify-content:space-between;background:var(--surface-soft);padding:18px 22px;border-bottom:1px solid var(--line)}.department-heading h2{font-size:12px;margin-bottom:3px}.department-heading .muted{font-size:10px}.structure-employee{display:flex;gap:12px;align-items:center;padding:19px 22px;flex-wrap:wrap}.structure-employee+.structure-employee{border-top:1px solid var(--line)}.structure-employee>.employee-info{flex:1;min-width:200px}.employee-actions{display:flex;gap:6px;flex-wrap:wrap}.mini-tag{display:inline-block;font-size:8px;font-weight:400;color:var(--muted);border:1px solid var(--line);padding:1px 5px;border-radius:3px;margin-left:4px}.empty-inline{padding:20px;color:var(--muted);font-size:11px}.notification-row{display:flex;gap:15px;padding:22px;align-items:flex-start}.notification-row+.notification-row{border-top:1px solid var(--line)}.notification-row.unread{background:var(--surface-soft)}.notification-row>div{flex:1}.notification-row strong{font-size:12px}.notification-row p{font-size:11px;margin:5px 0}.notification-row>.online-dot{margin-top:8px}.timeline-intro{display:flex;align-items:center;gap:17px;padding:25px;margin-bottom:25px}.timeline-intro p{font-size:11px;margin-top:7px}.global-events{padding:24px}.global-events .event-row{padding:15px 0 23px}.global-events .event-row+.event-row{border-top:1px solid var(--line)}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;padding:25px;font-size:11px}.chain-card{margin-bottom:22px;padding:20px}.chain-node-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:9px 5px}.chain-node-heading>div{display:flex;flex-direction:column;gap:5px}.chain-node-heading strong{font-size:12px}.chain-node-heading .muted{font-size:10px}.chain-branches{border-left:1px solid var(--line);margin:12px 0 5px 13px;padding-left:20px}.chain-branches .chain-node+.chain-node{border-top:1px solid var(--line);padding-top:8px}.messages{margin-bottom:20px;display:grid;gap:10px}.message{display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:11px;background:var(--green-bg);color:var(--green);border:1px solid var(--line);border-radius:7px}.message.error{background:var(--red-bg);color:var(--red)}.message .icon-button{margin-left:auto;background:transparent;border:none;width:24px;height:24px}.menu-button,.sidebar-scrim{display:none}
.login-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#203454;color:#fff;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh}.login-wordmark{display:flex;gap:12px;align-items:center;font-size:11px;font-weight:650;line-height:1.2;letter-spacing:.4px}.login-monogram{border:1px solid #ffffff4d;border-radius:6px;display:grid;place-items:center;height:42px;width:42px;font-size:17px}.login-story .eyebrow{color:#b6c5d8;letter-spacing:2px;font-size:9px}.login-story h1{font-size:clamp(35px,3.8vw,60px);line-height:1.25;letter-spacing:-1.7px;margin:22px 0;font-weight:500}.login-story p{color:#bdc9d9;font-size:14px;line-height:1.8}.login-story>small{font-size:10px;color:#91a5be}.login-flow{display:flex;align-items:center;gap:15px;margin-top:45px;color:#d2ddeb;font-size:10px}.login-flow>span{display:flex;align-items:center;gap:7px}.login-flow i{width:25px;height:1px;background:#607592}.login-flow .icon{width:16px;height:16px}.login-panel{background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;position:relative}.login-form{max-width:350px;width:100%}.login-form h2{font-size:27px;letter-spacing:-.8px;margin:20px 0 10px}.login-form>p{font-size:12px;margin-bottom:32px}.login-submit{width:100%;margin-top:4px;justify-content:space-between;padding:13px 18px}.login-form>.login-help{font-size:10px;text-align:center;color:var(--muted);margin:25px 0 0;line-height:1.9}.login-bottom{position:absolute;bottom:25px;color:var(--muted);font-size:9px}
@media(min-width:1500px){.main-content{padding:32px 48px 0}.topbar{padding-left:48px;padding-right:48px}.stat-card{padding:21px 25px 16px}.task-row{padding:19px 23px}}
@media(max-width:1180px){.sidebar{width:215px;padding-left:11px;padding-right:11px}.workspace{margin-left:215px}.topbar{padding:20px 25px}.main-content{padding:25px 25px 0}.stats-grid{gap:12px}.stat-card{padding:15px}.stat-label{font-size:10px}.stat-icon{width:23px;height:23px}.stat-bottom{font-size:9px}.dashboard-bottom-grid{grid-template-columns:1fr}.header-actions{gap:8px}.voice-header{display:none}.employee-actions{margin-left:47px}.structure-employee>.employee-info{min-width:160px}}
@media(max-width:920px){.sidebar{width:200px}.workspace{margin-left:200px}.topbar{padding:18px 20px;height:94px;gap:10px}.page-heading h1{font-size:18px}.page-heading p{font-size:10px;max-width:235px}.main-content{padding:23px 20px 0}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.header-actions .button{padding:10px}.header-actions .button>.icon{display:none}.decision-row{padding:18px 17px;gap:10px}.review-link{font-size:0;gap:0}.review-link .icon{width:15px;height:15px}.task-row{padding:17px 14px;gap:11px}.task-row>.avatar{display:none}.task-row-body strong{font-size:11px}.task-row-date{font-size:11px}.task-row-date>small{font-size:9px}.task-row-body>.muted{font-size:10px}.task-row>.icon{display:none}.structure-top{grid-template-columns:1fr}.employee-row{padding:17px 14px}.employee-workload{max-width:120px}.detail-header,.detail-body{padding:23px}.brand{font-size:12px;padding:0 9px}.brand-mark{height:50px;width:45px}.nav-link{font-size:11px}.section-heading h2{font-size:12px}.login-story{padding:40px}.login-panel{padding:30px}.login-flow{gap:9px}.login-flow i{width:14px}}
@media(max-width:700px){.sidebar{width:238px;transform:translateX(-100%);transition:transform .2s}.menu-open .sidebar{transform:translateX(0)}.menu-open .sidebar-scrim{display:block;position:fixed;inset:0;background:#12213766;border:0;z-index:35;width:100%;height:100%}.workspace{margin-left:0}.menu-button{display:flex;border:0;background:transparent;width:25px}.topbar{height:86px;padding:14px 16px;gap:10px}.page-heading h1{font-size:17px;letter-spacing:-.35px}.page-heading p{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;margin-top:4px}.header-actions{gap:6px}.header-actions>.icon-button{width:33px;height:33px}.header-actions .button{font-size:0;min-height:33px;width:33px;padding:7px}.header-actions .button>.icon{display:block;width:17px;height:17px}.main-content{padding:21px 16px 0}.page-eyebrow{font-size:9px}.page-eyebrow>span:first-child{font-size:8px}.stats-grid{margin-bottom:26px}.stat-card{padding:15px}.stat-card>strong{font-size:29px;margin:10px 0 14px}.stat-label{font-size:11px}.stat-bottom{font-size:9px}.dashboard-section{margin-bottom:25px}.section-hint{display:none}.decision-row strong{font-size:11px}.decision-row .muted{font-size:10px}.decision-icon{width:30px;height:30px}.task-row{align-items:flex-start;flex-wrap:wrap;gap:9px;padding:16px 13px}.task-row-body{flex-basis:85%}.task-row-date{margin-left:12px;flex-direction:row;gap:9px;text-align:left;font-size:10px}.task-row-date small{font-size:9px}.status-line{height:32px}.task-row-body strong{font-size:12px}.section-heading h2{font-size:12px}.compact .task-row-body{flex-basis:85%}.filter-tab{font-size:10px}.list-toolbar{gap:10px}.search-form{max-width:none;min-width:100%;order:-1}.employee-row{flex-wrap:wrap}.employee-info{flex:1}.employee-workload{max-width:none;margin-left:47px;flex-basis:100%;text-align:left}.compact .employee-workload{max-width:none}.detail-header h2{font-size:18px}.detail-header,.detail-body{padding:21px}.task-properties{grid-template-columns:65px 1fr;font-size:10px;column-gap:9px}.task-properties dd{gap:5px}.event-heading{flex-wrap:wrap;gap:3px}.event-heading time{font-size:9px}.form-card{padding:23px 20px}.form-actions{flex-wrap:wrap}.form-actions>.button{flex:1}.structure-create{padding:20px}.structure-employee{padding:18px 16px}.structure-employee .status-badge{font-size:9px}.employee-actions{margin-left:0;width:100%;padding-left:47px}.structure-employee>.employee-info{min-width:140px}.chain-node-heading{align-items:flex-start;flex-wrap:wrap}.chain-branches{padding-left:12px;margin-left:4px}.timeline-intro{padding:20px;gap:12px}.timeline-intro h2{font-size:13px}.page-footer{margin-top:30px;font-size:8px}.theme-toggle{display:none}.login-layout{grid-template-columns:1fr}.login-story{min-height:0;padding:25px;gap:40px}.login-story>div,.login-story>small{display:none}.login-panel{padding:40px 28px 65px;min-height:calc(100dvh - 93px)}.login-form h2{font-size:25px}.login-bottom{bottom:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.escalation-note{font-size:9px;color:var(--red);line-height:1.6}
.voice-agent{margin-bottom:25px}.voice-toolbar,.voice-reply-controls{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.voice-privacy{line-height:1.7;margin:12px 0}.voice-playback{width:100%;margin:10px 0}.voice-answer{padding:15px 17px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:1.8;white-space:pre-wrap;margin:14px 0}.voice-error .voice-box{border-color:var(--red)}.voice-error #voice-status{color:var(--red)}.voice-auto{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.voice-auto input{width:auto;accent-color:var(--navy)}.voice-reply-controls .help-text{width:100%;margin:0}.voice-agent button:disabled{opacity:.5;cursor:not-allowed}.voice-agent [hidden]{display:none!important}.voice-agent .voice-text{margin:17px 0}.voice-agent .voice-text label{display:block;margin-top:15px;line-height:1.7}
@media(max-width:700px){.page-heading{min-width:0;flex:1}.page-heading p{max-width:100%}.header-actions .theme-toggle{display:inline-flex}}
.report-toolbar{margin:12px 0 18px}.report-form{display:flex;align-items:center;gap:10px}.report-form label{font-size:11px;color:var(--muted)}.report-form input{margin:0;width:auto;min-width:170px}.report-download{margin-left:auto}
.stats-scroll{overflow-x:auto}.stats-table{width:100%;border-collapse:collapse;font-size:12px}.stats-table th,.stats-table td{padding:11px 14px;border-bottom:1px solid var(--line);text-align:center;white-space:nowrap}.stats-table th{font-size:10.5px;font-weight:600;color:var(--muted);background:var(--surface-soft);white-space:normal}.stats-table .name{text-align:left;white-space:normal;min-width:220px}.stats-table td.name a{color:var(--ink);font-weight:500}.stats-table td.name a:hover{color:var(--navy)}.stats-table .progress{color:var(--green)}.stats-table .late{color:var(--red)}.stats-table tbody tr:last-child td{border-bottom:0}.stats-table tbody tr:hover td{background:var(--surface-soft)}.stats-table td.empty{color:var(--muted);padding:28px}.stats-note{margin-top:12px}
@media(max-width:700px){.report-download{margin-left:0}.report-form{flex-wrap:wrap}}
.generated-actions{display:flex;align-items:center;gap:12px}.generated-frame{padding:0}.generated-frame iframe{display:block;width:100%;min-height:70vh;border:0;background:var(--surface)}
.part-list{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.part-row{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.part-row.submitted{border-color:var(--amber)}.part-row.accepted{border-color:var(--green)}.part-info{flex:1;min-width:0}.part-info p{margin:2px 0 4px}.part-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:700px){.part-row{flex-wrap:wrap}.part-actions{width:100%}}
.sidebar{overflow:hidden}.sidebar nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:4px}.sidebar-bottom{flex:0 0 auto;padding-top:16px}
@media(max-height:780px){.sidebar{padding-top:18px}.brand-caption{display:none}.user-card{padding-top:12px}.nav-caption{margin-top:10px}}
.push-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin-bottom:16px;flex-wrap:wrap}.push-card .help-text{margin-top:4px;max-width:60ch}
/* Telegram Mini App: a narrow window inside another app, with its own chrome. */
[data-telegram=true] .push-card,[data-telegram=true] .theme-toggle,[data-telegram=true] .page-footer,[data-telegram=true] .workspace-note{display:none}
[data-telegram=true] .topbar{height:auto;padding:12px 16px;gap:10px}
[data-telegram=true] .main-content{padding:16px 16px 0;min-height:auto}
[data-telegram=true] main.main-content{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
[data-telegram=true] .agent-launch{bottom:calc(16px + env(safe-area-inset-bottom,0px));right:16px;padding:10px 14px;font-size:11px}
[data-telegram=true] .agent-launch span{display:none}
[data-telegram=true] body{overscroll-behavior-y:contain}
