:root {
  --paper: #f5f2ea;
  --paper-deep: #eae5d8;
  --ink: #303e3d;
  --muted: #59635e;
  --rule: #d2d1c5;
  --rain: #344f60;
  --ochre: #a37d2f;
  --ochre-pale: #e9dfc6;
  --vermillion: #a3513d;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --number: Georgia, "Times New Roman", serif;
  --content-max: 1360px;
  --gutter: 32px;
  --year-row-height: 25px;
  --motion: 160ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
}
button, select, input { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border: 0; border-radius: 0; }
button:disabled { opacity: .35; cursor: default; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, select:focus-visible,
input:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 2px solid var(--vermillion);
  outline-offset: 3px;
}
.interactive-action { transition: color var(--motion) ease, background-color var(--motion) ease, border-color var(--motion) ease; }
.interactive-action:hover { color: var(--ink); }
.action-mark { color: var(--vermillion); font: 600 14px/1 var(--sans); }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.masthead, .atlas {
  width: min(calc(100% - var(--gutter) * 2), var(--content-max));
  margin-inline: auto;
}
.masthead {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand img { display: block; width: 30px; height: 30px; }
.brand > span { font: 600 23px/1 var(--serif); letter-spacing: .13em; }
.brand small {
  display: block; margin-top: 5px; font: 9px/1 var(--number);
  letter-spacing: .22em;
}
.brand-copy {
  margin: 0 auto 0 10px;
  font: 14px/1.4 var(--serif);
  letter-spacing: .035em;
}
.method-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.method-link span { margin-left: 8px; color: var(--vermillion); }
.destination-line {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 99px;
  padding: 11px 0 12px;
}
.place { min-width: 0; }
.eyebrow, .journey-label, .control-label {
  display: block;
  margin: 0;
  color: var(--muted);
}
.eyebrow { font-size: 12px; line-height: 1.4; letter-spacing: .035em; }
.place h1 {
  margin: 3px 0 0;
  font: 39px/1.12 var(--number);
  letter-spacing: -.035em;
  overflow-wrap: normal;
}
.place h1 > span {
  margin-left: 10px;
  font: 14px/1.3 var(--serif);
  letter-spacing: .04em;
}
.trip-date { margin: 4px 0 0; font: 14px/1.45 var(--serif); }
#trip-date-value { font-variant-numeric: tabular-nums; }
.atlas.is-first-visit .destination-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-items: start;
  gap: 5px;
  padding-block: 9px 10px;
}
.atlas.is-first-visit .place { max-width: 820px; }
.atlas.is-first-visit .place h1 { max-width: 100%; font-size: 21px; line-height: 1.35; letter-spacing: 0; }
.first-visit-description {
  max-width: 66ch;
  margin: 4px 0 0;
  color: var(--muted);
  font: 13px/1.5 var(--serif);
}
.first-visit-description[hidden] { display: none; }
.atlas.is-first-visit:not(.is-date-step) .trip-date { display: none; }
.city-picker { position: relative; flex: 0 0 auto; margin-left: auto; }
.city-picker-toggle {
  min-height: 44px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  text-align: left;
  font: 14px var(--serif);
  white-space: nowrap;
}
.city-picker-toggle span { margin-left: 14px; color: var(--vermillion); }
.atlas.is-first-visit .city-picker { margin: 0; }
.atlas.is-first-visit .city-picker-toggle {
  padding-inline: 2px;
  border-bottom: 2px solid var(--ochre);
  font-size: 15px;
}
.atlas.is-first-visit .city-picker-toggle:hover { background: linear-gradient(transparent 74%, var(--ochre-pale) 74%); }
.atlas.is-first-visit .city-picker-toggle:focus-visible { outline-offset: 2px; }
.new-trip {
  min-height: 40px;
  margin-left: 0;
  padding: 5px 2px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.trip-actions { display: flex; justify-content: flex-end; margin-bottom: 7px; }
.sample-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 5px;
  border: 1px solid var(--ochre);
  color: var(--ink);
  font: 11px/1.3 var(--sans);
  white-space: nowrap;
}
.first-visit-explore {
  display: block;
  margin: 4px 0 19px;
  padding: 12px 0 15px;
  border-block: 1px solid var(--rule);
}
#first-visit-explore[hidden] { display: none; }
.trip-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 13px;
  padding: 0;
  border-bottom: 1px solid var(--rule);
  list-style: none;
}
.trip-steps li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 6px 9px 8px 0;
  color: var(--muted);
  font: 12px/1.4 var(--serif);
}
.trip-steps li + li { padding-left: 12px; border-left: 1px solid var(--rule); }
.trip-steps li[aria-current="step"] { color: var(--ink); box-shadow: inset 0 -2px var(--ochre); }
.trip-steps li > span:first-child { flex: 0 0 auto; color: var(--vermillion); font: 11px/1.4 var(--number); }
.sample-questions { margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--rule); }
.atlas-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #c9bea5;
}
.atlas-section-heading h2 { margin: 0; font: 17px/1.35 var(--serif); font-weight: 400; }
.atlas-section-heading > span { color: var(--muted); font: 11px/1.4 var(--number); white-space: nowrap; }
.atlas-region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; }
.atlas-region { min-width: 0; padding: 9px 0 8px; border-bottom: 1px solid var(--rule); }
.atlas-region-heading { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.atlas-index-number { color: var(--vermillion); font: 11px var(--number); }
.atlas-region-heading h3 { min-width: 0; margin: 0; font: 14px/1.35 var(--serif); font-weight: 500; }
.atlas-region-select {
  min-width: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}
.atlas-region-select > span { color: var(--vermillion); font: 10px var(--sans); }
.atlas-region-select:hover { border-color: var(--ochre); }
.atlas-region-count { margin-left: auto; color: var(--muted); font: 10px var(--number); white-space: nowrap; }
.atlas-region ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; margin: 5px 0 2px; padding: 0; list-style: none; }
.atlas-region li { min-width: 0; }
.atlas-city-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 34px;
  align-content: center;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.atlas-city-link::after { content: '↗'; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--vermillion); font: 10px var(--sans); }
.atlas-city-link:hover { border-color: var(--ochre); }
.atlas-city-link:focus-visible, .atlas-region-select:focus-visible, .sample-question:focus-visible { outline: 2px solid var(--rain); outline-offset: 2px; }
.atlas-city-local-name { overflow-wrap: anywhere; font: 13px/1.3 var(--serif); }
.atlas-city-link small { overflow-wrap: anywhere; color: var(--muted); font: 10px/1.25 var(--sans); }
.sample-intro { margin: 7px 0 1px; color: var(--muted); font: 11px/1.5 var(--serif); }
.sample-question-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.sample-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 3px 8px;
  min-width: 0;
  min-height: 67px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.sample-question-text { grid-column: 1 / -1; font: 13px/1.45 var(--serif); }
.sample-question-action { grid-column: 1; color: var(--muted); font: 10px/1.4 var(--sans); }
.sample-question-action::after { content: ' ↗'; color: var(--vermillion); }
.sample-question:hover .sample-question-text { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 3px; }
.atlas-instruction { margin: 6px 0 2px; color: var(--muted); font: 11px/1.5 var(--serif); }
.first-visit-atlas {
  margin: 3px 0 24px;
  padding: 12px 0 15px;
  border-block: 1px solid var(--rule);
}
.empty-atlas-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font: 12px/1.4 var(--serif);
}
.empty-atlas-heading span:last-child { font-family: var(--number); font-variant-numeric: tabular-nums; }
.first-visit-atlas h2 {
  margin: 8px 0 12px;
  font: 18px/1.5 var(--serif);
  font-weight: 400;
}
.empty-ruler {
  position: relative;
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(230px, 1.25fr);
  align-items: center;
  gap: 14px;
  align-items: center;
  padding: 7px 10px;
  border-block: 1px solid #b4a47b;
  background: #ece6d6;
  color: var(--muted);
  font-size: 12px;
}
.empty-ruler::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: repeating-linear-gradient(90deg, #b8aa89 0 1px, transparent 1px 10px);
}
.empty-time-scale { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 5px; font: 10px var(--number); font-variant-numeric: tabular-nums; }
.empty-time-scale span { white-space: nowrap; }
.empty-time-scale i { height: 1px; background: #b8aa89; }
.empty-observation-bands { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 9px; color: var(--muted); font: 10px/1.3 var(--number); }
.empty-band-rails { display: grid; grid-template-rows: repeat(20, 1px); gap: 2px; }
.empty-band-rails i { height: 1px; border-top: 1px solid #b8c2c1; }
.empty-year-scale {
  display: grid;
  grid-template-columns: 32px repeat(18, minmax(0, 1fr)) 32px;
  align-items: start;
  min-height: 25px;
  margin-top: 10px;
  color: var(--muted);
  font: 11px/1.3 var(--number);
  font-variant-numeric: tabular-nums;
}
.empty-year-scale span { white-space: nowrap; }
.empty-year-scale span:last-child { text-align: right; }
.empty-year-scale i { justify-self: center; width: 1px; height: 9px; background: var(--rain); }
.first-visit-atlas > p { margin: 2px 0 8px; color: var(--muted); font: 13px/1.5 var(--serif); }
.first-visit-atlas.has-destination { margin-top: 0; }
.city-menu {
  position: fixed;
  /* The invoking control and viewport bounds determine left/top in app.js. */
  width: min(700px, calc(100vw - var(--gutter) * 2));
  max-height: min(560px, 68vh);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--ink);
  background: var(--paper);
  z-index: 20;
  box-shadow: 0 8px 16px rgb(48 62 61 / 8%);
}
.picker-search-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px 5px;
  background: var(--paper-deep);
  font: 14px var(--serif);
}
.picker-search-label span, .picker-selection {
  color: var(--muted);
  font: 12px var(--sans);
}
#city-search {
  display: block;
  width: calc(100% - 28px);
  min-height: 44px;
  margin: 0 14px;
  padding: 5px 2px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
}
#city-search::placeholder { color: var(--muted); opacity: 1; }
.picker-selection { margin: 7px 14px 5px; }
.picker-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-top: 1px solid var(--rule); }
.region-index { padding: 7px 12px 10px; border-right: 1px solid var(--rule); }
.region-index button {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 5px 3px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  text-align: left;
}
.region-index button:last-child { border-bottom: 0; }
.region-index button > span:first-child { color: var(--ink); font: 12px var(--number); }
.region-index button > span:last-child { font: 13px/1.3 var(--sans); }
.region-index button small { display: block; color: var(--muted); font: 11px var(--number); }
.region-index button::after { content: '›'; color: var(--vermillion); font: 17px/1 var(--sans); }
.region-index button[aria-pressed="true"], .region-index button:hover { background: var(--paper-deep); }
.city-results { min-width: 0; }
.city-list-heading {
  margin: 0;
  padding: 9px 13px 6px;
  color: var(--muted);
  font: 12px var(--serif);
}
.city-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  padding: 7px 32px 7px 13px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  text-align: left;
}
.city-option:last-child { border-bottom: 0; }
.city-option::after { content: '↗'; position: absolute; right: 10px; top: 50%; color: var(--vermillion); font: 11px var(--sans); transform: translateY(-50%); }
.city-option strong { font: 16px/1.3 var(--number); font-weight: 400; }
.city-option span {
  max-width: 54%;
  color: var(--muted);
  font: 12px/1.4 var(--sans);
  text-align: right;
  overflow-wrap: anywhere;
}
.city-option[aria-selected="true"], .city-option:hover { background: var(--paper-deep); }
.city-empty { margin: 0; padding: 14px; color: var(--muted); font-size: 13px; }
.itinerary {
  position: relative;
  margin: 0 0 13px;
  border-block: 1px solid #b4a47b;
  background: #ece6d6;
}
.itinerary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: repeating-linear-gradient(90deg, #b8aa89 0 1px, transparent 1px 10px);
  pointer-events: none;
}
.journey-ruler {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(110px, .6fr) minmax(118px, .65fr) auto;
  align-items: center;
  gap: 19px;
  min-height: 78px;
  padding: 10px 15px 9px;
}
.journey-time {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: end;
  column-gap: 14px;
  min-width: 0;
  padding-right: 18px;
  border-right: 1px solid #c9bea5;
}
.journey-label { font-size: 12px; line-height: 1.35; }
.journey-time .journey-label { grid-column: 1; align-self: end; }
#local-time-range {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
  font: 29px/1.05 var(--number);
  letter-spacing: -.03em;
}
#destination-time-label {
  grid-column: 1;
  grid-row: 2;
  color: var(--muted);
  font: 12px/1.35 var(--serif);
}
#user-time-hint {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font: 12px/1.4 var(--sans);
  white-space: normal;
}
#user-time-hint[hidden] { display: none; }
.user-time-label { color: var(--muted); }
.user-time-range { color: var(--ink); font-variant-numeric: tabular-nums; }
.user-time-reference { font-size: 12px; }
.journey-duration, .journey-count { min-width: 0; }
.journey-duration strong, .journey-count strong {
  display: block;
  margin-top: 4px;
  font: 20px/1.15 var(--number);
}
.journey-count { padding-left: 15px; border-left: 1px solid #c9bea5; }
#toggle-conditions {
  min-width: 112px;
  min-height: 44px;
  padding: 7px 5px;
  border-bottom: 1px solid var(--ochre);
  background: transparent;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}
#toggle-conditions .action-mark { margin-left: 8px; font-size: 16px; }
#toggle-conditions:hover, .city-picker-toggle:hover, .new-trip:hover, #start-trip:not(:disabled):hover { background-color: var(--paper-deep); }
#toggle-conditions:hover, .city-picker-toggle:hover, .new-trip:hover, #start-trip:not(:disabled):hover { border-bottom-color: var(--vermillion); }
#conditions {
  display: grid;
  grid-template-columns: 1.12fr 1.55fr .9fr .85fr;
  gap: 16px;
  padding: 12px 15px 13px;
  border-top: 1px solid #c9bea5;
}
.control-group { min-width: 0; padding-right: 14px; border-right: 1px solid #c9bea5; }
.control-group:last-of-type { padding-right: 0; border-right: 0; }
.sky-group { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--rule); padding-top: 10px; }
.sky-group select { max-width: 100%; min-height: 44px; font-size: 14px; }
.sky-group p { max-width: 65ch; margin: 7px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.result-sky-topic { margin: 4px 0 7px; font: 16px/1.5 var(--serif); }
.result-sky-topic strong { white-space: nowrap; font-weight: 500; }
.sky-meaning, .sky-missing { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.control-label { margin-bottom: 7px; font-size: 13px; line-height: 1.4; }
.date-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(92px, .72fr); align-items: start; gap: 10px; }
.date-form-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.date-form-group .control-label { display: block; width: 100%; padding: 0; }
.date-form-group .date-controls { min-height: 40px; flex-wrap: nowrap; gap: 8px; }
.date-field { display: flex; align-items: center; gap: 1px; min-width: 0; min-height: 40px; border-bottom: 1px solid #8d9082; font-size: 13px; }
.date-field select { width: 51px; min-height: 38px; padding-right: 18px; border-bottom: 0; font: 20px var(--number); }
.date-field > span { white-space: nowrap; }
.nights-group .stepper { justify-content: flex-start; gap: 4px; margin: 0; }
.nights-group .nights-hint { margin-left: 0; }
.nights-group .stepper output { min-width: 29px; white-space: nowrap; }
.trip-step-heading { margin: 0 0 12px; font: 21px/1.3 var(--serif); font-weight: 400; }
.nights-hint { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.date-controls, .time-controls, .count-controls { display: flex; align-items: center; gap: 8px; }
.date-controls { min-height: 40px; }
select {
  min-width: 0;
  min-height: 40px;
  padding: 3px 23px 3px 2px;
  border: 0;
  border-bottom: 1px solid #8d9082;
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23303e3d' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  appearance: none;
}
.date-controls select { width: 57px; font: 21px var(--number); }
.stepper { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.stepper button {
  width: 35px;
  height: 40px;
  border-bottom: 1px solid #8d9082;
  background: transparent;
  font-size: 20px;
}
.stepper output { min-width: 25px; text-align: center; font: 22px var(--number); }
.stepper small { padding-left: 2px; font: 12px var(--sans); }
.time-controls { min-height: 44px; }
.time-controls select { width: 100px; font: 20px var(--number); }
.window-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 11px;
  margin-top: 5px;
}
.window-presets button {
  min-height: 34px;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
}
.window-presets button[aria-pressed="true"] { border-color: var(--ochre); color: var(--ink); }
.choice-line { display: grid; grid-template-columns: repeat(5, minmax(34px, 1fr)); max-width: 300px; }
.choice-line button {
  min-width: 0;
  min-height: 44px;
  border-bottom: 1px solid #8d9082;
  background: transparent;
  font: 21px var(--number);
}
.choice-line button[aria-pressed="true"] { background: var(--ochre-pale); box-shadow: inset 0 -2px var(--ochre); }
.choice-line small { margin-left: 2px; font: 12px var(--sans); }
.count-controls { min-height: 44px; }
.count-controls select { width: 70px; font: 21px var(--number); }
.count-controls > span { font-size: 14px; }
.count-group p { max-width: 27em; margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.control-feedback {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  padding-top: 7px;
  border-top: 1px solid #c9bea5;
  color: var(--ink);
  font-size: 13px;
}
.atlas.is-date-step .journey-ruler { display: none; }
.atlas.is-date-step .itinerary { margin-bottom: 14px; }
.atlas.is-date-step .trip-step-heading { grid-column: 1 / -1; }
.atlas.is-date-step .date-group { grid-template-columns: max-content max-content; gap: 24px; }
.atlas.is-date-step #conditions {
  display: block;
  padding: 14px 15px 16px;
  border-top: 0;
}
.atlas.is-date-step #conditions .date-group { padding: 0; border: 0; }
.atlas.is-date-step .date-controls { justify-content: flex-start; flex-wrap: wrap; }
.trip-start-row { align-items: center; gap: 14px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #c9bea5; }
.atlas.is-date-step .trip-start-row { display: flex; flex-wrap: wrap; }
#start-trip {
  min-height: 44px;
  padding: 7px 3px;
  border-bottom: 1px solid var(--ochre);
  background: transparent;
  font: 15px var(--serif);
}
#start-trip span { margin-left: 8px; color: var(--vermillion); }
#start-trip:disabled { color: var(--muted); opacity: .72; }
#trip-start-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.atlas.is-date-step #conditions [data-action-condition],
.atlas.is-date-step #conditions .control-feedback { display: none; }
.loading, .data-state-message {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--rule);
  font: 15px var(--serif);
}
.loading-rule {
  width: 48px;
  height: 15px;
  border-top: 2px solid var(--ochre);
  border-bottom: 1px solid var(--rule);
  background: repeating-linear-gradient(90deg, transparent 0 8px, #d1c19a 8px 9px);
}
.data-state-message { align-items: flex-start; flex-wrap: wrap; border-left: 2px solid var(--vermillion); padding-left: 14px; }
.availability-copy { flex: 1 1 260px; min-width: 0; }
.availability-title { display: block; font: 16px/1.4 var(--serif); }
.availability-copy p { margin: 3px 0 0; color: var(--muted); font: 13px/1.5 var(--sans); }
.availability-alternatives { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 8px 16px; }
.data-state-message button {
  min-height: 44px;
  padding: 6px 5px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-size: 13px;
  text-align: left;
}
.data-state-message button:hover { border-bottom-color: var(--vermillion); background: var(--paper-deep); }
.availability-retry, .availability-picker-action { margin-left: auto; white-space: nowrap; }
.availability-alternative { color: var(--ink); }
.data-state-message button:focus-visible { position: relative; z-index: 1; }
.weather-sheet { min-width: 0; }
.sheet-heading {
  display: grid;
  grid-template-columns: minmax(230px, .85fr) minmax(420px, 1.5fr);
  align-items: end;
  gap: 28px;
  padding: 3px 0 9px;
  border-bottom: 1px solid var(--ink);
}
.sheet-title .eyebrow { font-size: 12px; }
.sheet-title h2 {
  margin: 3px 0 0;
  font: 20px/1.3 var(--serif);
  font-weight: 500;
}
.observation-summary { min-width: 0; }
.history-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 7px;
  margin: 0;
  font: 14px/1.5 var(--serif);
}
.history-line strong { font: 31px/1 var(--number); font-weight: 400; white-space: nowrap; }
.result-condition {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.result-period {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 13px;
  min-height: 30px;
  padding: 7px 0 4px;
  color: var(--muted);
  font-size: 12px;
}
.legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend i { display: inline-block; width: 11px; height: 9px; border: 1px solid rgb(48 62 61 / 9%); }
.legend .dry { background: #e8e5db; }
.legend .trace { background: #cbd5d4; }
.legend .rain { background: #96adb3; }
.legend .heavy { background: var(--rain); }
.legend .outdoor { border: 1.5px solid var(--ochre); background: var(--ochre-pale); }
.change-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  min-height: 34px;
  padding: 4px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.change-note b { color: var(--ink); font-weight: 500; }
.change-note .current-rule { margin-left: 10px; color: var(--muted); font-size: 12px; }
.diff-key { display: inline-flex; align-items: center; gap: 7px; }
.diff-key i { display: inline-block; width: 17px; height: 9px; }
.gain-line { border-top: 3px solid var(--ochre); }
.loss-line { border-bottom: 2px dashed var(--vermillion); }
.diff-key button {
  min-height: 34px;
  padding: 3px 6px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-size: 12px;
}
.removed-days { width: 100%; color: var(--vermillion); font-size: 12px; }
.timeline-scroll { max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; }
.timeline-inner { width: 100%; }
.ruler-row, .year-row {
  display: grid;
  grid-template-columns: 57px repeat(var(--days), minmax(0, 1fr)) 88px;
  column-gap: 7px;
  min-width: 0;
}
.ruler-row {
  height: 66px;
  border-bottom: 1px solid #ad9860;
  background: #eee8d9;
}
.ruler-row > .year-col, .ruler-row > .result-col {
  align-self: stretch;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.year-col { min-width: 0; padding-left: 8px; }
.ruler-day { position: relative; min-width: 0; padding: 5px 1px 0; }
.day-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.day-heading > strong { font: 19px/1.2 var(--number); white-space: nowrap; }
.day-heading > span { color: var(--muted); font: 11px/1.2 var(--sans); white-space: nowrap; }
.ruler-ticks {
  display: flex;
  justify-content: space-between;
  padding: 1px 0 7px;
  background: repeating-linear-gradient(90deg, #a9a28c 0 1px, transparent 1px calc(100% / 24));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 5px;
  color: var(--muted);
  font: 11px/1.2 var(--number);
}
.ruler-window {
  position: absolute;
  left: var(--from);
  bottom: 0;
  width: var(--window);
  height: 15px;
  border-top: 2px solid var(--ochre);
  background: #dfd2b3;
  text-align: center;
}
.ruler-window span {
  white-space: nowrap;
  font: 11px/1.15 var(--number);
}
.year-lines { padding-bottom: 2px; }
.year-row {
  position: relative;
  width: 100%;
  min-height: var(--year-row-height);
  padding: 1px 0;
  border-bottom: 1px solid #dedcd1;
  background: transparent;
  text-align: left;
  transition: background-color var(--motion) ease;
}
.year-row:nth-child(5n) { border-bottom-color: #bcbfb1; }
.year-row:last-child { border-bottom: 0; }
.year-row:hover { background: #eeece3; }
.year-row.selected { background: var(--paper-deep); box-shadow: inset 2px 0 var(--ink); }
.year-row:focus-visible { position: relative; z-index: 1; background: var(--paper-deep); }
.year-row > .year-col { align-self: center; font: 13px var(--number); }
.year-col > i { margin-left: 4px; color: var(--vermillion); font: 12px var(--sans); font-style: normal; }
.year-gained > .year-col > i { color: var(--ink); }
.day-band { position: relative; display: block; min-width: 0; }
.day-band::before {
  content: "";
  position: absolute;
  inset: -2px auto -2px var(--from);
  width: var(--window);
  border-inline: 1px solid #bda368;
  opacity: .38;
  pointer-events: none;
}
.day-band svg { display: block; width: 100%; height: 20px; overflow: visible; }
.outdoor-block { transition: stroke-width var(--motion) ease; }
.result-col {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding-right: 7px;
}
.ruler-row > .result-col { font-size: 12px; white-space: nowrap; }
.year-row .result-col { align-self: center; font: 13px var(--number); }
.status-mark { color: var(--rain); font: 12px/1 var(--sans); }
.year-row.partial .status-mark { color: var(--ink); }
.year-row.fail .status-mark, .year-row.unknown .status-mark { color: var(--muted); }
.year-count { font: 13px var(--number); white-space: nowrap; }
.year-count small { color: var(--muted); font: 12px var(--sans); }
.year-open-cue { flex: 0 0 auto; color: var(--vermillion); font: 15px/1 var(--sans); }
.unavailable-band { align-self: center; color: var(--muted); font-size: 12px; text-align: center; }
.leap-note { margin: 7px 0; color: var(--vermillion); font-size: 12px; }
.sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.trust-line { display: flex; flex-wrap: wrap; gap: 3px 17px; padding: 7px 0; border-top: 1px solid var(--rule); }
.historical-disclaimer, .resolution-note { display: block; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.detail-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0 7px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.detail-toolbar label { font: 15px var(--serif); }
.detail-toolbar select { width: 104px; min-height: 44px; font: 20px var(--number); }
.detail-toolbar > span { margin-left: auto; color: var(--muted); font-size: 13px; }
.year-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.year-detail-day {
  display: grid;
  grid-template-columns: 57px 63px minmax(0, 1fr);
  align-items: start;
  gap: 5px 10px;
  min-width: 0;
  padding: 8px 9px 8px 0;
  border-bottom: 1px solid var(--rule);
}
.year-detail-day:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--rule); }
.year-detail-day > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.year-detail-day > strong { font: 16px/1.4 var(--number); white-space: nowrap; }
.year-detail-day p { min-width: 0; margin: 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.year-detail-day .block-list { display: block; color: var(--ink); font: 14px/1.45 var(--number); }
.year-detail-day .detail-metrics { display: block; margin-top: 2px; color: var(--muted); font: 12px/1.45 var(--sans); }
.reading-notes {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr);
  align-items: start;
  gap: 20px 34px;
  margin-top: 19px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.findings article { min-width: 0; }
.findings h3 { margin: 5px 0; font: 17px/1.45 var(--serif); font-weight: 500; }
.findings p { margin: 5px 0; color: var(--muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.findings p strong { color: var(--ink); font-weight: 500; }
.findings small { font-size: 12px; }
.hint button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin-top: 5px;
  padding: 4px 0;
  border-bottom: 1px solid var(--ochre);
  background: transparent;
  text-align: left;
  font-size: 13px;
}
.hint button span { color: var(--vermillion); }
.sensitivity, .monthly-comparison { min-width: 0; }
.sensitivity { padding-left: 20px; border-left: 1px solid var(--rule); }
.sensitivity summary, .monthly-comparison summary, .method summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
.sensitivity summary { font: 16px/1.4 var(--serif); }
.sensitivity summary:hover { color: var(--ink); background: var(--paper-deep); }
.sensitivity summary small { display: block; margin-top: 4px; color: var(--muted); font: 12px/1.4 var(--sans); }
.disclosure-mark { color: var(--vermillion); font: 20px var(--sans); }
#sensitivity-details .disclosure-mark::before { content: '＋'; }
#sensitivity-details[open] .disclosure-mark::before { content: '−'; }
.sensitivity-content > p, #threshold-note {
  max-width: 58em;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.threshold-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.threshold-table th, .threshold-table td { padding: 0; border-bottom: 1px solid var(--rule); text-align: left; }
.threshold-table thead th { padding: 5px 7px; color: var(--muted); font-size: 12px; font-weight: 400; }
.threshold-table tbody th { font-weight: 400; }
.threshold-table button {
  min-width: 140px;
  min-height: 42px;
  padding: 5px 7px;
  border-bottom: 1px solid transparent;
  background: transparent;
  text-align: left;
  font-size: 13px;
}
.threshold-table td { width: 44%; padding: 3px 7px; }
.threshold-table td strong { font: 17px var(--number); font-weight: 400; }
.threshold-table td span { color: var(--muted); font-size: 12px; }
.threshold-table button[aria-pressed="true"] { background: var(--ochre-pale); border-color: var(--ochre); }
.monthly-comparison { grid-column: 1 / -1; border-top: 1px solid var(--rule); }
.monthly-comparison summary { font: 15px var(--serif); }
#monthly-summary { padding: 5px 0 9px; color: var(--muted); font-size: 13px; }
#monthly-summary strong { color: var(--ink); font: 21px var(--number); font-weight: 400; }
.method { padding: 16px 0 19px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.method > .eyebrow { margin-bottom: 2px; }
.method summary { font: 15px/1.4 var(--serif); }
.method-body { max-width: 900px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.method-body p { margin: 9px 0; }
.method-body strong { color: var(--ink); font-weight: 500; }
.method-body a { text-decoration: underline; }
.method-body code { font-size: .95em; }
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px 0 20px;
  border-top: 1px solid var(--ink);
  font: 16px var(--serif);
}
footer em { margin-left: 12px; color: var(--muted); font: 13px var(--serif); }
footer > span:last-child { color: var(--muted); font: 12px var(--sans); }
footer small { margin-left: 10px; font-size: 11px; }
.info-masthead { margin-bottom: 0; }
.info-page { max-width: 820px; padding: 48px 0 72px; }
.info-page h1 { margin: 5px 0 18px; font: 38px/1.2 var(--serif); font-weight: 500; }
.info-page section { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--rule); }
.info-page h2 { margin: 0 0 6px; font: 18px/1.4 var(--serif); font-weight: 500; }
.info-page p { max-width: 68ch; margin: 0; line-height: 1.8; }
.info-page .info-lead { color: var(--muted); font: 16px/1.7 var(--serif); }
.analytics-consent {
  position: fixed; z-index: 30; right: 20px; bottom: 20px; left: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 880px; margin-inline: auto; padding: 14px 18px;
  border: 1px solid var(--ink); background: var(--paper); box-shadow: 0 8px 28px rgb(48 62 61 / 16%);
}
.analytics-consent strong { font: 500 16px/1.3 var(--serif); }
.analytics-consent p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.analytics-consent p a { text-decoration: underline; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.analytics-consent-actions button { min-height: 40px; padding: 7px 12px; border: 1px solid var(--ink); background: transparent; }
.analytics-consent-actions button:last-child { background: var(--ink); color: var(--paper); }
.info-links { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 38px; padding-top: 14px; border-top: 1px solid var(--ink); }
.info-links a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid var(--ochre); }
.info-links a::after { content: ' ↗'; color: var(--vermillion); }

@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .brand-copy { font-size: 13px; }
  .journey-ruler { grid-template-columns: minmax(210px, 1.25fr) minmax(95px, .55fr) minmax(105px, .6fr) auto; gap: 12px; }
  .journey-time { padding-right: 11px; column-gap: 8px; }
  #local-time-range { font-size: 26px; }
  #user-time-hint { gap: 4px; font-size: 12px; }
  #conditions { grid-template-columns: 1fr 1.45fr .8fr .8fr; gap: 12px; }
  .sheet-heading { grid-template-columns: minmax(210px, .8fr) minmax(390px, 1.4fr); gap: 19px; }
}
@media (max-width: 900px) {
  .masthead { gap: 17px; }
  .brand-copy { margin-left: 0; font-size: 12px; }
  .journey-ruler { grid-template-columns: minmax(220px, 1.4fr) minmax(92px, .6fr) minmax(105px, .6fr) auto; gap: 10px; }
  .journey-adjust { align-self: center; }
  #toggle-conditions { min-width: 94px; font-size: 12px; }
  #conditions { grid-template-columns: 1fr 1.3fr 1fr 1fr; gap: 10px; }
  .control-group { padding-right: 9px; }
  .date-controls { gap: 4px; }
  .date-controls select { width: 48px; }
  .stepper { gap: 3px; }
  .stepper button { width: 28px; }
  .time-controls select { width: 80px; }
  .window-presets { gap: 0 6px; }
  .window-presets button { font-size: 12px; }
  .count-group p { font-size: 12px; }
  .sheet-heading { grid-template-columns: minmax(190px, .8fr) minmax(340px, 1.4fr); gap: 15px; }
  .reading-notes { grid-template-columns: 1fr; }
  .sensitivity { padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --year-row-height: 28px; }
  html { scroll-behavior: auto; }
  .masthead, .atlas { width: calc(100% - var(--gutter) * 2); }
  .masthead { min-height: 60px; gap: 9px; }
  .brand { gap: 6px; }
  .brand img { width: 27px; height: 27px; }
  .brand > span { font-size: 21px; }
  .brand small { margin-top: 4px; font-size: 8px; }
  .brand-copy { max-width: 178px; margin-left: auto; font-size: 12px; line-height: 1.4; }
  .method-link { display: none; }
  .destination-line {
    display: block;
    min-height: 0;
    padding: 5px 0 6px;
  }
  .atlas.is-first-visit .destination-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 10px 0 11px;
  }
  .atlas.is-first-visit .place { padding-right: 0; }
  .atlas.is-first-visit .place h1 { max-width: 100%; font-size: 20px; }
  .first-visit-description { margin-top: 4px; font-size: 12px; line-height: 1.5; }
  .atlas.is-first-visit .city-picker {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
  }
  .atlas.is-first-visit .city-picker-toggle { min-height: 44px; padding-inline: 2px; font-size: 14px; }
  .atlas.is-first-visit .new-trip { min-height: 40px; margin-left: 0; }
  .first-visit-explore { margin: 2px 0 14px; padding-block: 10px 12px; }
  .trip-steps { margin-bottom: 12px; }
  .trip-steps li { gap: 5px; padding-right: 5px; font-size: 11px; }
  .trip-steps li + li { padding-left: 7px; }
  .trip-steps li > span:first-child { font-size: 10px; }
  .atlas-section-heading h2 { font-size: 16px; }
  .atlas-instruction { font-size: 10px; }
  .atlas-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .atlas-region { padding-block: 8px; }
  .atlas-region-heading { gap: 5px; }
  .atlas-region-heading h3 { font-size: 13px; }
  .atlas-region ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 6px; }
  .atlas-region li:nth-child(n + 3) { display: none; }
  .atlas-city-link { min-height: 38px; }
  .atlas-city-local-name { font-size: 13px; }
  .atlas-city-link small { font-size: 10px; }
  .sample-question-list { grid-template-columns: minmax(0, 1fr); }
  .sample-question { min-height: 61px; }
  .sample-question-text { font-size: 13px; }
  .sample-question-action { font-size: 10px; }
  .atlas.is-first-visit .first-visit-atlas { margin-top: 0; }
  .first-visit-atlas { margin-bottom: 18px; padding-block: 10px 12px; }
  .first-visit-atlas h2 { margin: 7px 0 10px; font-size: 16px; }
  .empty-ruler { grid-template-columns: minmax(0, 1fr); gap: 7px; min-height: 38px; padding-inline: 8px; font-size: 12px; }
  .empty-time-scale { gap: 7px; font-size: 10px; }
  .empty-observation-bands { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
  .empty-year-scale { min-height: 22px; margin-top: 8px; font-size: 10px; }
  .first-visit-atlas > p { font-size: 12px; }
  .place { padding-right: 94px; }
  .place h1 { font-size: 36px; line-height: 1.08; }
  .place h1 > span { display: inline-block; margin-left: 7px; font-size: 13px; }
  .trip-date { margin-top: 4px; font-size: 14px; }
  #trip-date-value { white-space: nowrap; }
  .city-picker { position: absolute; top: 22px; right: 0; }
  .atlas.is-first-visit .place { padding-right: 0; }
  .atlas.is-first-visit .city-picker { position: relative; top: auto; right: auto; }
  .atlas.is-first-visit .place h1 { font-size: 20px; }
  .atlas.is-first-visit .destination-line { gap: 5px; padding-block: 6px 8px; }
  .first-visit-description { font-size: 12px; }
  .trip-steps li { gap: 4px; font-size: 10px; }
  .trip-steps li + li { padding-left: 5px; }
  .city-picker-toggle { min-height: 44px; padding: 6px 1px; font-size: 12px; }
  .city-picker-toggle span { margin-left: 5px; }
  .city-menu {
    width: min(700px, calc(100vw - var(--gutter) * 2 - 15px));
    max-height: 60vh;
  }
  .picker-search-label { padding-inline: 10px; font-size: 14px; }
  .picker-search-label span { font-size: 12px; }
  #city-search { width: calc(100% - 20px); min-height: 44px; margin-inline: 10px; }
  .picker-selection { margin-inline: 10px; }
  .picker-layout { grid-template-columns: minmax(0, 1fr); }
  .region-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 4px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .region-index button {
    grid-template-columns: 20px minmax(0, 1fr) 8px;
    min-height: 44px;
    padding: 4px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .region-index button > span:first-child { font-size: 12px; }
  .region-index button > span:last-child { font-size: 12px; }
  .region-index button small { font-size: 11px; }
  .city-list-heading { padding-inline: 10px; }
  .city-option { min-height: 48px; padding-inline: 10px; }
  .city-option strong { font-size: 16px; }
  .city-option span { max-width: 53%; font-size: 12px; }
  .itinerary { margin-bottom: 12px; }
  .journey-ruler {
    grid-template-columns: minmax(0, 1fr) minmax(65px, auto) minmax(68px, auto);
    grid-template-areas:
      "time time adjust"
      "duration count adjust";
    gap: 4px 9px;
    min-height: 0;
    padding: 10px 10px 8px;
  }
  .journey-time {
    grid-area: time;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    row-gap: 1px;
    column-gap: 0;
    padding: 0 0 6px;
    border-right: 0;
    border-bottom: 1px solid #c9bea5;
  }
  .journey-time .journey-label { grid-column: 1; grid-row: 1; font-size: 12px; }
  .journey-time .journey-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #local-time-range { grid-column: 1; grid-row: 2; justify-self: start; font-size: 25px; }
  #destination-time-label { grid-column: 1; grid-row: 3; font-size: 12px; white-space: nowrap; }
  #user-time-hint {
    grid-column: 1;
    grid-row: 4;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    font-size: 12px;
  }
  .user-time-label { white-space: nowrap; }
  .user-time-range { white-space: nowrap; }
  .user-time-reference { display: none; }
  .journey-duration { grid-area: duration; }
  .journey-count { grid-area: count; padding-left: 9px; border-left: 1px solid #c9bea5; }
  .journey-duration strong, .journey-count strong { margin-top: 2px; font-size: 16px; }
  .journey-label { font-size: 12px; }
  .journey-adjust { grid-area: adjust; align-self: center; }
  #toggle-conditions { min-width: 82px; min-height: 44px; font-size: 12px; }
  #toggle-conditions span { margin-left: 3px; }
  #conditions { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 2px 10px 12px; }
  .control-group, .control-group:last-of-type { padding: 9px 0 0; border: 0; border-top: 1px solid #c9bea5; }
  .control-label { margin-bottom: 5px; font-size: 13px; }
  #conditions .date-group { grid-template-columns: minmax(0, 1fr) minmax(116px, .62fr); gap: 12px; }
  .date-form-group .control-label { margin-bottom: 5px; }
  .date-form-group .date-controls { min-height: 46px; gap: 8px; }
  .date-field { min-height: 44px; }
  .date-field select { width: 55px; min-height: 44px; font-size: 21px; }
  .atlas.is-date-step .stepper { margin-left: 0; }
  .atlas.is-date-step .nights-hint { margin-left: 0; }
  .atlas.is-date-step .trip-start-row { align-items: flex-start; gap: 4px 12px; }
  .atlas.is-date-step #trip-start-hint { flex-basis: 100%; }
  .stepper { gap: 4px; margin-left: auto; }
  .stepper button { width: 44px; height: 44px; font-size: 22px; }
  .stepper output { font-size: 24px; }
  .nights-group .stepper button { width: 44px; height: 44px; }
  #start-trip { width: 100%; min-height: 48px; padding: 8px 4px; font-size: 14px; text-align: left; }
  .time-controls { min-height: 44px; gap: 9px; }
  .time-controls select { width: min(42vw, 120px); min-height: 44px; font-size: 20px; }
  .window-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 6px; border-block: 1px solid #c9bea5; }
  .window-presets button { min-width: 0; min-height: 44px; padding-inline: 2px; font-size: 12px; }
  .choice-line { max-width: none; }
  .choice-line button { min-height: 46px; font-size: 23px; }
  .count-controls { min-height: 44px; }
  .count-controls select { width: 66px; min-height: 44px; font-size: 21px; }
  .count-group p { max-width: none; margin-top: 4px; font-size: 12px; }
  .control-feedback { min-height: 22px; padding: 7px 0 0; font-size: 13px; }
  .loading, .data-state-message { min-height: 50px; font-size: 14px; }
  .availability-retry, .availability-picker-action { margin-left: 0; }
  .weather-sheet { display: flex; flex-direction: column; }
  .sheet-heading { display: block; order: 1; padding: 0; border: 0; }
  .sheet-heading::before {
    content: "2006—2025 · 過去の気象帯";
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font: 12px/1.2 var(--serif);
  }
  .sheet-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .observation-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 7px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--rule);
  }
  .history-line { gap: 0 4px; margin: 0; font-size: 12px; line-height: 1.3; white-space: nowrap; }
  .history-line strong { font-size: 23px; }
  .result-condition { flex: 0 1 auto; margin: 0; font-size: 12px; line-height: 1.35; white-space: nowrap; }
  .history-line, .result-condition { white-space: normal; }
  .condition-extra { display: none; }
  .result-period { display: none; }
  .change-note { order: 2; }
  .timeline-scroll { order: 3; }
  .legend { order: 4; justify-content: flex-start; }
  .sheet-foot { order: 5; }
  .trust-line { order: 6; }
  .detail-toolbar { order: 7; }
  #year-detail { order: 8; }
  .legend { justify-content: flex-start; gap: 6px 10px; padding: 6px 0 4px; font-size: 12px; }
  .legend span { gap: 4px; }
  .change-note { display: block; min-height: 42px; padding: 6px 0; font-size: 12px; }
  .baseline-note { display: none; }
  .change-note > span { display: block; }
  .change-note > span + span { margin-top: 3px; }
  .change-note .current-rule { display: block; margin: 3px 0 0; font-size: 12px; }
  .diff-key { display: flex !important; flex-wrap: wrap; }
  .diff-key button { margin-left: auto; font-size: 12px; }
  .timeline-scroll { margin-inline: 0; }
  .timeline-inner { min-width: 0; }
  .ruler-row, .year-row { grid-template-columns: 51px repeat(var(--days), minmax(0, 1fr)) 79px; column-gap: 5px; }
  .ruler-row { height: 64px; }
  .year-col { position: sticky; left: 0; z-index: 3; padding-left: 5px; background: var(--paper); }
  .ruler-row > .year-col { background: #eee8d9; }
  .ruler-row > .result-col { position: sticky; right: 0; z-index: 4; justify-content: flex-end; padding-right: 4px; background: #eee8d9; font-size: 12px; }
  .year-row > .year-col { font-size: 13px; }
  .year-row.selected > .year-col, .year-row.selected > .result-col { background: var(--paper-deep); }
  .day-heading > strong { font-size: 16px; }
  .day-heading > span { font-size: 11px; }
  .ruler-ticks { font-size: 11px; }
  .ruler-window span { font-size: 11px; }
  .day-band svg { height: 21px; }
  .year-row .result-col { position: sticky; right: 0; z-index: 2; padding-right: 4px; gap: 2px; background: var(--paper); }
  .year-row.selected .result-col { background: var(--paper-deep); }
  .year-count { font-size: 13px; }
  .sheet-foot { display: grid; gap: 2px; padding: 6px 0; font-size: 12px; }
  .trust-line { display: grid; gap: 3px; padding: 6px 0; }
  .historical-disclaimer, .resolution-note { font-size: 12px; }
  .detail-toolbar { gap: 8px; padding: 7px 0; }
  .detail-toolbar label { font-size: 14px; }
  .detail-toolbar select { width: 98px; min-height: 44px; font-size: 19px; }
  .detail-toolbar > span { margin-left: auto; font-size: 12px; }
  .year-detail { grid-template-columns: minmax(0, 1fr); }
  .year-detail-day {
    grid-template-columns: 50px 52px minmax(0, 1fr);
    gap: 4px 7px;
    padding: 7px 0;
  }
  .year-detail-day:nth-child(even) { padding-left: 0; border-left: 0; }
  .year-detail-day > span { font-size: 12px; }
  .year-detail-day > strong { font-size: 15px; }
  .year-detail-day p { font-size: 13px; }
  .year-detail-day .block-list { font-size: 14px; }
  .year-detail-day .detail-metrics { font-size: 12px; }
  .reading-notes { gap: 13px; margin-top: 14px; padding-top: 10px; }
  .findings { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .findings h3 { font-size: 17px; }
  .findings p { font-size: 13px; }
  .hint { padding-top: 10px; border-top: 1px solid var(--rule); }
  .hint button { min-height: 44px; }
  .sensitivity { padding-top: 6px; }
  .sensitivity summary { min-height: 48px; font-size: 16px; }
  .sensitivity summary small { font-size: 12px; }
  .sensitivity-content > p, #threshold-note { font-size: 13px; }
  .threshold-table { font-size: 13px; }
  .threshold-table thead th { padding-inline: 5px; font-size: 12px; }
  .threshold-table button { min-width: 0; width: 100%; min-height: 44px; padding: 4px 5px; font-size: 13px; }
  .threshold-table td { width: 38%; padding-inline: 5px; }
  .threshold-table td strong { font-size: 16px; }
  .monthly-comparison summary { min-height: 44px; }
  #monthly-summary { font-size: 13px; }
  #monthly-summary strong { font-size: 20px; }
  .method { padding-block: 12px; }
  .method summary { min-height: 48px; font-size: 14px; }
  .method-body { font-size: 13px; line-height: 1.75; }
  footer { display: grid; gap: 7px; padding: 13px 0 17px; font-size: 16px; }
  footer em { display: block; margin: 4px 0 0; font-size: 12px; }
  footer > span:last-child { font-size: 12px; line-height: 1.5; }
  footer small { font-size: 11px; }
}
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .masthead, .atlas { width: calc(100% - var(--gutter) * 2); }
  .masthead { min-height: 57px; gap: 6px; }
  .brand img { width: 25px; height: 25px; }
  .brand > span { font-size: 20px; }
  .brand-copy { max-width: 138px; font-size: 12px; }
  .atlas.is-first-visit .destination-line { gap: 5px; padding-block: 8px 10px; }
  .first-visit-description { font-size: 12px; }
  .trip-steps li { gap: 4px; font-size: 10px; }
  .trip-steps li + li { padding-left: 5px; }
  .place { padding-right: 87px; }
  .place h1 { font-size: 31px; }
  .place h1 > span { margin-left: 5px; font-size: 12px; }
  .eyebrow { font-size: 12px; }
  .trip-date { font-size: 13px; }
  .city-picker { top: 19px; }
  .city-picker-toggle { font-size: 12px; }
  .journey-ruler { grid-template-columns: minmax(0, 1fr) 80px 73px; column-gap: 6px; padding-inline: 8px; }
  .journey-time { column-gap: 4px; }
  .journey-time .journey-label { font-size: 12px; }
  #local-time-range { font-size: 22px; }
  #destination-time-label { font-size: 12px; }
  #user-time-hint { max-width: 100%; gap: 3px; font-size: 12px; }
  #toggle-conditions { min-width: 0; padding-inline: 2px; font-size: 11px; }
  #toggle-conditions .action-mark { display: inline; margin-left: 2px; font-size: 13px; }
  .journey-label { font-size: 12px; }
  .journey-duration strong, .journey-count strong { font-size: 15px; }
  .place h1 { max-width: 100%; }
  .ruler-row, .year-row { grid-template-columns: 47px repeat(var(--days), minmax(0, 1fr)) 74px; column-gap: 4px; }
  .year-col { padding-left: 4px; }
  .ruler-row > .result-col, .year-row .result-col { padding-right: 3px; }
  .ruler-row > .result-col { font-size: 12px; }
  .year-count { font-size: 12px; }
  .sheet-title h2 { font-size: 16px; }
  .history-line { font-size: 13px; }
  .history-line strong { font-size: 27px; }
  .result-condition { font-size: 12px; }
  .city-option { align-items: flex-start; flex-direction: column; gap: 2px; }
  .city-option span { max-width: 100%; text-align: left; }
  .region-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-index button { min-height: 44px; }
  #conditions .date-group { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .date-form-group .date-controls { gap: 12px; }
  .date-field select { width: 62px; }
  .nights-group .stepper { gap: 9px; }
  #start-trip { font-size: 14px; }
  .atlas-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
  .atlas-region ul { grid-template-columns: minmax(0, 1fr); }
  .atlas-region li:nth-child(n + 2) { display: none; }
  .atlas-region-heading h3 { font-size: 12px; }
  .atlas-region-count { font-size: 9px; }
  .sample-question-action { white-space: normal; text-align: right; }
}
/* Result: answer first, itinerary drawing next, then historical context. */
.weather-sheet .sheet-heading { display: block; padding: 6px 0 15px; border: 0; }
.weather-sheet .sheet-title { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.weather-sheet .sheet-title .eyebrow { display: none; }
.weather-sheet .sheet-title h2 { margin: 0 0 13px; font-size: 17px; color: var(--muted); }
.historical-context { margin-top: 15px; padding-top: 9px; border-top: 1px solid var(--rule); }
.historical-context .sheet-heading { padding: 0 0 4px; }
.historical-context .sheet-title h2 { margin: 0; }
.historical-summary-title { margin: 6px 0 4px; color: var(--muted); font: 13px/1.5 var(--sans); }
.weather-sheet .observation-summary { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 7px 32px; padding: 0; border: 0; }
.result-context, .spread-label { margin: 0 0 5px; font-size: 13px; line-height: 1.6; }
.weather-sheet .history-line { display: block; white-space: normal; }
.weather-sheet .history-line strong { display: block; font: 27px/1.55 var(--serif); font-weight: 500; white-space: normal; text-wrap: balance; }
.conclusion-part { display: inline-block; }
.result-spread { padding-left: 22px; border-left: 1px solid var(--rule); }
.spread-label span { display: inline-block; color: var(--muted); }
.spread-range { margin: 0; font: 15px/1.2 var(--serif); }
.spread-range strong { margin-right: 5px; font: 35px/1.2 var(--number); font-variant-numeric: tabular-nums; }
.margin-reading { margin: 5px 0 0; font-size: 14px; line-height: 1.6; text-wrap: balance; }
.weather-sheet .result-condition { grid-column: 1 / -1; margin: 5px 0 0; white-space: normal; font-size: 13px; line-height: 1.65; }
.weather-sheet .condition-extra { display: inline; }
.weather-sheet .result-period { display: block; grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.6; }
#edit-rain, #edit-sky { min-height: 36px; padding: 3px 2px; border-bottom: 1px solid var(--ochre); background: transparent; white-space: nowrap; font-size: 12px; }
#edit-rain span, #edit-sky span { color: var(--vermillion); }
.decision-layer {
  margin: 0 0 13px;
  padding: 10px 0 9px;
  border-top: 1px solid var(--ink);
}
.decision-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; }
.decision-heading .eyebrow { color: var(--ochre-ink, #765c29); font-size: 11px; }
.decision-heading h2 { margin: 0; font: 18px/1.4 var(--serif); font-weight: 500; }
.decision-narrative { max-width: 78em; margin: 7px 0 8px; }
.decision-narrative p { margin: 3px 0; line-height: 1.65; }
.decision-answer { font: 19px/1.55 var(--serif); }
.decision-support { font-size: 14px; }
.decision-common { font-size: 14px; }
.decision-method { margin: 5px 0 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.itinerary-figure { margin: 7px 0 0; padding: 8px 0 0; border-top: 1px solid var(--rule); }
.itinerary-figure-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 12px; }
.itinerary-figure-heading h3 { margin: 0; font: 15px/1.4 var(--serif); font-weight: 500; }
.itinerary-figure-heading > span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.itinerary-axis, .itinerary-day { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 5px 14px; }
.itinerary-axis { align-items: end; margin-top: 7px; color: var(--muted); font-size: 10px; }
.itinerary-axis-scale { position: relative; height: 19px; border-bottom: 1px solid var(--rule); font: 10px/1.2 var(--number); font-variant-numeric: tabular-nums; }
.itinerary-axis-scale > span { position: absolute; left: var(--tick-position); bottom: 2px; transform: translateX(-50%); white-space: nowrap; }
.itinerary-axis-scale > span:first-child { transform: none; }
.itinerary-axis-scale > span:last-child { transform: translateX(-100%); }
.itinerary-days { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.itinerary-day { align-items: center; padding: 5px 0 4px; border-bottom: 1px solid var(--rule); }
.itinerary-date { display: flex; flex-direction: column; gap: 1px; }
.itinerary-date time { font: 15px/1.25 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.itinerary-date small { color: var(--muted); font: 9px/1.2 var(--number); letter-spacing: .05em; }
.itinerary-day-track { position: relative; min-width: 0; height: calc(14px * var(--lane-count) + 12px); }
.itinerary-track-base { position: absolute; inset: 0; }
.itinerary-day-track::before { position: absolute; top: 5px; right: 0; left: 0; height: 1px; background: #bdb5a5; content: ""; }
.itinerary-tick { position: absolute; top: 1px; left: var(--tick-position); height: 8px; border-left: 1px solid #9f988a; }
.itinerary-marker { position: absolute; top: calc(8px + var(--mark-lane) * 14px); left: var(--mark-left); width: var(--mark-width); height: 10px; min-width: 2px; border: 1px solid var(--ochre); background: repeating-linear-gradient(135deg, #e8dcc0 0 3px, #f4efe3 3px 6px); }
.itinerary-marker > span { display: none; }
.itinerary-marker::before, .itinerary-marker::after { position: absolute; top: -3px; height: 14px; border-left: 1px solid var(--ochre-ink, #765c29); content: ""; }
.itinerary-marker::before { left: -1px; }
.itinerary-marker::after { right: -1px; }
.itinerary-period-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: -1px; }
.itinerary-period-action, .decision-adjust {
  min-height: 40px;
  padding: 4px 3px 3px;
  border-bottom: 1px solid var(--ochre);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  white-space: normal;
}
.itinerary-period-action { display: inline-flex; align-items: baseline; gap: 0 5px; max-width: 100%; text-align: left; }
.itinerary-period-action:hover { border-bottom-color: var(--vermillion); background: var(--paper-deep); }
.itinerary-period-index, .itinerary-period-mark { color: var(--vermillion); }
.itinerary-period-details { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 1px 7px; min-width: 0; }
.itinerary-period-action time { font: 13px/1.3 var(--number); font-variant-numeric: tabular-nums; }
.itinerary-period-count { color: var(--muted); font-size: 11px; }
.itinerary-period-support { margin-left: 4px; color: var(--muted); font: 12px/1.3 var(--number); font-variant-numeric: tabular-nums; }
.itinerary-figure figcaption { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.decision-empty { max-width: 60em; margin: 5px 0 2px; font-size: 14px; line-height: 1.6; }
.decision-adjust { margin-top: 2px; }
.ruler-day.decision-target .day-heading strong { box-shadow: inset 0 -2px var(--ochre); }
.day-band.decision-target { outline: 1px solid var(--ochre); outline-offset: -1px; background: var(--ochre-pale); }
#result-journey .itinerary { margin: 0 0 12px; }
#result-journey .journey-ruler { min-height: 61px; }
#result-journey #local-time-range { font-size: 22px; }
#result-journey .journey-duration strong, #result-journey .journey-count strong { font-size: 17px; }
#result-journey .itinerary:has(#conditions[hidden]) .journey-ruler { grid-template-columns: minmax(0, 1fr) auto; }
#result-journey .itinerary:has(#conditions[hidden]) .journey-duration,
#result-journey .itinerary:has(#conditions[hidden]) .journey-count { display: none; }
#result-journey .itinerary:has(#conditions[hidden]) .journey-time { border-right: 0; grid-template-columns: auto minmax(0, 1fr); }
#result-journey .itinerary:has(#conditions[hidden]) #local-time-range { justify-self: start; margin-left: 12px; }
#conditions .sensitivity { grid-column: 1 / -1; padding: 8px 0 0; border-left: 0; border-top: 1px solid #c9bea5; }
#conditions .sensitivity-content { max-width: 720px; }
.is-date-step #sensitivity-details { display: none; }
.evidence-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 12px; border-bottom: 1px solid var(--ink); padding: 5px 0 7px; }
.evidence-heading h3 { margin: 0; font: 17px/1.5 var(--serif); }
.evidence-heading > span { color: var(--muted); font-size: 12px; }
.weather-sheet .legend { justify-content: flex-start; padding-block: 8px; }
.ruler-row > .result-col small { display: block; margin-top: 3px; font: 11px var(--sans); }
.diff-key > span { display: inline-flex; align-items: center; gap: 4px; }
.changed-condition { display: block; margin-block: 3px; color: var(--ink); }
.diff-explanation { flex-basis: 100%; font-size: 12px; }
.band-reading { margin-left: auto; max-width: 100%; }
.band-reading summary { display: flex; align-items: center; min-height: 32px; padding-inline: 3px; border-bottom: 1px solid var(--rule); cursor: pointer; }
.band-reading[open] { flex-basis: 100%; }
.band-reading p { max-width: 65em; margin: 6px 0; line-height: 1.6; }
.band-reading-mark { margin-left: 10px; color: var(--vermillion); }
.band-reading-mark::before { content: '＋'; }
.band-reading[open] .band-reading-mark::before { content: '−'; }
.reading-notes { grid-template-columns: minmax(0, 1fr); }
#clear-diff { min-height: 44px; }
.weather-sheet .change-note[hidden] { display: none; }
.weather-sheet .year-row { min-height: 28px; }
@media (max-width: 700px) {
  .weather-sheet { display: block; }
  .weather-sheet .sheet-heading::before { display: none; }
  .weather-sheet .sheet-heading { padding: 2px 0 12px; }
  .weather-sheet .sheet-title h2 { margin-bottom: 8px; font-size: 15px; }
  .historical-context { margin-top: 12px; padding-top: 7px; }
  .historical-summary-title { margin-top: 5px; font-size: 12px; }
  .weather-sheet .observation-summary { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .weather-sheet .history-line strong { font-size: 22px; line-height: 1.5; }
  .result-context { margin-bottom: 2px; font-size: 12px; }
  .result-spread { padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: baseline; }
  .spread-label { margin: 0; font-size: 12px; }
  .spread-range strong { font-size: 29px; }
  .margin-reading { grid-column: 1 / -1; margin: 0; font-size: 13px; }
  .weather-sheet .result-condition { margin: 0; font-size: 12px; }
  #edit-rain, #edit-sky { min-height: 44px; }
  .decision-layer { margin: 0 0 12px; padding: 8px 0; }
  .decision-heading { display: block; }
  .decision-heading h2 { margin-top: 2px; font-size: 16px; }
  .decision-narrative { margin: 6px 0; }
  .decision-answer { font-size: 17px; line-height: 1.55; }
  .decision-support, .decision-common { font-size: 12px; line-height: 1.55; }
  .decision-method { font-size: 11px; }
  .itinerary-figure { padding-top: 6px; }
  .itinerary-figure-heading h3 { font-size: 14px; }
  .itinerary-figure-heading > span { font-size: 11px; }
  .itinerary-axis, .itinerary-day { grid-template-columns: 54px minmax(0, 1fr); gap: 4px 8px; }
  .itinerary-axis { font-size: 9px; }
  .itinerary-axis-scale { font-size: 9px; }
  .itinerary-date time { font-size: 13px; }
  .itinerary-date small { font-size: 8px; }
  .itinerary-period-actions { gap: 0 7px; }
  .itinerary-period-action { min-height: 44px; padding-inline: 2px; font-size: 11px; }
  .itinerary-period-action time, .itinerary-period-support { font-size: 11px; }
  .itinerary-period-count { font-size: 10px; }
  .itinerary-figure figcaption { font-size: 10px; }
  .weather-sheet .condition-extra { display: none; }
  #result-journey .journey-ruler { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'time adjust' 'duration count'; gap: 5px 10px; padding: 9px; }
  #result-journey .itinerary:has(#conditions[hidden]) .journey-ruler { grid-template-areas: 'time adjust'; }
  #result-journey .itinerary:has(#conditions[hidden]) .journey-time { grid-template-columns: minmax(0, 1fr); }
  #result-journey .itinerary:has(#conditions[hidden]) #local-time-range { margin-left: 0; }
  #result-journey .journey-time { border-bottom: 0; padding: 0; }
  #result-journey .journey-duration, #result-journey .journey-count { display: flex; align-items: baseline; gap: 6px; }
  #result-journey .journey-count { border: 0; padding: 0; }
  #result-journey .journey-label { font-size: 12px; }
  #result-journey #user-time-hint { font-size: 12px; gap: 3px; }
  #result-journey #destination-time-label { white-space: normal; font-size: 12px; }
  #result-journey #toggle-conditions { min-width: 0; font-size: 12px; }
  .evidence-heading h3 { font-size: 16px; }
  .weather-sheet .legend { gap: 5px 12px; }
  .band-reading { margin-left: 0; }
  .band-reading summary { min-height: 44px; }
  .weather-sheet .year-row { min-height: 34px; }
}
@media (max-width: 700px) {
  .analytics-consent { right: 12px; bottom: 12px; left: 12px; align-items: stretch; flex-direction: column; gap: 10px; padding: 12px 14px; }
  .analytics-consent-actions { justify-content: flex-end; }
  .info-page { padding: 30px 0 48px; }
  .info-page h1 { font-size: 30px; }
  .info-page .info-lead { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
