.overview-eyebrow { margin: 0 0 5px; color: var(--muted); font-size: 10px; letter-spacing: .13em; font-weight: 400; }
#overview-page [data-overview-panel=urgent] .metric-mark { background: #362635; color: var(--danger); }
#overview-page [data-overview-panel=urgent] .metric-mark .nav-icon { color: inherit; }
#overview-page .metric-grid { margin-bottom: 17px; }
#overview-page .metric-card { min-height: 77px; }
.overview-workspace { display: grid; grid-template-columns: minmax(0,1.18fr) repeat(2,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.overview-panel { display: flex; flex-direction: column; min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg,var(--panel),var(--chrome)); }
.overview-panel-head { display: flex; align-items: center; gap: 10px; min-height: 38px; margin-bottom: 15px; }
.overview-panel-head h2 { font-size: 17px; font-weight: 450; }
.overview-panel-head p { margin-top: 3px; font-size: 11px; color: var(--muted); }
.overview-panel-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border-radius: 9px; background: var(--control); }
.overview-panel-icon .nav-icon { color: var(--secondary-ink); }
.overview-panel-count { margin-left: auto; font-size: 23px; font-weight: 400; font-variant-numeric: tabular-nums; }
.overview-work-tabs { display: flex; flex-wrap: wrap; gap: 3px; padding-bottom: 8px; }
.overview-work-tabs button { min-height: 29px; padding: 3px 8px; border-color: transparent; background: transparent; color: var(--muted); font-size: 11px; }
.overview-work-tabs button[aria-pressed=true] { background: var(--hover); color: var(--primary); }
.overview-work-tabs button span { margin-left: 6px; }
.overview-work-items { flex: 1; min-height: 119px; }
.overview-work-item { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 53px; padding: 7px 0; border: 0; background: transparent; text-align: left; }
.overview-work-item[data-urgent=true] > .nav-icon { color: var(--danger); }
.overview-work-item > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 4px; }
.overview-work-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 450; line-height: 1.4; }
.overview-work-item small { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-work-items li + li { border-top: 1px solid var(--line); }
.overview-work-empty { padding: 19px 2px; font-size: 12px; line-height: 1.7; }
.overview-signal-list { display: grid; flex: 1; align-content: start; gap: 2px; }
.overview-signal-list > button { display: grid; grid-template-columns: 16px minmax(0,1fr) auto 7px; gap: 9px; align-items: center; width: 100%; min-height: 41px; padding: 7px 5px; border-color: transparent; background: transparent; text-align: left; font-size: 12px; }
.overview-signal-list strong { min-width: 23px; padding: 1px 5px; border-radius: 5px; color: var(--muted); background: var(--control); font-size: 12px; font-weight: 450; text-align: center; }
.overview-signal-list [data-attention] strong { color: var(--primary); background: var(--hover); }
.overview-signal-list [data-overview-panel=overdue][data-attention] strong { color: var(--warm); }
.overview-panel-foot { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 5px; min-height: 31px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 10px; }
.overview-panel-foot button { padding: 2px 0; min-height: 24px; border: 0; background: transparent; color: var(--secondary-ink); font-size: 10px; }
.overview-panel-foot button > span { margin-left: 4px; }
.overview-shortcuts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 19px; }
.overview-shortcuts h2 { font-size: 12px; font-weight: 400; color: var(--muted); }
.overview-shortcuts > div { display: flex; flex-wrap: wrap; gap: 7px; }
.overview-shortcuts button { display: flex; align-items: center; gap: 8px; font-size: 12px; background: transparent; }
.overview-secondary { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 14px; }
.overview-extra { min-width: 0; border-block: 1px solid var(--line); }
.overview-extra-toggle { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 47px; padding: 9px 0; border: 0; border-radius: 0; background: transparent; text-align: left; }
.overview-extra-toggle .overview-extra-name { font-size: 13px; font-weight: 450; }
.overview-extra-toggle > span.muted { margin-left: auto; font-size: 10px; }
.overview-extra-toggle > .nav-chevron { margin-left: 6px; }
.overview-extra-toggle:has(#overview-knowledge-title) > .nav-chevron { margin-left: auto; }
.overview-extra-toggle[aria-expanded=true] > .nav-chevron { transform: rotate(45deg); }
.overview-collapse { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 210ms ease,opacity 160ms ease; }
.overview-collapse[data-open=true] { grid-template-rows: 1fr; opacity: 1; }
.overview-collapse > div { min-height: 0; overflow: hidden; }
.overview-collapse > div > button:last-child { margin: 10px 0 14px; font-size: 11px; }
.overview-status { padding-top: 11px; font-size: 10px; }
.overview-status[data-error], #overview-drawer-status[data-error] { color: var(--danger); }
#overview-drawer {
  width:min(580px,calc(100vw - var(--drawer-edge) - var(--drawer-edge)));
  padding:0; overflow:hidden; background:#121e30; border-color:#6686b249; border-radius:15px;
}
#overview-drawer[open] { display:flex; flex-direction:column; animation:overview-panel-in 210ms ease-out; }
#overview-drawer::backdrop { background:#050b167d; backdrop-filter:blur(2px); }
#overview-drawer > .overview-drawer-heading {
  position:static; flex:none; display:flex; align-items:center; gap:12px; margin:0; min-height:87px; padding:17px 21px;
  border-bottom:1px solid #87acd32b; background:linear-gradient(120deg,#20375080,#15243b);
}
#overview-drawer > .overview-drawer-heading > div { flex:1; min-width:0; }
.overview-drawer-icon { display:grid; place-items:center; width:36px; height:39px; flex:none; border:1px solid #8dbdf527; border-radius:10px; background:#8dbdf50a; }
.overview-drawer-icon .nav-icon { width:18px; height:18px; color:#9bc5f4; }
#overview-drawer-section { margin-bottom:5px; color:#9eb9d6; font-size:9px; letter-spacing:.1em; }
#overview-drawer-title { margin:0; font-size:21px; line-height:1.35; font-weight:450; letter-spacing:-.025em; overflow-wrap:anywhere; }
#overview-drawer-close { align-self:flex-start; width:30px; min-height:30px; margin-left:4px; padding:0; border:1px solid #8dbdf526; border-radius:8px; background:#8dbdf508; color:var(--secondary-ink); font-size:19px; }
.overview-drawer-scroll { min-height:0; flex:1; overflow:auto; overscroll-behavior:contain; padding:18px 21px 21px; scrollbar-width:thin; scrollbar-color:#4a627e transparent; }
#overview-drawer-description { margin:0 0 18px; color:#a8bad1; font-size:12px; line-height:1.7; }
#overview-drawer-back { display:inline-flex; align-items:center; margin:0 0 12px -6px; padding:4px 7px; min-height:28px; border:0; border-radius:6px; background:none; color:#a7c7ef; font-size:11px; }
#overview-drawer-back[hidden] { display:none; }
.overview-drawer-filters { display:flex; flex-wrap:wrap; gap:5px; padding:4px; margin:0 0 14px; border:1px solid #8dbdf51a; border-radius:9px; background:#09162635; }
.overview-drawer-filters button { flex:1 0 auto; min-height:29px; padding:5px 9px; border:1px solid transparent; border-radius:6px; background:none; color:#a3b3ca; font-size:11px; }
.overview-drawer-filters button[aria-pressed=true] { color:#eff6ff; border-color:#8dbdf51a; background:#365272; }
#overview-drawer-search { width:100%; max-width:none; min-height:37px; margin:0 0 12px; border-color:#87acd333; border-radius:9px; background:#0c192b; }
#overview-drawer-search input { min-width:0; min-height:35px; font-size:12px; }
#overview-drawer-search:focus-within { border-color:#94bff1; box-shadow:0 0 0 2px #8dbdf51a; }
#overview-drawer-status { margin:0 0 11px; padding-inline:3px; font-size:10px; color:#95aac4; line-height:1.6; }
#overview-drawer-status[data-error] { padding:10px 12px; border:1px solid #e58c9533; border-radius:8px; background:#de76850a; color:var(--danger); }
#overview-drawer-status:empty { display:none; }
.overview-list-row { min-width:0; margin-top:8px; border:0; }
.overview-list-main { display:flex; align-items:center; gap:11px; width:100%; min-height:80px; padding:13px 12px; border:1px solid #8dbdf517; border-radius:10px; background:#8dbdf504; text-align:left; transition:background 130ms,border-color 130ms; }
.overview-list-main:hover { background:#8dbdf50d; border-color:#8dbdf53b; }
.overview-list-main:focus-visible { outline:2px solid #a3c5ef; outline-offset:2px; }
.overview-list-symbol { display:grid; place-items:center; width:32px; height:35px; flex:none; border-radius:9px; background:#8dbdf50b; }
.overview-list-symbol .nav-icon { width:15px; height:15px; color:#9abce6; }
#overview-drawer[data-group=warehouse] .overview-list-symbol .nav-icon { color:#efb17c; }
.overview-list-copy { display:grid; flex:1; gap:5px; min-width:0; }
.overview-list-copy strong { font-size:13px; font-weight:450; line-height:1.5; overflow-wrap:anywhere; }
.overview-list-copy small { color:#91a7c3; font-size:10px; line-height:1.65; overflow-wrap:anywhere; }
.overview-list-end { display:flex; flex:none; align-items:center; gap:9px; }
.overview-row-badge { display:inline-flex; justify-content:center; flex:none; max-width:132px; padding:4px 7px; border:1px solid #8dbdf527; border-radius:6px; color:#b2c9e7; background:#8dbdf50a; font-size:9px; line-height:1.5; text-align:center; }
.overview-row-badge[data-state=online],.overview-row-badge[data-state=closed] { color:#a1d9bd; border-color:#83c7a833; background:#83c7a80b; }
.overview-row-badge[data-state=warning],.overview-row-badge[data-state=progress] { color:#efbc8d; border-color:#efb17c32; background:#efb17c0b; }
.overview-row-badge[data-state=offline] { color:#edaaaf; border-color:#e1949b32; background:#e1949b0b; }
.overview-row-arrow { flex:none; font-size:17px; font-weight:300; color:#8ba4c4; }
.overview-list-row[data-urgent] .overview-list-main { border-left:2px solid #df919a; }
.overview-list-row[data-urgent] .overview-list-symbol { background:#e1949b0c; }
.overview-list-row[data-urgent] .nav-icon { color:#e8a2aa; }
.overview-panel-empty { display:grid; justify-items:center; gap:10px; padding:42px 20px; border:1px dashed #8dbdf529; border-radius:11px; text-align:center; }
.overview-panel-empty > .nav-icon { width:24px; height:24px; margin-bottom:4px; color:#8cafd9; }
.overview-panel-empty strong { font-size:14px; font-weight:450; }.overview-panel-empty p { max-width:270px; font-size:12px; line-height:1.7; }
#overview-more { width:100%; min-height:34px; margin-top:15px; border-color:#8dbdf52b; border-radius:8px; background:#8dbdf506; font-size:11px; }
.overview-drawer-actions { display:flex; flex:none; flex-wrap:wrap; gap:8px; padding:13px 21px; border-top:1px solid #8dbdf526; background:#16263b; box-shadow:0 -10px 30px #07111d26; }
.overview-drawer-actions[hidden] { display:none; }
.overview-drawer-actions button { min-height:33px; padding:7px 11px; border-radius:8px; font-size:11px; font-weight:450; }
.overview-drawer-actions .primary { background:#9bc3f4; color:#10243e; border-color:#a8ccf9; }.overview-drawer-actions .primary:hover { background:#b6d5fc; }
.overview-detail-summary { display:flex; align-items:center; gap:12px; padding:15px 13px; margin:1px 0 22px; border:1px solid #8dbdf523; border-radius:11px; background:linear-gradient(120deg,#8dbdf50c,#8dbdf503); }
.overview-detail-symbol { display:grid; place-items:center; width:34px; height:38px; flex:none; border-radius:9px; background:#8dbdf50b; }
.overview-detail-symbol .nav-icon { width:17px; height:17px; color:#9fc5f1; }
.overview-detail-summary-copy { display:grid; flex:1; min-width:0; gap:5px; }.overview-detail-summary-copy strong { font-size:14px; font-weight:450; overflow-wrap:anywhere; }.overview-detail-summary-copy small { font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
.overview-detail-section + .overview-detail-section { margin-top:22px; }
.overview-detail-section > h3 { margin:0 0 10px; color:#c1d3e9; font-size:12px; font-weight:450; }
.overview-properties { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0; }
.overview-properties > div { display:flex; flex-direction:column; gap:6px; padding:12px; border:1px solid #8dbdf517; border-radius:9px; background:#09162625; font-size:12px; line-height:1.6; }
.overview-properties > .overview-property-wide { grid-column:1/-1; }.overview-properties dt { color:#91a8c4; font-size:10px; }.overview-properties dd { margin:0; overflow-wrap:anywhere; color:#e4edf8; }
#overview-drawer .overview-activity-note { padding:13px; border:1px solid #8dbdf51b; border-radius:9px; background:#09162625; color:#bdcee4; font-size:12px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.overview-inline-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:11px; }.overview-inline-actions button { min-height:29px; padding:5px 9px; border-color:#8dbdf526; border-radius:7px; background:#8dbdf508; font-size:10px; }
.overview-location-form { display:grid; gap:10px; }.overview-location-form label { display:grid; gap:7px; color:#9db4cf; font-size:11px; }.overview-location-form .overview-inline-actions { margin:0; }
#overview-drawer[data-mode=detail] #overview-drawer-body > * { animation:overview-content-in 160ms ease-out; }
@keyframes overview-panel-in { from { opacity:.75; transform:translateX(24px); } to { opacity:1; transform:none; } }
@keyframes overview-content-in { from { opacity:.65; transform:translateY(4px); } to { opacity:1; transform:none; } }
@media (max-width:520px) { #overview-drawer > .overview-drawer-heading { min-height:80px; gap:9px; padding:15px; }#overview-drawer-title { font-size:19px; }.overview-drawer-icon { width:31px; height:35px; }.overview-drawer-scroll { padding:15px; }.overview-drawer-actions { padding:11px 15px; gap:7px; }.overview-drawer-actions button { font-size:10px; }.overview-list-main { gap:9px; padding:12px 10px; }.overview-list-symbol { width:27px; height:31px; }.overview-list-end { gap:5px; }.overview-list-copy strong { font-size:12px; }.overview-row-badge { max-width:80px; padding:3px 5px; font-size:8px; }.overview-detail-summary { display:grid; grid-template-columns:34px minmax(0,1fr); }.overview-detail-summary > .overview-row-badge { grid-column:2; justify-self:start; margin-left:0; max-width:none; }.overview-properties { gap:7px; }.overview-properties > div { padding:10px; } }
@media (prefers-reduced-motion:reduce) { #overview-drawer[open],#overview-drawer[data-mode=detail] #overview-drawer-body > * { animation:none; }.overview-list-main { transition:none; } }

/* Reuse the same chrome when a shared card is opened above the dashboard. */
body:has(#overview-page:not([hidden])) :is(#issue-peek-dialog,#issue-dialog,#warehouse-dialog,#warehouse-flow-dialog,#employee-dialog) { border-color:#6686b249; border-radius:15px; }
body:has(#overview-page:not([hidden])) :is(#issue-dialog,#warehouse-dialog,#warehouse-flow-dialog,#employee-dialog) > .page-heading:first-child { background:linear-gradient(120deg,#20375080,#15243b); }
body:has(#overview-page:not([hidden])) :is(#issue-dialog,#warehouse-dialog,#warehouse-flow-dialog,#employee-dialog) > .page-heading:first-child h2 { font-size:20px; font-weight:450; letter-spacing:-.025em; }
body:has(#overview-page:not([hidden])) #issue-peek-dialog .issue-peek-toolbar { background:linear-gradient(120deg,#20375080,#15243b); }
body:has(#overview-page:not([hidden])) #issue-peek-dialog .queue-detail-title { font-size:23px; font-weight:450; letter-spacing:-.025em; line-height:1.4; }
body:has(#overview-page:not([hidden])) #issue-peek-dialog .issue-sheet-actions { background:#16263b; }
.overview-network-banner { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border-color: color-mix(in srgb,var(--warm) 30%,var(--line)); background: color-mix(in srgb,var(--warm) 4%,var(--panel)); text-align: left; }
.overview-network-banner > .nav-icon { color: var(--warm); }
.overview-network-banner > span:nth-child(2) { flex: 1; display: grid; gap: 3px; font-size: 13px; }
.overview-network-banner small { font-size: 11px; }
@container (max-width: 800px) { .overview-workspace { grid-template-columns: repeat(2,minmax(0,1fr)); }.overview-work { grid-column: 1 / -1; }.overview-work-items { min-height: 0; }.overview-secondary { grid-template-columns: minmax(0,1fr); gap: 0; } }
@container (max-width: 460px) { .overview-heading { align-items: flex-start; flex-direction: column; gap: 12px; }.overview-heading .heading-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }.overview-workspace { grid-template-columns: minmax(0,1fr); }.overview-work { grid-column: auto; }.overview-shortcuts { align-items: flex-start; flex-direction: column; }.overview-extra-toggle > span.muted { display: none; }.overview-panel { padding: 15px; } }
@media (max-width: 520px) { .overview-row-badge { max-width: 78px; }.overview-properties > div { grid-template-columns: minmax(0,105px) minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .overview-collapse { transition: none; } }

body:has(#overview-page:not([hidden])) :is(#issue-peek-dialog,#issue-dialog,#warehouse-dialog,#warehouse-flow-dialog,#employee-dialog)::backdrop { background:#050b167d; backdrop-filter:blur(2px); }
body:has(#overview-page:not([hidden])) :is(#issue-peek-dialog,#issue-dialog,#warehouse-dialog,#warehouse-flow-dialog,#employee-dialog) .primary { background:#9bc3f4; color:#10243e; border-color:#a8ccf9; }
body:has(#overview-page:not([hidden])) :is(#issue-peek-dialog,#issue-dialog,#warehouse-dialog,#warehouse-flow-dialog,#employee-dialog) .primary:hover { background:#b6d5fc; }
