/* Light Science › Sun and daylight. Builds on site.css tokens and the app-window frame.
   Dark explorer: ink ground, mint hairlines, lime only for the current state and targets (dark surfaces only).
   Daylight is warm yellow (#f0d660), LED light magenta with a hatch, so colour is never the only cue. */

/* ---------- hero ---------- */
.sd-hero .ph-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; }
.sd-hero h1 { margin-bottom: 14px; }
.sd-question { margin: 0 0 18px; padding-left: 14px; border-left: 3px solid var(--accent); max-width: 34ch; font-size: clamp(1.12rem, 1.5vw, 1.34rem); font-weight: 650; line-height: 1.4; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.sd-hero .lead { margin-bottom: 26px; }
.sd-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 0.82rem; }
.sd-tags li { display: inline-flex; align-items: center; gap: 8px; }
.sd-tags li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-mint); }
.sd-anim-fig { margin: 0; }
.sd-anim-fig .anim-pic { border-radius: var(--r-xl); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(66, 211, 156, 0.16); }
.sd-anim-fig figcaption { margin-top: 12px; font-size: 0.8rem; line-height: 1.5; color: var(--fg-3); max-width: 70ch; }
/* Reduced motion (and the frozen frame anim-svg.js shows): the whole year instead of the month-by-month build. */
.sd-anim .sd-still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sd-anim .sd-motion { display: none; }
  .sd-anim .sd-still { display: inline; }
}
@media (max-width: 900px) { .sd-hero .ph-grid { grid-template-columns: 1fr; } .sd-question { max-width: none; } }

/* ---------- explorer frame ---------- */
.sd-tool-sec .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sd-app { border-color: rgba(66, 211, 156, 0.16); box-shadow: 0 40px 90px -40px rgba(7, 18, 15, 0.8), 0 0 0 1px rgba(66, 211, 156, 0.08); background: linear-gradient(180deg, #0c1c17, var(--ink-1) 320px); }
.sd-app .aw-bar { height: 48px; }
.sd-tabs { display: flex; gap: 4px; padding: 10px 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sd-tabs [role='tab'] { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px 10px 0 0; background: transparent; color: #a9bbb3; font-weight: 700; font-size: 0.88rem; cursor: pointer; box-shadow: inset 0 -2px 0 transparent; }
.sd-tabs [role='tab'][aria-selected='true'] { color: #fff; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 -2px 0 var(--accent); }
.sd-flag { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; padding: 3px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); color: #cfe3d9; }
.js .sd-panel:not(.is-active) { display: none; }
.sd-panel { outline: none; }
.sd-panel:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.sd-status { margin: 0; padding: 28px 20px; color: #a9bbb3; font-size: 0.92rem; }
.sd-status[hidden] { display: none; }
.sd-ui { padding: 18px 20px 20px; display: grid; gap: 16px; }
.sd-ui[hidden] { display: none; }
.sd-foot { margin: 0; padding: 12px 20px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.76rem; color: #8fa49b; }

/* ---------- controls ---------- */
.sd-ctl { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: end; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); }
.sd-f { display: grid; gap: 8px; flex: 1 1 200px; min-width: 0; }
.sd-f-wide { flex: 2 1 340px; }
.sd-ctl-tr { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(170px, 0.65fr) minmax(0, 1.3fr); }
.sd-seg { flex-wrap: nowrap; }
@media (max-width: 1180px) { .sd-ctl-tr { grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1.4fr); } .sd-ctl-tr .sd-f:first-child { grid-column: 1 / -1; } }
.sd-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa49b; }
.sd-l output { font-size: 0.9rem; font-weight: 750; letter-spacing: 0; text-transform: none; color: #fff; font-variant-numeric: tabular-nums; }
.sd-chip { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px; background: rgba(216, 243, 106, 0.12); color: var(--accent); }
.sd-ui select { width: 100%; height: 42px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a9bbb3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; color: #fff; font: inherit; font-size: 0.92rem; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sd-ui select option { background: #0d1d18; color: #fff; }
.sd-ui select:focus-visible, .sd-ui button:focus-visible, .sd-ui input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sd-ui input[type='range'] { width: 100%; height: 28px; margin: 0; accent-color: var(--accent); background: transparent; cursor: pointer; }
.sd-hrow { display: flex; align-items: center; gap: 12px; }
.sd-hrow input { flex: 1; min-width: 0; }
.sd-play { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: #fff; font-size: 0.8rem; font-weight: 750; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.sd-play:hover { border-color: #fff; }
.sd-play svg { width: 12px; height: 12px; }
.sd-play .i-pause, .sd-play.is-on .i-play { display: none; }
.sd-play.is-on .i-pause { display: block; }
.sd-play.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sd-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-seg button { flex: 1 1 auto; min-height: 42px; padding: 6px 12px; line-height: 1.2; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: #cfdcd5; font-size: 0.84rem; font-weight: 650; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.sd-seg button:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.sd-seg button[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- map ---------- */
.sd-mapbox { position: relative; padding: 14px 16px 12px; border-radius: 14px; background: radial-gradient(90% 120% at 70% 0%, rgba(66, 211, 156, 0.08), rgba(66, 211, 156, 0) 60%), rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); }
.sd-map-svg { display: block; width: 100%; height: auto; overflow: visible; }
.sd-prov { stroke: #0a1813; stroke-width: 0.7; cursor: pointer; transition: fill 0.12s linear; }
.sd-provs .sd-prov:hover { stroke: #fff; stroke-width: 1.4; }
.sd-reg { fill: none; stroke: rgba(238, 244, 240, 0.62); stroke-width: 1.5; stroke-linejoin: round; pointer-events: none; }
.sd-sel { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linejoin: round; pointer-events: none; filter: drop-shadow(0 0 4px rgba(216, 243, 106, 0.55)); }
.sd-reglabs text { fill: #f3f8f5; font-family: var(--font); font-weight: 750; paint-order: stroke; stroke: rgba(7, 18, 15, 0.85); stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
.sd-map-svg.is-small .sd-reglabs { display: none; }
.sd-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; max-width: 260px; padding: 8px 10px; border-radius: 9px; background: rgba(6, 16, 12, 0.94); border: 1px solid rgba(66, 211, 156, 0.3); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6); color: #eef4f0; font-size: 0.8rem; line-height: 1.4; }
.sd-tip[hidden] { display: none; }
.sd-tip small { color: #a9bbb3; font-size: 0.74rem; }
.sd-tip-v { font-size: 1.05rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.sd-mapcard { grid-area: card; position: relative; width: auto; padding: 12px 14px 12px; border-radius: 12px; background: rgba(9, 22, 17, 0.84); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #eef4f0; pointer-events: none; }
.sd-mapcard p { margin: 0; }
.sd-mc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.86rem; font-weight: 750; }
.sd-mc-chip { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.sd-mc-val { margin-top: 2px !important; display: flex; align-items: baseline; gap: 6px; }
.sd-mc-val b { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; color: #fff; }
.sd-mc-val small { font-size: 0.74rem; font-weight: 600; color: #a9bbb3; }
.sd-mc-sub { font-size: 0.72rem; color: #a9bbb3; }
.sd-mc-bar { display: block; height: 4px; margin-top: 9px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.sd-mc-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #a9871d, #ffe596); transform-origin: 0 50%; transition: transform 0.25s var(--ease); }
/* Map panel: map on the left, readout card, legend and notes in a side column; stacked below 1100 px. */
.sd-mapbox { display: grid; grid-template-columns: minmax(0, 1fr) 236px; grid-template-areas: 'map card' 'map foot'; grid-template-rows: auto 1fr; column-gap: 20px; row-gap: 12px; align-items: start; }
.sd-map { grid-area: map; min-width: 0; }
.sd-mapfoot { grid-area: foot; flex-direction: column; align-items: flex-start; margin-top: 0 !important; }
.sd-mapfoot .sd-ramp-row { flex-wrap: wrap; }
.sd-mapfoot .sd-ramp { width: 150px; }
@media (max-width: 1100px) {
  .sd-mapbox { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'map' 'card' 'foot'; grid-template-rows: auto; }
  .sd-mapfoot { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sd-mapfoot .sd-ramp { width: min(240px, 40vw); }
  .sd-mapcard { box-shadow: none; background: rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) { .sd-mc-bar i { transition: none; } }
.sd-mapfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 10px; font-size: 0.78rem; color: #9fb3aa; }
.sd-ramp-row { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.sd-ramp { display: inline-block; width: min(240px, 40vw); height: 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.sd-unit { color: #cfe3d9; font-weight: 650; }
.sd-note { margin: 0; }
.sd-assume, .sd-sub .sd-assume { margin: 0; flex-basis: 100%; color: #cfe3d9; }
.sd-assume[hidden] { display: none; }
.sd-assume::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--brand-mint); vertical-align: 0; }

/* ---------- cards and charts ---------- */
.sd-grid-tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sd-card { min-width: 0; padding: 16px 16px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); }
.sd-h { margin: 0 0 4px; font-size: 1.02rem; font-weight: 750; letter-spacing: -0.01em; color: #fff; }
.sd-sub { margin: 0 0 10px; font-size: 0.8rem; line-height: 1.45; color: #9fb3aa; }
.sd-chart { position: relative; width: 100%; min-height: 40px; }
.sd-svg { display: block; overflow: visible; }
.sd-svg text { fill: #8a9b93; font-family: var(--font); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sd-svg .sd-endlab { font-size: 11.5px; font-weight: 750; }
.sd-svg .sd-lime-t { fill: var(--accent); font-weight: 750; font-size: 12px; }
.sd-svg .sd-unit-t { font-size: 10.5px; }
.sd-svg .sd-dir { fill: #cfe3d9; font-weight: 750; }
.sd-svg .sd-small { font-size: 10px; }
.sd-svg .sd-sel-t { fill: #fff; font-weight: 800; }
.sd-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0 0 8px; padding: 0; font-size: 0.76rem; color: #b3c3bb; }
.sd-legend li { display: inline-flex; align-items: center; gap: 7px; }
.sd-legend i { flex: none; display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.sd-legend .k-sun { background: #f0d660; }
.sd-legend .k-band { background: rgba(240, 214, 96, 0.28); }
.sd-legend .k-led, .sd-legend .k-gap { background: repeating-linear-gradient(45deg, #ff5a8e 0 2px, rgba(255, 90, 142, 0.22) 2px 5px); box-shadow: inset 0 0 0 1px #ff5a8e; }
.sd-legend .k-dl { height: 0; border-top: 2px dotted #9fb3aa; border-radius: 0; }
.sd-legend .k-trans { height: 8px; background: rgba(207, 230, 218, 0.16); box-shadow: inset 0 0 0 1px rgba(207, 230, 218, 0.45); }
.sd-legend .sd-mgmstat { flex-basis: 100%; color: #9fb3aa; }
.sd-legend .k-target { height: 0; border-top: 2px dashed var(--accent); border-radius: 0; }
.sd-msg { margin: 10px 0 0; font-size: 0.9rem; line-height: 1.55; color: #dbe9e2; }
.sd-msg strong { color: var(--accent); font-weight: 750; }
.sd-cap { margin: 8px 0 0; font-size: 0.8rem; color: #b3c3bb; font-variant-numeric: tabular-nums; }
.sd-reglist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; font-size: 0.8rem; color: #cfe3d9; }
.sd-reglist li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.sd-reglist i { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.sd-reglist span { flex: 1; min-width: 0; line-height: 1.25; }
.sd-reglist b { font-variant-numeric: tabular-nums; color: #fff; }
.sd-ph { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.sd-target { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa49b; }
.sd-target[hidden] { display: none; }
.sd-target select { width: auto; height: 36px; font-size: 0.84rem; text-transform: none; letter-spacing: 0; }
.sd-tiles { margin: 12px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sd-tiles > div { min-width: 0; padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); transition: border-color 0.3s, background-color 0.3s; }
.sd-tiles > div.is-now { border-color: rgba(216, 243, 106, 0.6); background: rgba(216, 243, 106, 0.06); }
.sd-tiles dt { font-size: 0.72rem; font-weight: 750; color: #cfe3d9; line-height: 1.25; }
.sd-tiles dt small { display: block; font-size: 0.66rem; font-weight: 600; color: #8a9b93; }
.sd-tiles dd { margin: 4px 0 0; }
.sd-tiles b { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; }
.sd-tiles dd small { margin-left: 4px; font-size: 0.68rem; color: #8a9b93; }
.sd-minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sd-mini { margin: 0; padding: 8px 8px 6px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.06); transition: border-color 0.3s; }
.sd-mini.is-now { border-color: rgba(216, 243, 106, 0.55); }
.sd-mini figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 4px; font-size: 0.78rem; color: #8a9b93; }
.sd-mini figcaption b { color: #fff; font-size: 0.86rem; }
.sd-mini svg { display: block; width: 100%; height: auto; }
.sd-mini .sd-prov { stroke-width: 1; cursor: default; }
.sd-mini .sd-reg { stroke-width: 2.2; }

/* ---------- why trust ---------- */
.sd-trust { margin: 0 20px 18px; padding: 18px 18px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(66, 211, 156, 0.07), rgba(66, 211, 156, 0.02)); border: 1px solid rgba(66, 211, 156, 0.22); color: #dbe9e2; }
.sd-trust-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 6px 24px; align-items: baseline; margin-bottom: 14px; }
.sd-trust-head .sd-h { font-size: 1.15rem; }
.sd-trust-head p { margin: 0; font-size: 0.86rem; color: #b3c3bb; }
.sd-tts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sd-tt { min-width: 0; padding: 12px 14px; border-radius: 12px; background: rgba(7, 18, 15, 0.45); border: 1px solid rgba(255, 255, 255, 0.08); }
.sd-tt dt { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-mint); }
.sd-tt dd { margin: 6px 0 0; }
.sd-tt dd b { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.sd-tt dd small { margin-left: 8px; font-size: 0.74rem; color: #9fb3aa; }
.sd-tt .sd-td { margin-top: 6px; font-size: 0.8rem; line-height: 1.5; color: #b9cac2; }
.sd-trust-foot { margin: 12px 0 0; font-size: 0.78rem; color: #9fb3aa; }

/* ---------- tables (also the no-script view) ---------- */
.sd-table { margin: 0 20px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.02); }
.sd-table summary { padding: 12px 14px; font-size: 0.86rem; font-weight: 700; color: #cfe3d9; cursor: pointer; }
.sd-table summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 12px; }
.sd-tw { overflow-x: auto; padding: 0 14px 6px; }
.sd-table table { width: 100%; border-collapse: collapse; font-size: 0.82rem; color: #dbe9e2; font-variant-numeric: tabular-nums; }
.sd-table caption { text-align: left; padding: 0 0 8px; font-size: 0.76rem; color: #9fb3aa; }
.sd-table th, .sd-table td { padding: 7px 10px 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); text-align: left; vertical-align: top; text-transform: none; letter-spacing: 0; background: none; position: static; }
.sd-table thead th { font-size: 0.72rem; font-weight: 750; color: #9fb3aa; }
.sd-table tbody th { font-weight: 700; color: #fff; white-space: nowrap; }
.sd-sw { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 8px; background: var(--c); }
.sd-tnote { margin: 4px 14px 12px; font-size: 0.8rem; color: #b3c3bb; }

/* ---------- Region view (shown only when the page enables it, src/content/sun-daylight-page.mjs) ---------- */
.sd-grid-ca { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); grid-template-areas: 'day dome' 'months sec'; gap: 16px; align-items: start; }
.sd-a-day { grid-area: day; } .sd-a-months { grid-area: months; } .sd-a-dome { grid-area: dome; } .sd-a-sec { grid-area: sec; }
.sd-sq { max-width: 360px; margin: 0 auto; }
.sd-a-sec .sd-svg { overflow: hidden; border-radius: 10px; } /* sun rays run past the drawing */
.sd-stats { margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sd-stats > div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.sd-stats dt { font-size: 0.68rem; color: #9fb3aa; line-height: 1.3; }
.sd-stats dd { margin: 3px 0 0; }
.sd-stats b { font-size: 1.15rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.sd-stats small { margin-left: 3px; font-size: 0.7rem; color: #9fb3aa; }

/* ---------- method (light paper section: no lime here) ---------- */
.sd-mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sd-mcol { padding: 22px 22px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.sd-mcol .h3 { margin: 0 0 10px; }
.sd-mcol .h3 + .sd-list + .h3, .sd-list + .h3 { margin-top: 18px; }
.sd-list { margin: 0; padding-left: 1.1em; font-size: 0.9rem; line-height: 1.55; color: var(--fg-2); }
.sd-list li { margin: 0.45em 0; }
.sd-list a { color: var(--brand); }

/* ---------- close ---------- */
.sd-close-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.sd-close-grid .h2 { margin: 0; max-width: 16ch; }
.sd-close-grid .lead { color: #d8e8e0; margin: 0 0 26px; max-width: 58ch; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .sd-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .sd-grid-tr { grid-template-columns: 1fr; }
  .sd-grid-ca { grid-template-columns: 1fr; grid-template-areas: 'day' 'months' 'dome' 'sec'; }
  .sd-trust-head { grid-template-columns: 1fr; }
  .sd-close-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sd-ui { padding: 14px 12px 16px; gap: 12px; }
  .sd-ctl { padding: 12px; gap: 12px; }
  .sd-f, .sd-f-wide { flex-basis: 100%; }
  .sd-ctl-tr { grid-template-columns: 1fr; }
  .sd-seg { flex-wrap: wrap; }
  .sd-seg button { flex: 1 1 40%; font-size: 0.8rem; }
  .sd-mapbox { padding: 10px 8px 10px; }
  .sd-card { padding: 14px 12px 12px; }
  .sd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sd-tts { grid-template-columns: 1fr; }
  .sd-trust, .sd-table { margin-left: 12px; margin-right: 12px; }
  .sd-trust { padding: 16px 14px 14px; }
  .sd-mgrid { grid-template-columns: 1fr; }
  .sd-mcol { padding: 18px 16px 14px; }
  .sd-reglist { grid-template-columns: 1fr 1fr; gap: 2px 10px; font-size: 0.76rem; }
  .sd-foot { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-prov, .sd-tiles > div, .sd-mini, .sd-play, .sd-seg button { transition: none !important; }
}
