:root{--brand:#243b55;--brand-hover:#16293f;--brand-weak:#edf1f7;--ok:#2f6f3e;--ok-bg:#edf4ee;--warn:#8a6100;--warn-bg:#fbf3db;--info:#1f6c9f;--info-bg:#e6f2fa;--danger:#9a2f2c;--ink:#17181a;--ink-2:#5c5f66;--ink-3:#8a8e96;--line:#e6e7e9;--surface:#fff;--canvas:#fafaf9;--rail:#182330;--radius:8px;--radius-sm:6px;--font:"Pretendard Variable",Pretendard,"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;--mono:"IBM Plex Mono",ui-monospace,"SFMono-Regular",Consolas,monospace}*{box-sizing:border-box}html{background:var(--canvas);min-width:320px}body{color:var(--ink);background:var(--canvas);font-family:var(--font);margin:0;font-size:16px;line-height:1.65}:lang(ko){word-break:keep-all}:lang(ja){word-break:normal;line-break:strict}button,input,textarea{font:inherit}button,label,summary{-webkit-tap-highlight-color:transparent}button{color:inherit}img{object-fit:cover;display:block}svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p,dl,dd{margin:0}h1{letter-spacing:-.02em;font-size:24px;font-weight:650;line-height:1.35}h2{letter-spacing:-.015em;font-size:18px;font-weight:650;line-height:1.4}h3{font-size:16px;line-height:1.5}.money{font-variant-numeric:tabular-nums}.view-toggle{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed}.app-shell{min-height:100vh}.rail{z-index:20;background:var(--rail);color:#dbe2ea;flex-direction:column;align-items:center;width:72px;display:flex;position:fixed;inset:0 auto 0 0}.brand-mark{color:#fff;border-bottom:1px solid #ffffff1a;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:72px;height:80px;text-decoration:none;display:flex}.brand-mark svg{stroke-width:2.4px;width:28px;height:28px}.brand-mark span{letter-spacing:.03em;font-size:13px;font-weight:700}.rail-nav{flex-direction:column;flex:1;gap:4px;width:100%;padding:14px 8px;display:flex}.rail-item{border-radius:var(--radius-sm);color:#aeb9c6;cursor:pointer;text-align:center;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:56px;min-height:58px;padding:6px 3px;font-size:13px;font-weight:550;line-height:1.2;display:flex}.rail-item:hover{color:#fff;background:#ffffff0f}.rail-item svg{width:21px;height:21px}.rail-settings{margin:0 8px 14px}.workspace{min-height:100vh;margin-left:72px}.screen{grid-template-columns:300px minmax(0,1fr);min-height:100vh;display:none}#view-command:checked~.app-shell .screen-command,#view-dispatch:checked~.app-shell .screen-dispatch,#view-queue:checked~.app-shell .screen-queue,#view-result:checked~.app-shell .screen-result{display:grid}#view-command:checked~.app-shell .rail .nav-command,#view-dispatch:checked~.app-shell .rail .nav-dispatch,#view-queue:checked~.app-shell .rail .nav-queue,#view-result:checked~.app-shell .rail .nav-result{color:#fff;background:#ffffff1c}.context-panel{border-right:1px solid var(--line);background:#f6f6f4;height:100vh;padding:28px 20px;position:sticky;top:0;overflow-y:auto}.context-heading{margin-bottom:20px}.eyebrow{color:var(--ink-3);margin-bottom:3px;font-size:13px;font-weight:650}.person-card{border-radius:var(--radius);border:1px solid #0000;align-items:center;gap:12px;min-height:64px;padding:10px 12px;display:flex}.person-card img{border:1px solid var(--line);background:var(--surface);border-radius:50%;width:42px;height:42px}.person-card div{flex:1;min-width:0}.person-card strong,.person-card span{display:block}.person-card strong{font-size:15px;font-weight:650}.person-card div span{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.person-card.chief{border-color:var(--line);background:var(--surface)}.person-card.selected-person{background:var(--brand-weak);border-color:#9dabbc}.person-card.muted{opacity:.62}.status-dot{background:var(--ok);border-radius:50%;flex:none;width:8px;height:8px}.status-dot.busy{background:var(--info)}.org-branch{border-left:1px solid #d4d6da;margin:8px 0 0 22px;padding:8px 0 0 18px;position:relative}.org-branch:before{content:"";background:#d4d6da;width:18px;height:1px;position:absolute;top:0;left:-1px}.org-branch .person-card{margin-bottom:4px}.context-summary{border-block:1px solid var(--line);grid-template-columns:1fr auto;gap:9px 16px;margin-top:24px;padding:18px 0;display:grid}.context-summary span{color:var(--ink-2);font-size:14px}.context-summary strong{text-align:right;font-size:14px}.main-pane{min-width:0;padding:34px clamp(24px,3vw,48px) 48px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;min-height:74px;margin-bottom:26px;display:flex}.page-header>div:first-child>p:last-child,.employee>div>p:last-child{color:var(--ink-2);margin-top:5px;font-size:14px}.title-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.balance{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;align-items:flex-end;min-width:176px;padding:9px 14px;display:flex}.balance span{color:var(--ink-2);font-size:13px}.balance strong{font-size:17px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.section-heading{align-items:flex-start;gap:12px;margin-bottom:22px;display:flex}.section-heading p{color:var(--ink-2);margin-top:3px;font-size:14px}.section-heading.inline{justify-content:space-between;align-items:center}.step{background:var(--brand);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:grid}.step.secondary{background:var(--brand-weak);color:var(--brand)}.badge{width:max-content;color:var(--ink-2);white-space:nowrap;background:#f1f2f3;border-radius:999px;align-items:center;padding:3px 9px;font-size:13px;font-weight:550;line-height:1.4;display:inline-flex}.badge.ok{color:var(--ok);background:var(--ok-bg)}.badge.warn{color:var(--warn);background:var(--warn-bg)}.badge.info{color:var(--info);background:var(--info-bg)}.count{color:var(--ink-2);font-size:14px;font-weight:550}.command-layout{grid-template-columns:minmax(480px,1.14fr) minmax(360px,.86fr);align-items:start;gap:20px;display:grid}.command-form,.understanding{padding:26px}.field{flex-direction:column;gap:7px;display:flex}.field-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;display:grid}.field label,.detail-content label{font-size:14px;font-weight:650}.field label em{color:var(--danger);font-style:normal}.field small{color:var(--ink-3);font-size:13px}input[type=text],textarea{border-radius:var(--radius);background:var(--surface);width:100%;color:var(--ink);border:1px solid #d4d6da;outline:0;font-size:16px}input[type=text]{height:48px;padding:0 13px}textarea{resize:vertical;min-height:96px;padding:12px 13px;line-height:1.6}input[type=text]:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-weak)}.input-affix{border-radius:var(--radius);border:1px solid #d4d6da;align-items:center;height:48px;display:flex}.input-affix:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-weak)}.input-affix span{color:var(--ink-2);padding-left:13px}.input-affix input,.input-affix input:focus{box-shadow:none;border:0}.approval-field{border:0;gap:8px;margin:18px 0 0;padding:0;display:grid}.approval-field legend{margin-bottom:6px;font-size:14px;font-weight:650}.approval-field label{border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;align-items:center;gap:10px;min-height:42px;padding:8px 11px;font-size:14px;display:flex}.approval-field input{width:17px;height:17px;accent-color:var(--brand);margin:0}details{border-block:1px solid var(--line);margin-top:18px}summary{cursor:pointer;min-height:48px;color:var(--ink-2);align-items:center;font-size:14px;font-weight:600;list-style:none;display:flex}summary:after{content:"+";margin-left:auto;font-size:18px}details[open] summary:after{content:"−"}.detail-content{padding:0 0 16px}.detail-content label{margin-bottom:7px;display:block}.cost{border-top:1px solid var(--line);margin-top:18px;padding:15px 0}.cost div{color:var(--ink-2);justify-content:space-between;gap:18px;padding:4px 0;font-size:15px;display:flex}.cost strong{color:var(--ink-2);font-weight:550}.cost .total{border-top:1px solid var(--line);color:var(--ink);margin-top:5px;padding-top:9px;font-size:18px}.cost .total strong{color:var(--ink);font-weight:700}.cost>p{color:var(--ink-3);text-align:right;margin-top:7px;font-size:13px}.primary,.secondary{border-radius:var(--radius-sm);cursor:pointer;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-size:16px;font-weight:650;line-height:1.3;text-decoration:none;display:inline-flex}.primary{border:1px solid var(--brand);background:var(--brand);color:#fff}.primary:hover{border-color:var(--brand-hover);background:var(--brand-hover)}.secondary{background:var(--surface);color:var(--ink);border:1px solid #d4d6da}.secondary:hover{background:#f7f7f6;border-color:#aeb2b8}.full{width:100%}.agent-intro{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding-bottom:20px;display:flex}.agent-intro img{border:1px solid var(--line);border-radius:50%;width:52px;height:52px}.agent-intro h2{margin-top:4px}.understanding dl{margin-top:18px}.understanding dl div{border-bottom:1px solid var(--line);grid-template-columns:92px 1fr;gap:12px;padding:10px 0;display:grid}.understanding dt{color:var(--ink-2);font-size:14px}.understanding dd{font-size:14px;font-weight:550}.role-list{padding-top:20px}.role-list h3{margin-bottom:10px}.role-list>div{align-items:center;gap:11px;padding:10px 0;display:flex}.role-list img{border-radius:50%;width:38px;height:38px}.role-list p{flex-direction:column;display:flex}.role-list p strong{font-size:14px}.role-list p span,.role-list>small{color:var(--ink-2);font-size:13px}.safe-note{border-radius:var(--radius);background:var(--ok-bg);border:1px solid #cbd9ce;align-items:flex-start;gap:11px;margin-top:20px;padding:14px;display:flex}.safe-note svg{width:22px;height:22px;color:var(--ok);flex:none}.safe-note p{flex-direction:column;font-size:14px;display:flex}.safe-note span{color:var(--ink-2);margin-top:2px;font-size:13px}.mission,.history{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);cursor:pointer;text-align:left;flex-direction:column;align-items:flex-start;gap:6px;width:100%;margin-bottom:10px;padding:14px;display:flex}.mission:hover,.history:hover{border-color:#b7bec8}.mission.active,.history.active{background:var(--brand-weak);border-color:#9dabbc}.mission strong,.history strong{font-size:14px}.mission small,.history small{color:var(--ink-2);font-size:13px}.progress{background:#dfe2e6;border-radius:999px;width:100%;height:5px;margin-top:3px;display:block;overflow:hidden}.progress i{border-radius:inherit;background:var(--brand);height:100%;display:block}.mission em{width:100%;color:var(--ink-2);justify-content:space-between;font-size:13px;font-style:normal;display:flex}.mission em b{color:var(--brand)}.actions{gap:8px;display:flex}.actions .secondary{font-size:14px}.icon-button{border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;border:1px solid #d4d6da;min-width:48px;height:48px;font-size:18px}.flow-panel{padding:24px}.live{color:var(--info);align-items:center;gap:7px;font-size:13px;font-weight:600;display:flex}.live i{background:var(--info);border-radius:50%;width:8px;height:8px}.flow-map{grid-template-rows:94px 122px;grid-template-columns:1fr 1.3fr 1fr;place-items:center;min-height:266px;display:grid;position:relative}.flow-person{z-index:2;border-radius:var(--radius);background:var(--surface);border:1px solid #d4d6da;align-items:center;gap:11px;padding:12px 14px;display:flex;position:relative}.flow-person img{border:1px solid var(--line);border-radius:50%;width:50px;height:50px}.flow-person p{flex-direction:column;display:flex}.flow-person small{color:var(--ink-3);font-size:13px}.flow-person strong{font-size:15px}.flow-person em{color:var(--ink-2);font-size:13px;font-style:normal}.flow-person.is-working{border-color:var(--info);background:var(--info-bg);padding-bottom:18px}.flow-task-title{max-width:190px;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.work-trace{background:#c6dce9;height:3px;position:absolute;bottom:7px;left:12px;right:12px;overflow:hidden}.work-trace:after{background:var(--info);content:"";width:36%;height:100%;animation:2.4s linear infinite work-travel;position:absolute;top:0;left:0}@keyframes work-travel{0%{transform:translate(0)}to{transform:translate(175%)}}.flow-activity{color:var(--ink-2);margin:14px 0 0;font-size:13px;line-height:1.5}.flow-person.owner{flex-direction:column;grid-area:1/2;gap:3px;min-width:162px;padding:10px}.flow-person.owner>span{background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:13px;font-weight:650;display:grid}.chief-node{background:var(--brand-weak);border-color:#9dabbc;grid-area:2/2;min-width:190px}.flow-workers{flex-wrap:wrap;grid-area:3/1/auto/-1;justify-content:center;gap:12px;width:100%;display:flex}.research{grid-area:2/1}.content{grid-area:2/3}.line{z-index:1;background:#d4d6da;height:1px;position:absolute}.line-a{width:1px;height:43px;top:88px;left:50%}.line-b{width:28%;top:177px;left:24%}.line-c{width:28%;top:177px;right:24%}.task-board{margin-top:18px;padding:22px 24px 8px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{height:42px;color:var(--ink-2);text-align:left;white-space:nowrap;padding:0 10px;font-size:13px;font-weight:650}td{border-top:1px solid var(--line);vertical-align:middle;min-height:58px;padding:11px 10px}td strong,td small{display:block}td strong{font-size:14px}td small{color:var(--ink-3);margin-top:2px;font-size:13px}.amount{text-align:right;white-space:nowrap}.order{border:1px solid #d4d6da;border-radius:50%;place-items:center;width:26px;height:26px;font-size:13px;display:grid}.table-person{white-space:nowrap;align-items:center;gap:8px;display:flex}.table-person img{border-radius:50%;width:30px;height:30px}.approval-bar{border-radius:var(--radius);background:var(--warn-bg);border:1px solid #eadbae;justify-content:space-between;align-items:center;gap:24px;margin-top:18px;padding:20px 24px;display:flex}.approval-bar.ok-bar{background:var(--ok-bg);border-color:#cbd9ce}.approval-bar>div:first-child{grid-template-columns:auto 1fr;align-items:center;gap:5px 10px;display:grid}.approval-bar>div:first-child>p{color:var(--ink-2);grid-column:2;font-size:13px}.employee-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:28px;margin-bottom:24px;padding-bottom:24px;display:flex}.employee{align-items:center;gap:16px;display:flex}.employee>img{border:1px solid var(--line);border-radius:50%;width:68px;height:68px}.stats{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);display:flex}.stats div{border-left:1px solid var(--line);text-align:center;min-width:96px;padding:11px 14px}.stats div:first-child{border-left:0}.stats dt{color:var(--ink-3);font-size:13px}.stats dd{font-size:15px;font-weight:650}.current-task{padding:24px}.task-top{justify-content:space-between;gap:24px;display:flex}.task-top h2{margin:7px 0 2px;font-size:20px}.task-top p{color:var(--ink-2);font-size:14px}.elapsed{flex-direction:column;align-items:flex-end;min-width:104px;display:flex}.elapsed span{color:var(--ink-3);font-size:13px}.elapsed strong{font-family:var(--mono);font-size:20px}.task-progress{border-bottom:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;gap:16px;margin:20px 0;padding-bottom:20px;display:grid}.task-progress>span{background:#e4e6e8;border-radius:999px;height:7px;overflow:hidden}.task-progress i{border-radius:inherit;background:var(--info);height:100%;display:block}.task-progress strong{color:var(--info);font-size:13px}.work-log{gap:5px;display:grid}.work-log>div{grid-template-columns:18px 1fr auto;align-items:center;gap:9px;min-height:50px;display:grid}.work-log>div>i{border:2px solid #d4d6da;border-radius:50%;width:10px;height:10px;margin-left:3px}.work-log .done>i{border-color:var(--ok);background:var(--ok)}.work-log .doing>i{border-color:var(--info);background:var(--info)}.work-log p{flex-direction:column;font-size:14px;display:flex}.work-log small{color:var(--ink-2);font-size:13px}.work-log time{color:var(--ink-3);font-size:13px}.safe-note.source{background:var(--info-bg);border-color:#bfd6e4;margin-top:16px}.safe-note.source svg{color:var(--info)}.two-column{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;margin-top:18px;display:grid}.queue-list,.direct,.deliverables,.ledger{padding:22px 24px}.queue-item{border-top:1px solid var(--line);grid-template-columns:34px 1fr;gap:12px;padding:17px 0;display:grid}.queue-item:first-of-type{border-top:0}.queue-order{background:var(--brand-weak);width:30px;height:30px;color:var(--brand);border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:grid}.queue-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.queue-item p{color:var(--ink-2);margin-top:3px;font-size:14px}.queue-item small{color:var(--ink-3);margin-top:8px;font-size:13px;display:block}.warning{border-radius:var(--radius);background:var(--warn-bg);border:1px solid #eadbae;flex-direction:column;margin-top:14px;padding:12px;font-size:13px;display:flex}.warning span{color:var(--ink-2)}.direct .full{margin-top:14px}.next-link{justify-content:flex-end;margin-top:16px;display:flex}.next-link label{min-height:48px;color:var(--brand);cursor:pointer;align-items:center;gap:8px;font-size:14px;font-weight:650;display:inline-flex}.history{min-height:96px}.chief-report{padding:26px}.report-intro{border:0;align-items:flex-start}.report-intro img{width:58px;height:58px}.report-intro h2{max-width:820px;font-size:21px}.report-summary{color:#35373b;margin-top:18px;font-size:16px;line-height:1.8}.evidence{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px;display:grid}.evidence div{border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;min-height:82px;padding:13px 14px;display:flex}.evidence strong{color:var(--brand);font-size:13px}.evidence span{color:var(--ink-2);margin-top:3px;font-size:13px}.file{border-top:1px solid var(--line);grid-template-columns:42px 1fr auto;align-items:center;gap:13px;min-height:86px;padding:14px 0;display:grid}.file:first-of-type{border-top:0}.file>span{border-radius:var(--radius-sm);background:var(--brand-weak);width:42px;height:42px;color:var(--brand);border:1px solid #c8d2dd;place-items:center;font-size:13px;font-weight:700;display:grid}.file div{flex-direction:column;min-width:0;display:flex}.file strong{font-size:14px}.file p{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.file small{color:var(--ink-3);font-size:13px}.file button{border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;border:1px solid #d4d6da;min-width:52px;min-height:42px;font-size:13px;font-weight:600}.ledger-person{border-top:1px solid var(--line);grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:11px 0;display:grid}.ledger-person:first-of-type{border-top:0}.ledger-person img{border-radius:50%;width:40px;height:40px}.ledger-person p{flex-direction:column;min-width:0;display:flex}.ledger-person strong{font-size:13px}.ledger-person span{color:var(--ink-3);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.ledger-person em{font-size:13px;font-style:normal;font-weight:600}.ledger-total{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.saving{color:var(--ok);font-weight:650}.approval-actions{gap:8px;display:flex}.mobile-tabs{display:none}@media (width<=1279px){.screen{grid-template-columns:250px minmax(0,1fr)}.context-panel{padding-inline:16px}.command-layout{grid-template-columns:1fr}.understanding{grid-template-columns:1fr 1fr;gap:0 24px;display:grid}.understanding .agent-intro,.understanding .safe-note{grid-column:1/-1}.two-column{grid-template-columns:1fr}}@media (width<=1023px){.screen{grid-template-columns:minmax(0,1fr)}.context-panel{display:none}.main-pane{padding-inline:24px}.employee-header{align-items:flex-start}.stats{flex:none}.evidence{grid-template-columns:1fr}}@media (width<=767px){.react-app{padding-bottom:72px}.rail{display:none}.workspace{margin-left:0}.main-pane{padding:22px 16px 108px}.page-header{flex-direction:column;min-height:0;margin-bottom:18px}.balance{flex-direction:row;justify-content:space-between;align-items:center;width:100%}.actions{width:100%}.actions .secondary{flex:1}.command-form,.understanding,.flow-panel,.current-task,.queue-list,.direct,.chief-report,.deliverables,.ledger{padding:19px 16px}.field-grid{grid-template-columns:1fr}.understanding{display:block}.understanding dl div{grid-template-columns:78px 1fr}.flow-map{grid-template-rows:86px 110px 125px;grid-template-columns:1fr 1fr;gap:12px;min-height:440px}.flow-person.owner{grid-area:1/1/auto/-1}.chief-node{grid-area:2/1/auto/-1}.research{grid-area:3/1}.content{grid-area:3/2}.worker{text-align:center;flex-direction:column;min-width:0}.line-a{height:52px;top:80px}.line-b,.line-c{width:25%;top:258px}.line-b{left:25%}.line-c{right:25%}.task-board{padding-inline:14px}.approval-bar{z-index:5;flex-direction:column;align-items:stretch;gap:14px;padding:16px;position:sticky;bottom:82px}.approval-bar>div:first-child{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.approval-bar>div:first-child>p{grid-column:auto}.approval-bar>.primary{width:100%}.employee-header{flex-direction:column}.employee{align-items:flex-start}.employee>img{width:56px;height:56px}.stats{width:100%}.stats div{flex:1;min-width:0;padding-inline:7px}.task-top{flex-direction:column}.elapsed{align-items:flex-start}.queue-title{flex-direction:column;align-items:flex-start}.report-intro h2{font-size:18px}.file{grid-template-columns:38px 1fr}.file button{grid-column:2;justify-self:start}.approval-actions{width:100%}.approval-actions>*{flex:1}.mobile-tabs{z-index:30;border-top:1px solid var(--line);background:var(--surface);grid-template-columns:repeat(4,1fr);height:72px;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-tabs label{min-width:0;color:var(--ink-3);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:13px;font-weight:600;line-height:1.2;display:flex}.mobile-tabs svg{width:21px;height:21px}#view-command:checked~.app-shell .mobile-tabs .nav-command,#view-dispatch:checked~.app-shell .mobile-tabs .nav-dispatch,#view-queue:checked~.app-shell .mobile-tabs .nav-queue,#view-result:checked~.app-shell .mobile-tabs .nav-result{color:var(--brand);background:var(--brand-weak)}}@media (width<=479px){h1{font-size:22px}.task-progress{grid-template-columns:1fr}.work-log>div{grid-template-columns:18px 1fr}.work-log time{grid-column:2}.employee>img{display:none}.ledger-person{grid-template-columns:36px 1fr}.ledger-person em{grid-column:2}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.work-trace:after{animation:none}}.react-app .screen{display:grid}.rail-item.active{color:#fff;background:#ffffff1c}.mobile-tabs button{background:var(--surface);min-width:0;color:var(--ink-3);border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:13px;font-weight:600;display:flex}.mobile-tabs button.active{color:var(--brand);background:var(--brand-weak)}.auth-notice,.account-strip{border-bottom:1px solid var(--line);background:var(--surface);justify-content:flex-end;align-items:center;gap:14px;min-height:48px;padding:8px clamp(16px,3vw,48px);font-size:13px;display:flex}.auth-notice span{color:var(--ink-2);margin-right:auto}.auth-notice a{color:var(--brand);font-weight:650}.account-strip span{color:var(--ink-2)}.account-profile{border-radius:var(--radius-sm);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;min-width:0;margin-right:auto;padding:2px 6px;display:flex}.account-profile:hover{background:var(--brand-weak)}.account-profile img,.account-initial{border:1px solid var(--line);background:var(--brand-weak);width:36px;height:36px;color:var(--brand);object-fit:cover;border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.account-profile>span:last-child{min-width:0;line-height:1.3;display:grid}.account-profile strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.account-profile small{max-width:170px;color:var(--ink-3);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.profile-page{max-width:1100px;padding:34px clamp(24px,3vw,48px) 48px}.profile-layout{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);align-items:start;gap:20px;display:grid}.profile-card,.profile-editor{padding:26px}.profile-card{text-align:center;flex-direction:column;align-items:center;display:flex}.profile-portrait{border:1px solid var(--line);background:var(--brand-weak);width:104px;height:104px;color:var(--brand);border-radius:50%;place-items:center;font-size:38px;font-weight:650;display:grid;overflow:hidden}.profile-portrait img{width:100%;height:100%}.profile-card strong{margin-top:14px;font-size:18px}.profile-card small{color:var(--ink-3)}.profile-card p{max-width:33ch;color:var(--ink-2);margin-top:20px;font-size:13px}.profile-editor form{justify-items:start;gap:10px;display:grid}.profile-editor form .field{width:100%;font-weight:650}.profile-photo-control{border-top:1px solid var(--line);margin-top:26px;padding-top:22px}.profile-photo-control input{width:100%;margin-top:9px;font-size:13px}.profile-skip{margin-top:28px}@media (width<=767px){.profile-layout{grid-template-columns:1fr}.profile-page{padding:24px 16px 100px}}.direct p{color:var(--ink-2);margin:8px 0 14px;font-size:14px}.ledger-total{justify-content:space-between;display:flex}.approval-actions button:disabled{cursor:not-allowed;opacity:.58}.agent-picker{color:var(--ink-2);align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.agent-picker select{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);min-height:38px;color:var(--ink);font:inherit;padding:7px 10px}.empty-note{color:var(--ink-3);margin:16px 0;font-size:14px}.form-error{color:#9e2b25;margin:10px 0;font-size:13px}.team-layout{grid-template-columns:minmax(260px,360px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.team-roster,.team-detail{padding:24px}.team-roster h2{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.team-person{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);cursor:pointer;text-align:left;align-items:center;gap:12px;width:100%;min-height:76px;margin-bottom:7px;padding:9px 11px;display:flex}.team-person:hover,.team-person.selected{background:var(--brand-weak);border-color:#9dabbc}.team-person img{border:1px solid var(--line);border-radius:50%;width:46px;height:46px}.team-person>span:nth-child(2){flex:1;min-width:0}.team-person strong,.team-person small{display:block}.team-person small{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.team-hire{border-top:1px solid var(--line);gap:9px;margin-top:23px;padding-top:20px;display:grid}.team-hire .secondary{width:100%}.team-detail{min-height:260px}.team-profile{border-bottom:1px solid var(--line);align-items:center;gap:18px;padding-bottom:20px;display:flex}.team-profile img{border:1px solid var(--line);border-radius:50%;width:72px;height:72px}.team-profile>div{flex:1;min-width:0}.team-profile p:last-child,.team-help{color:var(--ink-2);font-size:14px}.team-facts{gap:11px;margin:20px 0;display:grid}.team-facts div{grid-template-columns:110px 1fr;gap:12px;display:grid}.team-facts span{color:var(--ink-2)}.team-facts strong{font-weight:600}.team-settings{border-block:1px solid var(--line);margin:24px 0;padding:22px 0}.team-settings .field{margin:16px 0;font-size:14px;font-weight:650}.team-settings textarea{min-height:112px}.team-settings input:disabled,.team-settings textarea:disabled{color:var(--ink-2);background:#f5f5f4}.team-history{margin-top:24px}.team-history h3{margin-bottom:10px}.team-history>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:9px 0;display:flex}.team-history span{color:var(--ink-2);font-size:14px}.team-history .secondary{min-height:40px;font-size:13px}.team-help{margin:13px 0}.team-confirm{border-radius:var(--radius);border:1px solid #d4d6da;flex-wrap:wrap;align-items:center;gap:9px;margin-top:16px;padding:16px;display:flex}.team-confirm p{width:100%}.team-back{margin-bottom:16px;display:none}.team-layout button:disabled{cursor:not-allowed;opacity:.58}.primary:active,.secondary:active,.rail-item:active,.mobile-tabs button:active{transform:translateY(1px)}@media (width<=1023px){.team-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=767px){.auth-notice{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.auth-notice span{width:100%}.account-strip{justify-content:space-between}.mobile-tabs{grid-template-columns:repeat(5,1fr)}.mobile-tabs button{min-height:48px;font-size:12px}.team-roster,.team-detail{padding:19px 16px}.team-detail,.team-show-detail .team-roster{display:none}.team-show-detail .team-detail{display:block}.team-back{display:inline-flex}}.login-shell{background:var(--surface);grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);min-height:100dvh;display:grid}.login-story{background:var(--rail);color:#f3f5f7;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:clamp(28px,4vw,64px);display:flex}.login-brand{letter-spacing:.12em;align-items:center;gap:11px;font-size:14px;display:flex}.login-brand span{border-radius:var(--radius-sm);width:35px;height:35px;font-family:var(--mono);letter-spacing:0;border:1px solid #8190a0;place-items:center;font-size:18px;font-weight:700;display:grid}.login-story-body{width:min(100%,650px);margin-block:48px}.login-overline{color:#b7c6d5;letter-spacing:.08em;margin-bottom:16px;font-size:13px;font-weight:650}.login-story h2{letter-spacing:-.045em;font-size:clamp(32px,3.4vw,50px);font-weight:650;line-height:1.25}.login-story-body>p:last-of-type{color:#c9d2dc;max-width:48ch;margin-top:22px;font-size:16px;line-height:1.8}.login-flow{max-width:570px;margin:56px 0 0;padding:0;list-style:none}.login-flow li{border-top:1px solid #fff3;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;display:grid}.login-flow li:last-child{border-bottom:1px solid #fff3}.login-flow li>span{color:#a6b7c8;font-family:var(--mono);font-size:13px}.login-flow li>strong{font-size:15px;font-weight:600}.login-flow li>small{color:#adbac8;font-size:13px}.login-story-foot{color:#a6b7c8;font-size:12px}.login-entry{flex-direction:column;justify-content:center;min-width:0;padding:48px clamp(28px,5vw,84px) 28px;display:flex}.login-entry-inner{width:min(100%,430px);margin:auto}.login-entry .eyebrow{color:var(--brand);font-family:var(--mono);letter-spacing:.12em;margin-bottom:12px;font-size:12px}.login-entry h1{letter-spacing:-.035em;font-size:clamp(26px,2.3vw,34px)}.login-lead{color:var(--ink-2);margin-top:12px;font-size:15px}.login-actions{gap:10px;margin-top:38px;display:grid}.login-provider{border-radius:var(--radius-sm);background:var(--surface);min-height:52px;color:var(--ink);border:1px solid #cfd3d8;justify-content:center;align-items:center;font-weight:650;text-decoration:none;transition:background .18s,border-color .18s,transform .18s;display:flex}.login-provider:hover{background:#f7f8f9;border-color:#9daab8}.login-provider-primary{border-color:var(--brand);background:var(--brand);color:#fff}.login-provider-primary:hover{border-color:var(--brand-hover);background:var(--brand-hover)}.login-provider:active{transform:translateY(1px)}.login-provider:focus-visible,.login-error button:focus-visible{outline-offset:3px;outline:3px solid #8ba8c4}.login-help{color:var(--ink-3);margin-top:22px;font-size:13px;line-height:1.7}.login-entry-foot{color:var(--ink-3);align-self:flex-end;font-size:12px}.login-error{border-radius:var(--radius-sm);color:var(--danger);background:#fbf4f3;border:1px solid #e5c8c4;gap:4px;margin-top:28px;padding:14px 16px;font-size:14px;display:grid}.login-error span{color:var(--ink-2)}.login-error button{justify-self:start;min-height:40px;margin-top:8px;font-size:13px}.login-loading{color:var(--ink-2);gap:15px;margin-top:38px;font-size:14px;display:grid}.login-loading i{background:#dce1e6;width:100%;height:2px;display:block;overflow:hidden}.login-loading i:after{background:var(--brand);content:"";width:36%;height:100%;animation:1.8s ease-in-out infinite login-progress;display:block}@keyframes login-progress{0%{transform:translate(-100%)}to{transform:translate(300%)}}@media (width<=900px){.login-shell{grid-template-columns:minmax(0,1fr)}.login-story{min-height:0;padding:28px 24px}.login-story-body{margin:34px 0 24px}.login-story h2{font-size:32px}.login-story-body>p:last-of-type{margin-top:14px;font-size:14px}.login-flow,.login-story-foot{display:none}.login-entry{min-height:430px;padding:48px 24px 24px}.login-entry-inner{width:min(100%,480px)}}@media (prefers-reduced-motion:reduce){.login-loading i:after{animation:none}}.account-strip{flex-wrap:wrap}.currency-picker{color:var(--ink-3);align-items:center;gap:8px;font-size:12px;display:flex}.currency-picker select{max-width:140px;min-height:36px}.currency-note{color:var(--ink-3);text-align:right;flex-basis:100%;font-size:11px}@media (width<=600px){.currency-note{text-align:left}}
