:root { color-scheme: dark; --header-height: 100px; --accent: #baf78e; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-width: 280px; height: 100%; overflow: hidden; }
body { background: #111217; color: #f5f7fb; font-family: Arial, Helvetica, sans-serif; }
.dashboard-header { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 28px;
    background: linear-gradient(110deg, #1c2520 0%, #171a21 30%, #171a21 100%); border-bottom: 1px solid #303741; position: relative; }
.dashboard-header::after { position: absolute; content: ''; bottom: -1px; left: 28px; width: 76px; height: 2px; background: var(--accent); }
.header-brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; min-width: 0; }
.header-brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 6px; }
.header-mark { width: 63px; height: 42px; object-fit: contain; display: block; flex: 0 0 63px; }
.header-name { display: block; color: #f5f7fb; font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -0.8px; white-space: nowrap; line-height: 1.2; }
.header-name span { color: var(--accent); }
.header-caption { display: block; font-size: 10px; font-weight: 700; color: #9daaac; letter-spacing: 2.4px; margin-top: 7px; text-transform: uppercase; }
.header-time-group { display: flex; align-items: center; gap: 26px; flex: 0 0 auto; }
.header-calendar { text-align: right; }
.header-weekday { display: block; color: #f0f2f7; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.header-date { display: block; color: #9da8b8; font-size: 12px; white-space: nowrap; }
.header-clock-wrap { border-left: 1px solid #343c46; padding-left: 26px; }
.header-clock-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #9da8b8; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 4px; }
.header-zone { color: #bfd0ba; letter-spacing: 0.5px; }
.header-clock { display: flex; align-items: baseline; gap: 7px; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; color: var(--accent); font-weight: 600; line-height: 1; }
.header-hours { font-size: 42px; letter-spacing: -1.6px; }.header-seconds { color: #8baf78; font-size: 21px; min-width: 1.25em; }
.header-compact-date { display: none; }
@media (max-width: 720px) {
    .dashboard-header { padding: 0 20px; gap: 18px; }.dashboard-header::after { left: 20px; }
    .header-time-group { gap: 18px; }.header-clock-wrap { padding-left: 18px; }.header-hours { font-size: 36px; }
    .header-calendar { max-width: 120px; }.header-weekday { font-size: 13px; }.header-date { font-size: 11px; }
}
@media (max-width: 560px) {
    .dashboard-header { padding: 0 16px; gap: 12px; }.dashboard-header::after { left: 16px; width: 48px; }
    .header-brand { gap: 10px; }.header-mark { width: 48px; height: 34px; flex-basis: 48px; }
    .header-name { font-size: 20px; letter-spacing: -0.7px; }.header-caption { font-size: 8px; letter-spacing: 1.6px; margin-top: 7px; }
    .header-calendar { display: none; }.header-clock-wrap { border-left: 0; padding-left: 0; }
    .header-hours { font-size: 34px; }.header-seconds { display: none; }.header-clock-label { font-size: 8px; gap: 8px; }
    .header-compact-date { display: block; color: #9da8b8; font-size: 10px; text-align: right; margin-top: 6px; white-space: nowrap; }
}
@media (max-width: 350px) {
    .dashboard-header { padding: 0 12px; gap: 8px; }.dashboard-header::after { left: 12px; }
    .header-brand { gap: 6px; }.header-mark { width: 32px; height: 26px; flex-basis: 32px; }
    .header-name { font-size: 16px; }.header-caption { font-size: 7px; letter-spacing: 1px; }.header-hours { font-size: 24px; }
}
