/* The original compact Earthlink dashboard remains the primary visual system. */
#tabContent-dashboard:not(.hidden) { display: flex; flex-direction: column; gap: 16px; }
#tabContent-dashboard > * { margin-top: 0; }
#tabContent-dashboard .legacy-dashboard { order: -1; display: grid; gap: 16px; }
#tabContent-dashboard .legacy-dashboard > * { margin-top: 0; }
#tabContent-dashboard .management-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.management-report-card { min-width: 0; overflow: hidden; }
.management-report-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #e2e8f0; }
.management-report-heading h3 { margin: 0; font-size: 12px; font-weight: 800; color: #0a192f; letter-spacing: .035em; text-transform: uppercase; }
.management-report-heading span { color: #627d98; font-size: 11px; font-weight: 600; white-space: nowrap; }
.management-report-scroll { width: 100%; overflow-x: auto; }
.management-report-table { width: max-content; min-width: 100%; table-layout: auto; }
.management-report-table th, .management-report-table td { padding: 10px 12px; font-size: 11px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.management-report-table th { min-width: 105px; max-width: 180px; white-space: normal; vertical-align: bottom; }
.management-report-table th:first-child, .management-report-table td:first-child { position: sticky; left: 0; min-width: 165px; background: #fff; z-index: 1; text-align: left; font-weight: 750; }
.management-report-table th:first-child { z-index: 2; background: #eaf1fb; }
.management-report-table td:not(:first-child), .management-report-table th:not(:first-child) { text-align: right; }
.management-report-table tbody tr:nth-child(even) { background: #fafcff; }
.management-report-table tbody tr:hover, .management-report-table tbody tr:hover td:first-child { background: #f1f7ff; }
.management-report-total, .management-report-total td:first-child { background: #eef3f8 !important; font-weight: 800; border-top: 2px solid #cbd5e1; }
.dashboard-company-select { color: #0052cc; font-weight: 750; text-align: left; border-radius: 3px; padding: 3px 4px; margin: -3px -4px; }
.dashboard-company-select:hover, .dashboard-company-select:focus-visible { text-decoration: underline; outline: 2px solid #a8cdf8; outline-offset: 1px; }
#dashCompanyTableBody tr.dashboard-selected-company { background: #eaf3ff; }
#dashCompanyTableBody tr.dashboard-selected-company .dashboard-company-select { color: #003f9f; }

.source-sheet-scroll { max-height: min(68vh, 850px); }
#tabContent-sheet .p-4.border-b > .flex.items-center { flex-wrap: wrap; }
.source-sheet-table th, .source-sheet-table td { min-width: 150px; max-width: 290px; padding: 10px 12px; font-size: 11px; line-height: 1.4; }
.source-sheet-table th:first-child, .source-sheet-table td:first-child { min-width: 62px; width: 62px; max-width: 62px; }
.source-sheet-table th:last-child, .source-sheet-table td:last-child { position: sticky; right: 0; min-width: 82px; width: 82px; background: #fff; box-shadow: -5px 0 12px -12px #334155; }
.source-sheet-table thead th:last-child { background: #eaf1fb; z-index: 3; }
.source-sheet-table tbody tr:nth-child(even) { background: #fafcff; }
.source-sheet-table tbody tr:hover { background: #f1f7ff; }
.workspace-empty { color: #a6b4c5; }
.workspace-positive { color: #047857; font-weight: 700; }
.workspace-attention { color: #b45309; font-weight: 700; }
.workspace-stage { color: #0052cc; font-weight: 700; }
.workspace-form { max-height: min(58vh, 560px); overflow: auto; text-align: left; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 8px 2px; }
.workspace-field { display: grid; gap: 5px; min-width: 0; color: #486581; font-size: 11px; font-weight: 700; }
.workspace-field .input-clean { font-size: 12px; }
.workspace-locked { background: #f2f6fa; color: #64748b; cursor: default; }
.workspace-report-cell { padding: 16px !important; background: #f6f9fc !important; }
.source-sheet-table:has(.workspace-report-cell) { width: 100%; table-layout: fixed; }
.source-sheet-table td.workspace-report-cell { position: static; width: auto; max-width: none; min-width: 0; text-align: left; white-space: normal; box-shadow: none; }
.workspace-report-intro { display: inline-block; margin-right: 12px; color: #486581; font-size: 12px; }
.workspace-report-section { margin-top: 16px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 5px; background: #fff; }
.workspace-report-section h3 { margin: 0; padding: 12px 14px; color: #0a192f; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #e2e8f0; }
.workspace-report-scroll { overflow: auto; max-height: 400px; }
.workspace-report-scroll .enterprise-table { min-width: max-content; width: 100%; }
.workspace-report-scroll .enterprise-table th { position: sticky; top: 0; z-index: 1; background: #eaf1fb; }
.workspace-report-scroll .enterprise-table td, .workspace-report-scroll .enterprise-table th { white-space: nowrap; padding: 8px 11px; }
@media (max-width: 700px) {
  .management-report-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .workspace-form { grid-template-columns: 1fr; }
}
