:root{color-scheme:light;--bg:#f5f6f7;--panel:#fff;--ink:#202628;--muted:#697476;--line:#e5e9e7;--accent:#176b50;--soft:#edf5f0;--danger:#b7493c;--nav:#191e21;--shadow:0 2px 5px #15231c03;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none}
html[data-theme=dark]{color-scheme:dark;--bg:#171c1c;--panel:#202726;--ink:#eef2ef;--muted:#a6b1ab;--line:#35403b;--accent:#8dd3b0;--soft:#2c3e34;--danger:#f29f91;--nav:#101615;--shadow:none}
*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink)}body{font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:9px;padding:10px 16px;font-weight:550;letter-spacing:.005em}button:hover:not(:disabled){background:var(--soft);border-color:#97b3a3}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:3px solid #68a58d;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h1{font-size:32px;line-height:1.2;letter-spacing:-.025em;font-weight:650}h2{font-size:17px;line-height:1.35;letter-spacing:-.015em;font-weight:600}h3{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.shell{margin-left:224px;min-height:100dvh}.top{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line);background:var(--panel)}.identity{display:flex;align-items:center;gap:12px}.identity>.mark{display:none}.identity strong{font-size:14px;font-weight:600;display:flex;gap:16px;align-items:center}.identity strong>span{font-size:12px;color:var(--muted);font-weight:400;border-left:1px solid var(--line);padding-left:16px}.top-right{display:flex;align-items:center;gap:16px}.presence{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.presence::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--muted)}.presence.online::before{background:#30966c}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f0e9dc;color:#685538;font-size:13px;font-weight:600}.mark{display:grid;place-items:center;background:#d7e9bd;color:#213224;width:34px;height:34px;border-radius:10px;font-size:25px;line-height:1;font-weight:700;letter-spacing:-.1em;padding-right:3px}.icon{display:inline-grid;place-items:center;width:40px;min-height:40px;padding:0;background:transparent;border-color:transparent}.ui-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.bottom-nav{position:fixed;inset:0 auto 0 0;width:224px;background:var(--nav);color:#c4cdca;padding:28px 14px;display:flex;flex-direction:column;gap:5px;z-index:10}.nav-brand{display:flex;align-items:center;gap:11px;margin:0 9px 42px;color:#f0f3f1;font-size:16px;font-weight:600;letter-spacing:-.02em}.nav-brand small{display:block;font-weight:400;font-size:10px;color:#9aa8a1;margin-top:3px;letter-spacing:.02em}.nav-label{font-size:9px;letter-spacing:.12em;color:#8f9c96;margin:0 15px 11px}.bottom-nav>button{background:transparent;border:0;color:#adbab3;border-radius:8px;display:flex;align-items:center;gap:13px;padding:12px 15px;min-height:47px;text-align:left;font-size:13px}.bottom-nav>button:hover{background:#ffffff0c!important;border:0}.bottom-nav>button[aria-current=page]{color:#f2f6f2;background:#ffffff10;box-shadow:inset 2px 0 #d7e9bd}.bottom-nav>button[aria-current=page] .ui-icon{color:#d7e9bd}.nav-bottom{margin-top:auto;padding:22px 15px 0;border-top:1px solid #ffffff12}.private-symbol{margin-bottom:13px;color:#a6c397}.nav-bottom strong{font-size:12px;color:#dce4de;font-weight:500}.nav-bottom p{font-size:11px;color:#8f9f95;line-height:1.8;margin:6px 0 30px}.nav-version{font-size:10px;color:#839088}main{max-width:1536px;margin:auto;padding:34px 40px 56px}.view{min-width:0}.home-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.eyebrow,.section-kicker{font-size:10px;letter-spacing:.09em;font-weight:600;color:var(--muted);display:block;margin-bottom:8px}.home-heading .eyebrow{font-size:11px;letter-spacing:.03em;text-transform:capitalize;margin-bottom:12px}.subtitle{font-size:13px;color:var(--muted);margin-top:10px}.primary{color:white;background:#176b50;border-color:#176b50;box-shadow:0 2px 2px #123d2910}.primary:hover:not(:disabled){background:#11563f;color:white;border-color:#11563f}.primary .ui-icon{width:17px;margin-right:7px}.quiet{border-color:transparent;color:var(--muted);background:transparent;font-size:12px;padding:8px 10px;white-space:nowrap}.quiet:hover:not(:disabled){color:var(--accent);border-color:transparent}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-bottom:24px;overflow:hidden}.metrics>button{display:flex;flex-direction:column;align-items:flex-start;padding:22px 24px;border:0;border-right:1px solid var(--line);border-radius:0;gap:9px}.metrics>button:last-child{border:0}.metrics>button>span{color:var(--muted);font-size:12px;font-weight:400}.metrics strong{font-size:32px;line-height:1.1;font-weight:550;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.metrics small{font-size:10px;color:var(--muted);font-weight:400;display:flex;justify-content:space-between;width:100%}.metrics small span{font-size:14px;color:var(--muted)}.metrics>button:nth-child(3) strong{color:var(--danger)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;margin-bottom:22px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;min-width:0;box-shadow:var(--shadow);overflow:hidden}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 22px;border-bottom:1px solid var(--line)}.section-kicker{font-size:9px;margin-bottom:4px;letter-spacing:.09em}.section-head .quiet{margin-right:-8px}.stack{display:grid;min-width:0}.card{display:flex;gap:12px;padding:21px 22px;background:var(--panel);border-bottom:1px solid var(--line);align-items:flex-start;min-width:0}.stack>.card:last-child{border-bottom:0}.card-body{flex:1;min-width:0}.card h3{font-size:14px;font-weight:550}.check{display:grid;place-items:center;width:32px;min-height:32px;flex:0 0 32px;padding:0;position:relative;border:1px solid var(--line);border-radius:50%;color:transparent;background:transparent;margin-top:1px}.check[aria-pressed=true]{color:var(--accent);background:var(--soft);border-color:var(--accent)}.check .ui-icon{width:15px}.check::before{content:'';position:absolute;inset:-6px}.meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:11px;color:var(--muted);letter-spacing:.01em}.badge{display:inline-flex;align-items:center;padding:3px 7px;background:var(--soft);color:var(--accent);border-radius:5px;font-size:10px;font-weight:550;letter-spacing:.01em}.badge.doing,.badge.running{color:#756020;background:#f8f3df}.badge.done,.badge.succeeded{color:var(--accent);background:var(--soft)}.badge.failed,.badge.interrupted,.badge.cancelled{color:var(--danger);background:#b7493c12}.late{color:var(--danger)}.high{color:#8a651e}.notes{font-size:12px;color:var(--muted);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0;max-height:12em;overflow:auto}.task .notes{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:none}.focus-panel .notes{display:none}.card-actions{display:flex;flex-wrap:wrap;gap:3px;margin:9px -8px -10px}.card-actions .quiet{min-height:36px;font-size:11px}.add-inline{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;text-align:left;font-size:12px;color:var(--muted);width:100%;padding:14px 22px;font-weight:400}.day-ribbon{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;padding:18px 18px 13px}.day-ribbon>button{border:0;background:transparent;display:grid;justify-items:center;gap:5px;padding:6px 1px;min-height:58px;font-size:13px;font-weight:500}.day-ribbon small{font-size:9px;color:var(--muted);font-weight:400}.day-ribbon button.today{background:var(--accent);color:var(--panel);border-radius:8px}.day-ribbon button.today small{color:inherit;opacity:.8}.time-rail{font-size:11px;color:var(--muted);padding-top:3px;min-width:37px;font-variant-numeric:tabular-nums}.event-card .card-body{border-left:2px solid var(--accent);padding-left:12px}.event-card .eyebrow{display:none}.event-card .caption{font-size:10px;margin:5px 0}.event-card .quiet{min-height:30px;padding:5px 4px;font-size:10px}.schedule-panel .card{padding-top:15px;padding-bottom:15px}.source-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:var(--soft);color:var(--accent)}.source-body{padding:20px 22px}.source-count{display:flex;gap:12px;align-items:center}.source-count strong{font-size:31px;letter-spacing:-.03em;font-weight:550}.source-count span{font-size:12px;color:var(--muted)}.caption{font-size:12px;color:var(--muted);line-height:1.6;letter-spacing:.01em}.source-body .caption{margin:9px 0}.source-body .quiet{padding-left:0;color:var(--accent)}.agent-overview{padding:3px 22px}.agent-row{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--line)}.agent-row:last-child{border:0}.agent-monogram{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--soft);color:var(--accent);font-size:11px;font-weight:600}.agent-row>div:nth-child(2){flex:1}.agent-row strong{font-size:12px;font-weight:550}.agent-row p{font-size:10px;color:var(--muted);margin-top:2px}.agent-row>span:last-child{font-size:10px;color:var(--muted)}.panel-footnote{font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding:12px 22px}.empty{margin:0;padding:28px 22px;color:var(--muted);font-size:12px;line-height:1.7;min-height:90px;display:flex;align-items:center}.focus-panel .empty{min-height:165px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:5px 0 28px}.page-head .eyebrow{margin-bottom:7px}.page-head h1{font-size:30px}.view>input[type=search]{max-width:550px;margin-bottom:18px;padding-left:15px}.filters{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--line);margin-bottom:16px}.filters button{flex:0 0 auto;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:12px;padding:10px 15px;white-space:nowrap;min-height:44px}.filters button[aria-pressed=true]{color:var(--accent);box-shadow:inset 0 -2px var(--accent)}#list,#calls-list,#jobs-list{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}#result-count,#calls-status{margin:0 0 14px}#list:empty,#calls-list:empty,#jobs-list:empty{display:none}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.calendar-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px}.month-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.month-head h2{text-transform:capitalize;font-size:16px}.month-head button{background:transparent;border:0;width:42px;padding:0;font-size:24px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{padding:8px 0;text-align:center;font-size:10px;color:var(--muted);letter-spacing:.05em}.day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;border:0;background:transparent;font-size:13px;padding:4px 0;font-variant-numeric:tabular-nums}.day.current{box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent)}.day.selected{background:var(--accent);color:var(--panel)}.dots{font-size:6px;line-height:1;color:var(--accent)}.selected .dots{color:inherit}#calendar-archive{margin:25px 0}summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:12px;color:var(--muted)}#archived-events{border:1px solid var(--line);border-radius:12px;overflow:hidden}.hint{font-size:12px;line-height:1.7;color:var(--muted);border-left:2px solid var(--line);padding:0 0 0 13px;margin:0 0 22px;max-width:720px}.alert{padding:12px 15px;background:#b7493c10;color:var(--danger);border:1px solid #b7493c30;border-radius:8px;font-size:12px;margin-bottom:16px}.alert:empty{display:none}.feedback{font-size:12px;color:var(--accent);background:var(--soft);padding:10px 14px;border-radius:8px;margin-bottom:16px}.feedback:empty{display:none}.job-card .eyebrow{margin-bottom:6px}.job-card .badge{margin-top:10px}.job-card .caption{font-size:10px;margin-top:10px}.job-output,.job-error{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 ui-monospace,SFMono-Regular,monospace;background:var(--bg);border:1px solid var(--line);padding:15px;border-radius:8px;max-height:300px;overflow:auto;margin:16px 0 0}.job-error{color:var(--danger)}input,select,textarea{width:100%;min-height:46px;border:1px solid var(--line);border-radius:8px;padding:11px 13px;background:var(--panel);color:var(--ink);font-size:14px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}textarea{resize:vertical;line-height:1.6}dialog{width:min(calc(100% - 32px),560px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--line);border-radius:16px;padding:28px;background:var(--panel);color:var(--ink);box-shadow:0 24px 100px #091e2533}dialog::backdrop{background:#101c2280;backdrop-filter:blur(4px)}dialog form{display:flex;flex-direction:column;gap:8px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.dialog-heading h2{font-size:24px;letter-spacing:-.025em}dialog label{font-size:12px;font-weight:500;margin-top:10px}.optional{font-size:11px;font-weight:400;color:var(--muted);margin-left:6px}.quick-dates,.form-actions{display:flex;gap:7px}.quick-dates button{font-size:11px;flex:1;padding:5px 8px;background:var(--bg)}.form-actions{margin-top:15px}.form-actions button{flex:1}.run-area{border-top:1px solid var(--line);margin-top:20px;padding-top:20px;display:grid;gap:12px}.run-area h3{font-size:16px}.call-facts{padding-left:19px;font-size:13px;line-height:1.8}.call-facts li+li{margin-top:8px}.proposal{border:1px solid var(--line);border-radius:10px;padding:16px;margin:14px 0}.proposal .notes{margin-top:0;margin-bottom:14px}.proposal .caption{margin-top:10px}.transcript{border-top:1px solid var(--line);margin-top:24px;padding-top:8px}.transcript .notes{max-height:none}.source-note{font-size:11px;color:var(--muted);margin:8px 0 20px}#call-content h2{font-size:25px}#call-content h3{margin-top:23px;font-size:14px}#call-content>.caption{font-size:11px;margin-top:20px}.call-card .notes{margin:10px 0 8px}.call-card .quiet{padding-left:0}.call-card .badge{margin-top:7px}.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}
@media(min-width:1500px){main{padding:45px 48px;max-width:1536px}.top{padding-inline:48px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.focus-panel .card{padding-block:25px}}
@media(max-width:1100px){.shell{margin-left:190px}.bottom-nav{width:190px}.nav-brand{font-size:14px;gap:8px}.nav-brand small{font-size:9px}.top{padding-inline:26px}main{padding:28px 26px}.home-heading h1{font-size:27px}.home-heading .primary{font-size:12px}.metrics>button{padding:19px 16px}.dashboard-grid{gap:16px}.section-head{padding:18px}.card{padding:18px}.calendar-layout{grid-template-columns:1fr}.nav-bottom{padding-inline:10px}}
@media(max-width:760px){.shell{margin-left:0}.top{height:72px;padding:0 20px}.identity>.mark{display:grid;width:31px;height:31px;font-size:23px}.identity strong{display:block;font-size:14px}.identity strong>span{display:block;border:0;padding:0;margin-top:1px;font-size:10px}.top-right{gap:8px}.presence{display:none}.avatar{display:none}main{padding:25px 20px 105px}.home-heading{margin-bottom:23px;align-items:start;display:block}.home-heading h1{font-size:29px;max-width:330px;letter-spacing:-.03em}.home-heading .eyebrow{font-size:10px;margin-bottom:11px}.subtitle{font-size:12px;margin-top:8px}.home-heading>.primary{margin-top:19px;font-size:12px;padding:10px 16px;min-height:42px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px;border-radius:12px}.metrics>button{padding:17px 18px;gap:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.metrics>button:nth-child(2){border-right:0}.metrics>button:nth-child(3){border-bottom:0}.metrics strong{font-size:29px}.metrics>button>span{font-size:11px}.metrics small{font-size:9px}.dashboard-grid{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.section-head{padding:18px}.section-head h2{font-size:16px}.section-kicker{font-size:8px}.card{padding:17px 18px;gap:11px}.focus-panel .empty{min-height:90px}.check{width:28px;min-height:28px;flex-basis:28px}.check::before{inset:-8px}.card h3{font-size:13px}.meta{font-size:10px;gap:7px}.badge{font-size:9px}.card-actions .quiet{font-size:10px;min-height:36px}.bottom-nav{inset:auto 0 0;width:auto;padding:9px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:var(--panel);border-top:1px solid var(--line);box-shadow:0 -4px 20px #172c1905}.nav-brand,.nav-label,.nav-bottom{display:none}.bottom-nav>button{min-width:0;padding:3px 0 1px;min-height:48px;flex-direction:column;gap:4px;font-size:9px;color:var(--muted);font-weight:400;border-radius:0}.bottom-nav>button .ui-icon{width:21px;height:21px}.bottom-nav>button[aria-current=page]{background:transparent;box-shadow:none;color:var(--accent);font-weight:600}.bottom-nav>button[aria-current=page] .ui-icon{color:var(--accent)}.bottom-nav>button:hover{background:transparent!important}.page-head{margin:1px 0 22px}.page-head h1{font-size:29px}.page-head .primary{font-size:11px;min-height:42px;padding:9px 12px}.page-head .eyebrow{font-size:8px;letter-spacing:.07em}.page-head .quiet{font-size:11px;padding-right:0}.calendar-layout{gap:20px}.calendar-panel{padding:16px}.day{min-height:44px}.agenda-panel .section-head{padding:17px}.hint{font-size:11px;margin-bottom:20px}.view>input[type=search]{font-size:13px;margin-bottom:18px}.filters button{font-size:11px;padding-inline:14px}dialog{width:100%;max-height:94dvh;margin:auto 0 0;border-radius:20px 20px 0 0;padding:24px 22px calc(24px + env(safe-area-inset-bottom));border-bottom:0}.dialog-heading h2{font-size:23px}dialog label{font-size:12px}dialog input,dialog select,dialog textarea{font-size:16px}.quick-dates button{font-size:11px}.time-rail{font-size:10px;min-width:32px}.event-card .card-body{padding-left:10px}.source-body{padding:17px 18px}.panel-footnote{padding:12px 18px}.agent-overview{padding-inline:18px}.job-card .caption{line-height:1.8}.job-output{font-size:11px}.call-card .notes{font-size:12px}.call-card .eyebrow{font-size:9px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,color .15s,border-color .15s}.view{animation:appear .18s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}}
.focus-panel .task{padding-block:17px}.focus-panel .card-actions .quiet{min-height:30px}.metrics>button{padding-block:19px}.home-heading{margin-bottom:25px}
@media(max-width:760px){.card-actions .quiet,.focus-panel .card-actions .quiet,.event-card .quiet{min-height:44px}.icon{width:44px;min-height:44px}}
@media(max-width:760px){.metrics small{display:none}.metrics>button{padding:15px 18px;gap:5px}.metrics strong{font-size:28px}}
#editor.run-mode #task-form>input,#editor.run-mode #task-form>textarea,#editor.run-mode #task-form>select,#editor.run-mode #task-form>label,#editor.run-mode .quick-dates,#editor.run-mode .form-actions{display:none}#editor.run-mode .run-area{margin:0;padding:0;border:0}.run-task-title{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:9px;font-size:14px;font-weight:550}.run-area h3{font-size:13px;font-weight:500;margin-top:5px}
@media(max-width:760px){dialog{max-width:100%}}
.control-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px;align-items:start;margin-bottom:26px}#command-form{padding:22px;display:grid;gap:16px}#command-text{min-height:128px;resize:vertical;background:var(--bg);line-height:1.7}.presets{display:flex;gap:7px;flex-wrap:wrap}.presets button{font-size:10px;padding:6px 10px;min-height:36px;border-radius:6px;background:var(--bg);color:var(--muted);font-weight:400}.command-options{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px}.command-options label{font-size:11px;display:block;color:var(--muted);margin-bottom:7px}.command-options select{font-size:12px}.command-panel .caption{font-size:11px}.mac-services{padding:5px 20px}.runtime-row{display:flex;gap:9px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:11px}.runtime-row strong{font-weight:500;flex:1}.runtime-row>span:last-child{font-size:10px;color:var(--muted)}.runtime-dot{width:6px;height:6px;border-radius:50%;background:var(--muted)}.runtime-dot.up{background:#278662}.runtime-dot.down{background:var(--danger)}.mac-meta{padding:13px 20px;font-size:10px}.mac-actions{padding:0 20px 18px;display:grid;gap:10px}.mac-actions button{font-size:11px}.mac-panel .alert{margin:0 20px 15px}.history-heading{padding:0 0 18px;border:0}.job-timeline{list-style:none;padding:0;margin:15px 0;max-height:220px;overflow:auto}.job-timeline li{display:flex;gap:13px;font-size:11px;padding:7px 0;border-bottom:1px solid var(--line)}.job-timeline time{font-variant-numeric:tabular-nums;color:var(--muted);flex:0 0 34px}.job-timeline span{overflow-wrap:anywhere}.job-timeline li:last-child span{color:var(--accent)}@media(max-width:1050px){.control-grid{grid-template-columns:1fr}.command-options{grid-template-columns:1fr 1fr}}@media(max-width:760px){.control-grid{gap:18px}#command-form{padding:18px}.command-options{grid-template-columns:1fr}.command-options select{font-size:16px}.command-panel textarea{font-size:16px}.presets button{min-height:44px}.agents-view .page-head h1{font-size:26px}.mac-actions button{min-height:44px}.bottom-nav>button{font-size:8px}}
.command-help summary{font-size:11px;min-height:32px;padding:5px 0}.command-help .caption{margin-top:8px}#command-feedback:empty{display:none}@media(max-width:760px){#command-form{gap:12px}.command-options{grid-template-columns:1fr 1fr}.presets{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.presets button{white-space:nowrap;flex-shrink:0}.command-panel textarea{min-height:110px;height:110px}.command-options select{padding-left:10px;padding-right:4px;font-size:16px}#agents-view .page-head h1{font-size:26px}}
.work-tabs{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:10px;scrollbar-width:none}.work-tabs button{background:transparent;border-color:transparent;color:var(--muted);font-size:12px;white-space:nowrap;padding:9px 13px}.work-tabs button[aria-pressed=true]{background:var(--soft);color:var(--accent)}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.template-card{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px;gap:14px}.template-card .quiet{margin-top:auto;align-self:flex-start;padding-left:0;color:var(--accent)}.template-card h2{font-size:16px}.template-card .section-kicker{font-size:8px;margin:0}.template-fields{display:grid;gap:9px}.template-fields label{margin-top:13px}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;margin:20px 0}#mail-content h2{font-size:22px}#mail-content>.caption{margin-top:8px}.checkbox-label{display:flex;align-items:center;gap:10px}.checkbox-label input{width:20px;min-height:20px;accent-color:var(--accent)}#mail-list,#files-list,#automation-list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}#mail-list:empty,#files-list:empty,#automation-list:empty{display:none}.mail-card .caption{overflow-wrap:anywhere;font-size:11px}.mail-card .quiet{padding-left:0}.template-fields select{max-width:100%}@media(max-width:1200px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.work-tabs{margin-bottom:20px;gap:2px}.work-tabs button{padding:8px 10px;font-size:11px}.template-grid{grid-template-columns:1fr;gap:14px}.template-card{padding:20px}.template-card .quiet{min-height:44px}[data-work-panel]>.page-head{align-items:center}[data-work-panel]>.page-head h2{font-size:17px}}
/* Mobile Color: restrained, saturated category accents. No glow or neon. */
:root{--bg:#f3f5fb;--ink:#23324c;--muted:#5f6c83;--line:#e0e6f0;--accent:#315dc6;--soft:#eaf0ff;--danger:#b24f46;--nav:#18294a;--shadow:0 5px 20px #253d6a06;--blue-tint:#e5edff;--apricot-tint:#fff0d8;--coral-tint:#fbe5df;--mint-tint:#def2ea;--lavender-tint:#eee7f8}
html[data-theme=dark]{--bg:#151f32;--panel:#202c42;--ink:#f0f4ff;--muted:#b0bed4;--line:#35445f;--accent:#aec6ff;--soft:#293e62;--danger:#f3b5a8;--nav:#111d32;--blue-tint:#293f69;--apricot-tint:#463b2c;--coral-tint:#493237;--mint-tint:#24433e;--lavender-tint:#3a3354}
.mark{background:#f1c36d;color:#26344e;border-radius:11px}.nav-brand{color:#fff}.nav-bottom .private-symbol{color:#c1d0f1}.bottom-nav>button[aria-current=page]{background:#314b7a;box-shadow:inset 3px 0 #e5b662;color:white}.bottom-nav>button[aria-current=page] .ui-icon{color:#fff}.primary{background:#315dc6;border-color:#315dc6;border-radius:12px;box-shadow:0 4px 12px #315dc619}.primary:hover:not(:disabled){background:#264b9e;border-color:#264b9e}.home-heading{padding:29px 30px;background:#294fa8;border:1px solid #294fa8;border-radius:22px;color:white;box-shadow:0 8px 22px #294fa814;align-items:center;margin-bottom:20px}.home-heading .eyebrow{color:#d8e5ff}.home-heading h1{color:white;font-weight:650}.home-heading .subtitle{color:#e2eaff}.home-heading .primary{background:white;color:#294fa8;border-color:white;box-shadow:none}.home-heading .primary:hover{background:#e8efff;color:#294fa8}.metrics{gap:12px;border:0;border-radius:0;background:transparent;overflow:visible}.metrics>button{position:relative;border:0!important;border-radius:18px;padding:20px 22px;background:var(--blue-tint);color:var(--ink);box-shadow:none;gap:9px;align-items:flex-start}.metrics>button:nth-child(2){background:var(--apricot-tint)}.metrics>button:nth-child(3){background:var(--coral-tint)}.metrics>button:nth-child(4){background:var(--mint-tint)}.metrics>button>span:not(.metric-symbol){color:var(--ink);font-size:12px;font-weight:500}.metrics strong{font-size:35px;font-weight:650}.metrics small{color:var(--muted)}.metric-symbol{display:grid;place-items:center;background:#ffffffa8;color:#315dc6;border-radius:10px;width:32px;height:32px;position:absolute;right:18px;top:18px}.metric-symbol .ui-icon{width:17px;height:17px}.metrics>button:nth-child(2) .metric-symbol{color:#966219}.metrics>button:nth-child(3) .metric-symbol{color:#a34c41}.metrics>button:nth-child(4) .metric-symbol{color:#246f59}.metrics>button>span:not(.metric-symbol){padding-right:30px}.metrics>button:hover:not(:disabled){box-shadow:inset 0 0 0 2px #315dc62b}.panel{border-radius:18px;box-shadow:var(--shadow)}.focus-panel>.section-head{background:var(--blue-tint)}.schedule-panel>.section-head{background:var(--lavender-tint)}.source-card>.section-head{background:var(--apricot-tint)}.execution-panel>.section-head{background:var(--mint-tint)}.section-kicker{color:var(--muted)}.badge{border-radius:6px}.badge.done,.badge.succeeded{background:var(--mint-tint);color:#226c54}.badge.doing,.badge.running{background:var(--apricot-tint);color:#7c5718}.check[aria-pressed=true]{background:var(--mint-tint);color:#24765a;border-color:#5b9a85}.check{border-color:#b3c0d8}.day-ribbon>button.today,.day.selected{background:#315dc6;color:#fff;border-radius:12px}.event-card .card-body{border-left-color:#7f69b5}.event-card:nth-child(2n) .card-body{border-left-color:#c38b43}.calendar-panel{border-radius:20px}.month-head{padding-bottom:12px;border-bottom:1px solid var(--line)}.agent-monogram{background:var(--blue-tint);color:var(--accent);border-radius:11px}.agent-row:nth-child(2) .agent-monogram{background:var(--lavender-tint);color:#745396}.source-icon{background:var(--apricot-tint);color:#956322}.work-tabs{border:0;background:var(--panel);padding:6px;border-radius:14px;gap:3px}.work-tabs button{border-radius:10px;flex:1;font-size:12px}.work-tabs button[aria-pressed=true]{background:#315dc6;color:white}.template-card{--tile:#315dc6;--tile-bg:var(--blue-tint);border-radius:20px;padding:22px;gap:13px;border-top:4px solid var(--tile);position:relative}.template-card[data-scenario=compare],.template-card[data-scenario=delegate]{--tile:#745396;--tile-bg:var(--lavender-tint)}.template-card[data-scenario=files],.template-card[data-scenario=shopping]{--tile:#92601f;--tile-bg:var(--apricot-tint)}.template-card[data-scenario=quality],.template-card[data-scenario=calls]{--tile:#24765f;--tile-bg:var(--mint-tint)}.template-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--tile-bg);color:var(--tile);margin-bottom:2px}.template-symbol .ui-icon{width:25px;height:25px}.template-card h2{font-size:18px;font-weight:600}.template-card .section-kicker{color:var(--muted);font-size:9px}.template-card .quiet{color:var(--tile);font-size:12px}.template-card .caption{font-size:13px}.command-panel>.section-head{background:var(--blue-tint)}.mac-panel>.section-head{background:var(--mint-tint)}.command-panel textarea{border-radius:13px}.presets button:nth-child(1){background:var(--blue-tint);color:#31518d}.presets button:nth-child(2){background:var(--apricot-tint);color:#865b23}.presets button:nth-child(3){background:var(--mint-tint);color:#276b58}.presets button:nth-child(4){background:var(--lavender-tint);color:#705091}.job-timeline li:last-child span{color:var(--accent)}dialog{border-radius:24px}dialog input,dialog select,dialog textarea{border-radius:12px}dialog::backdrop{background:#15223e70;backdrop-filter:none}.dialog-heading .eyebrow{color:var(--accent)}.page-head h1{letter-spacing:-.025em}.filters button[aria-pressed=true]{background:var(--blue-tint);box-shadow:none;border-radius:10px}.filters{border:0;gap:5px}.day.selected .dots{color:white}
html[data-theme=dark] .metric-symbol{background:#ffffff14;color:#c8daff}html[data-theme=dark] .metrics>button:nth-child(2) .metric-symbol{color:#efd29f}html[data-theme=dark] .metrics>button:nth-child(3) .metric-symbol{color:#f0b9ae}html[data-theme=dark] .metrics>button:nth-child(4) .metric-symbol{color:#acdcca}html[data-theme=dark] .badge.done,html[data-theme=dark] .badge.succeeded{color:#b5e4cc}html[data-theme=dark] .badge.doing,html[data-theme=dark] .badge.running{color:#f3d29e}html[data-theme=dark] .template-card{--tile:#aec6ff}html[data-theme=dark] .template-card[data-scenario=compare],html[data-theme=dark] .template-card[data-scenario=delegate]{--tile:#d3bbef}html[data-theme=dark] .template-card[data-scenario=files],html[data-theme=dark] .template-card[data-scenario=shopping]{--tile:#f2cd90}html[data-theme=dark] .template-card[data-scenario=quality],html[data-theme=dark] .template-card[data-scenario=calls]{--tile:#a8d9c6}html[data-theme=dark] .agent-row:nth-child(2) .agent-monogram{color:#d3bbef}html[data-theme=dark] .presets button{color:var(--ink)}
@media(max-width:760px){main{padding:20px 16px 108px}.top{padding-inline:18px}.home-heading{padding:24px 22px;border-radius:24px;margin-bottom:16px}.home-heading h1{font-size:29px;line-height:1.18;max-width:270px}.home-heading .subtitle{font-size:13px;max-width:240px}.home-heading .eyebrow{font-size:11px}.home-heading>.primary{margin-top:20px;min-height:46px}.metrics{gap:11px;margin-bottom:20px}.metrics>button{padding:18px 17px;border-radius:19px;gap:7px;min-height:120px}.metrics>button>span:not(.metric-symbol){font-size:11px;max-width:100%;padding-right:28px;min-height:30px;line-height:1.35}.metrics strong{font-size:34px}.metric-symbol{right:13px;top:15px;width:28px;height:28px;border-radius:9px}.metric-symbol .ui-icon{width:16px;height:16px}.section-head{padding:18px}.panel{border-radius:20px}.bottom-nav{padding-top:8px;background:var(--panel)}.bottom-nav>button{font-size:10px;min-height:53px;gap:4px;color:var(--muted)}.bottom-nav>button>span:first-child{width:40px;height:29px;display:grid;place-items:center;border-radius:10px}.bottom-nav>button[aria-current=page]{background:transparent;box-shadow:none;color:var(--accent)}.bottom-nav>button[aria-current=page]>span:first-child{background:var(--blue-tint)}.bottom-nav>button[aria-current=page] .ui-icon{color:var(--accent)}.bottom-nav>button .ui-icon{width:21px;height:21px}.template-card{padding:22px;gap:12px}.template-card h2{font-size:19px}.template-grid{gap:16px}.template-card .caption{font-size:14px;line-height:1.65}.template-card .quiet{min-height:44px}.work-tabs{border-radius:13px;overflow:auto;gap:2px;margin-bottom:22px}.work-tabs button{min-height:44px;flex:0 0 auto;font-size:12px;padding-inline:13px}.hint{font-size:12px;line-height:1.65}.card h3{font-size:14px}.meta{font-size:11px}.section-kicker{font-size:9px}.notes{font-size:13px}dialog{border-radius:26px 26px 0 0;padding-top:28px}dialog::before{content:'';position:absolute;top:9px;left:calc(50% - 18px);width:36px;height:4px;border-radius:4px;background:var(--line)}.day{min-height:46px}.caption{font-size:12px}.page-head h1{font-size:30px}.identity strong{font-size:15px}.identity strong>span{font-size:11px}.agent-row strong{font-size:13px}.agent-row p{font-size:11px}}
@media(prefers-reduced-motion:no-preference){button:active:not(:disabled){transform:scale(.98)}.template-card{transition:border-color .18s,box-shadow .18s}.template-card:hover{box-shadow:0 6px 22px #304d7920}}
html[data-theme=dark] .source-icon{color:#f2cd90}html[data-theme=dark] .check[aria-pressed=true]{color:#b5e4cc;border-color:#7ab39c}@media(max-width:760px){.home-heading h1{max-width:none;white-space:pre-line;text-wrap:initial}.template-card .section-kicker{font-size:10px}}
:focus-visible{outline-color:var(--accent)}
/* Saved workflows use the existing Mobile Color categories. */
.saved-library{margin:24px 0 32px;padding:22px;background:var(--lavender-tint);border-radius:22px}.saved-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.saved-heading h2{font-size:20px}.saved-heading .section-kicker{display:block;margin-bottom:5px}.saved-count{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 7px;background:var(--panel);color:var(--accent);border-radius:9px;font-size:13px;vertical-align:middle;margin-left:5px}.saved-empty{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.saved-card h3{font-size:19px;line-height:1.3}.saved-card{gap:11px}.saved-detail{font-size:14px;font-weight:600}.saved-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}.saved-actions button{padding:9px 10px;min-height:44px}.saved-card .badge{align-self:flex-start;width:max-content;max-width:100%;white-space:normal}.template-save-panel{background:var(--lavender-tint);border-radius:16px;padding:18px;margin:20px 0}.template-save-panel label{margin-top:0}.template-save-panel button{width:100%;margin-top:12px}.template-save-panel .feedback:empty{display:none}#template-run{width:100%;min-height:48px}.saved-run{border-top:1px solid var(--line);padding:22px 0}.saved-run h4{font-size:13px;margin:20px 0 8px}.saved-result-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.saved-run>.caption{margin:8px 0}.saved-run>.badge{display:inline-block;margin:4px 0}.saved-run:last-child{padding-bottom:0}#saved-results{margin-top:16px}@media(max-width:760px){.saved-library{padding:18px;margin-top:22px}.saved-heading{align-items:flex-start;gap:10px}.saved-heading h2{font-size:20px}.saved-heading>.quiet{font-size:11px;max-width:110px;padding:8px}.saved-heading .section-kicker{font-size:9px}.saved-card{padding:20px}.saved-actions{gap:4px}.saved-actions button{font-size:12px;padding-inline:8px}.template-save-panel{padding:16px}.saved-library .template-grid{gap:14px}}

.saved-library{margin-top:0}@media(max-width:760px){.saved-library{margin-top:0}}

.saved-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}@media(min-width:761px){.saved-library .template-grid{grid-template-columns:1fr}.saved-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:20px;align-items:start;padding:22px}.saved-card .template-symbol{margin:0}.saved-card-body{gap:7px}.saved-card .saved-actions{align-self:center;flex-direction:column;min-width:130px;gap:2px;margin-top:0}.saved-card .saved-actions button{text-align:left}.saved-card-body .saved-detail{font-size:13px}}
/* System state and delivery evidence, using Mobile Color semantic tints. */
.tone-blue{--state-bg:var(--blue-tint);--state-ink:var(--accent)}.tone-mint{--state-bg:var(--mint-tint);--state-ink:#276b58}.tone-apricot{--state-bg:var(--apricot-tint);--state-ink:#805619}.tone-coral{--state-bg:var(--coral-tint);--state-ink:#904b44}.tone-lavender{--state-bg:var(--lavender-tint);--state-ink:#705091}.tone-quiet{--state-bg:var(--soft);--state-ink:var(--muted)}
.system-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px;background:var(--state-bg);border-radius:22px}.system-hero h2{font-size:25px;margin-top:7px}.system-hero p{font-size:12px;color:var(--muted);margin-top:8px}.system-hero>button{flex-shrink:0;background:var(--panel);font-size:12px}.system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.system-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:var(--state-bg);padding:22px;border-radius:19px;min-width:0}.system-card-heading{display:flex;align-items:center;gap:9px;color:var(--state-ink)}.system-card-heading h3{font-size:13px;color:var(--ink)}.system-card-heading .ui-icon{width:18px;height:18px}.system-value{font-size:24px;line-height:1.25;letter-spacing:-.025em}.system-card p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.system-card .system-card-note{color:var(--muted);font-size:12px}.system-card button{font-size:12px;margin-top:auto;padding-inline:0;min-height:44px}.system-issues{margin:18px 0;padding:18px 22px 18px 36px;background:var(--apricot-tint);border-radius:16px;font-size:13px;line-height:1.7}.system-details{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px}.system-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600}.system-details summary::before{content:'＋';margin-right:10px;color:var(--accent)}.system-details[open] summary::before{content:'−'}.system-details .caption{margin-top:16px;line-height:1.7}.delivery-section{margin-top:30px}.delivery-section>.caption{margin-bottom:18px}.delivery-card{padding:22px;border:1px solid var(--line);background:var(--panel);border-radius:18px}.delivery-card>h3{font-size:16px}.delivery-card>.caption{margin-top:7px}.delivery-notice{background:var(--state-bg);border-radius:13px;padding:15px 17px;margin:16px 0 0;border-left:3px solid var(--state-ink)}.delivery-notice>strong{font-size:13px}.delivery-notice>p{font-size:12px;line-height:1.6;margin-top:6px}.delivery-receipt{margin-top:10px;font-size:12px}.delivery-receipt summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--state-ink)}.delivery-receipt code{display:block;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 0}.delivery-card>.quiet{font-size:12px;padding-left:0;margin-top:9px;min-height:44px}.system-empty{border:1px dashed var(--line);border-radius:16px;padding:24px;font-size:14px;color:var(--muted);line-height:1.7}[data-stale=true] .system-card{border:1px dashed var(--muted)}html[data-theme=dark] .tone-mint{--state-ink:#b5e4cc}html[data-theme=dark] .tone-apricot{--state-ink:#f2cd90}html[data-theme=dark] .tone-coral{--state-ink:#efb4aa}html[data-theme=dark] .tone-lavender{--state-ink:#d2b9ef}
@media(max-width:1100px){.system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.system-hero{padding:22px;flex-direction:column;align-items:flex-start;gap:17px}.system-hero h2{font-size:24px}.system-hero>button{width:100%;min-height:44px}.system-grid{gap:11px}.system-card{padding:17px;gap:11px}.system-card-heading{gap:7px}.system-card-heading h3{font-size:12px}.system-card-heading .ui-icon{width:17px;height:17px}.system-value{font-size:23px}.system-card p{font-size:12px}.system-card .system-card-note{font-size:11px}.delivery-card{padding:18px}.delivery-notice{padding:14px}.system-details{padding:16px}.system-issues{font-size:12px}.system-card button{font-size:11px}.job-card .delivery-notice{margin-top:16px}}@media(max-width:350px){.system-grid{grid-template-columns:1fr}}

.system-card p{white-space:pre-line}#system-reason{color:var(--ink);font-size:13px}#system-reason:empty{display:none}

.initial-sync{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 20px;border-radius:16px;background:var(--blue-tint);margin:0 0 22px}.initial-sync.failed{background:var(--apricot-tint)}.initial-sync p{font-size:13px;line-height:1.6}.initial-sync button{flex-shrink:0;background:var(--panel);font-size:12px;min-height:44px}@media(max-width:760px){.initial-sync{flex-direction:column;align-items:stretch;gap:12px;padding:17px}.initial-sync button{width:100%}}

.result-actions{margin-top:16px;display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap}.result-actions>.quiet{min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--blue-tint);color:var(--accent)}.result-actions>.caption{margin:0;flex:1 1 170px;line-height:1.6;overflow-wrap:anywhere}.result-actions>.result-export-error{color:var(--danger,var(--ink))}@media(max-width:350px){.result-actions>.quiet{width:100%}}

.review-entry{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid var(--line)}.review-entry p{margin:0}.review-entry>.quiet{min-height:44px;color:var(--accent)}.review-entry[data-decision=accepted] p{color:#276b58}html[data-theme=dark] .review-entry[data-decision=accepted] p{color:#b5e4cc}.review-dialog{max-width:640px}.review-dialog>.caption{line-height:1.65;margin:12px 0}.review-content h3{font-size:17px;margin:20px 0 12px}.review-content h4{font-size:13px;margin:18px 0 8px}.review-verdict{background:var(--blue-tint);border-radius:15px;padding:18px;margin:16px 0}.review-verdict strong{font-size:15px}.review-verdict[data-decision=accepted]{background:var(--mint-tint)}.review-verdict[data-decision=needs_changes],.review-verdict[data-decision=stale]{background:var(--apricot-tint)}.review-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;margin-top:8px}.review-source summary,.review-history summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;color:var(--accent)}.review-decisions{border:0;padding:0;margin:24px 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-decisions legend{font-size:14px;font-weight:600;margin-bottom:12px}.review-choice{display:flex;align-items:center;gap:9px;padding:14px;background:var(--soft);border:1px solid var(--line);border-radius:13px;font-size:13px!important;margin:0!important;min-height:50px;cursor:pointer}.review-choice input{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--accent)}.review-choice:has(input:checked){background:var(--blue-tint);border-color:var(--accent)}.review-form>.primary{width:100%;min-height:46px;margin-top:16px}.review-history{border-top:1px solid var(--line);margin-top:24px;padding-top:8px}.review-history-item{padding:16px 0;border-top:1px solid var(--line)}.review-history-item strong{font-size:13px}.review-history-item .caption{margin:7px 0}.review-dialog .alert{line-height:1.6;margin:14px 0}@media(max-width:350px){.review-decisions{grid-template-columns:1fr}.review-entry{gap:6px}.review-entry p{font-size:11px}}

.job-files{width:100%;padding-top:16px;border-top:1px solid var(--line);margin-top:4px}.job-files h4{font-size:13px;margin:0 0 10px}.job-files>.caption{line-height:1.7}.job-file{padding:6px 0}.job-file>.quiet{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;width:100%;padding:12px 14px;background:var(--blue-tint);border:1px solid var(--line);border-radius:13px;text-align:left;color:var(--accent)}.job-file button>span{font-size:13px;line-height:1.6;overflow-wrap:anywhere;min-width:0}.job-file small{font-size:11px;color:var(--muted);flex-shrink:0}.job-file>.caption{margin:7px 0 2px;line-height:1.6;overflow-wrap:anywhere}.job-file>.caption:empty{display:none}@media(max-width:350px){.job-file>.quiet{align-items:flex-start;flex-direction:column;gap:5px}}
/* ATELIER / a graphic workspace. Blue actions, clear data, generous readable type. */
:root{--bg:#f4f6fc;--panel:#fff;--ink:#17233d;--muted:#5b6981;--line:#e2e7f1;--accent:#2853d9;--soft:#edf2ff;--nav:#16213a;--blue-tint:#e9efff;--apricot-tint:#ffecd5;--mint-tint:#dff3e9;--coral-tint:#fce8e2;--lavender-tint:#eeeafa;--shadow:0 8px 26px #21366b06;--desk:#2853d9;--desk-ink:#fff;--desk-muted:#e0e9ff;--radius:24px}
html[data-theme=dark]{--bg:#101928;--panel:#1a263a;--ink:#f3f6ff;--muted:#b3c1d8;--line:#30415d;--accent:#a7c1ff;--soft:#263c62;--nav:#0c1422;--blue-tint:#283c62;--apricot-tint:#473a2b;--mint-tint:#243e37;--coral-tint:#483038;--lavender-tint:#36334e;--desk:#315bd0;--desk-muted:#e3ebff;--shadow:none}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.5;letter-spacing:0}
button,input,textarea,select{font-family:inherit}button{font-size:13px;letter-spacing:.005em}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.shell{margin-left:232px}.top{height:80px;padding:0 40px;background:var(--bg);border-bottom:0}.identity>.mark{display:none}.identity strong{font-size:14px;font-weight:650}.identity strong>span{font-size:11px;color:var(--muted);margin-top:2px}.top-right{gap:12px}.presence{font-size:11px}.avatar{width:36px;height:36px;background:var(--apricot-tint);color:var(--ink);font-size:13px}.mark{background:#fff;color:#2853d9;border-radius:12px;font-size:24px;font-weight:800}
main{padding:18px 40px 56px;max-width:1600px}.bottom-nav{width:232px;padding:32px 18px;background:var(--nav);border:0}.nav-brand{padding:0 8px 36px;font-size:16px;gap:11px}.nav-brand small{font-size:10px;opacity:.65;margin-top:4px}.nav-label{font-size:9px;letter-spacing:.13em;margin:0 16px 14px;color:#9cabca}.bottom-nav>button{min-height:52px;padding:13px 16px;border-radius:13px;color:#b8c6e1;font-size:13px;gap:15px}.bottom-nav>button .ui-icon{width:21px;height:21px;color:inherit}.bottom-nav>button[aria-current=page]{background:#335ad3;color:#fff;box-shadow:none}.nav-bottom{margin-top:auto;padding:24px 14px 0}.nav-bottom p{color:#a8b9d6;font-size:11px}.nav-bottom strong{font-size:12px}.nav-version{font-size:10px}
h1,h2,h3{font-weight:650;text-wrap:balance}h1{font-size:40px;line-height:1.1;letter-spacing:-.035em}.page-head{margin:12px 0 28px}.page-head h1{font-size:38px;letter-spacing:-.035em}.eyebrow,.section-kicker{font-size:10px;letter-spacing:.085em;font-weight:600}.caption{font-size:13px;line-height:1.65}.primary{background:#2853d9;border-color:#2853d9;color:#fff;border-radius:13px;min-height:46px;box-shadow:none}.primary:hover:not(:disabled){background:#2148bc;border-color:#2148bc}.quiet{font-size:12px;min-height:44px}
.home-heading{display:flex;align-items:center;justify-content:space-between;padding:0;border:0;border-radius:0;background:none!important;color:var(--ink);box-shadow:none;margin:8px 0 28px}.home-heading h1{font-size:40px;color:var(--ink);line-height:1.12;letter-spacing:-.035em;white-space:normal}.home-heading .eyebrow{font-size:11px;text-transform:capitalize;color:var(--muted);letter-spacing:.01em;margin-bottom:12px}.home-heading .subtitle{color:var(--muted);font-size:13px;margin-top:11px}.home-add{background:var(--panel);border:1px solid var(--line);border-radius:13px;color:var(--ink);padding:12px 17px;flex-shrink:0}
.workspace-top{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;margin-bottom:30px;align-items:stretch}.mission-desk{display:flex;align-items:stretch;justify-content:space-between;gap:12px;position:relative;isolation:isolate;overflow:hidden;min-height:290px;padding:30px 32px;border-radius:var(--radius);background:var(--desk);color:var(--desk-ink)}.mission-copy{position:relative;z-index:1;min-width:0}.mission-label{display:flex;align-items:center;gap:8px;color:var(--desk-muted);font-size:9px;letter-spacing:.09em;font-weight:600;white-space:nowrap}.mission-label>span{font-size:18px;line-height:1}.mission-copy h2{font-size:36px;line-height:1.08;letter-spacing:-.035em;margin:22px 0 14px;color:#fff;text-wrap:initial}.mission-copy>p{font-size:12px;line-height:1.6;color:var(--desk-muted);margin:0 0 22px}.mission-copy>button{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:48px;background:#fff;color:#2348b2;border:0;padding:12px 17px;border-radius:12px;font-size:12px;font-weight:650}.mission-copy>button>span{font-size:19px;font-weight:400}.mission-copy>button:hover{background:#edf2ff;color:#2348b2}
.agent-diagram{width:185px;min-width:140px;position:relative;align-self:stretch;display:block;margin:14px -8px 0 0}.agent-orbit{position:absolute;inset:18% -55% -22% -22%;border:1px solid #ffffff26;border-radius:50%;transform:rotate(-20deg)}.agent-orbit::after{content:'';position:absolute;inset:22px;border:1px solid #ffffff26;border-radius:50%}.diagram-caption{position:absolute;top:1px;right:0;font-size:7px;letter-spacing:.12em;color:var(--desk-muted)}.diagram-node{position:absolute;display:flex;flex-direction:column;align-items:center;gap:8px;transform:rotate(-7deg)}.diagram-node b{display:grid;place-items:center;width:70px;height:78px;border-radius:20px;background:#cdebdc;color:#1f5c4e;font-size:42px;letter-spacing:-.04em;font-weight:500;box-shadow:0 7px 0 #183b861f}.diagram-node>span{font-size:10px;font-weight:600;color:#fff}.node-hermes{left:4px;top:50px}.node-openclaw{right:-3px;top:143px;transform:rotate(9deg)}.node-openclaw b{background:#ffdab5;color:#885328}.diagram-connector{position:absolute;left:90px;top:115px;font-size:35px;line-height:1;transform:rotate(90deg);color:#dce8ff;font-weight:400}.diagram-index{position:absolute;bottom:3px;left:-10px;font-size:7px;letter-spacing:.1em;color:var(--desk-muted)}
.panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:none}.section-head{padding:23px 24px;border-bottom:1px solid var(--line);background:transparent!important}.section-head h2{font-size:20px;line-height:1.2;letter-spacing:-.025em}.section-kicker{color:var(--muted);display:block;margin-bottom:7px}.home-crew{display:flex;flex-direction:column;min-height:100%}.home-crew .section-head{border:0;padding-bottom:14px}.home-crew .section-head h2{font-size:24px}.home-crew .agent-overview{padding:0 24px;flex:1}.home-crew .agent-row{padding:18px 0;gap:13px}.agent-monogram{width:43px;height:43px;border-radius:14px;font-size:17px;font-weight:650}.agent-row:nth-child(2) .agent-monogram{background:var(--apricot-tint);color:#8d5a2c}.agent-row strong{font-size:14px}.agent-row p{font-size:11px;margin-top:4px}.agent-row>span:last-child{font-size:10px;color:var(--muted);white-space:nowrap}.crew-footer{display:flex;justify-content:space-between;align-items:center;width:100%;background:transparent;border:0;border-top:1px solid var(--line);padding:17px 24px;text-align:left;border-radius:0;font-size:12px;color:var(--accent);min-height:50px}.crew-footer>span{font-size:19px}
.launch-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.launch-heading h2{font-size:24px;letter-spacing:-.03em}.quick-launch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.quick-launch>button{position:relative;min-height:92px;display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:17px 15px;text-align:left;font-size:12px;font-weight:600;line-height:1.45;min-width:0;color:var(--ink)}.quick-launch>button:hover{border-color:var(--accent);background:var(--panel);color:var(--ink)}.launch-icon{display:grid;place-items:center;width:41px;height:45px;border-radius:13px;flex:0 0 41px}.launch-icon .ui-icon{width:22px;height:22px}.launch-blue{background:var(--blue-tint);color:var(--accent)}.launch-peach{background:var(--apricot-tint);color:#875628}.launch-mint{background:var(--mint-tint);color:#286b53}.launch-lilac{background:var(--lavender-tint);color:#6c5791}.launch-arrow{margin-left:auto;color:var(--muted);font-size:16px;font-weight:400;align-self:flex-start}
.pulse-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.pulse-heading .section-kicker{margin:0}.pulse-heading>span:last-child{font-size:11px;color:var(--muted)}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-bottom:28px}.metrics>button{display:grid;grid-template-columns:1fr auto;gap:8px;position:relative;background:transparent!important;border-radius:0;padding:20px 22px;min-height:105px;box-shadow:none!important;border-right:1px solid var(--line)!important}.metrics>button:last-child{border-right:0!important}.metrics>button>span:not(.metric-symbol){grid-column:1 / -1;font-size:11px;padding:0;min-height:0;font-weight:500;color:var(--muted);max-width:none}.metrics strong{font-size:32px;line-height:1;letter-spacing:-.035em;color:var(--ink)}.metrics>button:nth-child(3) strong{color:var(--danger)}.metrics small{display:none}.metric-symbol{position:static;width:29px;height:29px;border-radius:9px;grid-column:2;grid-row:2;background:var(--blue-tint);color:var(--accent)}.metric-symbol .ui-icon{width:16px;height:16px}.metrics>button:nth-child(2) .metric-symbol{background:var(--apricot-tint);color:#875628}.metrics>button:nth-child(3) .metric-symbol{background:var(--coral-tint);color:var(--danger)}.metrics>button:nth-child(4) .metric-symbol{background:var(--mint-tint);color:#286b53}
.dashboard-grid{gap:20px;margin-bottom:20px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.card{padding:22px 24px}.card h3{font-size:15px;font-weight:600;line-height:1.4}.meta{font-size:11px;margin-top:9px}.badge{font-size:10px;padding:4px 8px;border-radius:7px}.check{width:28px;height:28px;min-height:28px;flex-basis:28px;margin-top:1px;border-radius:9px}.check::before{inset:-8px}.card-actions{margin-top:8px;gap:9px}.card-actions .quiet{font-size:11px;padding:5px 0;min-height:36px}.add-inline{min-height:52px;font-size:12px;padding:16px 24px;color:var(--accent)}.day-ribbon{padding:19px 20px 13px;gap:5px}.day-ribbon>button{min-height:58px;border-radius:14px}.day-ribbon small{font-size:10px}.day-ribbon>button.today{background:#2853d9;color:#fff}.time-rail{font-size:12px;min-width:42px}.event-card .card-body{border-left-color:#aabfee}.event-card:nth-child(2n) .card-body{border-left-color:#e9bc8e}.event-card .caption{font-size:11px}.event-card .quiet{font-size:11px;min-height:36px}.source-body{padding:22px 24px}.source-count strong{font-size:42px;font-weight:600}.source-count span{font-size:12px}.source-card .source-icon{background:var(--apricot-tint);border-radius:13px;width:43px;height:43px}.shortcut-panel{position:relative;padding:26px;background:var(--mint-tint);border:0;overflow:hidden;min-height:230px}.shortcut-panel .section-kicker{color:var(--muted)}.shortcut-panel h2{font-size:26px;line-height:1.2;letter-spacing:-.035em;margin:15px 0 12px;position:relative;z-index:1}.shortcut-panel p{font-size:12px;line-height:1.6;color:var(--muted)}.shortcut-panel button{background:var(--panel);border:0;border-radius:11px;padding:12px 16px;color:var(--ink);margin-top:20px;min-height:44px;font-size:12px}.shortcut-panel button>span{margin-left:20px}.shortcut-glyph{position:absolute;font-size:180px;right:12px;bottom:-35px;color:#276c5019;line-height:1;pointer-events:none}
.work-tabs{border:1px solid var(--line);padding:5px;background:var(--panel);border-radius:15px;gap:3px;margin-bottom:26px}.work-tabs button{min-height:44px;padding:12px 18px;border-radius:11px;font-size:12px;white-space:nowrap}.work-tabs button[aria-pressed=true]{background:#2853d9;color:#fff}.control-grid{gap:20px}.command-panel .section-head h2{font-size:27px}.command-panel textarea{font-size:16px;line-height:1.6;min-height:150px;background:var(--bg);border-color:var(--line);padding:18px;border-radius:16px}.command-options label{font-size:11px;letter-spacing:.02em}.command-options select{min-height:48px;border-radius:13px;font-size:14px}.presets{gap:7px}.presets button{font-size:11px;border-radius:9px;padding:9px 12px;min-height:40px}.command-panel #send-command{min-height:50px;border-radius:13px;font-size:14px}.mac-services{padding:2px 24px}.panel-footnote{font-size:11px;padding:17px 24px;line-height:1.65}.history-heading{margin-top:32px;background:none!important;border:0;padding-left:0}.history-heading h2{font-size:25px}#jobs-list{border-radius:22px}.job-card{padding:26px}.job-output{font-size:13px;padding:20px;border-radius:16px;background:var(--bg);line-height:1.75}.job-timeline{font-size:11px}.job-timeline li{padding:10px 0}.job-card .eyebrow{font-size:10px}.job-card h3{font-size:17px}.job-file button{border-radius:14px}.delivery-notice{border-left-width:2px;font-size:12px}
.template-grid{gap:16px}.template-card{border:1px solid var(--line);border-top:0;border-radius:22px;padding:24px;background:var(--panel);gap:13px}.template-card h2{font-size:21px;line-height:1.2;letter-spacing:-.025em}.template-symbol{width:52px;height:54px;border-radius:16px;margin-bottom:7px}.template-symbol .ui-icon{width:27px;height:27px}.template-card .section-kicker{font-size:9px;letter-spacing:.08em}.template-card .caption{font-size:13px;line-height:1.65}.template-card .quiet{background:var(--tile-bg);border-radius:10px;padding:12px 15px;margin-top:auto;align-self:flex-start;min-height:44px}.saved-library{background:var(--blue-tint);padding:25px;border-radius:24px;margin-bottom:30px}.saved-heading h2{font-size:24px;letter-spacing:-.025em}.saved-card{border:0}.saved-empty{font-size:13px}.saved-card .quiet{background:transparent}.saved-detail{font-size:13px}.template-save-panel{background:var(--blue-tint)}
.calendar-panel{border-radius:24px;padding:26px}.month-head h2{font-size:21px}.day{min-height:56px;border-radius:13px;font-size:14px}.day.selected{background:#2853d9;color:#fff}.agenda-panel .section-head h2{font-size:24px}.filters{padding:5px;background:var(--panel);border-radius:13px;border:1px solid var(--line);width:max-content;max-width:100%}.filters button{font-size:12px;border-radius:9px;min-height:44px}.filters button[aria-pressed=true]{background:#2853d9;color:#fff}.view>input[type=search]{min-height:50px;border-radius:14px;background:var(--panel);font-size:14px}.hint{font-size:12px;line-height:1.7}.empty{font-size:13px;line-height:1.7;padding:28px 24px}.system-hero{border-radius:24px}.system-card{border-radius:20px}.system-details{border-radius:20px}.system-value{font-size:27px}.system-hero h2{font-size:30px}.system-card p{font-size:13px}
dialog{border-radius:26px;padding:30px;border:1px solid var(--line)}dialog h2{font-size:26px;letter-spacing:-.03em}dialog input,dialog select,dialog textarea{font-size:16px;min-height:48px;border-radius:13px;background:var(--bg);border-color:var(--line)}dialog label{font-size:12px;font-weight:600}dialog .caption{font-size:12px}dialog::backdrop{background:#0d193c66}
html[data-theme=dark] .launch-peach,html[data-theme=dark] .agent-row:nth-child(2) .agent-monogram{color:#f6d0a8}html[data-theme=dark] .launch-mint,html[data-theme=dark] .metrics>button:nth-child(4) .metric-symbol{color:#ade0c7}html[data-theme=dark] .launch-lilac{color:#d8c5f7}html[data-theme=dark] .metrics>button:nth-child(2) .metric-symbol{color:#f6d0a8}html[data-theme=dark] .shortcut-glyph{color:#b7e4d019}
@media(max-width:1200px) and (min-width:761px){.shell{margin-left:200px}.bottom-nav{width:200px;padding-inline:12px}.nav-brand{font-size:14px}.top{padding-inline:28px}main{padding-inline:28px}.workspace-top{grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr)}.mission-desk{padding:27px}.agent-diagram{display:none}.quick-launch>button{gap:9px;flex-direction:column;align-items:flex-start;min-height:132px}.quick-launch .launch-arrow{position:absolute;right:15px;top:18px}.home-heading h1{font-size:36px}}
@media(max-width:1000px) and (min-width:761px){.workspace-top{grid-template-columns:1fr}.mission-desk{min-height:280px}.agent-diagram{display:block;max-width:210px;flex:1}.home-crew .agent-overview{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-crew .agent-row{border:0}.home-crew .section-head{padding-bottom:0}.home-crew .section-head h2{font-size:20px}.home-crew .crew-footer{padding-block:14px}.metrics>button{padding:18px 16px}.dashboard-grid{grid-template-columns:1fr}.home-heading .home-add{max-width:130px;white-space:normal}.control-grid{grid-template-columns:1fr}}
@media(max-width:760px){.shell{margin-left:0}.top{height:72px;padding:0 22px;border:0;background:var(--bg)}.identity strong{font-size:14px;letter-spacing:-.015em}.identity strong>span{display:none}.identity>.mark{display:grid;width:30px;height:30px;border-radius:9px;background:#2853d9;color:#fff;font-size:19px}.identity{gap:9px}.top-right{gap:7px}.presence{font-size:0;min-width:8px;gap:0}.presence::before{width:7px;height:7px}.avatar{display:none}.top .icon{width:36px;min-height:36px;padding:8px}main{padding:14px 20px 112px}.home-heading{margin:0 0 24px;align-items:flex-end;gap:12px}.home-heading h1{font-size:34px;line-height:1.12;white-space:pre-line;max-width:none;letter-spacing:-.04em}.home-heading .eyebrow{font-size:10px;margin-bottom:10px;letter-spacing:.005em}.home-heading .subtitle{font-size:12px;margin-top:10px;max-width:240px}.home-heading .home-add{width:40px;height:40px;min-height:40px;overflow:hidden;flex-shrink:0;font-size:0;padding:0;align-self:flex-start;margin-top:26px;border-radius:13px;position:relative}.home-add::before{content:'+';font-size:27px;font-weight:400;line-height:1}.workspace-top{display:flex;flex-direction:column;gap:16px;margin-bottom:26px}.mission-desk{min-height:286px;padding:25px 24px;border-radius:26px;gap:0}.mission-label{font-size:8px;letter-spacing:.075em;gap:6px}.mission-label>span{font-size:16px}.mission-copy h2{font-size:32px;line-height:1.09;margin:21px 0 14px;max-width:240px}.mission-copy>p{font-size:11px;line-height:1.65;max-width:230px;margin-bottom:22px}.mission-copy>button{font-size:12px;gap:24px;min-height:47px;padding:12px 15px}.agent-diagram{position:absolute;right:16px;top:55px;bottom:14px;width:90px;min-width:90px;margin:0;z-index:0;opacity:1}.diagram-node b{width:46px;height:54px;border-radius:15px;font-size:30px}.diagram-node>span{font-size:8px}.node-hermes{left:3px;top:17px}.node-openclaw{right:-4px;top:121px}.diagram-connector{font-size:27px;left:49px;top:88px}.diagram-caption,.diagram-index{display:none}.agent-orbit{inset:0 -100% -5% -70%;border-color:#ffffff20}.agent-orbit::after{border-color:#ffffff20;inset:20px}.home-crew{border-radius:22px;min-height:0}.home-crew .section-head{padding:19px 20px 0}.home-crew .section-head .section-kicker{font-size:8px;margin-bottom:5px}.home-crew .section-head h2{font-size:21px}.home-crew .section-head>.quiet{min-height:36px;padding:5px;font-size:20px}.home-crew .agent-overview{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:4px 20px 12px}.home-crew .agent-row{align-items:flex-start;gap:9px;border:0;padding:14px 0 5px;flex-wrap:wrap;position:relative}.home-crew .agent-monogram{width:32px;height:35px;border-radius:11px;font-size:14px;flex-shrink:0}.home-crew .agent-row>div:nth-child(2){min-width:0;flex:1}.home-crew .agent-row strong{font-size:12px}.home-crew .agent-row p{font-size:9px;line-height:1.4;margin-top:4px;max-width:90px}.home-crew .agent-row>span:last-child{display:none}.crew-footer{min-height:43px;padding:12px 20px;font-size:10px}.crew-footer>span{font-size:16px}.launch-heading{margin-bottom:13px;gap:9px}.launch-heading h2{font-size:23px;letter-spacing:-.035em}.launch-heading .quiet{font-size:10px;padding:5px 0;min-height:38px}.quick-launch{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:26px}.quick-launch>button{min-height:97px;padding:16px 14px;gap:11px;font-size:11px;border-radius:18px}.launch-icon{width:36px;height:40px;flex-basis:36px;border-radius:12px}.launch-icon .ui-icon{width:20px;height:20px}.launch-arrow{position:absolute;right:10px;top:9px;font-size:12px}.pulse-heading{margin-bottom:12px}.pulse-heading .section-kicker{font-size:9px}.pulse-heading>span:last-child{font-size:10px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:21px;margin-bottom:25px;gap:0}.metrics>button{padding:18px 19px;min-height:96px;gap:11px}.metrics>button:nth-child(2){border-right:0!important}.metrics>button:nth-child(-n+2){border-bottom:1px solid var(--line)!important}.metrics>button>span:not(.metric-symbol){font-size:10px;min-height:0;padding-right:0;max-width:100%;line-height:1.3}.metrics strong{font-size:31px}.metric-symbol{width:26px;height:26px;right:auto;top:auto;border-radius:8px}.metric-symbol .ui-icon{width:14px;height:14px}.dashboard-grid{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.panel{border-radius:22px}.section-head{padding:21px 20px}.section-head h2{font-size:22px}.section-kicker{font-size:8px;margin-bottom:6px}.section-head>.quiet{font-size:10px}.card{padding:21px 20px;gap:12px}.card h3{font-size:14px}.meta{font-size:10px;gap:7px}.badge{font-size:9px;padding:4px 7px}.card-actions{gap:13px}.card-actions .quiet{font-size:10px;min-height:36px}.add-inline{padding:16px 20px;min-height:50px;font-size:11px}.day-ribbon{padding:18px 17px 12px}.day-ribbon small{font-size:9px}.day-ribbon>button{min-height:54px}.time-rail{font-size:11px;min-width:36px}.event-card .caption{font-size:10px}.source-body{padding:20px}.source-count strong{font-size:39px}.shortcut-panel{padding:24px;min-height:240px}.shortcut-panel h2{font-size:27px}.shortcut-panel p{font-size:12px}.source-card>.section-head h2{font-size:22px}.page-head{margin:7px 0 26px;align-items:center}.page-head h1{font-size:33px;line-height:1.1;letter-spacing:-.04em}.page-head .eyebrow{font-size:8px;margin-bottom:9px}.page-head>.primary{font-size:11px;padding:11px 13px;min-height:44px;border-radius:12px}.page-head>.quiet{font-size:11px}.work-tabs{padding:5px;border-radius:15px;gap:3px;margin-bottom:21px;overflow-x:auto;max-width:100%;scrollbar-width:none}.work-tabs button{flex:0 0 auto;font-size:11px;padding:11px 13px;min-height:42px;border-radius:10px}.command-panel .section-head h2{font-size:26px}.command-panel textarea{font-size:16px;min-height:164px;padding:16px}.command-options{gap:11px}.command-options select{font-size:13px;min-height:48px}.command-options label{font-size:10px}.presets{gap:5px}.presets button{font-size:10px;min-height:38px;padding:9px}.command-panel #send-command{font-size:13px;min-height:50px}.mac-services{padding-inline:20px}.panel-footnote{font-size:10px;line-height:1.6;padding:16px 20px}.history-heading{padding:0;margin-top:28px}.history-heading h2{font-size:25px}.job-card{padding:23px 19px}.job-card h3{font-size:16px}.job-output{font-size:12px;padding:16px;line-height:1.7}.job-timeline{font-size:10px}.job-timeline li{padding:10px 0}.job-card>.card-body>.caption{font-size:10px}.job-file button{min-height:56px}.result-download{width:auto;flex:1;font-size:11px}.result-export{gap:10px}.result-export>.caption{font-size:9px}.template-grid{grid-template-columns:1fr;gap:15px}.template-card{padding:23px;gap:13px;border-radius:23px;display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:17px;align-items:start}.template-symbol{grid-column:1;grid-row:1 / 3;margin:0;width:50px;height:54px}.template-card>.section-kicker{grid-column:2;font-size:8px;margin:2px 0 0}.template-card>h2{grid-column:2;font-size:22px;line-height:1.2;align-self:start}.template-card>.caption{grid-column:1 / -1;font-size:13px;line-height:1.65}.template-card>.quiet{grid-column:1 / -1;justify-self:start;margin-top:2px;font-size:11px;min-height:44px;padding:11px 15px}.saved-library{padding:20px;border-radius:23px;margin-bottom:26px}.saved-library .template-card{display:flex}.saved-heading h2{font-size:23px}.saved-heading>.quiet{font-size:10px}.saved-heading .section-kicker{font-size:8px}.saved-empty{font-size:12px}.saved-card-body .saved-detail{font-size:12px}.saved-card h3{font-size:20px}.saved-actions button{font-size:11px}.calendar-panel{padding:20px;border-radius:23px}.month-head h2{font-size:19px}.day{font-size:13px;min-height:48px;border-radius:12px}.weekday{font-size:9px}.agenda-panel .section-head h2{font-size:23px}.filters button{font-size:11px;padding-inline:13px}.view>input[type=search]{font-size:16px}.system-hero h2{font-size:28px}.system-card{padding:18px}.system-value{font-size:26px}.system-card p{font-size:12px}.hint{font-size:11px}.bottom-nav{inset:auto 0 0;width:100%;display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:10px 10px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--panel);box-shadow:0 -8px 30px #17233d05}.bottom-nav>.nav-brand,.bottom-nav>.nav-label,.bottom-nav>.nav-bottom{display:none}.bottom-nav>button{min-height:52px;border-radius:12px;padding:4px 1px;font-size:9px;gap:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.bottom-nav>button>span:first-child{width:38px;height:25px;border-radius:8px;background:transparent}.bottom-nav>button .ui-icon{width:21px;height:21px}.bottom-nav>button[aria-current=page]{background:#2853d9;color:#fff}.bottom-nav>button[aria-current=page]>span:first-child{background:transparent}.bottom-nav>button[aria-current=page] .ui-icon{color:#fff}.bottom-nav>button[aria-current=page] span{color:#fff}dialog{padding:28px 22px calc(24px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;width:100%;margin:auto 0 0;max-height:94dvh}dialog h2{font-size:26px}dialog label{font-size:12px}dialog input,dialog select,dialog textarea{font-size:16px}dialog .caption{font-size:12px}.empty{font-size:12px;padding:26px 20px}}
@media(max-width:360px){main{padding-inline:16px}.top{padding-inline:18px}.home-heading h1{font-size:30px}.mission-desk{padding:24px 21px;min-height:276px}.mission-copy h2{font-size:29px}.mission-copy>p{font-size:10px;max-width:210px}.mission-label{font-size:7px}.mission-copy>button{font-size:11px;gap:18px;min-height:46px;padding-inline:13px}.agent-diagram{right:13px;width:65px;min-width:65px;top:61px}.diagram-node b{width:37px;height:45px;font-size:25px;border-radius:12px}.node-hermes{left:0;top:5px}.node-openclaw{right:-3px;top:100px}.diagram-connector{font-size:21px;left:32px;top:66px}.diagram-node>span{font-size:7px}.mission-copy{max-width:216px}.mission-label{white-space:normal}.home-crew .agent-overview{gap:8px;padding-inline:17px}.home-crew .agent-row{gap:7px}.home-crew .agent-row p{font-size:8px}.home-crew .agent-row strong{font-size:11px}.home-crew .agent-monogram{width:28px;height:32px;font-size:12px}.quick-launch>button{gap:9px;padding:15px 11px;font-size:10px;min-height:90px}.launch-icon{width:31px;flex-basis:31px;height:36px;border-radius:10px}.launch-icon .ui-icon{width:18px;height:18px}.launch-arrow{right:8px;top:6px;font-size:11px}.launch-heading h2{font-size:22px}.launch-heading>.quiet{font-size:9px}.metrics>button{padding:17px 16px}.page-head h1{font-size:29px}.work-tabs button{font-size:10px}.template-card{padding:21px;column-gap:14px}.template-card>h2{font-size:20px}.result-export{flex-direction:column;align-items:stretch}.result-export>.caption{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.mission-copy>button,.quick-launch>button,.bottom-nav>button{transition:background-color .16s,border-color .16s,transform .16s}.quick-launch>button:active,.mission-copy>button:active{transform:scale(.98)}}
.workspace-top{grid-template-areas:'mission crew' 'launchhead launchhead' 'launch launch';row-gap:20px}.mission-desk{grid-area:mission}.home-crew{grid-area:crew}.workspace-top .launch-heading{grid-area:launchhead;margin:8px 0 -5px}.workspace-top .quick-launch{grid-area:launch;margin:0}.work-tabs button{display:flex;align-items:center;justify-content:center;gap:7px}.work-tabs button>.ui-icon{width:16px;height:16px;flex-shrink:0}
@media(max-width:1000px) and (min-width:761px){.workspace-top{grid-template-areas:'mission' 'launchhead' 'launch' 'crew'}}
@media(max-width:760px){.workspace-top{display:flex;flex-direction:column;gap:16px}.workspace-top .launch-heading{margin:6px 0 -7px}.workspace-top .quick-launch{margin:0 0 2px}.mission-desk{min-height:266px}.mission-copy h2{font-size:30px;margin-top:19px}.mission-copy>p{font-size:11px;margin-bottom:20px}.home-crew{margin-top:2px}.work-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px;overflow:visible;border-radius:19px}.work-tabs button{flex-direction:column;gap:7px;min-height:63px;min-width:0;padding:10px 4px;font-size:10px;line-height:1.2;border-radius:12px}.work-tabs button>.ui-icon{width:19px;height:19px}.control-grid{margin-top:24px}.command-panel .section-head{padding-block:20px}.command-panel .section-head h2{font-size:25px}.mission-desk .agent-diagram{top:50px}.mission-copy{max-width:252px}}
@media(max-width:360px){.mission-copy h2{font-size:28px}.mission-copy>p{font-size:10px}.mission-copy{max-width:216px}.mission-desk{min-height:266px}.work-tabs button{font-size:9px}}
@media(max-width:760px){.mission-copy h2{max-width:212px;position:relative;z-index:1}.mission-copy>p{max-width:235px;position:relative;z-index:1}.mission-copy>button{position:relative;z-index:1}.home-add::before{content:'+'}}
@media(max-width:360px){.mission-copy h2{max-width:182px;font-size:27px}.mission-copy>p{max-width:205px;font-size:10px}}
@media(max-width:760px){.top .icon{width:44px;min-height:44px}.home-heading .home-add{width:44px;height:44px;min-height:44px}.presets button{min-height:44px}.card-actions .quiet{min-height:44px}.event-card .quiet{min-height:44px}.home-crew .section-head>.quiet{min-height:44px;min-width:44px}}
dialog input[type=checkbox],dialog input[type=radio]{min-height:18px;width:18px;height:18px;flex-shrink:0;accent-color:#2853d9}.checkbox-label{min-height:44px;display:flex;align-items:center;gap:10px}.review-choice input{min-height:18px}
.job-meta-line{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px;color:var(--muted);margin-bottom:14px}.job-meta-line>.ui-icon{width:17px;height:17px;color:var(--accent)}.job-meta-line>.badge{margin:0 0 0 auto}.job-card .job-dates{font-size:10px;line-height:1.7;margin:12px 0}.job-progress-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:15px 0}.job-progress-details>summary{display:flex;align-items:center;gap:9px;min-height:46px;font-size:11px;color:var(--muted);padding:12px 0}.job-progress-details>summary::before{content:'＋';font-size:16px;color:var(--accent)}.job-progress-details[open]>summary::before{content:'−'}.job-progress-details .job-timeline{margin:0 0 12px}.job-latest{padding:11px 14px;background:var(--blue-tint);border-radius:10px;font-size:12px;color:var(--accent);line-height:1.5;margin:12px 0}.job-card h3{font-size:19px;line-height:1.35;letter-spacing:-.015em}.job-card .result-export{margin-top:18px}.job-card .delivery-notice{margin-top:18px}.job-card .command-source{margin:12px 0}.job-card .command-source>summary{font-size:11px}
@media(max-width:760px){.job-card h3{font-size:18px}.job-meta-line{font-size:10px;margin-bottom:13px;gap:7px}.job-meta-line>.badge{font-size:9px}.job-progress-details>summary{font-size:10px}.job-latest{font-size:11px}}

.edit-conflict {
  margin: 12px 0;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.edit-conflict h3 { margin: 0; font-size: 16px; }
.edit-comparison { margin: 10px 0; }
.edit-comparison dt { margin-top: 10px; font-weight: 650; }
.edit-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
}
.edit-value {
  min-width: 0;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.edit-value strong { color: var(--muted); font-size: 12px; }
.edit-value p {
  margin: 3px 0 0;
  max-height: 8rem;
  overflow: auto;
  white-space: pre-wrap;
}
.edit-conflict-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.edit-conflict-actions button { flex: 1 1 145px; min-height: 44px; }

.day-plan { margin: 0 0 28px; }
.day-plan-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.day-plan-heading h2 { margin: 0; font-size: clamp(20px, 3vw, 26px); letter-spacing: -.03em; }
.day-plan-heading span { color: var(--muted); font-size: 12px; }
.day-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.day-card { display: flex; flex-direction: column; min-width: 0; padding: 14px; }
.day-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.day-card-head h3 { font-size: 15px; line-height: 1.25; margin: 0; }
.day-card-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 11px; background: var(--apricot-tint); color: var(--ink); }
.day-card-meetings .day-card-icon { background: var(--mint-tint); }
.day-card-decisions .day-card-icon { background: var(--lavender-tint); }
.day-card-icon svg { width: 17px; height: 17px; }
.day-source { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.day-source[data-stale="true"] { color: var(--danger); font-weight: 650; }
.day-rows { flex: 1 0 auto; display: grid; align-content: start; gap: 5px; }
.day-rows .day-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 48px; padding: 8px 9px; text-align: left;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.day-rows .day-row:hover { border-color: var(--accent); }
.day-rows .day-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.day-row-text { display: grid; min-width: 0; gap: 3px; overflow-wrap: anywhere; }
.day-row-text strong { font-size: 13px; line-height: 1.35; }
.day-row-text small { color: var(--muted); font-size: 11px; line-height: 1.3; }
.day-row[data-tone="overdue"] small { color: var(--danger); font-weight: 650; }
.day-row-arrow { color: var(--accent); font-size: 15px; flex-shrink: 0; }
.day-empty { margin: 6px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.day-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; }
.day-card .day-more { align-self: flex-start; min-height: 44px; padding: 5px 0; color: var(--accent); font-size: 12px; }
.day-card .day-ribbon { margin: 6px 0 0; padding: 0; }
.day-card .day-ribbon button { min-width: 0; padding-inline: 0; }
.job-card { scroll-margin-top: 90px; }
@media(max-width: 900px) {
  .day-plan-grid { grid-template-columns: 1fr; gap: 8px; }
  .day-card { padding: 11px 13px 3px; }
  .day-plan { margin-bottom: 22px; }
}

.day-plan-heading .day-jump { min-height: 44px; padding: 6px 11px; background: var(--lavender-tint); color: var(--ink); border-radius: 12px; font-size: 12px; }

/* Approval rehearsal: one decision, one visible version. */
.work-tabs [data-work-tab=approvals][hidden],#approval-training[hidden],#refresh-jobs[hidden]{display:none}
.approval-hero{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:24px 26px;border-radius:22px;background:linear-gradient(128deg,#172540,#253c69);color:#f7f9ff}
.approval-kicker{display:block;color:#f2cb88;font-size:10px;letter-spacing:.14em;font-weight:760;margin-bottom:5px}
.approval-hero h2{color:inherit;margin:0;letter-spacing:-.045em;line-height:1.12;font-size:clamp(23px,4vw,35px)}
.approval-hero p{color:#dbe5f8;margin:8px 0 0;max-width:49ch;font-size:13px}
.approval-mode{white-space:nowrap;border:1px solid #ffffff40;background:#ffffff10;color:#fff;border-radius:999px;padding:6px 10px;font-size:11px}
.approval-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.approval-feedback{font-size:13px;color:var(--muted);margin:9px 0 13px}
.approval-feedback[data-error=true]{color:var(--danger)}
.approval-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr);gap:14px;align-items:start;margin-top:12px}
.approval-card,.approval-ledger{min-width:0;padding:20px;border-radius:20px}
.approval-card-top{display:flex;gap:10px;flex-wrap:wrap;align-items:start;justify-content:space-between}
.approval-card h3,.approval-ledger h3{font-size:19px;line-height:1.2;letter-spacing:-.025em;margin:0}
.approval-state{font-size:11px;font-weight:750;line-height:1.3;display:inline-block;background:var(--apricot-tint);color:var(--ink);padding:7px 10px;border-radius:999px}
.approval-state[data-state=approved]{background:var(--blue-tint)}.approval-state[data-state=executed]{background:var(--mint-tint)}
.approval-state:is([data-state=cancelled],[data-state=expired]){background:var(--bg);color:var(--muted)}
.approval-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;list-style:none;margin:16px 0;padding:0}
.approval-steps li{display:grid;gap:4px;background:var(--bg);padding:8px;border-radius:9px;font-size:11px;color:var(--muted);border:1px solid transparent}
.approval-steps li span{font-variant-numeric:tabular-nums;font-size:10px}.approval-steps li[data-done=true]{color:var(--ink);background:var(--blue-tint);border-color:var(--line)}
.approval-meta{display:flex;gap:8px 18px;flex-wrap:wrap;margin:0 0 14px}.approval-meta dt{font-size:10px;color:var(--muted)}.approval-meta dd{font-size:12px;margin:2px 0 0;font-weight:650}
.approval-preview{padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:var(--bg)}
.approval-preview .section-kicker{margin-bottom:4px}.approval-recipient{margin:0 0 12px;font-weight:700}
.approval-preview blockquote{margin:0;font-size:14px;line-height:1.55}
.approval-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 0}
.approval-edit,.approval-fingerprint{margin-top:14px;border-top:1px solid var(--line);padding-top:8px}
.approval-edit summary,.approval-fingerprint summary{cursor:pointer;min-height:42px;line-height:1.4;padding:11px 0;color:var(--accent);font-weight:650;font-size:12px}
.approval-field{margin-bottom:9px}.approval-field label{display:block;margin-bottom:4px}.approval-field select{width:100%;min-height:44px}
.approval-edit .caption{margin:4px 0 9px}
.approval-rail{display:grid;gap:10px;min-width:0}.approval-timeline{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:9px;max-height:26rem;overflow:auto}
.approval-timeline li{border-left:2px solid var(--line);padding-left:10px;display:grid;gap:2px}
.approval-timeline li:first-child{border-color:var(--accent)}.approval-timeline li strong{font-size:12px}
.approval-ledger>button{display:block;width:100%;text-align:left;margin-top:7px;white-space:normal}.approval-ledger>button[aria-pressed=true]{background:var(--soft);color:var(--accent)}
.approval-receipt{display:grid;gap:5px;padding:13px 15px;margin-top:14px;border-radius:13px;background:var(--mint-tint);color:var(--ink)}
.approval-receipt .section-kicker,.approval-receipt p{margin:0}.approval-receipt code,.approval-fingerprint code{overflow-wrap:anywhere;font-size:11px;max-width:100%}
@media(max-width:950px){.approval-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:500px){.approval-hero{padding:16px;flex-direction:column-reverse;gap:8px}.approval-card,.approval-ledger{padding:13px}.approval-grid{gap:9px}.approval-actions button{flex:1}}

.call-promise-panel{padding:16px;margin:16px 0;border:1px solid var(--line);border-radius:17px;background:var(--bg);color:var(--ink)}
.call-promise-panel h3{font-size:19px;line-height:1.2;margin:3px 0 8px;letter-spacing:-.025em}
.call-promise-panel h4{font-size:13px;margin:12px 0 8px}
.call-promise-panel .caption{margin:6px 0;color:var(--muted)}
.promise-suggestions{display:grid;gap:7px;margin:8px 0}
.promise-suggestion{display:grid;gap:3px;width:100%;padding:10px 12px;text-align:left;white-space:normal}
.promise-suggestion small{color:var(--muted);font-weight:500}
.promise-history-item{margin:7px 0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.promise-history-item blockquote{margin:5px 0 0;overflow-wrap:anywhere}
.promise-history-item .quiet{padding-left:0}
.promise-form{display:grid;gap:9px;margin-top:12px}
.promise-field{min-width:0}.promise-field label{display:block;margin-bottom:3px}
.promise-field :is(textarea,input,select){display:block;width:100%;min-height:44px;max-width:100%}
.promise-form>.primary{justify-self:start;white-space:normal}
