.dashboard { --dash-border: #e2e8ef; color: var(--text); }
.dash-controls { background: #fff; padding: 20px; border: 1px solid var(--dash-border); border-radius: 10px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.dash-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.dash-chip { border: 1px solid #dce4ee; border-radius: 6px; background: #fff; color: #526174; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.dash-chip.selected { border-color: #0f766e; background: #eef8f6; color: #0f766e; font-weight: 700; }
.dash-range { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.dash-range label { display: grid; gap: 6px; color: var(--sub); font-size: 12px; }
.dash-range input, .dash-range select, .dash-user-search input, .dash-user-search select { height: 38px; padding: 0 10px; border: 1px solid #dce4ee; border-radius: 6px; color: var(--text); background: #fff; font: inherit; min-width: 0; }
.dash-range input { width: 148px; }
.dash-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 28px 0 20px; }
.dash-eyebrow { font-size: 12px; font-weight: 700; color: #0f766e; margin-bottom: 8px; letter-spacing: 1px; }
.dash-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.5px; }
.dash-heading h2 span { font-size: 16px; color: #8694a5; font-weight: 400; padding: 0 5px; }
.dash-muted { font-size: 12px; color: #69788b; line-height: 1.65; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.dash-kpi { padding: 21px; border: 1px solid var(--dash-border); background: #fff; border-radius: 10px; }
.dash-kpi.accent { background: #153c3a; border-color: #153c3a; color: #fff; }
.dash-kpi.accent .dash-kpi-label, .dash-kpi.accent .dash-muted { color: #c1d9d5; }
.dash-kpi-label { font-size: 13px; color: #526174; font-weight: 600; }
.dash-kpi-value { font-size: 32px; font-weight: 750; margin: 12px 0 8px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.dash-kpi-value small { font-size: 19px; margin-left: 4px; }
.dash-panel { border: 1px solid var(--dash-border); border-radius: 10px; background: #fff; margin-bottom: 22px; min-width: 0; overflow: hidden; }
.dash-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; gap: 14px; flex-wrap: wrap; }
.dash-panel-head h3 { margin: 0; font-size: 16px; }
.dash-panel-head p { font-size: 12px; color: #69788b; margin: 6px 0 0; line-height: 1.6; }
.dash-chart { padding: 0 18px 12px; }
.dash-chart svg { width: 100%; min-height: 165px; max-height: 300px; display: block; }
.dash-chart text { fill: #69788b; font-size: 12px; }
.dash-chart-point { outline: none; }
.dash-chart-hit { fill: transparent; pointer-events: all; cursor: crosshair; }
.dash-chart-hover { visibility: hidden; pointer-events: none; }
.dash-chart-point:hover .dash-chart-hover, .dash-chart-point:focus-visible .dash-chart-hover { visibility: visible; }
.dash-chart .dash-chart-tooltip text { fill: #fff; }
.dash-chart .dash-chart-tooltip .dash-chart-tooltip-label { fill: #bed2d2; }
.dash-chart .dash-chart-tooltip .dash-chart-tooltip-value { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dash-trend-details { border-top: 1px solid #eef2f6; }
.dash-trend-details summary, .dash-definitions summary { cursor: pointer; padding: 14px 22px; color: #526174; font-size: 13px; }
.dash-export { padding: 0 22px 14px; text-align: right; }
.dash-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dash-table-wrap { overflow: auto; }
.dash-table { table-layout: auto; min-width: 100%; width: 100%; font-size: 13px; }
.dash-table td, .dash-table th { padding: 12px 18px; height: auto; text-align: right; }
.dash-table th:first-child, .dash-table td:first-child { text-align: left; }
.dash-table td:first-child { max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.dash-table small { display: block; }
.dash-table tbody tr:hover { background: #f9fbfc; }
.dash-scroll-table { max-height: 360px; }
.dash-scroll-table th { position: sticky; top: 0; }
.dash-red { color: #b42318; }
.dash-status-grid { display: grid; grid-template-columns: repeat(6, 1fr); padding: 0 22px 20px; gap: 12px; font-size: 12px; color: #69788b; }
.dash-status-grid strong { display: block; color: #172033; font-size: 23px; padding-top: 10px; font-variant-numeric: tabular-nums; }
.dash-dot { display: inline-block; height: 7px; width: 7px; border-radius: 50%; margin-right: 6px; }
.dash-status-bar { height: 5px; display: flex; background: #edf2f7; }
.dash-status-bar .teal, .dash-dot.teal { background: #0f766e; }
.dash-status-bar .red, .dash-dot.red { background: #db6859; }
.dash-status-bar .amber, .dash-dot.amber { background: #daa44e; }
.dash-status-bar .blue, .dash-dot.blue { background: #5187c8; }
.dash-status-bar .gray, .dash-dot.gray { background: #a7b2bf; }
.dash-business { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0 22px 24px; }
.dash-business span, .dash-business small { display: block; font-size: 12px; color: #69788b; }
.dash-business strong { display: block; font-size: 23px; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.dash-business strong small { display: inline; font-size: 16px; }
.dash-user-search { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-user-search input { width: 170px; }
#dashboardBody + .dash-panel { margin-top: 22px; }
.dash-industry-table .dash-table { table-layout: fixed; min-width: 0; }
.dash-industry-table th, .dash-industry-table td { padding: 10px 18px; text-align: left; }
.dash-industry-table th:first-child, .dash-industry-table td:first-child { width: 75%; max-width: none; white-space: normal; overflow-wrap: anywhere; }
.dash-industry-table th:nth-child(2), .dash-industry-table td:nth-child(2) { width: 25%; text-align: left; }
.dash-industry-table td:nth-child(2) { color: #0f766e; font-weight: 600; font-variant-numeric: tabular-nums; }
.dash-pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 22px; font-size: 12px; color: #69788b; }
.dash-pager span { margin-right: auto; }
.dash-pager button:disabled { opacity: .4; cursor: default; }
.dash-definitions { border: 1px solid var(--dash-border); border-radius: 8px; background: #f0f3f7; }
.dash-definitions ul { padding: 0 24px 16px 40px; margin: 0; font-size: 12px; line-height: 1.9; color: #69788b; }
.dash-definitions li + li { margin-top: 8px; }
.dash-empty { padding: 48px 24px !important; text-align: center !important; color: #69788b; font-size: 14px; }
.dash-empty button { margin-top: 14px; }
.dash-dialog { width: min(1120px, calc(100vw - 32px)); max-height: 85vh; padding: 0; border: 1px solid #dce4ee; border-radius: 12px; color: #172033; box-shadow: 0 20px 70px #0f172a33; }
.dash-dialog::backdrop { background: #10182888; }
.dash-industry-table [data-dash-industry-row] { cursor: pointer; }
.dash-industry-table .link-btn { text-align: left; white-space: normal; overflow-wrap: anywhere; }
.dash-industry-dialog { width: min(900px, calc(100vw - 32px)); }
.dash-industry-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-input-list { display: grid; gap: 14px; padding: 0 22px; }
.dash-input-card { border: 1px solid #e2e8ef; border-radius: 8px; padding: 16px; min-width: 0; }
.dash-input-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 12px; color: #69788b; }
.dash-input-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; font-size: 14px; }
.dash-detail-summary { background: #f1f8f7; color: #245f59; margin: 0 22px 20px; padding: 14px 16px; border-radius: 6px; font-size: 14px; }
.dash-queue-bar { position: sticky; top: 84px; z-index: 19; margin-bottom: 22px; padding: 15px 16px; background: #fff; border: 1px solid #dceae7; border-radius: 10px; box-shadow: 0 5px 18px #153c3a12; }
.dash-queue-strip { display: grid; grid-template-columns: repeat(4, minmax(max-content, 1fr)) max-content; align-items: center; overflow-x: auto; }
.dash-queue-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 2px 12px; white-space: nowrap; font-size: 13px; color: #526174; }
.dash-queue-item + .dash-queue-item { border-left: 1px solid #dceae7; }
.dash-queue-count { display: inline-flex; align-items: baseline; gap: 5px; font-size: 17px; font-variant-numeric: tabular-nums; }
.dash-queue-count strong { font-size: 23px; color: #0f766e; }
.dash-queue-item.unavailable .dash-queue-count strong, .dash-queue-item.unavailable small { color: #9a580d; }
.dash-queue-item small { font-size: 11px; }
.dash-queue-actions { display: flex; align-items: center; justify-content: center; align-self: stretch; gap: 10px; padding-left: 16px; margin-left: 8px; border-left: 1px solid #dceae7; font-size: 11px; color: #69788b; white-space: nowrap; }
.dash-queue-actions button { font: inherit; }
.dash-queue-notice { margin-top: 9px; padding: 8px 10px; background: #fff7ed; color: #9a580d; border-radius: 6px; font-size: 12px; }
.dash-panel button:disabled, .dash-queue-bar button:disabled { opacity: .5; cursor: default; }
@media (max-width: 1250px) { .dash-queue-item { gap: 8px; padding: 2px 8px; } }
.dashboard button:focus-visible, .dash-dialog button:focus-visible { outline: 2px solid #0f766e; outline-offset: 3px; }
@media (min-width: 1600px) { .dash-chart svg { max-height: 330px; } }
@media (max-width: 1250px) { .dash-controls { align-items: flex-start; } .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-columns { grid-template-columns: 1fr; gap: 0; } .dash-business { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dashboard .dash-heading { flex-direction: column; align-items: flex-start; } .dash-heading h2 { font-size: 19px; } .dash-controls { padding: 14px; } .dash-range { gap: 10px; } .dash-kpi { padding: 16px; } .dash-kpi-value { font-size: 26px; } .dash-kpi .dash-muted { font-size: 11px; } .dash-panel-head { padding: 16px; } .dash-status-grid { grid-template-columns: repeat(3, 1fr); } .dash-business { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-chart { overflow-x: auto; } .dash-chart svg { min-width: 540px; } }
