:root {
    color-scheme: dark;
    --black: #000000;
    --rule: #242a27;
    --text: #f2f5f3;
    --muted: #98a19c;
    --temperature: #e9b872;
    --rain: #72a7d8;
    --news: #d96a62;
    --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    --font-data: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --page-pad: clamp(0.75rem, 2.5vw, 2rem);
    --column-gap: clamp(0.875rem, 2.8vw, 2.5rem);
    --fullscreen-size: clamp(2.75rem, 5vw, 3.25rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 100%;
    min-height: 100%;
    background: var(--black);
}

body {
    width: 100%;
    min-width: 0;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--black);
    color: var(--text);
    font-family: var(--font-text);
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button {
    color: inherit;
    font: inherit;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.dashboard {
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    overflow: hidden;
    padding:
        max(var(--page-pad), env(safe-area-inset-top))
        max(var(--page-pad), env(safe-area-inset-right))
        max(var(--page-pad), env(safe-area-inset-bottom))
        max(var(--page-pad), env(safe-area-inset-left));
    background: var(--black);
}

.fullscreen-toggle {
    position: fixed;
    z-index: 20;
    top: max(var(--page-pad), env(safe-area-inset-top));
    right: max(var(--page-pad), env(safe-area-inset-right));
    display: grid;
    width: var(--fullscreen-size);
    height: var(--fullscreen-size);
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: color-mix(in srgb, var(--black) 88%, transparent);
    color: var(--muted);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fullscreen-toggle[hidden] {
    display: none;
}

.fullscreen-toggle:disabled {
    cursor: wait;
    opacity: 0.55;
}

.fullscreen-toggle:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
}

.fullscreen-toggle[aria-pressed="true"] {
    border-color: var(--text);
    color: var(--text);
}

.fullscreen-icon {
    width: 1.45rem;
    height: 1.45rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 1.7;
}

.fullscreen-icon-exit {
    display: none;
}

.fullscreen-toggle[aria-pressed="true"] .fullscreen-icon-enter {
    display: none;
}

.fullscreen-toggle[aria-pressed="true"] .fullscreen-icon-exit {
    display: block;
}

@media (hover: hover) {
    .fullscreen-toggle:hover:not(:disabled) {
        border-color: var(--muted);
        color: var(--text);
    }
}

.day-column,
.weather-section {
    min-width: 0;
    min-height: 0;
}

.day-column {
    display: flex;
    flex-direction: column;
    padding-right: var(--column-gap);
    border-right: 1px solid var(--rule);
}

.clock {
    flex: 0 0 auto;
    padding: clamp(0.15rem, 1vh, 0.6rem) calc(var(--fullscreen-size) + 0.75rem) clamp(0.75rem, 2.4vh, 1.6rem) 0;
}

.clock-time {
    display: block;
    color: var(--text);
    font-family: var(--font-data);
    font-size: clamp(3rem, 9vw, 7.6rem);
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 500;
    letter-spacing: -0.085em;
    line-height: 0.88;
    white-space: nowrap;
}

.clock-date {
    max-width: 100%;
    margin: clamp(0.45rem, 1.5vh, 0.9rem) 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: clamp(0.78rem, 1.7vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agenda {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    border-top: 1px solid var(--rule);
}

.section-heading,
.weather-heading-row {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.section-heading {
    flex: 0 0 auto;
    min-height: clamp(2.1rem, 6.5vh, 3.25rem);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--rule);
}

.section-heading h1,
.weather-heading-row h2,
.band-heading h3,
.section-label,
.band-label,
.data-status,
.calendar-empty,
.calendar-more,
.tomorrow-heading-row h2,
.tomorrow-more,
.tomorrow-empty {
    margin: 0;
}

.section-heading h1 {
    font-size: clamp(0.82rem, 1.75vw, 1.15rem);
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-status {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: clamp(0.62rem, 1.2vw, 0.78rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.015em;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-status:empty {
    display: none;
}

.data-status.is-stale,
.data-status.status-stale,
.data-status.is-error,
.data-status.status-error {
    color: var(--text);
}

.agenda-content {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

.calendar-all-day {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(0.45rem, 1.3vw, 0.9rem);
    align-items: center;
    min-height: clamp(2rem, 6vh, 2.8rem);
    border-bottom: 1px solid var(--rule);
}

.calendar-all-day-label,
.calendar-all-day-more,
.calendar-more {
    color: var(--muted);
    font-size: clamp(0.6rem, 1.2vw, 0.76rem);
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.calendar-all-day-title,
.calendar-event-title,
.calendar-entry-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-all-day-title {
    font-size: clamp(0.74rem, 1.5vw, 0.96rem);
    font-weight: 570;
}

.calendar-events {
    display: flex;
    flex: 0 1 auto;
    min-height: 0;
    flex-direction: column;
}

.calendar-event,
.calendar-entry {
    display: grid;
    flex: 0 1 auto;
    grid-template-columns: clamp(3.35rem, 6.5vw, 5.3rem) minmax(0, 1fr);
    gap: clamp(0.55rem, 1.6vw, 1.15rem);
    align-items: center;
    min-height: clamp(2.8rem, 10vh, 4.8rem);
    padding: clamp(0.35rem, 1vh, 0.7rem) 0;
    border-bottom: 1px solid var(--rule);
}

.calendar-event-time,
.calendar-entry-time {
    color: var(--muted);
    font-family: var(--font-data);
    font-size: clamp(0.72rem, 1.55vw, 1rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.calendar-event-title,
.calendar-entry-title {
    color: var(--text);
    font-size: clamp(0.8rem, 1.75vw, 1.08rem);
    font-weight: 570;
}

.calendar-event.is-running .calendar-event-time,
.calendar-entry.is-running .calendar-entry-time,
.calendar-event--running .calendar-event-time {
    color: var(--text);
}

.calendar-more {
    flex: 0 0 auto;
    padding-top: clamp(0.45rem, 1.4vh, 0.75rem);
    text-align: right;
}

.calendar-empty,
.no-events,
.error {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    min-height: 3rem;
    padding: 0;
    color: var(--muted);
    font-size: clamp(0.76rem, 1.55vw, 0.98rem);
    text-align: left;
}

.tomorrow-agenda {
    flex: 0 0 auto;
    margin-top: auto;
    border-top: 1px solid var(--rule);
}

.tomorrow-heading-row {
    display: flex;
    min-height: clamp(1.75rem, 4.8vh, 2.35rem);
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid var(--rule);
}

.tomorrow-heading-row h2,
.tomorrow-more {
    color: var(--muted);
    font-size: clamp(0.58rem, 1.15vw, 0.74rem);
    font-weight: 650;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.tomorrow-events {
    display: flex;
    flex-direction: column;
}

.tomorrow-event {
    display: grid;
    grid-template-columns: clamp(3.35rem, 6.5vw, 5.3rem) minmax(0, 1fr);
    gap: clamp(0.55rem, 1.6vw, 1.15rem);
    align-items: center;
    min-height: clamp(2rem, 6.7vh, 3rem);
    border-bottom: 1px solid var(--rule);
}

.tomorrow-event-time {
    color: var(--muted);
    font-family: var(--font-data);
    font-size: clamp(0.64rem, 1.3vw, 0.84rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.tomorrow-event-title {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: clamp(0.7rem, 1.45vw, 0.92rem);
    font-weight: 540;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tomorrow-empty {
    display: flex;
    min-height: clamp(2rem, 6.7vh, 3rem);
    align-items: center;
    color: var(--muted);
    font-size: clamp(0.66rem, 1.3vw, 0.84rem);
}

.weather-section {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    padding-left: var(--column-gap);
}

.weather-heading-row {
    padding:
        clamp(0.1rem, 0.8vh, 0.45rem)
        calc(var(--fullscreen-size) + 0.75rem)
        clamp(0.65rem, 1.7vh, 1.1rem)
        0;
}

.weather-heading-row > div {
    min-width: 0;
}

.section-label,
.band-label {
    color: var(--muted);
    font-size: clamp(0.58rem, 1.1vw, 0.74rem);
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.weather-heading-row h2 {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(1.05rem, 2.8vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.weather-heading-row .data-status {
    flex: 0 1 48%;
    padding-bottom: 0.12rem;
}

.dashboard-tabs {
    display: flex;
    min-width: 0;
    min-height: clamp(2.25rem, 7vh, 3.25rem);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.dashboard-tab {
    position: relative;
    display: inline-flex;
    min-width: 0;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.25rem;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: clamp(0.66rem, 1.35vw, 0.86rem);
    font-weight: 650;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-tab:hover {
    color: var(--text);
}

.dashboard-tab[aria-selected="true"] {
    border-bottom-color: var(--text);
    color: var(--text);
}

.dashboard-tab[data-dashboard-view="temperature"][aria-selected="true"] {
    border-bottom-color: var(--temperature);
    color: var(--temperature);
}

.dashboard-tab[data-dashboard-view="rain"][aria-selected="true"] {
    border-bottom-color: var(--rain);
    color: var(--rain);
}

.dashboard-tab[data-dashboard-view="news"][aria-selected="true"] {
    border-bottom-color: var(--news);
    color: var(--news);
}

.dashboard-tab:disabled,
.dashboard-tab[aria-disabled="true"] {
    color: var(--rule);
    cursor: default;
}

.dashboard-tab:focus-visible,
.dashboard-panel:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: -3px;
}

.dashboard-views {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.dashboard-panel {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: clamp(0.8rem, 2.5vh, 1.7rem) 0 0;
}

.weather-panel-now {
    display: grid;
    grid-template-columns: minmax(4.25rem, 0.66fr) minmax(0, 1fr);
    gap: clamp(0.8rem, 3vw, 2rem);
    align-content: center;
    align-items: center;
    padding-bottom: clamp(0.5rem, 2vh, 1.25rem);
}

.weather-icon {
    width: min(100%, clamp(4.25rem, 12vw, 9.5rem));
    aspect-ratio: 1;
    color: var(--temperature);
    font-family: var(--font-data);
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 1;
}

.weather-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.weather-now-copy {
    min-width: 0;
}

.weather-temperature {
    margin: 0;
    color: var(--temperature);
    font-family: var(--font-data);
    font-size: clamp(4rem, 11vw, 9rem);
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 500;
    letter-spacing: -0.09em;
    line-height: 0.86;
    white-space: nowrap;
}

.weather-degree {
    display: inline-block;
    margin-left: 0.05em;
    font-size: 0.48em;
    letter-spacing: 0;
    vertical-align: top;
}

.weather-description {
    max-width: 100%;
    margin: clamp(0.65rem, 2vh, 1.15rem) 0 0;
    overflow: hidden;
    color: var(--text);
    font-size: clamp(0.78rem, 1.8vw, 1.12rem);
    font-weight: 520;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.weather-panel-band {
    display: flex;
    flex-direction: column;
}

.band-heading {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: clamp(0.6rem, 1.6vh, 1rem);
}

.band-heading > div {
    min-width: 0;
}

.band-heading h3 {
    overflow: hidden;
    color: var(--text);
    font-size: clamp(0.86rem, 1.9vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.band-reading {
    flex: 0 0 auto;
    margin: 0;
    font-family: var(--font-data);
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 550;
    letter-spacing: -0.07em;
    line-height: 0.85;
    white-space: nowrap;
}

.temperature-reading {
    color: var(--temperature);
}

.rain-reading {
    color: var(--rain);
    margin-right: 0.1rem;
    padding-right: 0.12em;
    letter-spacing: -0.04em;
}

.day-band {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 6rem;
    overflow: hidden;
    border-top: 1px solid var(--rule);
}

.band-empty {
    display: flex;
    height: 100%;
    min-height: 6rem;
    align-items: center;
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.7rem, 1.35vw, 0.86rem);
}

.temperature-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 7rem;
    overflow: visible;
}

.temperature-line {
    fill: none;
    stroke: var(--temperature);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.temperature-dot {
    fill: var(--black);
    stroke: var(--temperature);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.chart-time,
.chart-value {
    font-family: var(--font-data);
    font-variant-numeric: tabular-nums;
    text-anchor: middle;
}

.chart-time {
    fill: var(--muted);
    font-size: 13px;
}

.chart-value {
    fill: var(--temperature);
    font-size: 14px;
    font-weight: 650;
}

.rain-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 7rem;
    overflow: visible;
}

.rain-guide {
    stroke: var(--rule);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.rain-area {
    fill: color-mix(in srgb, var(--rain) 16%, transparent);
}

.rain-line,
.rain-stem {
    fill: none;
    stroke: var(--rain);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.rain-stem {
    stroke-dasharray: 3 4;
}

.rain-dot {
    fill: var(--black);
    stroke: var(--rain);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.rain-chart-time,
.rain-chart-value {
    font-family: var(--font-data);
    font-variant-numeric: tabular-nums;
    text-anchor: middle;
}

.rain-chart-time {
    fill: var(--muted);
    font-size: 13px;
}

.rain-chart-value {
    fill: var(--rain);
    font-size: 14px;
    font-weight: 650;
}

.news-panel {
    padding-top: 0;
    overflow: hidden;
}

.news-groups {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.news-group {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    padding: clamp(0.55rem, 1.7vh, 1rem) 0;
}

.news-group + .news-group {
    border-top: 1px solid var(--rule);
}

.news-group-heading {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: clamp(0.35rem, 1vh, 0.6rem);
}

.news-group-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(0.66rem, 1.35vw, 0.86rem);
    font-weight: 680;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.news-scope-mark {
    color: var(--news);
    font-family: var(--font-data);
    font-size: clamp(0.58rem, 1.15vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.news-list {
    display: grid;
    min-height: 0;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.news-item {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.15rem, 0.55vh, 0.3rem);
    padding: clamp(0.35rem, 1vh, 0.6rem) 0;
    border-top: 1px solid var(--rule);
    color: inherit;
    text-decoration: none;
}

.news-item:hover .news-headline {
    color: var(--news);
}

.news-item:focus-visible {
    outline: 2px solid var(--news);
    outline-offset: -2px;
}

.news-headline {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-size: clamp(0.72rem, 1.55vw, 1rem);
    font-weight: 590;
    line-height: 1.22;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-meta {
    overflow: hidden;
    color: var(--muted);
    font-family: var(--font-data);
    font-size: clamp(0.56rem, 1.05vw, 0.7rem);
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-empty {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-height: 0;
    margin: 0;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: clamp(0.66rem, 1.3vw, 0.84rem);
}

@media (orientation: landscape) and (max-height: 380px) {
    :root {
        --page-pad: 0.5rem;
        --column-gap: clamp(0.55rem, 2vw, 0.85rem);
    }

    .dashboard {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    }

    .clock {
        padding: 0 0 0.45rem;
    }

    .clock-time {
        font-size: clamp(2.55rem, 9vw, 3.25rem);
        line-height: 0.86;
    }

    .clock-date {
        margin-top: 0.25rem;
        font-size: clamp(0.66rem, 1.8vw, 0.78rem);
    }

    .section-heading {
        min-height: 1.8rem;
        padding: 0.25rem 0;
    }

    .section-heading h1 {
        font-size: 0.69rem;
    }

    .data-status,
    .calendar-all-day-label,
    .calendar-all-day-more,
    .calendar-more {
        font-size: 0.55rem;
    }

    .calendar-all-day {
        min-height: 1.75rem;
        gap: 0.35rem;
    }

    .calendar-all-day-title {
        font-size: 0.68rem;
    }

    .calendar-event,
    .calendar-entry {
        grid-template-columns: 2.85rem minmax(0, 1fr);
        gap: 0.4rem;
        min-height: 2.5rem;
        padding: 0.25rem 0;
    }

    .calendar-event-time,
    .calendar-entry-time,
    .calendar-event-title,
    .calendar-entry-title,
    .calendar-empty,
    .no-events,
    .error {
        font-size: 0.67rem;
    }

    .calendar-more {
        padding-top: 0.3rem;
    }

    .tomorrow-heading-row {
        min-height: 1.45rem;
    }

    .tomorrow-heading-row h2,
    .tomorrow-more {
        font-size: 0.52rem;
    }

    .tomorrow-event {
        grid-template-columns: 2.85rem minmax(0, 1fr);
        gap: 0.4rem;
        min-height: 1.75rem;
    }

    .tomorrow-event-time,
    .tomorrow-event-title,
    .tomorrow-empty {
        font-size: 0.61rem;
    }

    .tomorrow-empty {
        min-height: 1.75rem;
    }

    .weather-heading-row {
        padding: 0 0 0.4rem;
    }

    .section-label,
    .band-label {
        font-size: 0.52rem;
    }

    .weather-heading-row h2 {
        font-size: 0.95rem;
    }

    .dashboard-tabs {
        min-height: 1.85rem;
    }

    .dashboard-tab {
        padding: 0.2rem 0.12rem;
        font-size: clamp(0.55rem, 1.8vw, 0.66rem);
        letter-spacing: 0.035em;
    }

    .dashboard-panel {
        padding-top: 0.55rem;
    }

    .news-panel {
        padding-top: 0;
    }

    .weather-panel-now {
        grid-template-columns: minmax(3.5rem, 0.55fr) minmax(0, 1fr);
        gap: 0.65rem;
        padding-bottom: 0.35rem;
    }

    .weather-icon {
        width: min(100%, 4.25rem);
        font-size: 3.5rem;
    }

    .weather-temperature {
        font-size: clamp(3.25rem, 12vw, 4.25rem);
    }

    .weather-description {
        margin-top: 0.4rem;
        font-size: 0.7rem;
    }

    .band-heading {
        gap: 0.5rem;
        padding-bottom: 0.4rem;
    }

    .band-heading h3 {
        font-size: 0.72rem;
    }

    .band-reading {
        font-size: 1.65rem;
    }

    .day-band,
    .band-empty {
        min-height: 4.75rem;
    }

    .temperature-svg {
        min-height: 5.75rem;
    }

    .chart-time {
        font-size: 16px;
    }

    .chart-value {
        font-size: 17px;
    }

    .rain-svg {
        min-height: 5.75rem;
    }

    .rain-chart-time {
        font-size: 16px;
    }

    .rain-chart-value {
        font-size: 17px;
    }

    .news-group {
        padding: 0.3rem 0;
    }

    .news-group-heading {
        padding-bottom: 0.2rem;
    }

    .news-group-heading h3,
    .news-headline {
        font-size: 0.62rem;
    }

    .news-scope-mark,
    .news-meta,
    .news-empty {
        font-size: 0.52rem;
    }

    .news-item {
        gap: 0.1rem;
        padding: 0.2rem 0;
    }
}

@media (orientation: portrait) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dashboard {
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }

    .day-column {
        min-height: 20rem;
        padding-right: 0;
        padding-bottom: var(--column-gap);
        border-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    .weather-section {
        min-height: 22rem;
        padding-top: var(--column-gap);
        padding-left: 0;
    }

    .dashboard-views {
        min-height: 16rem;
    }

    .clock-time {
        font-size: clamp(3.25rem, 21vw, 7rem);
    }

    .weather-temperature {
        font-size: clamp(4.5rem, 23vw, 8rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    .dashboard-tab[aria-selected="true"] {
        border-bottom-color: Highlight;
    }

    .rain-line,
    .rain-stem,
    .rain-dot {
        stroke: CanvasText;
    }
}
