/* The window's year of light: one white selected curve, distinct comparison
   directions, and the selected day's actual intervals on the glass. */
.window-page { --wi-accent: #f4f4f4; --wi-muted: #b7b7b7; }
.window-page .ground-inner { padding-top: 32px; }
.window-page .ground-inner > .call-chips { margin-bottom: 24px; gap: 12px; }
.wi-control-label { color: #b3b3b3; font-size: 11px; margin-right: 8px; }
.window-page .room-entry { background: rgba(255,255,255,.09); color: #f4f4f4; }
.window-page .room-entry:hover { background: rgba(255,255,255,.15); }
.wi-panel { border: 0; border-radius: 0; padding: 32px 0 0; background: none;  border-top: 1px solid rgba(255,255,255,.12); }
.wi-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wi-eyebrow { margin: 0; color: var(--wi-muted); font-size: 11px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .13em; }
.wi-heading h2 { margin: 8px 0 0; font-size: clamp(24px,3vw,36px); font-weight: 300; line-height: 1.3; letter-spacing: -.035em; }
.wi-period { font-size: 11px; color: #d0d0d0; border: 1px solid #ffffff20; background: #ffffff03; border-radius: 999px; padding: 9px 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wi-readout { display: grid; grid-template-columns: 1.05fr 1.1fr .75fr; align-items: center; gap: 32px; padding: 34px 0 30px; }
.wi-selected { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--wi-muted); font-size: 11px; font-weight: 600; }
#win-selected-facing { color: var(--wi-accent); }
.wi-duration { margin: 0; font-size: clamp(43px,5.1vw,68px); font-weight: 300; letter-spacing: -.065em; line-height: 1.1; color: #f1f1f1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wi-unit { margin-left: 4px; font-size: 18px; color: #b8b8b8; font-weight: 400; letter-spacing: 0; }
#win-hours, #win-minutes { display: inline-block; width: 1.1em; text-align: right; }
.wi-duration-note { margin: 12px 0 0; color: var(--wi-muted); font-size: 11px; }
.wi-daylight { padding-left: 30px; border-left: 1px solid #ffffff1b; }
.wi-daylight .wi-eyebrow { letter-spacing: .09em; }
.wi-intervals { margin: 10px 0 14px; min-height: 3.1em; font-size: 14px; font-weight: 600; line-height: 1.55; color: #d8d8d8; font-variant-numeric: tabular-nums; }
.wi-day-strip { height: 10px; border-radius: 7px; background: #ffffff0a; overflow: hidden; position: relative; }
.wi-day-strip span { position: absolute; height: 100%; background: linear-gradient(90deg,#adadad,#e1e1e1,#adadad); border-radius: 6px; }
.wi-day-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 9px; color: #adadad; }
.wi-compass-wrap { text-align: center; }
.wi-compass { width: 126px; margin: 0 auto; }
.wi-compass svg { display: block; width: 100%; }
.wi-compass text { font-family: var(--round); font-size: 10px; font-weight: 600; fill: #bcbcbc; }
.wi-compass-wrap > span { display: block; margin-top: 9px; font-size: 9px; color: var(--wi-muted); }
.wi-compare-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 6px 0 14px; }
.wi-compare-heading h3 { margin: 0; font-size: 13px; font-weight: 600; }
.wi-compare-heading > span { font-size: 10px; color: var(--wi-muted); }
.wi-facings { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.wi-facing { --direction: #ababab; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; min-width: 0; min-height: 57px; border-radius: 12px; background: #ffffff03; border: 1px solid #ffffff16; color: #d0d0d0; font: 600 12px var(--round); cursor: pointer; }
.wi-facing[data-facing="east"] { --direction: #c3c3c3; }
.wi-facing[data-facing="south"] { --direction: #c9c9c9; }
.wi-facing[data-facing="west"] { --direction: #b0b0b0; }
.wi-facing:hover { background: #ffffff08; border-color: #ffffff35; }
.wi-facing[aria-pressed="true"] { --direction: var(--wi-accent); background: #d5d5d50b; color: #e3e3e3; border-color: #d5d5d566; }
.wi-facing-name { display: flex; align-items: center; gap: 8px; }
.wi-facing i { width: 6px; height: 6px; border-radius: 50%; background: var(--direction); flex: 0 0 6px; }
.wi-facing-duration { font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wi-chart-key { display: flex; justify-content: space-between; gap: 16px; margin: 27px 0 12px; color: var(--wi-muted); font-size: 10px; }
.wi-chart-key > span { display: flex; align-items: center; gap: 7px; }
.wi-chart-key i { display: inline-block; width: 17px; height: 3px; background: var(--wi-accent); border-radius: 2px; }
.wi-chart-key i.wi-daylight-key { background: none; height: 1px; border-top: 1px dashed #bfbfbf; }
.window-page .ground #win-chart { margin: 0; padding: 0; border: none; }
.wi-chart { display: block; width: 100%; height: auto; touch-action: pan-y; }
.wi-chart:focus-visible { outline: 2px solid var(--wi-accent); outline-offset: 5px; border-radius: 12px; }
.wi-chart text { font-family: var(--round); font-size: 11px; fill: #b3b3b3; font-weight: 600; letter-spacing: .01em; }
.wi-chart .wi-event { font-size: 10px; fill: #b9b9b9; }
.wi-chart .wi-sun-handle { touch-action: none; cursor: ew-resize; }
.wi-explore { display: flex; align-items: center; gap: 24px; margin-top: 21px; }
.wi-explore label { display: grid; gap: 4px; width: 116px; flex: 0 0 116px; color: var(--wi-muted); font-size: 10px; }
.wi-explore output { font-size: 14px; font-weight: 600; color: #e2e2e2; font-variant-numeric: tabular-nums; }
.wi-explore input { flex: 1; min-width: 0; }
.wi-explore input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg,#999999,#bdbdbd,#cbcbcb,#aaaaaa); }
.wi-explore input[type="range"]::-webkit-slider-thumb { height: 18px; width: 18px; margin-top: -6.5px; background: #e0e0e0; border: 3px solid #f1f1f1; box-shadow: 0 0 0 5px #d5d5d516; }
.wi-explore input[type="range"]::-moz-range-track { height: 5px; background: linear-gradient(90deg,#999999,#bdbdbd,#cbcbcb,#aaaaaa); border-radius: 5px; }
.wi-explore input[type="range"]::-moz-range-thumb { height: 13px; width: 13px; background: #e0e0e0; border: 3px solid #f1f1f1; box-shadow: 0 0 0 5px #d5d5d516; }
.wi-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.wi-jumps { display: flex; gap: 7px; }
.wi-jumps button { display: inline-flex; gap: 6px; align-items: center; justify-content: center; background: #ffffff03; border: 1px solid #ffffff19; border-radius: 999px; min-height: 40px; padding: 8px 14px; color: #c3c3c3; font: 600 11px var(--round); cursor: pointer; }
.wi-jumps button:hover, .wi-jumps button[aria-pressed="true"] { background: #d5d5d510; border-color: #d5d5d555; color: #e0e0e0; }
.wi-bottom-row > p { margin: 0; color: #b0b0b0; font-size: 10px; }
.wi-caption { margin-top: 20px; font-size: 12px; line-height: 1.7; color: #b7b7b7; max-width: 96ch; }
@media (max-width: 1000px) {
 .wi-panel { padding: 32px 0 0;  background: none;  border: 0;  border-top: 1px solid rgba(255,255,255,.12);  border-radius: 0; }
 .wi-readout { grid-template-columns: 1fr 1fr .7fr; gap: 22px; }
 .wi-daylight { padding-left: 22px; }
 .wi-facing { padding: 12px; gap: 8px; flex-direction: column; align-items: flex-start; }
 .wi-compass { width: 108px; }
}
@media (max-width: 640px) {
 .window-page .ground-inner > .call-chips { gap: 9px; }
 .window-page .ground-inner > .call-chips .has-select { display: flex; flex-wrap: wrap; }
 .wi-control-label { font-size: 10px; }
 .window-page .ground-inner > .call-chips .room-entry { padding: 11px 16px; font-size: 12px; }
 .wi-panel { padding: 32px 0 0; border-radius: 0;  background: none;  border: 0;  border-top: 1px solid rgba(255,255,255,.12); }
 .wi-heading { align-items: flex-start; display: block; }
 .wi-heading h2 { font-size: 27px;  font-weight: 300;  line-height: 1.3; }
 .wi-period { display: inline-block; margin-top: 15px; padding: 6px 10px; font-size: 10px; }
 .wi-readout { grid-template-columns: minmax(0,1fr) 96px; gap: 24px 12px; padding: 27px 0; }
 .wi-duration { font-size: 44px; }
 .wi-unit { font-size: 14px; margin-left: 3px; }
 .wi-selected { gap: 6px; font-size: 10px; }
 .wi-duration-note { font-size: 10px; }
 .wi-compass-wrap { grid-column: 2; grid-row: 1; }
 .wi-compass { width: 96px; }
 .wi-compass-wrap > span { font-size: 9px; line-height: 1.5; }
 .wi-daylight { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
 .wi-intervals { margin-top: 8px; margin-bottom: 12px; min-height: 3.1em; font-size: 13px; }
 .wi-compare-heading h3 { font-size: 12px; }
 .wi-compare-heading > span { display: none; }
 .wi-facings { gap: 6px; }
 .wi-facing { min-height: 66px; padding: 11px 8px; gap: 8px; font-size: 11px; align-items: center; border-radius: 10px; }
 .wi-facing-name { gap: 5px; }
 .wi-facing i { width: 4px; height: 4px; flex-basis: 4px; }
 .wi-facing-duration { font-size: 9px; }
 .wi-chart-key { font-size: 9px; gap: 10px; margin-top: 24px; }
 .wi-chart text { font-size: 10px; }
 .wi-chart .wi-event { font-size: 9px; }
 .wi-explore { gap: 13px; margin-top: 17px; }
 .wi-explore label { width: 101px; flex-basis: 101px; }
 .wi-explore output { font-size: 12px; }
 .wi-bottom-row { flex-wrap: wrap; gap: 15px; }
 .wi-jumps { width: 100%; gap: 6px; }
 .wi-jumps button { flex: 1; padding: 8px 9px; font-size: 10px; }
 .wi-bottom-row > p { font-size: 9px; }
}
@media (max-width: 360px) {
 .wi-duration { font-size: 36px; }
 .wi-readout { grid-template-columns: minmax(0,1fr) 84px; }
 .wi-compass { width: 84px; }
 .wi-facing { padding-left: 5px; padding-right: 5px; }
}
