/* Shared visual language: information first, work remains one click away. */
.sidebar { background: linear-gradient(165deg, #102b47 0%, #08182c 80%); border-right: 1px solid #142e49; }
.sidebar__brand { padding-top: 12px; padding-bottom: 44px; }
.sidebar__brand-logo { width: 154px; }
.sidebar__link { border-radius: 9px; transition: background 160ms ease, color 160ms ease; }
.page__header { padding-bottom: 20px; border-bottom: 1px solid var(--color-border); margin-bottom: 28px; }
.main-canvas { background: var(--color-canvas); }
.workbench { gap: 20px; }
.workbench-content { display: grid; gap: 24px; }
.role-workbench__hero { background: transparent; border: 0; box-shadow: none; padding: 0; gap: 22px; }
.role-workbench__hero-copy { position: relative; padding: 6px 190px 6px 0; min-height: 94px; }
.workbench-welcome { margin: 0 0 10px; font-size: clamp(24px,2.3vw,34px); font-weight: 650; letter-spacing: -.035em; color: var(--color-text); line-height: 1.3; }
.role-workbench__hero-copy > .muted { font-size: 15px; line-height: 1.7; margin: 0; }
.workbench-record-action { position: absolute; right: 0; top: 14px; min-height: 46px; padding-inline: 23px; background: linear-gradient(130deg,#009eaa,#007c89); border-color: #008d99; box-shadow: 0 5px 16px #008d9920; }
.role-workbench__hero > .metric-strip { background: white; border: 1px solid var(--color-border); border-radius: 12px; padding: 18px 8px; gap: 0; box-shadow: 0 3px 16px #16365904; }
.role-workbench__hero .metric { background: transparent; border: 0; border-radius: 0; border-right: 1px solid var(--color-border); padding: 2px 24px; min-width: 0; }
.role-workbench__hero .metric:last-child { border-right: 0; }
.role-workbench__hero .metric__value { font-size: 30px; line-height: 1.4; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.role-workbench__hero .metric__label { color: var(--color-muted); font-size: 13px; }
.workbench-collaboration-feed { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: start; gap: 22px; }
.work-activity, .assistant-status-page--compact { border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); padding: 24px; min-width: 0; box-shadow: 0 5px 24px #17355704; }
.work-activity__header, .work-activity__byline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-activity__header h2, .assistant-status-page--compact h2 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; margin: 0 0 8px; }
.work-activity__header p { margin: 0; font-size: 13px; }
.work-activity__header .button { font-size: 12px; white-space: nowrap; padding: 8px 12px; }
.work-activity__status { font-size: 12px; color: var(--color-muted); margin: 14px 0 0; min-height: 18px; }
.work-activity__timeline { list-style: none; padding: 0; margin: 16px 0 0; max-height: 530px; overflow-y: auto; scrollbar-width: thin; }
.work-activity__row { position: relative; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 0 4px 26px 0; animation: work-appear 280ms ease both; }
.work-activity__row:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 39px; bottom: 4px; width: 1px; background: var(--color-border); }
.work-activity__row:last-child { padding-bottom: 0; }
.work-activity__avatar { width: 36px; height: 36px; display: grid; place-items: center; background: #e6f5f6; color: #087781; border: 1px solid #d4ecee; border-radius: 50%; font-weight: 600; }
.work-activity__byline { font-size: 12px; margin-bottom: 7px; color: var(--color-muted); flex-wrap: wrap; }
.work-activity__byline strong { color: var(--color-text); font-weight: 600; }
.work-activity__row h3 { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 0 0 6px; overflow-wrap: anywhere; }
.work-activity__summary { font-size: 13px; color: var(--color-muted); line-height: 1.75; margin: 0 0 10px; overflow-wrap: anywhere; }
.work-activity__row footer { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; font-size: 11px; color: var(--color-muted); }
.work-activity__source { color: #43657b; }
.work-activity__link { color: #087b89; text-decoration: none; font-size: 13px; font-weight: 550; }
.work-activity__link:hover { color: #005b66; text-decoration: underline; }
.assistant-status-page--compact { position: relative; overflow: hidden; gap: 16px; }
.assistant-status-page--compact::before { content: ''; position: absolute; height: 3px; inset: 0 0 auto; background: linear-gradient(90deg,#00a7b0,#a6e5e9,transparent); }
.assistant-status-page--compact .assistant-activity__header { display: block; }
.assistant-status-page--compact .assistant-activity__header .muted { margin: 0; font-size: 13px; }
.assistant-status-page--compact .assistant-activity__updated { font-size: 11px; margin-top: 10px; }
.assistant-status-page--compact .assistant-activity__summary { display: none; }
.assistant-status-page--compact .assistant-activity__list { gap: 0; }
.assistant-status-page--compact .assistant-activity-card { border: 0; box-shadow: none; border-radius: 0; padding: 18px 0; border-top: 1px solid var(--color-border); background: transparent; }
.assistant-status-page--compact .assistant-activity-card__heading { gap: 10px; }
.assistant-status-page--compact .operations-card__title { font-size: 15px; line-height: 1.6; }
.assistant-status-page--compact .assistant-activity-card__next { background: #f1f8fa; border: 0; border-radius: 8px; padding: 12px 14px; }
.assistant-status-page--compact .assistant-activity-card__state { white-space: nowrap; font-size: 11px; }
.assistant-status-page--compact .state-view { border: 0; box-shadow: none; padding: 25px 0; background: transparent; }
.workbench__intake-bar { border: 1px solid var(--color-border); border-radius: 12px; padding: 16px 20px; background: var(--color-surface); }
.workbench-filter-disclosure { background: var(--color-surface); }
.button, .field__control, summary { transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #39abb8; outline-offset: 3px; }
@keyframes work-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) { .workbench-collaboration-feed { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 16px; } .work-activity, .assistant-status-page--compact { padding: 18px; } }
@media (max-width: 800px) { .workbench-collaboration-feed { grid-template-columns: minmax(0,1fr); } .role-workbench__hero-copy { padding-right: 0; } .workbench-record-action { position: static; margin-top: 18px; } .work-activity__timeline { max-height: none; } .role-workbench__hero .metric { padding-inline: 14px; } .page__header { margin-bottom: 20px; } }
@media (max-width: 540px) { .work-activity, .assistant-status-page--compact { padding: 18px 16px; } .work-activity__header { align-items: flex-start; } .work-activity__header p { max-width: 18em; } .work-activity__header .button { min-height: 44px; } .workbench__intake-bar { flex-wrap: wrap; } .role-workbench__hero > .metric-strip { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 20px; } .role-workbench__hero .metric:nth-child(2n) { border-right: 0; } .workbench-welcome { font-size: 25px; } .work-activity__row { grid-template-columns: 30px minmax(0,1fr); gap: 10px; } .work-activity__avatar { width: 30px; height: 30px; } .work-activity__row:not(:last-child)::before { left: 14px; top: 34px; } }
@media (prefers-reduced-motion: reduce) { .work-activity__row { animation: none; } .button,.field__control,summary { transition: none; } }
.sidebar { color: #eaf2fb; }
.sidebar .navigation-link, .sidebar__profile > summary, .sidebar__logout { color: #c9d8e8; }
.sidebar .navigation-link:hover, .sidebar__profile > summary:hover { background: #193a56; color: #fff; }
.sidebar .navigation-link[aria-current="page"] { color: #fff; background: #087e8c; }
.sidebar__footer { color: #a9b9cb; border-color: #24405c; }
.sidebar__brand-logo { background: #fff; border-radius: 8px; padding: 10px; width: 160px; }
.role-workbench__hero { grid-template-columns: minmax(0,1fr); }
.role-workbench__hero > .metric-strip { width: 100%; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); }
.assistant-status-page--compact .assistant-activity__list { grid-template-columns: minmax(0,1fr); }
.assistant-status-page--compact .assistant-activity-card__detail,
.assistant-status-page--compact .assistant-activity-card__next { grid-template-columns: minmax(0,1fr); gap: 6px; font-size: 13px; line-height: 1.7; }
.assistant-status-page--compact .assistant-activity-card__conclusion { flex-basis: 12rem; }

.workbench-collaboration-feed--staff { grid-template-columns: minmax(0,1fr); }
/* Collaboration stage: real operational counts and direct work controls. */
.role-workbench__hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(220px,.8fr); gap: 0; padding: 32px 36px 0; color: #fff; background: #0c233b; border: 1px solid #18384f; border-radius: 18px; box-shadow: 0 20px 45px #10294314; }
.role-workbench__hero::before { content:''; position:absolute; inset:0; pointer-events:none; z-index:-1; background: radial-gradient(ellipse at 92% 30%,#087c8655,transparent 58%), linear-gradient(115deg,#18365044,transparent 55%); }
.role-workbench__hero-copy { padding: 0 0 28px; min-height: 0; }
.workbench-welcome { color:#a4c1d1; font-size:13px; font-weight:500; letter-spacing:.02em; margin:0 0 14px; }
.workbench-stage-title { font-size:clamp(26px,2.6vw,38px); line-height:1.25; font-weight:650; letter-spacing:-.035em; margin:0 0 12px; color:#fff; }
.role-workbench__hero-copy > .muted { color:#9fb6c8; font-size:14px; }
.workbench-stage-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.workbench-record-action { position:static; margin:0; min-height:44px; padding:0 22px; background:#34d6cc; border-color:#34d6cc; color:#06343d; font-weight:650; box-shadow:0 6px 22px #1ed4ce18; }
.workbench-record-action:hover { background:#73e8df; color:#06343d; border-color:#73e8df; }
.workbench-focus-action { min-height:44px; padding:0 18px; color:#d9e8f2; background:#ffffff08; border:1px solid #486074; }
.workbench-focus-action:hover { background:#ffffff15; border-color:#7393a8; color:#fff; }
.workbench-stage-art { position:relative; min-height:210px; width:100%; max-width:370px; justify-self:center; }
.stage-orbit { position:absolute; border:1px solid #58c8d12b; border-radius:50%; inset:1% 12% 12%; transform:rotate(-22deg); }
.stage-orbit--inner { inset:18% 25% 28%; border-color:#5ac9da40; }
.stage-orbit--outer::before,.stage-orbit--inner::before { content:''; position:absolute; top:14%; left:10%; width:7px; height:7px; border-radius:50%; background:#57ded8; box-shadow:0 0 18px #57ded8; }
.stage-orbit--inner::before { top:auto; left:auto; bottom:12%; right:9%; width:5px; height:5px; }
.stage-core { position:absolute; top:33%; left:50%; transform:translateX(-50%); display:grid; place-items:center; width:75px; height:75px; border-radius:22px; border:1px solid #49cfc65c; background:linear-gradient(145deg,#167d8460,#133b54a0); box-shadow:0 0 42px #13a4b71c,inset 0 1px #bdfbf02e; color:#b9f2ed; font-size:18px; letter-spacing:.12em; }
.stage-satellite { position:absolute; padding:8px 13px; border:1px solid #5489a33a; border-radius:7px; background:#183b51d9; color:#c6e2ed; font-size:11px; box-shadow:0 10px 20px #0002; }
.stage-satellite--0 { left:5%; top:22%; }.stage-satellite--1 { right:0; top:39%; }.stage-satellite--2 { bottom:12%; left:21%; }
.role-workbench__hero > .metric-strip { grid-column:1/-1; display:flex; flex-wrap:wrap; width:auto; margin:0 -36px; border:0; border-top:1px solid #63849b33; border-radius:0; padding:17px 20px; background:#04132138; box-shadow:none; gap:0; }
.role-workbench__hero .metric { flex:1 1 100px; display:flex; align-items:center; justify-content:center; gap:14px; padding:0 20px; border-right:1px solid #58798b40; }
.role-workbench__hero .metric__label { font-size:12px; color:#a9c0ce; }
.role-workbench__hero .metric__value { color:#edffff; font-size:25px; line-height:1.4; }
.workbench-collaboration-feed { grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr); gap:28px; }
.workbench-collaboration-feed--staff { grid-template-columns:minmax(0,1fr); }
.work-activity { border:0; border-radius:0; padding:6px 0 0; box-shadow:none; background:transparent; }
.work-section-kicker { font-size:10px; font-weight:650; letter-spacing:.13em; color:#608398; margin:0 0 7px; }
.work-activity__header h2 { font-size:23px; margin-bottom:8px; }
.work-activity__header > div > .muted { font-size:13px; }
.work-activity__overview { display:flex; gap:24px; padding:20px 0; border-bottom:1px solid var(--color-border); }
.work-activity__overview > div { display:flex; align-items:baseline; gap:7px; }
.work-activity__overview strong { font-size:24px; font-weight:650; color:#14394a; font-variant-numeric:tabular-nums; }
.work-activity__overview span { font-size:12px; color:var(--color-muted); }
.work-activity__controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:16px 0 0; }
.activity-view-switch { display:flex; padding:3px; border:1px solid var(--color-border); border-radius:8px; background:#e9eff4; }
.activity-choice { border:0; color:#62788b; background:transparent; padding:7px 12px; border-radius:5px; font-size:12px; cursor:pointer; min-height:32px; }
.activity-choice.is-selected { color:#12394e; background:#fff; box-shadow:0 1px 4px #112f4b12; font-weight:650; }
.activity-source-filters { flex-basis:100%; display:flex; flex-wrap:wrap; gap:6px; }
.activity-source-filters .activity-choice { border:1px solid transparent; border-radius:20px; font-size:11px; padding:5px 11px; min-height:28px; }
.activity-source-filters .activity-choice.is-selected { background:#e2f2f2; color:#086f79; border-color:#bcdedf; box-shadow:none; }
.activity-person { min-height:38px; height:38px; width:auto; min-width:126px; max-width:100%; margin-left:auto; font-size:12px; background-color:#fff; }
.work-activity__status { font-size:11px; margin:12px 0 0; }
.work-activity__timeline { max-height:600px; margin:16px 0 0; padding:0; }
.work-activity__row { grid-template-columns:34px minmax(0,1fr); gap:14px; padding:0 0 22px; animation:work-appear 240ms ease both; }
.work-activity__row article { padding:0 0 18px; border-bottom:1px solid #dfe7ef; }
.work-activity__row:last-child article { border-bottom:0; padding-bottom:0; }
.work-activity__row:not(:last-child)::before { left:16px; top:38px; bottom:5px; }
.work-activity__avatar { width:34px; height:34px; border-radius:11px; background:#e2eff4; border-color:#cddfe7; color:#2c6377; font-size:12px; }
.work-activity__row:nth-child(3n+2) > .work-activity__avatar { background:#e5eaf9; border-color:#d6def2; color:#5567a0; }
.work-activity__row:nth-child(3n) > .work-activity__avatar { background:#eef0df; border-color:#e0e5c9; color:#667348; }
.work-activity__byline { justify-content:flex-start; gap:10px; margin-bottom:8px; }
.work-activity__byline time { margin-left:auto; font-size:10px; }
.work-activity__source { color:#7a8c9b; font-size:10px; }
.work-activity__row h3 { font-size:15px; margin-bottom:5px; }
.work-activity__summary { font-size:13px; line-height:1.7; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin-bottom:10px; }
.work-activity__summary.is-expanded { display:block; }
.work-activity__link { font-size:11px; }
.activity-expand { border:0; background:transparent; color:#476880; padding:0; font-size:11px; cursor:pointer; }
.activity-people { display:grid; align-items:start; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:18px; }
.activity-person-card { border:1px solid var(--color-border); border-radius:12px; padding:16px; background:#fff; min-width:0; }
.activity-person-card > header { display:flex; gap:9px; align-items:center; border-bottom:1px solid var(--color-border); padding-bottom:12px; font-size:12px; }
.activity-person-card > header > span { font-size:10px; margin-left:auto; color:var(--color-muted); }
.activity-person-card .work-activity__row { display:block; padding-bottom:12px; }.activity-person-card .work-activity__row::before,.activity-person-card .work-activity__row > .work-activity__avatar { display:none; }
.activity-person-card .work-activity__byline strong { display:none; }
.activity-person-card .work-activity__timeline { max-height:420px; }
.assistant-status-page--compact { padding:24px; border-radius:15px; box-shadow:0 10px 30px #112c4508; background:#fff; border:1px solid #d9e5ed; }
.assistant-status-page--compact h2 { font-size:20px; }
.assistant-status-page--compact .assistant-activity__list { counter-reset:manager-work; }
.assistant-status-page--compact .assistant-activity-card { position:relative; padding:20px 0 20px 30px; counter-increment:manager-work; }
.assistant-status-page--compact .assistant-activity-card::before { content:counter(manager-work,decimal-leading-zero); position:absolute; left:0; top:22px; color:#779eae; font-size:11px; font-weight:650; }
.assistant-status-page--compact .assistant-activity-card__next { background:#eef6f7; border-left:2px solid #41b7ba; border-radius:0 7px 7px 0; }
/* Search is one control row; helper text must not position its buttons. */
.customer-list__header { align-items:center; }
.customer-list-filter { align-items:center; }
.customer-list-filter .field__label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.customer-list-filter .field { display:block; }
.customer-list-filter .field__control,.customer-list-filter > .button,.customer-list__header > .button { height:44px; min-height:44px; margin:0; align-self:center; }
@media(max-width:1100px) { .workbench-collaboration-feed { grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); gap:20px; } .role-workbench__hero { padding:28px 28px 0; } .role-workbench__hero > .metric-strip { margin-inline:-28px; }.workbench-stage-art { min-height:210px; }.workbench-collaboration-feed--staff { grid-template-columns:minmax(0,1fr); } }
@media(max-width:800px) { .role-workbench__hero { grid-template-columns:minmax(0,1fr); padding:26px 24px 0; }.workbench-stage-art { display:none; }.role-workbench__hero > .metric-strip { margin-inline:-24px; padding:16px 8px; }.role-workbench__hero .metric { padding-inline:12px; gap:8px; }.workbench-stage-title { font-size:28px; }.workbench-collaboration-feed { grid-template-columns:minmax(0,1fr); }.work-activity__timeline { max-height:none; }.work-activity__row article { padding-bottom:16px; }.workbench-record-action { margin:0; }.customer-list-filter { grid-template-columns:minmax(0,1fr) auto; }.activity-person { margin-left:auto; } }
@media(max-width:540px) { .workbench-stage-title { font-size:26px; }.workbench-stage-actions > .button { flex:1; padding-inline:10px; }.role-workbench__hero .metric { flex-basis:45%; margin-block:5px; }.work-activity__overview { gap:16px; }.work-activity__overview strong { font-size:22px; }.work-activity__overview span { font-size:11px; }.activity-people { grid-template-columns:minmax(0,1fr); }.work-activity__header .button { min-height:40px; }.work-activity__byline { gap:6px; }.work-activity__byline time { font-size:10px; }.assistant-status-page--compact { padding:20px; } }
@media(prefers-reduced-motion:reduce) { .work-activity__row { animation:none; } }
/* Keep the working first screen compact, including the real activity rows. */
.page__header { margin-bottom:20px; padding-bottom:14px; }
.role-workbench__hero { padding-top:24px; }
.role-workbench__hero-copy { padding-bottom:22px; }
.workbench-welcome { margin-bottom:10px; }
.workbench-stage-title { margin-bottom:9px; }
.workbench-stage-actions { margin-top:18px; }
.workbench-stage-art { min-height:180px; }
.work-activity__overview { padding:12px 0; gap:22px; }
.work-activity__overview strong { font-size:20px; }
.work-activity__controls { padding-top:12px; gap:8px; }
.work-activity__row { padding-bottom:14px; }
.work-activity__row article { padding-bottom:14px; }
.work-activity__timeline { max-height:510px; }
@media(max-width:800px) { .work-activity__timeline { max-height:none; } }

/* Keep reminder actions aligned even when project names and next steps wrap. */
.priority-queue-list > .operations-card { display:flex; flex-direction:column; }
.priority-queue-list .operations-card__actions { margin-top:auto; }
