/* The working surfaces: a personal command center and an inspectable agent handoff. */
.hub-home,.hub-review,.context-workbench{max-width:1400px;margin:0 auto;color:var(--text)}
.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.hub-heading .eyebrow{font-size:11px;letter-spacing:1.7px;margin-bottom:9px;color:var(--muted)}
.hub-heading h1{font-size:32px;letter-spacing:-1.05px;line-height:1.2;font-weight:600}
.hub-heading p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:8px;max-width:650px}
.hub-heading-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}
.hub-profile{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}
.hub-profile>span:last-child{display:flex;align-items:center;gap:7px}
.hub-profile .ui-icon{width:14px;height:14px}
.hub-overline{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1.25px;font-weight:600;color:var(--muted)}
.hub-overline .ui-icon{width:16px;height:16px;color:var(--accent)}
.hub-command{border:1px solid var(--line);border-radius:16px;background:linear-gradient(105deg,#b6a1ff07,transparent 65%),var(--surface);padding:23px 25px;margin-bottom:18px;position:relative;overflow:hidden}
.hub-command:after{content:'';position:absolute;width:230px;height:90px;border:1px solid #b6a1ff0b;border-radius:50%;right:35px;top:-38px;transform:rotate(-20deg);pointer-events:none}
.hub-command-intro{display:flex;align-items:center;gap:13px;margin-bottom:18px;position:relative;z-index:1}
.hub-command-mark{display:grid;place-items:center;width:39px;height:39px;border:1px solid #b6a1ff28;border-radius:12px;background:#b6a1ff0a;color:var(--accent);flex-shrink:0}
.hub-command-mark .ui-icon{width:21px;height:21px}
.hub-command-intro h2{font-size:18px;letter-spacing:-.3px;font-weight:550}
.hub-command-intro p{font-size:13px;margin-top:3px;color:var(--muted)}
.hub-command-intro>a{margin-left:auto;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;white-space:nowrap}
.hub-command-intro>a .ui-icon{width:15px;height:15px}
.hub-command form{display:flex;gap:10px;position:relative;z-index:1}
.hub-command input{flex:1;min-width:0;border:1px solid #ffffff17;border-radius:10px;background:var(--bg);color:var(--text);padding:13px 15px;font-size:14px;line-height:1.6;box-sizing:border-box}
.hub-command input::placeholder{color:var(--muted)}
.hub-command input:focus{border-color:var(--accent);outline:2px solid #b6a1ff15;outline-offset:2px}
.hub-command form .btn{padding-inline:19px;border-radius:10px;font-size:13px}
.hub-command-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:13px}
.hub-command-shortcuts>button,.hub-command-shortcuts>a{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);background:transparent;border:1px solid transparent;border-radius:6px;padding:5px 7px;cursor:pointer}
.hub-command-shortcuts>button:hover,.hub-command-shortcuts>a:hover{color:var(--text);background:var(--raised);border-color:var(--line)}
.hub-command-shortcuts .ui-icon{width:14px;height:14px;flex-shrink:0}
.hub-local-note{font-size:11px;display:flex;align-items:center;gap:6px;margin-left:auto;color:var(--muted)}
.hub-local-note i,.workbench-local i,.workbench-ready i{display:inline-block;width:5px;height:5px;flex-shrink:0;background:var(--green);border-radius:50%}
.hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:26px}
.hub-stat{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:17px 19px;transition:border-color .15s;min-width:0}
.hub-stat:hover{border-color:#ffffff25;color:var(--text)}
.hub-stat>span{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:var(--muted)}
.hub-stat>span .ui-icon{width:14px;height:14px;opacity:.6}
.hub-stat strong{display:block;font-size:29px;font-weight:550;letter-spacing:-.7px;line-height:1.3;margin:9px 0 5px;color:var(--text);font-variant-numeric:tabular-nums}
.hub-stat small{font-size:11px;color:var(--muted);line-height:1.5;display:block}
.hub-stat.violet strong{color:var(--accent)}.hub-stat.mint strong{color:var(--green)}.hub-stat.amber strong{color:var(--amber)}
.hub-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}
.hub-main,.hub-aside{display:grid;gap:22px;min-width:0}
.hub-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px;min-width:0}
.hub-panel .brain-section-title{margin:0 0 16px;display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.hub-panel .brain-section-title h2{font-size:17px;letter-spacing:-.25px;font-weight:550;color:var(--text)}
.hub-panel .brain-section-title p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:5px}
.hub-panel .brain-section-title>a{font-size:12px;white-space:nowrap;color:var(--muted);display:flex;align-items:center;gap:6px;margin-top:2px}
.hub-panel .brain-section-title>a .ui-icon{width:14px;height:14px}
.hub-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);min-width:0}
.hub-row:last-child{border-bottom:0}
.hub-row-icon{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:10px;background:var(--raised);border:1px solid var(--line);color:var(--muted)}
.hub-row-icon .ui-icon{width:17px;height:17px}
.hub-row-main{flex:1;min-width:0}
.hub-row-main strong{display:block;font-size:14px;line-height:1.55;font-weight:500;color:var(--text);overflow-wrap:anywhere}
.hub-row-main>span{display:block;font-size:12px;line-height:1.55;color:var(--muted);margin-top:3px}
.hub-row>.icon-button{display:grid;place-items:center;width:30px;height:30px;border:1px solid transparent;border-radius:8px;color:var(--accent);flex-shrink:0}
.hub-row>.icon-button:hover{background:#b6a1ff0c;border-color:#b6a1ff22}
.hub-row>.icon-button .ui-icon{width:16px;height:16px}
.hub-row-arrow{font-size:15px;color:var(--muted)}
.hub-draft{font-size:11px;color:var(--amber);flex-shrink:0;border:1px solid #e1bb7a22;background:#e1bb7a08;padding:3px 7px;border-radius:5px}
.is-overdue{color:var(--amber)!important}
.hub-subheading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);padding-top:19px;margin-top:9px;border-top:1px solid var(--line)}
.hub-agenda>.hub-subheading:first-child{margin-top:0;padding-top:0;border:0}
.hub-subheading b{font-weight:500;margin-left:5px;color:var(--text);letter-spacing:0}
.hub-subheading>a{display:flex;align-items:center;gap:5px;font-size:11px;text-transform:none;letter-spacing:0;color:var(--muted)}
.hub-subheading>a .ui-icon{width:13px;height:13px}
.hub-empty{padding:23px 3px;max-width:480px}
.hub-empty strong{font-size:15px;line-height:1.5;color:var(--text);font-weight:500;display:block}
.hub-empty p{font-size:13px;color:var(--muted);line-height:1.75;margin:8px 0 11px}
.hub-empty .text-button{font-size:12px;color:var(--accent)}
.hub-recent-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--line);min-width:0}
.hub-recent-row:first-child{border-top:0;padding-top:1px}.hub-recent-row:last-child{padding-bottom:0}
.hub-recent-body{flex:1;min-width:0}
.hub-recent-body strong{font-size:14px;font-weight:500;color:var(--text);line-height:1.6;display:block;overflow-wrap:anywhere}
.hub-recent-body small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-recent-state{display:flex;flex-direction:column;gap:6px;align-items:flex-end;flex-shrink:0}
.hub-recent-state small{font-size:11px;color:var(--muted)}
.hub-recent-state .context-status{font-size:11px}
.hub-recent-row>.ui-icon{width:14px;height:14px;color:var(--muted);opacity:.6;flex-shrink:0}
.hub-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hub-section-head>span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;letter-spacing:1px}
.hub-section-head .ui-icon{width:15px;height:15px;color:var(--amber)}
.hub-section-head>strong{font-size:12px;font-weight:550;border:1px solid #e1bb7a28;background:#e1bb7a08;color:var(--amber);padding:3px 8px;border-radius:6px}
.hub-review-panel h2{font-size:19px;font-weight:550;line-height:1.45;letter-spacing:-.3px;margin:17px 0 8px}
.hub-review-panel>p{font-size:13px;line-height:1.7;color:var(--muted)}
.hub-review-link{display:block;border-bottom:1px solid var(--line);padding:14px 0}
.hub-review-link strong{font-size:13px;font-weight:500;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text)}
.hub-review-link>span{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:11px;margin-top:6px}
.hub-review-link .ui-icon{width:14px;height:14px;flex-shrink:0}
.hub-review-panel>.btn{margin-top:18px;width:100%;font-size:12px}
.hub-foundation h3,.home-agent-pulse h3{font-size:17px;font-weight:550;line-height:1.5;letter-spacing:-.2px;margin:14px 0 10px}
.hub-foundation p,.home-agent-pulse p{font-size:13px;line-height:1.8;color:var(--muted)}
.hub-foundation-links{display:flex;flex-direction:column;gap:0;margin-top:15px;border-top:1px solid var(--line);padding-top:6px}
.hub-foundation-links>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;font-size:12px;color:var(--muted)}
.hub-foundation-links .ui-icon{width:14px;height:14px}
.home-agent-flow{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px;margin:17px 0}
.home-agent-flow>span{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}
.home-agent-flow .ui-icon{width:15px;height:15px;color:var(--accent)}
.home-agent-flow i{font-style:normal;color:var(--green);font-size:19px}
.home-agent-pulse>a{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;padding:7px 0;color:var(--muted)}
.home-agent-pulse>a .ui-icon{width:14px;height:14px}
.hub-browse{margin-top:25px}
.hub-browse-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}
.hub-browse-heading h2{font-size:15px;font-weight:550}
.hub-browse-heading>a{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}
.hub-browse-heading .ui-icon{width:14px;height:14px}
.hub-type-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.hub-type-strip a{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:13px 15px;transition:border-color .15s}
.hub-type-strip a:hover{border-color:#b6a1ff40;background:var(--raised)}
.hub-type-strip .ui-icon{color:var(--muted);width:17px;height:17px;flex-shrink:0}
.hub-type-strip span{font-size:12px;flex:1;color:var(--muted)}
.hub-type-strip strong{font-size:13px;font-weight:550;color:var(--text);font-variant-numeric:tabular-nums}
/* Review is an inspection workflow, never a bulk approval screen. */
.review-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin-bottom:23px}
.review-overview>div{display:flex;align-items:center;gap:12px;min-width:0}
.review-overview-mark{display:grid;place-items:center;width:37px;height:37px;border:1px solid #b6a1ff25;border-radius:10px;background:#b6a1ff0a;color:var(--accent);flex-shrink:0}
.review-overview-mark .ui-icon{width:18px;height:18px}
.review-overview strong{font-size:29px;font-weight:550;letter-spacing:-.7px;font-variant-numeric:tabular-nums}
.review-overview>div>span:last-child{font-size:13px;color:var(--muted)}
.review-overview>p{font-size:12px;color:var(--muted);line-height:1.8;text-align:right}
.review-overview>p>span{padding:0 6px;color:var(--dim)}
.hub-review-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}
.hub-review-tabs button{display:flex;align-items:center;gap:8px;background:transparent;border:1px solid transparent;color:var(--muted);font-size:12px;border-radius:8px;padding:9px 11px;cursor:pointer;min-height:37px}
.hub-review-tabs button:hover{background:var(--surface);color:var(--text)}
.hub-review-tabs button.selected{background:#b6a1ff10;border-color:#b6a1ff28;color:var(--accent)}
.hub-review-tabs button>span{font-size:11px;background:#ffffff08;padding:1px 5px;border-radius:4px}
.hub-review-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:22px 0}
.hub-review-summary strong{display:block;font-size:14px;font-weight:500;color:var(--text)}
.hub-review-summary p{font-size:12px;line-height:1.75;color:var(--muted);margin-top:5px;max-width:650px}
.hub-review-summary>span{font-size:11px;color:var(--muted);white-space:nowrap;padding-top:3px}
.review-work-list{padding:3px 22px}
.review-work-item{display:flex;align-items:center;gap:14px;padding:19px 0;border-bottom:1px solid var(--line)}
.review-work-item:last-child{border-bottom:0}
.review-work-item>div{flex:1;min-width:0}
.review-item-title{font-size:15px;font-weight:500;line-height:1.65;color:var(--text);display:block;overflow-wrap:anywhere}
.review-reasons{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}
.review-reason{border:1px solid #e1bb7a22;background:#e1bb7a06;color:var(--amber);font-size:11px;line-height:1.5;padding:3px 7px;border-radius:5px}
.review-work-item small{font-size:12px;color:var(--muted)}
.review-work-item>.btn{flex-shrink:0;font-size:12px;min-height:35px}
/* Workbench control rail. All handoff validation remains visible above the inspector. */
.workbench-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:23px;align-items:start}
.workbench-controls{position:sticky;top:24px;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:22px;min-width:0}
.workbench-control-heading{display:flex;align-items:center;gap:10px;margin-bottom:22px}
.workbench-control-heading>span{display:grid;place-items:center;width:27px;height:27px;background:#b6a1ff0b;border:1px solid #b6a1ff25;border-radius:8px;color:var(--accent);font-size:11px}
.workbench-control-heading h2{font-size:15px;font-weight:550;letter-spacing:-.1px}
.workbench-controls form>label{display:block;font-size:13px;line-height:1.5;color:var(--text);margin:0 0 9px;font-weight:500}
.workbench-controls textarea{width:100%;box-sizing:border-box;min-height:155px;height:155px;resize:vertical;background:var(--bg);border:1px solid #ffffff17;border-radius:9px;padding:12px;color:var(--text);font-size:14px;line-height:1.75}
.workbench-controls textarea::placeholder{color:var(--muted)}
.workbench-controls textarea:focus,.workbench-field select:focus{border-color:var(--accent);outline:2px solid #b6a1ff13;outline-offset:2px}
.workbench-examples{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.workbench-examples button{font-size:11px;color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:6px;padding:5px 8px;cursor:pointer}
.workbench-examples button:hover{color:var(--accent);border-color:#b6a1ff35;background:#b6a1ff06}
.workbench-field{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.workbench-field label{display:block;font-size:13px;font-weight:500;color:var(--text);margin-bottom:9px}
.workbench-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.workbench-label .text-button{font-size:11px;display:flex;align-items:center;gap:4px;color:var(--accent)}
.workbench-label .ui-icon{width:12px;height:12px}
.workbench-field select{width:100%;font-size:12px;background:var(--bg);color:var(--text);border:1px solid #ffffff17;border-radius:8px;padding:10px}
.workbench-hint{font-size:12px;line-height:1.75;color:var(--muted);margin:9px 0 0}
.context-focus-list{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:30px}
.context-focus-list>.workbench-hint{margin-top:0}
.context-focus-chip{display:flex;align-items:center;gap:6px;max-width:100%;border:1px solid #b6a1ff2b;border-radius:7px;background:#b6a1ff0c;color:var(--accent);padding:6px 8px;font-size:12px}
.context-focus-chip>a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.context-focus-chip>.ui-icon{width:14px;height:14px;flex-shrink:0}
.context-focus-chip button{border:0;background:transparent;color:var(--accent);cursor:pointer;font-size:16px;line-height:1;padding:0 2px}
.workbench-controls form>.workbench-drafts{font-size:12px;line-height:1.6;display:flex;align-items:flex-start;gap:9px;margin:20px 0!important;font-weight:400}
.workbench-drafts input{margin-top:4px;accent-color:var(--accent)}
.workbench-drafts small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.workbench-build{width:100%;justify-content:center;font-size:13px!important;min-height:42px}
.workbench-local{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:var(--muted);line-height:1.6;margin-top:12px}
.workbench-loop{display:flex;align-items:flex-start;gap:11px;border-top:1px solid var(--line);padding-top:20px;margin-top:21px}
.workbench-loop>span{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;border:1px solid var(--line);background:var(--raised);color:var(--muted);flex-shrink:0}
.workbench-loop>span .ui-icon{width:16px;height:16px}
.workbench-loop strong{font-size:12px;font-weight:500;color:var(--text)}
.workbench-loop p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:5px}
.workbench-loop a{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:var(--accent);margin-top:9px}
.workbench-loop a .ui-icon{width:13px;height:13px}
.workbench-results{min-width:0}
.workbench-empty{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:24px 28px 29px;min-height:575px}
.workbench-empty-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.workbench-empty-heading .hub-overline{font-size:10px}
.workbench-ready{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;white-space:nowrap}
.workbench-empty-art{display:flex;align-items:center;justify-content:center;gap:0;max-width:330px;margin:49px auto 37px}
.workbench-empty-art>span{display:grid;place-items:center;width:47px;height:47px;flex-shrink:0;border:1px solid var(--line);border-radius:13px;color:var(--muted);background:var(--raised)}
.workbench-empty-art>span .ui-icon{width:21px;height:21px}
.workbench-empty-art>i{height:1px;flex:1;background:linear-gradient(90deg,var(--line),#b6a1ff65)}
.workbench-empty-art>i:last-of-type{background:linear-gradient(90deg,#b6a1ff65,var(--line))}
.workbench-empty-art>b{display:grid;place-items:center;width:67px;height:67px;border:1px solid #b6a1ff4a;background:var(--bg);border-radius:50%;color:var(--accent);box-shadow:0 0 0 8px #b6a1ff03,0 0 0 9px #b6a1ff10;flex-shrink:0;margin:0 9px}
.workbench-empty-art>b .ui-icon{width:25px;height:25px}
.workbench-empty>h2{text-align:center;font-size:24px;font-weight:550;letter-spacing:-.6px;line-height:1.4;max-width:450px;margin:auto}
.workbench-empty>p{text-align:center;font-size:13px;line-height:1.9;color:var(--muted);max-width:455px;margin:12px auto 28px}
.workbench-promises{border-top:1px solid var(--line);padding-top:9px;max-width:470px;margin:auto}
.workbench-promises>div{display:flex;gap:12px;align-items:flex-start;padding:13px 0}
.workbench-promises>.ui-icon,.workbench-promises>div>.ui-icon{width:17px;height:17px;color:var(--muted);flex-shrink:0;margin-top:3px}
.workbench-promises strong{display:block;font-size:13px;font-weight:500;color:var(--text)}
.workbench-promises small{display:block;font-size:12px;line-height:1.8;color:var(--muted);margin-top:3px}
/* Context inspector: useful metrics, trust state, then focused navigation. */
.workbench-result-header{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:23px}
.workbench-result-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.workbench-result-top h2{font-size:23px;font-weight:550;letter-spacing:-.55px;line-height:1.3;margin-top:9px}
.workbench-result-top .hub-overline{font-size:10px;color:var(--accent)}
.workbench-generated{font-size:11px;color:var(--muted);white-space:nowrap}
.workbench-task-summary{font-size:13px;color:var(--muted);line-height:1.8;margin-top:11px;overflow-wrap:anywhere}
.workbench-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:20px 0 18px;margin-top:15px;border-block:1px solid var(--line)}
.workbench-metrics>span{font-size:11px;color:var(--muted);line-height:1.5}
.workbench-metrics strong{display:block;font-size:25px;font-weight:550;letter-spacing:-.6px;color:var(--text);line-height:1.3;margin-bottom:4px;font-variant-numeric:tabular-nums}
.context-budget{margin-top:18px}
.context-budget>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}
.context-budget strong{font-size:12px;color:var(--text);font-weight:500}.context-budget strong small{font-size:11px;color:var(--muted);font-weight:400}
.context-budget progress{appearance:none;display:block;width:100%;height:4px;border:0;border-radius:9px;overflow:hidden;background:var(--raised);margin-top:9px;color:var(--accent)}
.context-budget progress::-webkit-progress-bar{background:var(--raised)}.context-budget progress::-webkit-progress-value{background:var(--accent);border-radius:9px}.context-budget progress::-moz-progress-bar{background:var(--accent);border-radius:9px}
.context-budget p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:8px}
.workbench-handoff{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:21px}
.workbench-handoff .btn{font-size:12px;min-height:39px}
.workbench-handoff>span{font-size:10px;color:var(--muted);margin-left:auto}
.workbench-stale{font-size:12px!important;color:var(--amber)!important;line-height:1.7;margin-top:15px!important}
.context-freshness{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:18px 20px;margin:15px 0 18px}
.context-freshness.is-current{border-color:#85d8c12c;background:#85d8c105}.context-freshness.needs-attention{border-color:#e1bb7a35;background:#e1bb7a05}
.context-freshness-heading{display:flex;align-items:flex-start;gap:11px}
.context-freshness-heading>.ui-icon{width:18px;height:18px;color:var(--accent);flex-shrink:0;margin-top:2px}
.context-freshness.is-current .context-freshness-heading>.ui-icon{color:var(--green)}.context-freshness.needs-attention .context-freshness-heading>.ui-icon{color:var(--amber)}
.context-freshness-heading strong{font-size:13px;font-weight:500;color:var(--text);line-height:1.6;display:block}
.context-freshness-heading p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:5px}
.context-freshness-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:13px 0 0 29px}
.context-freshness-actions>.btn{font-size:11px;min-height:32px}
.context-freshness-actions>span{font-size:11px;color:var(--muted);line-height:1.7}
.context-changes{list-style:none;padding:0;margin:13px 0 0 29px;border-top:1px solid var(--line)}
.context-changes li{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}
.context-changes li>div{flex:1;min-width:0}.context-changes a,.context-changes li>div>span{font-size:12px;line-height:1.7;color:var(--amber);overflow-wrap:anywhere}
.context-changes small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.context-changes li>span{font-size:11px;color:var(--muted);line-height:1.7}
.context-check-limits{border-top:1px solid var(--line);margin:14px 0 0 29px;padding-top:11px}
.context-check-limits summary{cursor:pointer;font-size:11px;color:var(--muted)}.context-check-limits ul{padding-left:18px;margin:8px 0 0}.context-check-limits li{font-size:11px;color:var(--muted);line-height:1.8;padding:3px 0}
.context-gap{border:1px solid #e1bb7a2b;background:#e1bb7a05;border-radius:10px;padding:15px 18px;margin:13px 0;color:var(--amber)}
.context-gap strong{display:block;font-size:13px;font-weight:500;line-height:1.6}.context-gap p{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0 0}.context-gap p b{font-weight:500;color:var(--amber)}
.context-gap summary{font-size:12px;cursor:pointer;line-height:1.7;font-weight:500}.context-gap summary>span{margin-left:9px;font-size:11px;color:var(--muted);font-weight:400}
.context-budget-note{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.8;color:var(--muted);margin:14px 1px}.context-budget-note .ui-icon{width:14px;height:14px;flex-shrink:0;margin-top:3px}
.context-inspector-nav{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--line);padding:8px 0 0;margin-top:16px;overflow-x:auto}
.context-inspector-nav button{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:5px 5px 0 0;padding:12px 11px;color:var(--muted);cursor:pointer}
.context-inspector-nav button.selected{border-bottom-color:var(--accent);color:var(--accent);background:#b6a1ff05}
.context-inspector-nav button:hover{color:var(--text);background:var(--surface)}
.context-inspector-nav button>span{font-size:10px;background:var(--raised);border-radius:4px;padding:1px 5px;color:var(--muted)}
.workbench-section{margin-top:22px}
.inspector-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.inspector-section-heading h3{font-size:15px;letter-spacing:-.1px;font-weight:550;line-height:1.5}
.inspector-section-heading p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:5px;max-width:560px}
.inspector-section-heading>span{font-size:11px;color:var(--muted);white-space:nowrap;margin-top:4px}
.context-evidence-list{display:grid;gap:13px}
.context-evidence{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:20px;min-width:0}
.context-evidence-heading{display:flex;align-items:flex-start;gap:11px}
.context-evidence-number{color:var(--dim);font-size:11px;line-height:23px;font-variant-numeric:tabular-nums;flex-shrink:0}
.context-evidence-heading>div{flex:1;min-width:0}
.context-evidence h4{font-size:15px;font-weight:550;line-height:1.6;letter-spacing:-.1px;color:var(--text);margin:0;overflow-wrap:anywhere}
.context-open-source{color:var(--muted);margin-top:2px;flex-shrink:0}.context-open-source .ui-icon{width:15px;height:15px}
.context-evidence-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.6}
.context-evidence-meta .context-status{font-size:10px}
.context-evidence-preview{font-size:14px;color:var(--muted);line-height:1.85;margin:17px 0 14px;overflow-wrap:anywhere}
.context-evidence-preview mark{background:#b6a1ff11;color:var(--text);border-radius:3px;padding:0 2px}
.context-selection-reasons{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
.context-selection-reasons>span{font-size:10px;line-height:1.6;border:1px solid var(--line);border-radius:5px;background:var(--raised);color:var(--muted);padding:3px 6px}
.context-exact-excerpt{border:1px solid var(--line);background:var(--bg);border-radius:8px;margin:15px 0;overflow:hidden}
.context-exact-excerpt>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--accent);padding:11px 12px;line-height:1.6;cursor:pointer;list-style:none}
.context-exact-excerpt>summary:before{content:'+';font-size:14px;color:var(--muted);flex-shrink:0}
.context-exact-excerpt[open]>summary:before{content:'−'}
.context-exact-excerpt>summary>span{flex:1}.context-exact-excerpt>summary small{font-size:10px;color:var(--muted);white-space:nowrap}
.context-exact-excerpt>div{border-top:1px solid var(--line);padding:17px;font-size:13px;color:var(--text);line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;max-height:460px;overflow:auto}
.context-exact-excerpt>p{font-size:11px;color:var(--muted);line-height:1.8;border-top:1px solid var(--line);padding:11px 15px;margin:0}
.context-evidence-source{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:13px;margin-top:13px;font-size:11px;color:var(--muted);line-height:1.6}
.context-evidence-source>a{display:flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}
.context-evidence-source>a:last-child{flex-shrink:0;color:var(--accent)}
.context-evidence-source .ui-icon{width:13px;height:13px;flex-shrink:0}
.workbench-object-links{display:grid;gap:12px}
.workbench-object-links>article{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px}
.workbench-object-links>article>div:first-child{display:flex;align-items:center;gap:11px}
.workbench-object-links>article>div:first-child>span:nth-child(2){flex:1;min-width:0}
.workbench-object-links strong{display:block;font-size:14px;line-height:1.6;font-weight:550;color:var(--text);overflow-wrap:anywhere}
.workbench-object-links small{display:block;font-size:11px;color:var(--muted);text-transform:capitalize}
.workbench-object-links .context-status{font-size:11px}
.workbench-object-links dl{margin:15px 0;display:grid;gap:8px}
.workbench-object-links dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:12px;line-height:1.7}.workbench-object-links dt{color:var(--muted);text-transform:capitalize}.workbench-object-links dd{margin:0;color:var(--text);overflow-wrap:anywhere}
.context-connected-records{border-top:1px solid var(--line);padding-top:8px;margin-top:12px}
.context-connected-records>a{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding:7px 0}.context-connected-records small{font-size:10px;flex-shrink:0}.context-connected-records .ui-icon{width:13px;height:13px;margin-left:auto;flex-shrink:0}
.context-object-open{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--accent);border-top:1px solid var(--line);padding-top:12px;margin-top:13px}.context-object-open .ui-icon{width:14px;height:14px}
.guide-list{display:grid;gap:10px}.guide-list>details{border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}
.guide-list summary{display:flex;align-items:center;gap:9px;padding:15px;cursor:pointer}.guide-list summary .ui-icon{width:16px;height:16px;color:var(--accent);flex-shrink:0}.guide-list summary strong{font-size:13px;font-weight:500;flex:1;color:var(--text);overflow-wrap:anywhere}.guide-list summary>span{font-size:11px;color:var(--muted);flex-shrink:0}
.guide-list pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:450px;overflow:auto;font-family:inherit;font-size:13px;line-height:1.9;color:var(--text);padding:18px;margin:0;border-top:1px solid var(--line);background:var(--bg)}
.guide-list details>a{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--line);font-size:11px;color:var(--accent)}.guide-list details>a .ui-icon{width:13px;height:13px}
.workbench-payload{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;margin-top:15px}.workbench-payload>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--text)}.workbench-payload small{font-size:10px;color:var(--muted)}
.workbench-payload pre{font-size:12px;line-height:1.8;max-height:650px;overflow:auto;padding:20px;margin:0;background:var(--bg);color:var(--muted);white-space:pre;tab-size:2}
.hub-focus-search{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.hub-focus-search input{flex:1;min-width:120px}.focus-search-result{display:flex;align-items:center;gap:12px;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:none;width:100%;text-align:left;color:var(--accent);cursor:pointer}.focus-search-result>span{flex:1;min-width:0}.focus-search-result strong{display:block;font-size:14px;font-weight:500;color:var(--text);overflow-wrap:anywhere}.focus-search-result small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.focus-search-result>.ui-icon{width:17px;height:17px;flex-shrink:0}.manual-brief{width:100%;height:400px;font-size:13px;line-height:1.75}
@media(min-width:1600px){.hub-grid{grid-template-columns:minmax(0,1fr) 335px}.workbench-layout{grid-template-columns:320px minmax(0,1fr)}.workbench-object-links{grid-template-columns:repeat(2,minmax(0,1fr))}.workbench-object-links>article>div:first-child{flex-wrap:wrap}.workbench-object-links .context-status{margin-left:46px}.workbench-object-links dl>div{grid-template-columns:85px minmax(0,1fr)}}
@media(max-width:1180px){.hub-profile{display:none}.hub-grid{grid-template-columns:minmax(0,1fr) 275px;gap:18px}.hub-panel{padding:19px}.hub-stat{padding:16px}.hub-stat small{font-size:10px}.hub-local-note{display:none}.workbench-layout{grid-template-columns:270px minmax(0,1fr);gap:18px}.workbench-controls{padding:18px}.workbench-handoff>span{width:100%;margin-left:0}.workbench-empty{padding:22px;min-height:565px}.workbench-empty-heading{align-items:flex-start}.workbench-empty-heading .hub-overline{font-size:9px}.workbench-ready{font-size:10px}.hub-review-summary>span{display:none}.review-overview{align-items:flex-start}.review-overview>p{max-width:230px}.workbench-generated{font-size:10px}}
@media(max-width:980px){.hub-grid{grid-template-columns:1fr}.hub-aside{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-agent-pulse{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.home-agent-pulse .hub-overline,.home-agent-pulse h3,.home-agent-pulse>p{grid-column:1}.home-agent-flow{grid-column:2;grid-row:1/4;align-self:center}.home-agent-pulse>a{grid-column:2}.home-agent-pulse h3{margin-bottom:7px}.hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-stat>span{font-size:12px}.hub-stat small{font-size:11px}.workbench-layout{grid-template-columns:1fr}.workbench-controls{position:static}.workbench-controls textarea{height:115px;min-height:100px}.workbench-loop{display:none}.workbench-empty{min-height:480px}.workbench-empty-art{margin-top:30px;margin-bottom:27px}.workbench-empty-heading .hub-overline{font-size:10px}.workbench-ready{font-size:11px}.workbench-handoff>span{width:auto;margin-left:auto}.review-overview{flex-direction:column;gap:12px}.review-overview>p{max-width:none;text-align:left}.hub-recent-panel .hub-recent-list{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.hub-recent-row:nth-child(2){border-top:0;padding-top:1px}.hub-recent-state{display:none}}
@media(max-width:620px){.hub-heading{align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:22px}.hub-heading h1{font-size:28px}.hub-heading p{font-size:13px}.hub-heading .btn{font-size:12px}.hub-heading-actions{width:100%}.hub-command{padding:20px}.hub-command-intro>a{display:none}.hub-command-intro{gap:10px}.hub-command-intro h2{font-size:16px}.hub-command-intro p{font-size:12px}.hub-command form{flex-direction:column}.hub-command input{font-size:13px}.hub-command-shortcuts{gap:4px}.hub-command-shortcuts>button,.hub-command-shortcuts>a{font-size:11px;padding-inline:3px}.hub-stats{gap:9px;margin-bottom:19px}.hub-stat{padding:14px}.hub-stat>span{font-size:11px}.hub-stat>span .ui-icon{display:none}.hub-stat strong{font-size:26px}.hub-stat small{font-size:10px}.hub-aside{grid-template-columns:1fr}.home-agent-pulse{display:block;grid-column:auto}.hub-panel{padding:18px}.hub-row{gap:9px}.hub-row-main strong{font-size:13px}.hub-draft{font-size:10px;max-width:58px;padding:3px 5px;text-align:center}.hub-type-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-type-strip a{padding:12px}.hub-recent-panel .hub-recent-list{display:block}.hub-recent-row:nth-child(2){border-top:1px solid var(--line);padding-top:14px}.review-overview{padding:18px}.review-overview>div{gap:10px;flex-wrap:wrap}.review-overview>div>span:last-child{font-size:12px}.review-overview>p{font-size:11px}.hub-review-tabs{gap:4px}.hub-review-tabs button{font-size:11px;padding:8px}.hub-review-summary{margin:18px 0}.review-work-item{gap:11px;flex-wrap:wrap}.review-work-item>div{flex-basis:calc(100% - 49px)}.review-work-item>.btn{margin-left:46px;font-size:11px}.review-item-title{font-size:14px}.review-reason{font-size:10px}.review-work-item small{font-size:11px}.workbench-empty{padding:21px;min-height:0}.workbench-empty-heading{gap:8px}.workbench-empty-heading .hub-overline{font-size:9px}.workbench-ready{font-size:10px}.workbench-empty>h2{font-size:21px}.workbench-empty-art{margin-top:33px;max-width:260px}.workbench-empty>p{font-size:12px}.workbench-result-header{padding:19px}.workbench-result-top{align-items:flex-start;gap:10px}.workbench-generated{max-width:80px;text-align:right;line-height:1.7}.workbench-result-top h2{font-size:22px}.workbench-metrics{gap:10px}.workbench-metrics strong{font-size:22px}.workbench-metrics>span{font-size:10px}.context-budget>div{align-items:flex-start}.context-budget strong{font-size:11px}.context-budget strong small{font-size:10px}.workbench-handoff>span{width:100%;margin-left:0}.workbench-handoff .btn{font-size:11px}.context-freshness{padding:17px}.context-freshness-actions,.context-changes,.context-check-limits{margin-left:0}.context-freshness-actions>span{width:100%}.context-changes li{gap:9px}.context-gap{padding:14px}.context-gap summary{font-size:11px}.context-gap summary>span{display:block;margin:4px 0 0}.context-inspector-nav{gap:0}.context-inspector-nav button{font-size:11px;padding:11px 9px;gap:5px}.context-inspector-nav button>span{font-size:9px}.inspector-section-heading>span{display:none}.inspector-section-heading p{font-size:11px}.context-evidence{padding:17px}.context-evidence-heading{gap:8px}.context-evidence h4{font-size:14px}.context-evidence-preview{font-size:13px}.context-evidence-meta{gap:7px;font-size:10px}.context-exact-excerpt>summary{gap:7px;font-size:10px}.context-exact-excerpt>summary small{font-size:9px}.context-exact-excerpt>div{padding:14px;font-size:12px}.context-evidence-source{flex-wrap:wrap;gap:9px;font-size:10px}.context-evidence-source>a:last-child{margin-left:auto}.workbench-object-links dl>div{grid-template-columns:85px minmax(0,1fr);font-size:11px}.workbench-payload>div{align-items:flex-start;flex-direction:column;gap:4px}.workbench-payload pre{font-size:11px;padding:16px}.guide-list summary{padding:13px;gap:7px}.guide-list summary strong{font-size:12px}.guide-list summary>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hub-stat,.hub-type-strip a{transition:none}}

.context-file-links{margin:14px 0;padding:14px 0;border-top:1px solid var(--line);display:grid;gap:8px}.context-file-links>small{font-size:10px;color:var(--muted)}.context-file-links>a{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--accent);min-width:0}.context-file-links>a>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.context-file-links .ui-icon{width:14px;height:14px;flex-shrink:0}.context-file-links>p{font-size:11px;margin:0}
