/* Command owns only its new panel. Studio and the existing service views keep
   their presentation. Tokens follow the user's existing theme preference. */
#panel-command.surface-command{--command-line:var(--hector-line,#393d48);--command-surface:var(--hector-surface,#1b1e25);--command-ink:var(--hector-ink,#f4f4f6);--command-muted:var(--hector-muted,#b0b4bf);color:var(--command-ink);padding-top:10px;min-width:0}
.command-active .dashboard-heading{display:none}
.command-welcome{padding:20px 0 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.command-presence{display:flex;gap:18px;align-items:center;min-width:0}.command-presence hector-avatar{flex:0 0 72px;width:72px;min-height:72px}.command-presence hector-avatar:not(:defined) img{width:64px;height:64px;object-fit:contain}
#panel-command.surface-command .command-eyebrow{font-size:10px;font-weight:750;letter-spacing:.15em;color:var(--hector-accent-ink,#ffb779);margin:0 0 9px}
#panel-command.surface-command .command-welcome h1{font-size:clamp(23px,2.2vw,32px);letter-spacing:-.045em;line-height:1.15;margin:0;text-wrap:balance}
#panel-command.surface-command .command-business{font-size:13px;color:var(--command-muted);margin:9px 0 0;overflow-wrap:anywhere}
#panel-command.surface-command .command-state{font-size:12px;line-height:1.5;max-width:215px;padding:9px 12px;border:1px solid var(--command-line);border-radius:9px;color:var(--command-muted);margin:0;background:var(--command-surface)}
#panel-command.surface-command .command-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 25px;padding:0;min-height:0;border:0}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-shortcuts button{display:flex;justify-content:space-between;gap:8px;align-items:center;min-width:0;background:var(--command-surface)!important;border:1px solid var(--command-line)!important;color:var(--command-ink)!important;text-align:left;font-size:12px;padding:12px 14px;border-radius:10px}
#panel-command.surface-command .command-shortcuts button span{color:var(--hector-accent-ink,#ffb779)}
.command-content{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:24px;align-items:start}
.command-conversation,.command-work{min-width:0}.command-work{background:var(--command-surface);border:1px solid var(--command-line);padding:22px;border-radius:16px}
#panel-command.surface-command .command-section-title{font-size:14px;letter-spacing:-.01em;margin:0 0 17px;line-height:1.5;display:flex;align-items:center;gap:11px}.command-section-title>span{font-size:10px;border:1px solid var(--command-line);border-radius:6px;padding:3px 6px;color:var(--command-muted);font-variant-numeric:tabular-nums}
.command-work-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}.command-count{font-size:12px;color:var(--command-muted);font-variant-numeric:tabular-nums}
#panel-command.surface-command :is(.command-empty,.command-boundary,.command-loading){font-size:13px;line-height:1.65;color:var(--command-muted)}.command-boundary{border-top:1px solid var(--command-line);padding-top:15px;margin:20px 0 0}
#panel-command.surface-command #panel-coach .coach-layout{display:block;margin:0}#panel-command.surface-command #panel-coach .coach-layout>.card:first-child{padding:20px;border:1px solid var(--command-line);background:var(--command-surface);border-radius:16px}
#panel-command.surface-command #panel-coach .coach-layout>.card:nth-child(2){margin-top:18px;padding:20px}#panel-command.surface-command #panel-coach .coach-layout>.card:nth-child(2)>h2{font-size:18px!important}
#panel-command.surface-command .coach-title{display:none}#panel-command.surface-command #coach-intro{margin-top:0;font-size:13px}#panel-command.surface-command .coach-thread{max-height:400px;min-height:140px;border:0;background:transparent;padding:0 0 16px;overflow-y:auto;overscroll-behavior:contain}#panel-command.surface-command .bubble{font-size:14px;line-height:1.65;padding:12px 15px;margin:0 0 12px;border:1px solid var(--command-line);border-radius:12px;overflow-wrap:anywhere}#panel-command.surface-command .bubble.customer{border-color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command .coach-form{margin-top:0}#panel-command.surface-command .coach-form textarea{min-height:100px;resize:vertical;font-size:15px;background:var(--hector-input,#20232b);border-color:var(--command-line);color:var(--command-ink)}
html[data-theme] body.dashboard-app #panel-command.surface-command .coach-form>button:first-of-type,html[data-theme] body.dashboard-app #panel-command.surface-command .intelligent-workflow button:not(.secondary){background:#ff8828!important;color:#101116!important;border-color:#ff8828!important}
html[data-theme] body.dashboard-app #panel-command.surface-command button.secondary{background:var(--command-surface)!important;color:var(--command-ink)!important;border-color:var(--command-line)!important;font-size:12px}
#panel-command.surface-command .coach-prompts{gap:7px}#panel-command.surface-command .coach-prompts button{font-size:11px!important;padding:8px 10px}#panel-command.surface-command #coach-mode,#panel-command.surface-command #coach-planning-cost{font-size:12px}
#panel-command.surface-command .intelligent-workflow{margin:0;border:0;background:transparent;padding:0}#panel-command.surface-command .intelligent-workflow>h3{font-size:17px;margin:0 0 12px}#panel-command.surface-command .intelligent-workflow p{font-size:13px;line-height:1.65;color:var(--command-muted)}#panel-command.surface-command .intelligent-workflow h4{font-size:14px;margin:22px 0 8px}#panel-command.surface-command .intelligent-workflow :is(ul,ol){padding-left:21px}#panel-command.surface-command .intelligent-workflow li{font-size:13px;line-height:1.65;margin-bottom:10px;overflow-wrap:anywhere}#panel-command.surface-command .intelligent-workflow .actions{gap:9px;flex-wrap:wrap}#panel-command.surface-command .intelligent-workflow .actions>button{white-space:normal;text-align:left;max-width:100%}#panel-command.surface-command .intelligent-workflow details{padding:12px 0;border:0;border-top:1px solid var(--command-line);border-radius:0}#panel-command.surface-command .intelligent-workflow summary{font-size:13px;min-height:44px;padding:10px 0}#panel-command.surface-command .intelligent-workflow .check{font-size:13px;line-height:1.6;align-items:flex-start}#panel-command.surface-command .intelligent-workflow .check input{flex:0 0 auto;margin-top:4px}
#panel-command.surface-command .message{font-size:13px;line-height:1.6}#panel-command.surface-command :is(button,a,summary,input,textarea):focus-visible{outline:3px solid var(--hector-accent-ink,#ffb779);outline-offset:3px}#panel-command.surface-command button{min-height:44px;transition:background-color 140ms ease,border-color 140ms ease}#panel-command.surface-command button:hover{filter:none;border-color:var(--hector-accent-ink,#ffb779)!important}
.dashboard-app .dashboard-tabs #tab-command{margin-bottom:10px;border:1px solid var(--hector-line,#393d48)}
@media(max-width:1200px){.command-content{grid-template-columns:minmax(0,1fr)}.command-welcome{align-items:flex-start}#panel-command.surface-command .command-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.command-welcome{display:block;padding-top:5px}.command-presence{gap:12px}.command-presence hector-avatar{width:52px;flex-basis:52px}.command-presence hector-avatar:not(:defined) img{width:52px;height:52px}#panel-command.surface-command .command-state{margin:18px 0 0;max-width:none;display:inline-block}.command-content{gap:20px}.command-work{padding:18px}#panel-command.surface-command #panel-coach .coach-layout>.card:first-child{padding:17px}#panel-command.surface-command .coach-form textarea{font-size:16px}#panel-command.surface-command .command-shortcuts button{font-size:12px;padding:12px}#panel-command.surface-command .command-welcome h1{font-size:25px}#panel-command.surface-command .coach-thread{max-height:360px}#panel-command.surface-command .intelligent-workflow .actions{display:grid}#panel-command.surface-command .intelligent-workflow .actions>button{width:100%}}
@media(prefers-reduced-motion:reduce){#panel-command.surface-command *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

#panel-command.surface-command .command-knowledge{margin-top:16px;border:1px solid var(--command-line);padding:0 17px;border-radius:12px}#panel-command.surface-command .command-knowledge>summary{font-size:13px;min-height:48px;padding:14px 0}#panel-command.surface-command .command-knowledge>.card{padding:0 0 17px;border:0;background:transparent}#panel-command.surface-command .command-knowledge>.card h2{font-size:18px!important}

#panel-command.surface-command .coach-thread{height:auto;min-height:120px;max-height:360px}
#panel-command.surface-command .coach-form{display:flex;flex-direction:column;align-items:stretch;gap:12px}
#panel-command.surface-command .coach-form>label{display:block;width:100%}#panel-command.surface-command .coach-form>button{align-self:flex-start;width:auto}#panel-command.surface-command .coach-form>p{margin:0;font-size:12px}
#panel-command.surface-command .command-voice{border:0;border-top:1px solid var(--command-line);margin-top:18px;padding:0}#panel-command.surface-command .command-voice>summary{font-size:13px;min-height:48px;padding:14px 0}#panel-command.surface-command .command-voice #customer-voice{padding:0;border:0;margin:0}
#panel-command.surface-command #website-import{margin:0 0 16px;padding:0 16px;border-radius:12px}#panel-command.surface-command #website-import>summary{font-size:13px;min-height:48px;padding:14px 0}

#panel-command.surface-command .intelligent-workflow>h3{display:none}

/* R3: an observed mission, with quiet motion tied only to real state changes. */
#panel-command.surface-command .command-welcome{padding:16px 0 24px;position:relative}
#panel-command.surface-command .command-presence{gap:20px}
#panel-command.surface-command .command-presence hector-avatar{width:96px;flex-basis:96px;min-height:96px;filter:drop-shadow(0 10px 30px #ff88281a)}
#panel-command.surface-command .command-presence-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
#panel-command.surface-command .command-state{border-radius:24px;padding:9px 14px;font-size:11px;max-width:270px}
#panel-command.surface-command .command-mission-jump{border:0!important;background:transparent!important;color:var(--hector-accent-ink,#ffb779)!important;font-size:12px;padding:5px 10px;min-height:36px}
#panel-command.surface-command .command-work{padding:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--command-surface) 94%,#ff8828),var(--command-surface) 42%);box-shadow:0 14px 48px #0000000d}
#panel-command.surface-command .command-mission-board{min-width:0;scroll-margin-top:24px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--command-line)}
#panel-command.surface-command .mission-board-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}
#panel-command.surface-command .mission-kicker{font-size:10px;letter-spacing:.17em;font-weight:750;color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command .mission-memory{font-size:10px;color:var(--command-muted);border:1px solid var(--command-line);border-radius:20px;padding:5px 9px}
#panel-command.surface-command .mission-title{font-size:22px;line-height:1.25;letter-spacing:-.045em;margin:0;text-wrap:balance}
#panel-command.surface-command .mission-observed{font-size:11px;color:var(--command-muted);line-height:1.6;margin:9px 0 18px}
#panel-command.surface-command .mission-meter{height:4px;border-radius:5px;background:var(--command-line);overflow:hidden}
#panel-command.surface-command .mission-meter>span{display:block;height:100%;width:var(--mission-progress,0%);background:linear-gradient(90deg,#ff8828,#ffd09e);transition:width 350ms ease;border-radius:inherit}
#panel-command.surface-command .mission-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 22px}
#panel-command.surface-command .mission-stat{padding:8px 4px 8px 0;min-width:0;border-right:1px solid var(--command-line)}
#panel-command.surface-command .mission-stat:last-child{border:0}
#panel-command.surface-command .mission-stat strong{display:block;font-size:28px;line-height:1.1;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums}
#panel-command.surface-command .mission-stat span{display:block;font-size:10px;color:var(--command-muted);margin-top:8px}
#panel-command.surface-command .mission-stat[data-state="active"] strong{color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command .mission-team{margin:0 0 24px}
#panel-command.surface-command .mission-team-heading{display:flex;gap:8px;justify-content:space-between;font-size:12px;font-weight:650;margin-bottom:13px}
#panel-command.surface-command .mission-team-note{font-size:10px;font-weight:400;color:var(--command-muted)}
#panel-command.surface-command .mission-agent-network{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px;position:relative;isolation:isolate;padding-top:14px}
#panel-command.surface-command .mission-agent-network:before{content:"";position:absolute;z-index:-1;top:0;left:14%;right:14%;height:1px;background:linear-gradient(90deg,transparent,var(--hector-accent-ink,#ffb779),transparent);opacity:.45}
#panel-command.surface-command .mission-agent{display:flex;align-items:center;flex-direction:column;position:relative;gap:6px;min-width:0;border:1px solid var(--command-line);border-radius:12px;padding:13px 6px 11px;background:var(--hector-input,#15171d)}
#panel-command.surface-command .mission-agent:before{content:"";position:absolute;top:-15px;left:50%;height:14px;width:1px;background:var(--command-line)}
#panel-command.surface-command .mission-agent-icon{font-size:23px;line-height:1.1;color:var(--command-muted)}
#panel-command.surface-command .mission-agent strong{font-size:12px;letter-spacing:-.02em}
#panel-command.surface-command .mission-agent-state{font-size:10px;color:var(--command-muted)}
#panel-command.surface-command .mission-agent[data-state="active"]{border-color:var(--hector-accent-ink,#ffb779);box-shadow:0 0 24px #ff882811;animation:command-agent-signal 1.5s ease-out 2}
#panel-command.surface-command .mission-agent[data-state="active"] :is(.mission-agent-icon,.mission-agent-state){color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command .mission-agent[data-state="completed"] .mission-agent-icon{color:var(--command-success,#80d5b2)}
#panel-command.surface-command .mission-agent:is([data-state="blocked"],[data-state="approval"],[data-state="uncertain"],[data-state="failed"]){border-style:dashed}
#panel-command.surface-command .mission-task-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
#panel-command.surface-command .mission-task-toolbar h4{font-size:12px;font-weight:650;margin:0}
#panel-command.surface-command .mission-task-toolbar>div{display:flex;gap:3px;padding:3px;background:var(--hector-input,#15171d);border:1px solid var(--command-line);border-radius:9px}
html[data-theme] body.dashboard-app #panel-command.surface-command [data-mission-filter]{font-size:10px;min-height:34px;border:0!important;border-radius:6px;background:transparent!important;color:var(--command-muted)!important;padding:7px 9px;box-shadow:none}
html[data-theme] body.dashboard-app #panel-command.surface-command [data-mission-filter][aria-pressed="true"]{background:var(--command-surface)!important;color:var(--command-ink)!important;box-shadow:0 1px 5px #0002}
#panel-command.surface-command .mission-task-list{list-style:none;padding:0;margin:0;max-height:390px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
#panel-command.surface-command .mission-task{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:10px;padding:14px 0;margin:0;border-top:1px solid var(--command-line);animation:command-task-arrive 280ms ease-out both}
#panel-command.surface-command .mission-task-symbol{display:grid;place-items:center;width:23px;height:23px;font-size:12px;border:1px solid var(--command-line);border-radius:50%;color:var(--command-muted)}
#panel-command.surface-command .mission-task-body>strong{font-size:12px;line-height:1.6;font-weight:550;display:block;overflow-wrap:anywhere}
#panel-command.surface-command .mission-task-body>p{font-size:10px;line-height:1.6;color:var(--command-muted);margin:5px 0 0}
#panel-command.surface-command .mission-task-status{font-size:9px;line-height:1.5;border:1px solid var(--command-line);padding:3px 7px;border-radius:20px;white-space:nowrap;color:var(--command-muted);margin-top:2px}
#panel-command.surface-command .mission-task[data-state="completed"] .mission-task-symbol{color:var(--command-success,#80d5b2);border-color:color-mix(in srgb,var(--command-success,#80d5b2) 35%,transparent)}
#panel-command.surface-command .mission-task[data-state="active"] :is(.mission-task-symbol,.mission-task-status){color:var(--hector-accent-ink,#ffb779);border-color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command .mission-task:is([data-state="uncertain"],[data-state="blocked"],[data-state="approval"],[data-state="failed"]) .mission-task-status{color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command :is(.mission-filter-empty,.mission-continuity-note){font-size:11px;line-height:1.7;color:var(--command-muted);margin:12px 0 0}
#panel-command.surface-command .mission-continuity-note{padding:12px 14px;border-left:2px solid var(--command-line);background:color-mix(in srgb,var(--hector-input,#15171d) 65%,transparent);border-radius:0 8px 8px 0;margin-top:18px}
#panel-command.surface-command .command-voice-reserved{display:flex;gap:10px;align-items:center;align-self:flex-end;margin-top:-5px;color:var(--command-muted)}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-voice-placeholder:disabled{opacity:1!important;background:transparent!important;border:1px solid var(--command-line)!important;color:var(--command-muted)!important;min-height:38px;width:38px;padding:8px;border-radius:50%;cursor:default}
#panel-command.surface-command .command-voice-placeholder svg{display:block;width:20px;height:20px}
#panel-command.surface-command .command-voice-reserved>span{font-size:11px;line-height:1.4}
#panel-command.surface-command .command-voice-reserved small{display:block;font-size:9px;margin-top:3px}
#panel-command.surface-command.command-has-mission [data-intelligent-section="progress"]>h4:first-child,#panel-command.surface-command.command-has-mission [data-intelligent-section="progress"]>h4:first-child+p{display:none}
#panel-command.surface-command .command-mission-board:not([data-connection="connected"]) *{animation:none!important;transition:none!important}
html[data-theme="light"] #panel-command.surface-command{--command-success:#247b56}
@keyframes command-agent-signal{from{box-shadow:0 0 0 0 #ff882840}to{box-shadow:0 0 0 8px #ff882800}}
@keyframes command-task-arrive{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1201px){#panel-command.surface-command .command-content{grid-template-columns:minmax(0,.95fr) minmax(400px,1.05fr)}}
@media(max-width:600px){
 #panel-command.surface-command .command-presence hector-avatar{width:72px;flex-basis:72px;min-height:72px}
 #panel-command.surface-command .command-presence-actions{align-items:flex-start;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
 #panel-command.surface-command .command-state{margin:0;font-size:10px;max-width:100%}
 #panel-command.surface-command .command-mission-jump{min-height:44px}
 #panel-command.surface-command .command-work{padding:18px}
 #panel-command.surface-command .mission-title{font-size:22px}
 #panel-command.surface-command .mission-team-heading{display:block}
 #panel-command.surface-command .mission-team-note{display:block;margin-top:5px}
 #panel-command.surface-command .mission-stat strong{font-size:26px}
 #panel-command.surface-command .mission-stat span{font-size:9px}
 #panel-command.surface-command .mission-agent-network{gap:7px;grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}
 #panel-command.surface-command .mission-task-toolbar{display:block}
 #panel-command.surface-command .mission-task-toolbar>div{margin-top:12px;display:flex}
 html[data-theme] body.dashboard-app #panel-command.surface-command [data-mission-filter]{flex:1;min-height:44px}
 #panel-command.surface-command .mission-task-list{max-height:none}
 #panel-command.surface-command .mission-task{grid-template-columns:23px minmax(0,1fr);gap:7px 10px}
 #panel-command.surface-command .mission-task-status{grid-column:2;justify-self:start;margin-top:0}
 #panel-command.surface-command .mission-task-body>strong{font-size:13px}
 #panel-command.surface-command .mission-task-body>p{font-size:11px}
}
@media(prefers-reduced-motion:reduce){#panel-command.surface-command .command-mission-board *{animation:none!important;transition:none!important}}

/* R4: three immediate answers, then results, then the detail of the work. */
#panel-command.surface-command .command-welcome{padding:12px 0 20px}
#panel-command.surface-command .command-presence hector-avatar{width:108px;flex-basis:108px;min-height:108px}
#panel-command.surface-command .command-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
#panel-command.surface-command .command-overview[hidden]{display:none}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-overview-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;padding:18px 20px;min-width:0;min-height:144px;border:1px solid var(--command-line)!important;border-radius:15px;background:var(--command-surface)!important;color:var(--command-ink)!important;box-shadow:0 8px 28px #00000008;transition:border-color .2s,transform .2s,box-shadow .2s;opacity:1!important}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-overview-card:disabled{cursor:default}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-overview-card:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 10px 26px #00000012}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-overview-card[data-highlight=true]{background:linear-gradient(135deg,color-mix(in srgb,var(--command-surface) 94%,#ff8828),var(--command-surface))!important;border-color:color-mix(in srgb,var(--command-line) 65%,#ff8828)!important}
#panel-command.surface-command .command-overview-label{display:flex;gap:8px;align-items:center;color:var(--command-muted);font-size:9px;font-weight:650;letter-spacing:.12em}
#panel-command.surface-command .command-overview-icon{font-size:14px;color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command .command-overview-title{font-size:17px;font-weight:650;line-height:1.3;letter-spacing:-.025em;text-wrap:balance}
#panel-command.surface-command .command-overview-note{color:var(--command-muted);font-size:11px;line-height:1.6;max-width:36ch;overflow-wrap:anywhere}
#panel-command.surface-command .command-shortcuts{gap:8px;margin-bottom:24px}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-shortcuts button{background:transparent!important;border-color:transparent!important;padding:9px 12px;min-height:44px;font-size:11px}
html[data-theme] body.dashboard-app #panel-command.surface-command .command-shortcuts button:hover{background:var(--command-surface)!important;border-color:var(--command-line)!important}
#panel-command.surface-command .command-work{background:linear-gradient(150deg,color-mix(in srgb,var(--command-surface) 94%,#ff8828),var(--command-surface) 35%);border-radius:19px}
#panel-command.surface-command .mission-board-top{margin-bottom:12px}
#panel-command.surface-command .mission-title{font-size:24px}
#panel-command.surface-command .mission-totals{margin:14px 0 22px}
#panel-command.surface-command .mission-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 24px}
#panel-command.surface-command .mission-results[hidden]{display:none}
#panel-command.surface-command .mission-result-card:only-child{grid-column:1 / -1}
html[data-theme] body.dashboard-app #panel-command.surface-command .mission-result-card{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:7px 10px;text-align:left;min-height:104px;padding:15px 14px;background:var(--hector-input,#20232b)!important;color:var(--command-ink)!important;border:1px solid color-mix(in srgb,var(--command-line) 70%,var(--command-success,#80d5b2))!important;border-radius:13px;transition:transform .2s,border-color .2s}
html[data-theme] body.dashboard-app #panel-command.surface-command .mission-result-card:hover{transform:translateY(-2px);border-color:var(--hector-accent-ink,#ffb779)!important}
#panel-command.surface-command .mission-result-icon{font-size:24px;grid-row:span 2;color:var(--command-success,#80d5b2)}
#panel-command.surface-command .mission-result-title{font-size:13px;font-weight:650;line-height:1.4;padding-right:12px}
#panel-command.surface-command .mission-result-card small{font-size:10px;line-height:1.5;color:var(--command-muted)}
#panel-command.surface-command .mission-result-arrow{position:absolute;right:12px;top:12px;font-size:12px;color:var(--hector-accent-ink,#ffb779)}
#panel-command.surface-command .mission-result-card.is-new-result{animation:command-result-arrive .6s ease-out both}
#panel-command.surface-command .mission-scope-note{font-size:12px;line-height:1.6;color:var(--hector-accent-ink,#ffb779);border-left:2px solid currentColor;padding:8px 12px;margin:12px 0 18px}
#panel-command.surface-command .mission-agent-network{padding-top:31px;overflow:hidden;gap:9px}
#panel-command.surface-command .mission-agent-network:before,#panel-command.surface-command .mission-agent:before{display:none}
#panel-command.surface-command .mission-neural-links{position:absolute;top:0;left:0;width:100%;height:32px;z-index:-1;overflow:visible}
#panel-command.surface-command .mission-neural-links path{fill:none;stroke:var(--command-line);stroke-width:1.1;vector-effect:non-scaling-stroke}
#panel-command.surface-command .mission-neural-links path[data-state=completed]{stroke:var(--command-success,#80d5b2);opacity:.45}
#panel-command.surface-command .mission-neural-links path[data-state=active]{stroke:var(--hector-accent-ink,#ffb779);stroke-width:1.5;stroke-dasharray:5 5;animation:command-neural-signal 1.2s linear 2}
#panel-command.surface-command .mission-task-list{max-height:none;overflow:visible}
#panel-command.surface-command .mission-task{padding:15px 0}
#panel-command.surface-command .mission-task-body>strong{font-size:13px}
#panel-command.surface-command .mission-task-body>p{font-size:11px}
#panel-command.surface-command .mission-task-status{font-size:10px}
html[data-theme] body.dashboard-app #panel-command.surface-command .mission-show-more{width:100%;margin-top:10px;border:1px solid var(--command-line)!important;background:transparent!important;color:var(--command-ink)!important;border-radius:9px;min-height:44px;font-size:12px}
#panel-command.surface-command.command-has-mission .intelligent-workflow>[data-intelligent-section=intro],#panel-command.surface-command.command-has-mission .intelligent-workflow>[data-intelligent-section=safety]{display:none}
#panel-command.surface-command.command-has-mission [data-intelligent-section=task-details][data-has-sensitive-action=false]{display:none}
#panel-command.surface-command [data-intelligent-section=recent]{margin:20px 0 0;padding-top:20px;border-top:1px solid var(--command-line);display:grid;gap:7px}
#panel-command.surface-command [data-intelligent-section=recent]:empty{display:none}
#panel-command.surface-command [data-intelligent-section=recent] h4{margin:0 0 6px;font-size:13px}
#panel-command.surface-command [data-intelligent-section=recent] button{width:100%;padding:12px 14px!important;border-radius:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:12px!important}
#panel-command.surface-command [data-intelligent-section=recent] button[aria-current=true]{border-color:var(--hector-accent-ink,#ffb779)!important}
#panel-command.surface-command [data-intelligent-section=recent] small{font-size:10px;color:var(--command-muted)}
@keyframes command-neural-signal{to{stroke-dashoffset:-20}}
@keyframes command-result-arrive{from{transform:translateY(5px);box-shadow:0 0 0 4px #ff882830}to{transform:translateY(0);box-shadow:0 0 0 0 #ff882800}}
@media(max-width:850px){#panel-command.surface-command .command-overview{gap:9px}html[data-theme] body.dashboard-app #panel-command.surface-command .command-overview-card{padding:15px;min-height:160px}#panel-command.surface-command .command-overview-title{font-size:15px}}
@media(max-width:600px){
 #panel-command.surface-command .command-presence hector-avatar{width:80px;flex-basis:80px;min-height:80px}
 #panel-command.surface-command .command-overview{grid-template-columns:1fr;gap:8px}
 html[data-theme] body.dashboard-app #panel-command.surface-command .command-overview-card{min-height:0;padding:14px 16px;gap:6px}
 #panel-command.surface-command .command-overview-label{font-size:9px}
 #panel-command.surface-command .command-overview-note{max-width:none}
 #panel-command.surface-command .mission-results{grid-template-columns:1fr}
 html[data-theme] body.dashboard-app #panel-command.surface-command .mission-result-card{min-height:84px}
 #panel-command.surface-command .mission-task-body>strong{font-size:13px}
 #panel-command.surface-command .mission-team-heading{margin-bottom:7px}
 #panel-command.surface-command .command-shortcuts{gap:4px;margin-bottom:18px}
}
@media(prefers-reduced-motion:reduce){#panel-command.surface-command .command-overview-card,#panel-command.surface-command .mission-result-card{animation:none!important;transform:none!important;transition:none!important}}
