/* Shared visual system for the tracker, overview and bilingual editorial pages. */
:root {
  color-scheme: light;
  --navy: #20372f;
  --ink: #20372f;
  --muted: #5c6d65;
  --teal: #226a4c;
  --sea: #226a4c;
  --mint: #ebf3ed;
  --cream: #f6f7f3;
  --paper: #fff;
  --line: #dce3db;
  --coral: #226a4c;
  --amber: #9a6016;
  --red: #ad3637;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--cream);
  color: var(--ink);
}
body { min-width: 320px; background: var(--cream); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
a { text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 4px;
}
button, summary { min-height: 44px; }
[hidden] { display: none !important; }
h1 { font: 400 clamp(35px, 4vw, 42px)/1.14 Georgia, serif; letter-spacing: -1.3px; }
h2 { font-family: Arial, Helvetica, sans-serif; font-weight: 600; letter-spacing: -.6px; }
.page-shell, .overview-shell { width: min(1104px, calc(100% - 76px)); max-width: 1104px; }
.site-header { min-height: 82px; height: auto; padding: 14px 0; gap: 24px; }
.brand { gap: 10px; }
.brand-mark { width: 28px; height: 32px; color: var(--ink); background: none; box-shadow: none; border-radius: 0; }
.brand-mark svg { width: 30px; }
.brand strong { font: 29px/1 Georgia, serif; letter-spacing: -1.2px; white-space: nowrap; text-transform: lowercase; }
.brand small { display: none; }
.main-nav { gap: 22px; }
.main-nav .nav-button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 10px 0; border-radius: 0; font-size: 13px; font-weight: 600; border-bottom: 2px solid transparent; }
.main-nav .nav-button.active { background: none; border-bottom-color: var(--teal); color: var(--ink); }
.main-nav .nav-button:hover { background: none; color: var(--teal); border-bottom-color: var(--line); }
.count { border-radius: 5px; background: var(--mint); color: var(--teal); }
.language-switch { border: 0; padding: 0; }
.language-switch a { min-width: 36px; min-height: 44px; display: grid; place-items: center; padding: 8px; }
.language-switch a[aria-current="page"] { background: var(--mint); }
.hero, .overview-hero { padding: 29px 0 24px; }
.hero h1 { max-width: none; font-size: clamp(35px, 4vw, 42px); margin-bottom: 12px; }
.hero p:last-child, .overview-hero > p:last-child { font-size: 15px; max-width: 650px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.search-card { padding: 18px 20px 12px; border-radius: 9px; box-shadow: none; background: var(--paper); }
.search-fields { grid-template-columns: minmax(0, 2fr) minmax(170px, .85fr) auto; gap: 18px; }
.route-fields { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); gap: 9px; align-items: end; min-width: 0; }
.field > span, .date-field > label { color: var(--ink); font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select { min-height: 46px; height: 46px; font-size: 16px; border-color: #cdd7cd; border-radius: 5px; background: white; }
.swap-button { height: 46px; min-width: 32px; padding: 0; font-size: 23px; }
.date-control > input[type="text"] { padding: 0 44px 0 12px; line-height: 44px; font-variant-numeric: tabular-nums; }
.date-control > .calendar-icon, .date-control > input[type="date"] { height: 46px; width: 44px; }
.date-control:focus-within { border-radius: 5px; outline-color: var(--teal); }
.primary-button { height: 46px; background: var(--teal); border-color: var(--teal); border-radius: 5px; font-size: 13px; gap: 14px; padding: 0 17px; }
.primary-button:hover { background: #174e38; }
.submit-short { display: none; }
.search-bottom { margin-top: 8px; gap: 8px; }
.quick-dates { display: flex; flex-wrap: wrap; gap: 4px; }
.quick-dates button { min-height: 36px; padding: 7px 10px; font-size: 11px; }
.timezone-note { font-size: 10px; }
.dashboard-grid { margin-top: 28px; }
.crossing-content { display: flex; flex-direction: column; min-width: 0; }
.sailings-section { order: 0; margin-top: 0; scroll-margin-top: 20px; }
.section-heading { align-items: center; gap: 16px; }
.section-heading h2 { font-size: 25px; line-height: 1.3; }
.sailing-heading .eyebrow { color: var(--teal); }
.results-meta { margin: 7px 0 0; font-size: 12px; }
.day-summary-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-top: 8px; }
.day-summary-row p { font-size: 13px; color: var(--muted); margin: 0; }
.day-summary-row a { font-size: 12px; color: var(--teal); padding-block: 8px; }
.filter-row { margin: 10px 0 14px; }
.filter-row button { min-height: 36px; font-size: 12px; padding: 7px 12px; }
.sailing-list, #trips-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sailing-list > .empty-state, .sailing-list > .loading-state { grid-column: 1/-1; }
.forecast-card { --tone: var(--muted); border-radius: 8px; border-top: 3px solid var(--tone); }
.forecast-card.low { --tone: var(--teal); }
.forecast-card.medium { --tone: var(--amber); }
.forecast-card.high { --tone: var(--red); }
.forecast-card .sailing-main, #trips-list .forecast-card .sailing-main { display: flex; flex-direction: column; align-items: stretch; padding: 18px 20px 16px; gap: 16px; }
.departure-block { min-width: 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.sailing-time { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 600; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.time-point { min-width: 0; }
.time-label { display: block; font-size: 11px; line-height: 1.5; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-bottom: 4px; }
.sailing-time .arrival-time { font-size: 22px; color: var(--muted); }
.vessel-line { font-size: 11px; line-height: 1.5; margin-top: 8px; overflow-wrap: anywhere; }
.card-estimate { min-height: 106px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.risk-display { flex: none; gap: 3px; width: 100%; }
.estimate-label { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.estimate-label .prediction-help { margin: 0; }
.estimate-label .prediction-info { width: 28px; height: 28px; min-height: 28px; padding: 4px; }
.risk-display .risk-text { display: block; line-height: 1.15; }
.risk-display .risk-text strong { display: block; font-size: 52px; font-weight: 600; line-height: 1.15; letter-spacing: -2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.risk-text { font-size: 13px; }
.risk-meter { height: 5px; margin-top: 10px; background: #edf0eb; }
.card-outcome { display: block; font-size: 25px; line-height: 1.2; color: var(--tone); margin-bottom: 10px; letter-spacing: -.7px; }
.card-estimate .cancellation-reason { margin: -4px 0 12px; font-size: 13px; }
.card-estimate .prior-prediction { font-size: 12px; }
.card-estimate .prior-prediction strong { font-size: 16px; }
.forecast-card .sailing-status { display: block; justify-self: stretch; padding: 9px 20px; background: #f1f5ef; border-top: 1px solid var(--line); font-size: 11px; }
.forecast-card.high .sailing-status { background: #fbefec; }
.trip-progress { margin: 0 20px 13px; padding: 11px 13px 10px; background: #f6f8f4; border: 1px solid var(--line); border-radius: 7px; }
.trip-progress-times { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.trip-progress-times > span { min-width: 0; }
.trip-progress-times > span:last-child { text-align: right; }
.trip-progress-times small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 400; }
.trip-progress-track { position: relative; height: 8px; margin: 8px 0; overflow: hidden; background: #e3eae2; border-radius: 99px; }
.trip-progress-track > span { display: block; width: var(--trip-progress); height: 100%; background: var(--teal); border-radius: inherit; }
.trip-progress-message, .trip-progress-note, .trip-progress-source { margin: 0; font-size: 11px; line-height: 1.5; }
.trip-progress-message { font-weight: 600; }
.trip-progress-note, .trip-progress-source { color: var(--muted); }
.trip-progress-late { background: #fcf6eb; border-color: #e9d9bd; }
.trip-progress-late .trip-progress-message { color: #7c5015; }
.operator-label { color: var(--muted); }
.sailing-status .badge { padding: 0; background: none; font-size: 11px; color: var(--ink); }
.sailing-status .badge::before { display: none; }
.sailing-status .badge.cancelled { color: var(--red); }
.status-description { margin-top: 4px; }
.card-conditions { font-size: 12px; border-top: 1px solid var(--line); }
.card-conditions summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 10px 20px; font-weight: 500; }
.card-conditions summary::-webkit-details-marker { display: none; }
.card-conditions summary::after { content: '+'; font-size: 20px; line-height: 1; }
.card-conditions[open] summary::after { content: '−'; }
.card-conditions .card-weather { padding: 10px 20px 16px; border: 0; background: none; }
.forecast-card .sailing-bottom, #trips-list .forecast-card .sailing-bottom { padding: 8px 13px; gap: 6px; align-items: center; background: white; flex-wrap: wrap; }
.forecast-card .follow-button, #trips-list .forecast-card .follow-button { min-height: 40px; padding: 8px; font-size: 12px; border: 0; justify-self: auto; flex: none; }
.forecast-card .details-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px; font-size: 12px; margin-left: auto; text-decoration: none; }
.card-warning { padding: 10px 20px; }
.card-route { padding: 16px 20px 0; font-size: 12px; flex-direction: column; gap: 4px; }
.source-checks { margin: 13px 0 0; font-size: 10px; color: var(--muted); line-height: 1.7; }
.week-section { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.week-section .muted { display: block; font-size: 12px; }
.week-intro { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; margin-top: 18px; padding: 3px 3px 12px; margin-inline: -3px; }
.day-card { display: flex; flex-direction: column; align-items: stretch; text-align: left; padding: 14px 12px 10px; gap: 0; border-radius: 7px; min-height: 192px; background: white; border: 1px solid var(--line); }
.day-card.selected { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: #eff5ed; }
.day-name { font-size: 12px; font-weight: 600; }
.day-date { font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.5; margin-top: 4px; }
.day-risk { display: flex; align-items: center; margin-top: 17px; font-size: 21px; font-weight: 600; letter-spacing: -.7px; min-height: 48px; line-height: 1.15; flex: 0 0 48px; }
.day-risk.unknown { font-size: 14px; letter-spacing: 0; }
.risk-range, .range-placeholder { height: 5px; flex: 0 0 5px; margin-top: 8px; }
.day-caption { font-size: 11px; line-height: 1.4; margin-top: 10px; margin-bottom: 15px; color: var(--muted); }
.day-action { margin-top: auto; border-top: 1px solid var(--line); padding-top: 9px; font-size: 10px; line-height: 16px; color: var(--muted); }
.day-card.selected .day-action { color: var(--teal); }
.coverage-note, .outlook-help { font-size: 12px; line-height: 1.6; margin-top: 8px; }
.outlook-help summary { display: inline-flex; align-items: center; }
.alternative-day { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #eaf1e8; border: 1px solid #d7e2d4; border-radius: 7px; padding: 17px 20px; margin-top: 17px; font-size: 13px; }
.alternative-day strong { line-height: 1.6; }
.alternative-day p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.alternative-day button { padding: 8px; background: none; border: 0; white-space: nowrap; color: var(--teal); font-size: 12px; font-weight: 600; }
.about-service { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 30px 0 0; margin-top: 38px; }
.about-service h2 { font-size: 24px; }
.about-service p { font-size: 14px; color: var(--muted); }
.about-columns h3 { font-size: 15px; margin-bottom: 8px; }
.learning-links { font-size: 13px; gap: 14px 28px; }
.site-footer { margin-top: 32px; padding-block: 24px; font-size: 11px; gap: 14px 24px; }
.footer-links { font-size: 11px; gap: 12px 18px; }
.trips-heading { padding-top: 30px; }
.trips-heading h1 { font-size: 38px; }
.monitor-banner { max-width: none; background: var(--mint); }
.detail-risk .risk-text strong { font-size: 48px; }
dialog { border-radius: 10px; background: var(--cream); padding: 26px; }
dialog .icon-button { width: 44px; height: 44px; min-height: 44px; background: none; }
.detail-section p { font-size: 13px; line-height: 1.7; }
.contact-main { padding-top: 45px; }
.contact-card { border-radius: 8px; box-shadow: none; }
.contact-email { overflow-wrap: anywhere; }
.overview-choice, .overview-panel { border-radius: 8px; box-shadow: none; }
.overview-hero h1 { font-size: 40px; }
.overview-choice.selected { background: #eff5ed; }
.overview-table-wrap { overflow-x: auto; }
.overview-table { min-width: 460px; }
.overview-table th { background: #eff3ed; }
.overview-details { min-width: 44px; min-height: 44px; }
.overview-probability { font-size: 24px; }
.overview-refresh, .page-buttons button { min-height: 44px; min-width: 44px; }
/* Generated pages share the tracker shell while retaining readable article measures. */
.editorial-page { font: 16px/1.7 Arial, Helvetica, sans-serif; }
.editorial-page .masthead { width: min(1104px, calc(100% - 76px)); max-width: 1104px; padding: 14px 0; min-height: 82px; }
.editorial-page .brand { display: flex; align-items: center; color: var(--ink); font: 29px/1 Georgia, serif; letter-spacing: -1.2px; text-transform: lowercase; }
.editorial-page .brand span { width: 28px; height: 32px; margin: 0; font-size: inherit; }
.editorial-page .brand svg { width: 28px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.editorial-page .masthead nav { align-items: center; font-size: 13px; gap: 24px; }
.editorial-page .masthead nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--muted); }
.editorial-page main { max-width: 1104px; padding: 26px 0 48px; width: calc(100% - 76px); }
.editorial-page .breadcrumbs { margin-bottom: 25px; font-size: 12px; }
.editorial-page .headline { margin-bottom: 32px; max-width: 860px; }
.editorial-page h1 { font-size: clamp(33px, 4.2vw, 46px); margin: 12px 0 16px; }
.editorial-page .lead { font-size: 18px; line-height: 1.65; }
.editorial-page .prose { max-width: 840px; }
.editorial-page .prose > p, .editorial-page .prose > ol { max-width: 72ch; }
.editorial-page .prose h2 { font: 600 24px/1.35 Arial, Helvetica, sans-serif; letter-spacing: -.5px; }
.editorial-page a { color: var(--teal); }
.editorial-page .card { border-radius: 8px; padding: 23px 24px 40px; background: white; }
.editorial-page .prose .card h2 { font: 600 21px/1.35 Arial, Helvetica, sans-serif; }
.editorial-page .notice { background: var(--mint); border: 1px solid var(--line); padding: 18px 22px; border-radius: 7px; }
.editorial-page .article-contents { background: white; border-radius: 8px; }
.editorial-page .actions a { background: var(--teal); color: white; border-radius: 5px; min-height: 44px; }
.editorial-page .chart { background: var(--mint); border-radius: 8px; }
.editorial-page .table-wrap, .editorial-page #live-route-status { background: white; border-radius: 8px; }
.editorial-page footer { width: min(1104px, calc(100% - 76px)); margin: auto; padding: 24px 0 30px; border-top: 1px solid var(--line); background: none; color: var(--muted); font-size: 12px; }
.editorial-page footer p { color: var(--muted); }
.editorial-page footer a { color: var(--teal); }
@media (max-width: 1050px) {
  .page-shell, .overview-shell, .editorial-page .masthead, .editorial-page main, .editorial-page footer { width: calc(100% - 48px); }
  .search-fields { gap: 12px; grid-template-columns: minmax(0, 2fr) minmax(165px, .9fr) auto; }
  .forecast-submit { padding-inline: 12px; }
  .week-grid { grid-template-columns: repeat(7, minmax(122px, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; }
  .day-card { scroll-snap-align: start; }
  .sailing-list, #trips-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { gap: 14px; }
  .main-nav { gap: 16px; }
  .brand strong { font-size: 27px; }
  .search-fields { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px 10px; }
  .route-fields { grid-column: 1/-1; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); gap: 5px; }
  .date-field { grid-column: 1; }
  .forecast-submit { grid-column: 2; padding-inline: 12px; font-size: 14px; justify-content: center; gap: 9px; }
  .submit-long { display: none; }
  .submit-short { display: inline; }
  .search-bottom { flex-wrap: wrap; }
  .hero p:last-child { font-size: 14px; }
  .day-summary-row { display: block; }
  .day-summary-row a { display: inline-block; }
  .section-heading h2 { font-size: 23px; }
  .sailing-list, #trips-list { gap: 12px; }
  .alternative-day { align-items: flex-start; flex-direction: column; gap: 7px; }
  .alternative-day button { padding-left: 0; }
  .editorial-page .masthead { gap: 14px; align-items: flex-start; flex-direction: column; padding: 19px 0 9px; }
  .editorial-page .masthead nav { gap: 8px 20px; flex-wrap: wrap; }
  .editorial-page .lead { font-size: 17px; }
}
@media (max-width: 600px) {
  .page-shell, .overview-shell, .editorial-page .masthead, .editorial-page main, .editorial-page footer { width: calc(100% - 38px); }
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 116px; padding: 16px 0 5px; gap: 8px 12px; }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .language-switch { grid-column: 2; grid-row: 1; }
  .site-header .main-nav { grid-column: 1/-1; grid-row: 2; gap: 22px; }
  .main-nav .nav-button { flex: none; font-size: 12px; }
  .hero { padding: 25px 0 21px; }
  .hero h1 { font-size: 35px; }
  .hero .eyebrow { font-size: 9px; }
  .search-card { padding: 15px 14px 7px; }
  .field > span, .date-field > label { font-size: 11px; }
  .field select { padding-inline: 9px; }
  .search-bottom { margin-top: 5px; gap: 0; }
  .quick-dates { gap: 0; }
  .quick-dates button { font-size: 11px; padding-inline: 8px; }
  .timezone-note { padding: 0; line-height: 1.6; font-size: 10px; }
  .dashboard-grid { margin-top: 26px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading .text-button { min-height: 44px; font-size: 12px; }
  .sailing-list, #trips-list { grid-template-columns: 1fr; }
  .forecast-card { border-top-width: 1px; border-left: 3px solid var(--tone); }
  .forecast-card .sailing-main, #trips-list .forecast-card .sailing-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 15px 16px; align-items: start; }
  .departure-block { padding: 4px 0 0; border: 0; }
  .sailing-time { flex-wrap: wrap; gap: 8px; font-size: 28px; }
  .sailing-time .time-arrow { display: none; }
  .sailing-time .time-point { flex-basis: 100%; }
  .sailing-time .arrival-time { font-size: 19px; }
  .time-point + .time-point .time-label { margin-bottom: 1px; }
  .vessel-line { font-size: 10px; line-height: 1.6; margin-top: 9px; }
  .risk-display .risk-text strong { font-size: 48px; }
  .estimate-label { font-size: 12px; gap: 1px; }
  .card-estimate { min-height: 110px; }
  .card-outcome { font-size: 22px; }
  .forecast-card .sailing-status { padding: 9px 16px; font-size: 10px; }
  .trip-progress { margin-inline: 16px; }
  .trip-progress-times { font-size: 12px; }
  .trip-progress-source, .trip-progress-note { font-size: 10px; }
  .card-conditions summary { padding-inline: 16px; }
  .card-conditions .card-weather { padding-inline: 16px; }
  .card-route { padding: 14px 16px 0; }
  .week-section { margin-top: 27px; padding-top: 23px; }
  .week-section .muted { font-size: 10px; white-space: nowrap; }
  .week-section .eyebrow { font-size: 9px; }
  .day-risk { font-size: 21px; }
  .day-risk.unknown { font-size: 14px; }
  .day-date, .day-name { font-size: 12px; }
  .day-caption { font-size: 11px; }
  .about-service { padding: 25px 0 0; }
  .site-footer, .overview-shell .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 13px 18px; }
  .overview-hero h1 { font-size: 35px; }
  .overview-choice { padding: 16px 13px; }
  .overview-choice .choice-label { font-size: 13px; line-height: 1.5; align-items: baseline; }
  .overview-probability { font-size: 20px; }
  .contact-main { padding-top: 30px; }
  .contact-email { font-size: clamp(18px, 5.6vw, 25px); }
  .editorial-page main { padding: 23px 0 40px; }
  .editorial-page .masthead nav { gap: 6px 18px; font-size: 12px; }
  .editorial-page .prose h2 { font-size: 22px; }
  .editorial-page .cards { grid-template-columns: 1fr; }
  .editorial-page .notice { padding: 16px; }
}
@media (max-width: 360px) {
  .page-shell, .overview-shell { width: calc(100% - 28px); }
  .brand strong { font-size: 25px; }
  .site-header .main-nav { gap: 18px; }
  .search-card { padding-inline: 12px; }
  .route-fields { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 3px; }
  .swap-button { min-width: 24px; font-size: 20px; }
  .forecast-submit { padding-inline: 8px; }
  .risk-display .risk-text strong { font-size: 42px; }
  .forecast-card .sailing-main, #trips-list .forecast-card .sailing-main { padding-inline: 13px; gap: 8px; }
  .estimate-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media print { body { background: white; } .editorial-page footer { background: white; color: black; } }
/* Long boundary labels keep their meaning without overpowering the card. */
.risk-display .risk-text strong.boundary-probability { font-size: 36px; letter-spacing: -1.1px; line-height: 1.3; min-height: 60px; overflow-wrap: normal; }
@media (max-width: 600px) {
  .risk-display .risk-text strong.boundary-probability { font-size: 27px; line-height: 1.3; min-height: 55px; }
}
@media (max-width: 360px) {
  .risk-display .risk-text strong.boundary-probability { font-size: 23px; }
}
.detail-section .detail-risk { font-family: Arial, Helvetica, sans-serif; }
.detail-risk .estimate-label { font-family: Arial, Helvetica, sans-serif; }
@media (max-width: 600px) {
  .overview-choice .choice-label { min-height: 39px; }
  .overview-table { display: block; min-width: 0; }
  .overview-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .overview-table tbody { display: block; }
  .overview-table tbody tr { display: grid; grid-template-columns: 60px minmax(0, 1fr) 36px; gap: 9px 10px; padding: 16px 14px; border-top: 1px solid var(--line); }
  .overview-table tbody td { padding: 0; border: 0; min-width: 0; }
  .overview-table tbody td:first-child { grid-column: 1; grid-row: 1/3; padding: 0; }
  .overview-table tbody td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .overview-table tbody td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .overview-table tbody td:last-child { grid-column: 3; grid-row: 1/3; padding: 0; align-self: center; }
  .overview-route { font-size: 13px; }
  .overview-details { min-width: 36px; width: 36px; }
  .overview-vessel, .overview-table .row-date, .overview-prior { font-size: 11px; }
  .overview-cancelled { font-size: 11px; }
  .overview-risk-label { font-size: 11px; }
}
@media (max-width: 600px) {
  .overview-choice { grid-template-rows: 40px 34px minmax(24px, auto); align-content: start; }
  .overview-choice strong { line-height: 34px; align-self: start; }
  .overview-choice .choice-label { min-height: 0; align-self: start; }
  .overview-choice .choice-period { line-height: 1.5; align-self: start; }
}
@media (pointer: coarse) {
  .estimate-label .prediction-info { width: 44px; height: 44px; min-height: 44px; padding: 12px; }
}
