:root {
    color-scheme: light;
    font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
    color: #17212f;
    background: #f4f7fb;
}
* { box-sizing: border-box; }
body { margin: 0; }
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 32px;
    background: #fff;
    border-bottom: 1px solid #d8e1ea;
}
h1 { margin: 0; font-size: 26px; }
.dashboard-header p { margin: 6px 0 0; color: #617187; font-size: 14px; }
.dashboard-label { color: #617187; font-size: 13px; }
.dashboard-tabs {
    display: flex;
    gap: 8px;
    padding: 0 32px;
    background: #fff;
    border-bottom: 1px solid #d8e1ea;
    overflow-x: auto;
}
.dashboard-tabs button {
    min-height: 52px;
    padding: 10px 16px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #617187;
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.dashboard-tabs button:hover { background: #f4f7fb; }
.dashboard-tabs button[aria-selected="true"] { color: #0b6f5c; border-bottom-color: #0b6f5c; }
.dashboard-tabs button:focus-visible { outline: 2px solid #0b6f5c; outline-offset: -5px; }
.tab-badge { margin-left: 6px; padding: 3px 7px; border-radius: 4px; background: #edf1f5; color: #617187; font-size: 11px; }
.dashboard-panel[hidden] { display: none; }
.dashboard-panel iframe { display: block; width: 100%; height: calc(100dvh - 145px); min-height: 480px; border: 0; }
noscript { display: block; padding: 16px 32px; }
@media (max-width: 600px) {
    .dashboard-header { padding: 18px 16px; }
    .dashboard-label { display: none; }
    .dashboard-tabs { padding: 0 8px; gap: 0; }
    .dashboard-tabs button { padding: 10px 12px; }
}
