.overview-screen {
  --overview-ink: #21242b;
  --overview-muted: #626872;
  --overview-line: var(--divider, #e1e3e7);
  --overview-accent: var(--shell-accent, #ac1932);
  --overview-tint: #fbf0f2;
  color: var(--overview-ink);
}
#overview-root { display: grid; gap: clamp(18px, 2vw, 28px); min-width: 0; }
.overview-screen :is(h1,h2,h3,p) { margin: 0; }
.overview-screen h2 { font-size: 1.09rem; letter-spacing: -.02em; line-height: 1.25; }
.overview-screen :is(button,summary):focus-visible { outline: 3px solid var(--overview-accent); outline-offset: 2px; }
.overview-welcome { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.overview-welcome h1 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); letter-spacing: -.05em; line-height: 1.1; }
.overview-welcome .overview-scope { margin-top: 7px; color: var(--overview-muted); font-size: .9rem; overflow-wrap: anywhere; }
.overview-entry-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.overview-screen :is(.overview-primary,.overview-secondary,.overview-text-action) { min-height: 40px; font-size: .85rem; line-height: 1.3; }
.overview-screen .overview-primary { color: white; background: var(--overview-accent); }
.overview-screen .overview-secondary { color: var(--overview-ink); background: white; border: 1px solid var(--overview-line); }
.overview-directory h2 { margin-bottom: 12px; }
.overview-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.overview-screen .overview-destination {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-content: start; align-items: center; gap: 10px;
  min-width: 0; padding: clamp(14px,1.6vw,22px); color: var(--overview-ink); background: white;
  border: 1px solid var(--overview-line); border-radius: 13px; text-align: left;
}
.overview-destination strong { font-size: clamp(.94rem,1.2vw,1.12rem); line-height: 1.2; letter-spacing: -.018em; overflow-wrap: break-word; }
.overview-destination small { grid-column: 1 / -1; color: var(--overview-muted); font-size: .83rem; line-height: 1.42; font-weight: 450; }
.overview-destination-icon { display: grid; place-items: center; width: 36px; height: 36px; color: #8e293b; background: var(--overview-tint); border-radius: 9px; }
.overview-screen svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.overview-arrow { color: #7b828c; font-size: 1.06rem; line-height: 1; font-weight: 500; }
.overview-workspace-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(240px,1fr); align-items: start; gap: 14px; }
.overview-work,.overview-toolbox,.overview-service,.overview-error,.overview-loading { min-width: 0; background: white; border: 1px solid var(--overview-line); border-radius: 13px; }
.overview-section-head,.overview-toolbox > h2 { padding: 16px 18px; }
.overview-section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; }
.overview-action-queue { min-width: 0; background: white; border: 1px solid var(--overview-line); border-radius: 13px; }
.overview-action-queue .overview-section-head { justify-content: flex-start; column-gap: 16px; padding: 11px 15px; }
.overview-action-queue .has-queue-actions { display: inline-flex; align-items: center; gap: 9px; }
.overview-action-queue .has-queue-actions::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--overview-accent); box-shadow: 0 0 0 3px var(--overview-tint); }
.overview-action-queue .overview-filters { padding: 0; gap: 4px; }
.overview-action-queue .overview-filter { min-height: 29px; padding: 3px 7px; }
.overview-action-queue .overview-filter[aria-pressed="true"] { border-color: #e5bbc4; background: var(--overview-tint); color: #842238; }
.overview-queue-select { margin-inline-start: auto; min-height: 33px; max-width: 100%; width: auto; padding-block: 4px; font-size: .82rem; }
.overview-queue-item { border-top: 1px solid var(--overview-line); }
.overview-queue-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 8px 15px; color: inherit; text-decoration: none; }
.overview-queue-row:hover,.overview-queue-row:focus-visible { background: var(--overview-tint); color: inherit; }
.overview-queue-row:focus-visible { outline-offset: -2px; }
.overview-queue-copy { min-width: 0; overflow-wrap: anywhere; }
.overview-queue-copy strong { display: block; font-size: .89rem; line-height: 1.3; }
.overview-queue-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin-top: 3px; font-size: .76rem; color: var(--overview-muted); line-height: 1.35; }
.overview-queue-meta > :not(:first-child)::before { content: '·'; margin-inline-end: 7px; color: var(--overview-muted); }
.overview-queue-meta .overview-queue-assignee { font-weight: 600; color: #744354; }
.overview-queue-arrow { margin-inline: 5px; font-size: 1.3rem; line-height: 1; color: var(--overview-accent); }
.overview-action-queue .overview-queue-empty { padding: 4px 15px 12px; font-size: .82rem; color: var(--overview-muted); }
.overview-queue-related { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; padding:0 15px 7px; color:#83233d; font-size:.78rem; }
.overview-queue-related a { color:inherit; }
.overview-queue-related .overview-text-action { min-height:30px; padding:3px 8px; border:1px solid #e5d4db; border-radius:6px; }
.overview-queue-footer,.overview-queue-back { color:#982038; font-size:.85rem; font-weight:650; }
.overview-queue-footer { display:block; padding:9px 12px; border-top:1px solid var(--overview-line); text-align:center; text-decoration:none; }
.overview-queue-footer:hover { background:var(--overview-tint); }
.overview-queue-back { justify-self:start; }
.overview-queue-pager { display:flex; justify-content:center; align-items:center; gap:12px; padding:7px 10px; border-top:1px solid var(--overview-line); font-size:.83rem; }
.overview-queue-pager button:disabled { opacity:.45; }
@media(max-width:640px) {
  .overview-action-queue .overview-filters { flex-basis: 100%; order: 1; }
  .overview-queue-meta .overview-queue-car { flex-basis: 100%; }
  .overview-queue-meta .overview-queue-car::before { content: none; }
}
.overview-screen .overview-text-action { min-height: 34px; padding: 5px 8px; background: transparent; color: #982038; }
.overview-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 14px; }
.overview-screen .overview-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 9px; border: 1px solid var(--overview-line); border-radius: 7px; background: #fafbfc; color: #454b55; font-size: .76rem; }
.overview-filter strong { font-variant-numeric: tabular-nums; color: #262b33; }
.overview-order { display: grid; grid-template-columns: 56px minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--overview-line); color: inherit; text-decoration: none; }
.overview-order:hover,.overview-order:focus-visible { background: var(--overview-tint); color: inherit; }
.overview-order:focus-visible { outline: 2px solid var(--overview-accent); outline-offset: -2px; }
.overview-order:last-child { border-radius: 0 0 12px 12px; }
.overview-order-arrow { color: var(--overview-accent); font-size: 1.35rem; line-height: 1; }
.overview-order-media { display: grid; place-items: center; width: 56px; height: 46px; overflow: hidden; border: 1px solid #e7e9ec; border-radius: 7px; background: #f5f6f8; color: #828891; }
.overview-order-media img { width: 100%; height: 100%; object-fit: cover; }
.overview-order-copy { display: grid; min-width: 0; gap: 3px; }
.overview-order-meta,.overview-order-time { color: var(--overview-muted); font-size: .72rem; line-height: 1.4; }
.overview-order-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.3; }
.overview-order-hint { color: var(--overview-muted); font-size: .78rem; line-height: 1.4; }
.overview-order-tail { display: grid; justify-items: end; gap: 3px; }
.overview-status { max-width: 190px; padding: 3px 8px; border-radius: 999px; font-size: .72rem; color: #555e6c; background: #f1f2f4; line-height: 1.4; }
.overview-status.new { color: #912238; background: #fae9ed; }
.overview-status.working { color: #76501b; background: #faf1e3; }
.overview-status.transit { color: #265b81; background: #eaf2f9; }
.overview-status.ready { color: #226444; background: #e8f4ed; }
.overview-empty { display: grid; justify-items: start; gap: 6px; padding: 22px 18px 26px; border-top: 1px solid var(--overview-line); }
.overview-empty p { color: var(--overview-muted); font-size: .85rem; line-height: 1.45; }
.overview-screen .overview-tool { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 43px; border-top: 1px solid var(--overview-line); border-radius: 0; padding: 11px 18px; text-align: left; color: var(--overview-ink); background: transparent; }
.overview-tool:last-child { border-radius: 0 0 12px 12px; }
.overview-tool > span:first-child { display: grid; min-width: 0; gap: 3px; }
.overview-tool strong { font-size: .88rem; line-height: 1.35; }
.overview-tool small { color: var(--overview-muted); font-size: .77rem; line-height: 1.35; font-weight: 450; overflow-wrap: anywhere; }
.overview-service summary { cursor: pointer; padding: 14px 18px; color: #454952; font-size: .86rem; font-weight: 650; }
.overview-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%),1fr)); gap: 13px 22px; padding: 16px 18px; border-top: 1px solid var(--overview-line); }
.overview-panel { display: grid; align-content: start; gap: 9px; }
.overview-panel h3 { font-size: .93rem; }
.overview-panel p { color: var(--overview-muted); font-size: .77rem; line-height: 1.4; }
.overview-breakdown { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 10px; margin: 0; font-size: .81rem; }
.overview-breakdown dt { color: var(--overview-muted); }
.overview-breakdown dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.overview-refresh-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 14px; color: var(--overview-muted); font-size: .75rem; }
.overview-connection { display: inline-flex; align-items: center; gap: 6px; }
.overview-connection::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #b47829; }
.overview-connection.live::before { background: #23835e; }
.overview-refresh-bar .overview-text-action { margin-left: auto; }
.overview-error,.overview-loading { display: grid; justify-items: start; gap: 10px; padding: 22px; }
.overview-error h1 { font-size: 1.35rem; }
.overview-error p,.overview-eyebrow { color: var(--overview-muted); }
@media (hover:hover) {
  .overview-screen .overview-destination:hover { background: #fffafb; border-color: #d7a9b3; filter: none; }
  .overview-destination:hover .overview-arrow { color: var(--overview-accent); }
  .overview-screen :is(.overview-tool,.overview-filter,.overview-secondary):hover { background: #f7f7f9; filter: none; }
  .overview-screen .overview-text-action:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media(max-width:1100px) {
  .overview-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-workspace-grid { grid-template-columns: minmax(0,1.55fr) minmax(220px,1fr); }
}
@media(max-width:900px) {
  .overview-workspace-grid { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:600px) {
  .overview-welcome { align-items: start; }
  .overview-directory-grid { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .overview-screen .overview-destination { grid-template-rows: auto auto; gap: 2px 11px; padding: 10px 12px; }
  .overview-destination-icon { grid-row: 1 / 3; }
  .overview-destination strong { grid-column: 2; }
  .overview-destination small { grid-column: 2; }
  .overview-destination .overview-arrow { grid-column: 3; grid-row: 1 / 3; }
  .overview-section-head { padding: 12px; }
  .overview-filters { padding-inline: 12px; }
  .overview-order { grid-template-columns: 43px minmax(0,1fr) auto; gap: 6px 9px; padding: 11px 12px; }
  .overview-order-media { width: 43px; height: 40px; }
  .overview-order-tail { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; }
  .overview-status { max-width: 100%; }
  .overview-order-arrow { grid-column: 3; grid-row: 1 / 3; }
}
