:root {
  --ink: #102c2b;
  --ink-2: #385654;
  --muted: #6c817e;
  --paper: #f5f3eb;
  --paper-2: #ebe9df;
  --white: #fffefa;
  --night: #082b2b;
  --night-2: #0b3b39;
  --aqua: #7ce3d3;
  --lime: #d4f36b;
  --coral: #ff7968;
  --gold: #dcae52;
  --line: rgba(16, 44, 43, .14);
  --shadow: 0 18px 50px rgba(4, 38, 37, .09);
  --radius: 20px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--lime); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 243, 235, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; letter-spacing: .08em; }
.brand strong { display: block; font-size: 12px; letter-spacing: .15em; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .16em; }
.brand strong, .brand small { white-space: nowrap; }
.brand-mark { width: 37px; height: 37px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; display: inline-grid; place-items: center; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 1px solid var(--ink); border-radius: 50%; }
.brand-mark::before { width: 22px; height: 22px; }
.brand-mark::after { width: 7px; height: 7px; background: var(--ink); border: 0; }
.brand-mark i { position: absolute; width: 4px; height: 4px; background: var(--coral); border-radius: 50%; }
.brand-mark i:nth-child(1) { top: 3px; left: 9px; }
.brand-mark i:nth-child(2) { right: 1px; bottom: 10px; background: var(--aqua); }
.brand-mark i:nth-child(3) { left: 3px; bottom: 6px; background: var(--gold); }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a, .saved-link { border: 0; background: none; color: var(--ink-2); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-decoration: none; cursor: pointer; }
.header-nav a:hover { color: var(--ink); }
.language-toggle { height: 38px; min-width: 184px; margin-inline-start: auto; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--ink); padding: 3px; display: inline-flex; align-items: stretch; justify-content: center; gap: 1px; direction: ltr; font: 800 13px/1 system-ui; white-space: nowrap; }
.language-toggle button { border: 0; border-radius: 999px; background: transparent; color: inherit; padding: 0 9px; font: inherit; cursor: pointer; opacity: .58; }
.language-toggle button:hover, .language-toggle button:focus-visible { opacity: 1; background: rgba(23,99,77,.09); outline: 2px solid rgba(23,99,77,.45); outline-offset: 1px; }
.language-toggle button.active { opacity: 1; color: white; background: var(--ink); }

html[dir="rtl"] body { font-family: Tahoma, Arial, "Noto Sans Arabic", system-ui, sans-serif; text-align: right; }
html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] button, html[dir="rtl"] textarea { text-align: right; }
html[dir="rtl"] .brand, html[dir="rtl"] .language-switch-bar, html[dir="rtl"] .radar-visual, html[dir="rtl"] .radar-caption, html[dir="rtl"] .world-map-board, html[dir="rtl"] .map-canvas, html[dir="rtl"] .mini-radar, html[dir="rtl"] .generated-path > ol { direction: ltr; }
html[dir="rtl"] .event-card, html[dir="rtl"] .local-card, html[dir="rtl"] .dialog-body, html[dir="rtl"] .portal-switcher button, html[dir="rtl"] .world-country-card { direction: rtl; text-align: right; }
html[dir="rtl"] .year-heading, html[dir="rtl"] .month-block { direction: ltr; }
html[dir="rtl"] .month-block .event-card { direction: rtl; }
html[dir="rtl"] .generated-path article { direction: rtl; text-align: right; }
html[dir="rtl"] .event-table td:first-child, html[dir="rtl"] .score-value, html[dir="rtl"] .date-primary, html[dir="rtl"] .calendar-item em, html[dir="rtl"] .calendar-month-label strong, html[dir="rtl"] .world-map-dot, html[dir="rtl"] .world-country-card > span, html[dir="rtl"] .world-country-card > strong, html[dir="rtl"] .map-dot, html[dir="rtl"] [class*="date"], html[dir="rtl"] a[href^="http"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .event-table th, html[dir="rtl"] .event-table td, html[dir="rtl"] .calendar-item button, html[dir="rtl"] .local-card-main, html[dir="rtl"] .world-country-card { text-align: right; }
html[dir="rtl"] .saved-toggle input:checked + span::after { transform: translateX(-13px); }
html[dir="rtl"] .saved-toggle span::after { left: auto; right: 3px; }
.saved-link { display: flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; }
.saved-link span { font-size: 17px; color: var(--gold); line-height: 1; }
.saved-link b { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 12px; }

.hero {
  color: #f4f6ee;
  background:
    radial-gradient(circle at 77% 30%, rgba(124, 227, 211, .14) 0 1px, transparent 1.5px) 0 0 / 20px 20px,
    linear-gradient(115deg, var(--night) 0%, #0a3333 53%, #0d4440 100%);
  min-height: 570px;
  overflow: hidden;
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 49.9%, rgba(255,255,255,.045) 50%, transparent 50.1%); opacity: .4; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; border: 1px solid rgba(124,227,211,.1); border-radius: 50%; right: -170px; bottom: -380px; box-shadow: 0 0 0 80px rgba(124,227,211,.025), 0 0 0 160px rgba(124,227,211,.018); }
.hero-grid { max-width: var(--max); margin: 0 auto; padding: 86px 24px 76px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 20px; font-size: 12px; letter-spacing: .16em; font-weight: 900; text-transform: uppercase; }
.eyebrow { color: var(--aqua); display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(45px, 5.4vw, 74px); font-weight: 500; line-height: 1.18; letter-spacing: -.045em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 620px; margin: 27px 0 0; color: rgba(244,246,238,.72); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.primary-action, .secondary-action { height: 50px; border-radius: 999px; padding: 0 22px; display: inline-flex; align-items: center; gap: 28px; font-weight: 800; font-size: 13px; text-decoration: none; cursor: pointer; }
.primary-action { color: var(--night); background: var(--lime); border: 1px solid var(--lime); }
.primary-action span { font-size: 18px; }
.secondary-action { color: #f4f6ee; background: transparent; border: 1px solid rgba(255,255,255,.26); }
.primary-action:hover { background: #e4ff86; transform: translateY(-1px); }
.secondary-action:hover { border-color: var(--aqua); color: var(--aqua); }
.snapshot-line { margin-top: 30px; color: rgba(244,246,238,.56); font-size: 12px; display: flex; align-items: center; gap: 9px; }
.live-dot { width: 7px; height: 7px; background: var(--aqua); border-radius: 50%; box-shadow: 0 0 0 5px rgba(124,227,211,.12); }

.radar-panel { align-self: stretch; display: grid; place-items: center; padding-top: 5px; }
.radar-visual { width: min(420px, 38vw); aspect-ratio: 1; position: relative; border-radius: 50%; border: 1px solid rgba(124,227,211,.3); display: grid; place-items: center; background: radial-gradient(circle, rgba(124,227,211,.08), transparent 65%); }
.radar-visual::before, .radar-visual::after { content: ""; position: absolute; background: rgba(124,227,211,.14); }
.radar-visual::before { width: 100%; height: 1px; }
.radar-visual::after { height: 100%; width: 1px; }
.orbit { position: absolute; border: 1px solid rgba(124,227,211,.18); border-radius: 50%; }
.orbit-a { inset: 14%; }
.orbit-b { inset: 30%; }
.orbit-c { inset: 44%; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 72%, rgba(124,227,211,.2) 96%, rgba(124,227,211,.55) 100%); animation: sweep 10s linear infinite; }
.radar-sweep::after { content: ""; position: absolute; inset: 49.7% 0 auto 50%; height: 1px; background: linear-gradient(90deg, var(--aqua), transparent); transform-origin: left; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-core { width: 108px; height: 108px; border-radius: 50%; background: rgba(8,43,43,.88); border: 1px solid rgba(212,243,107,.5); display: grid; place-content: center; text-align: center; position: relative; z-index: 3; box-shadow: 0 0 35px rgba(212,243,107,.1); }
.radar-core strong { color: var(--lime); font-family: Georgia, serif; font-size: 42px; line-height: 1; }
.radar-core span { color: rgba(255,255,255,.68); font-size: 12px; letter-spacing: .16em; margin-top: 6px; }
.signal { position: absolute; z-index: 4; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255,121,104,.12); }
.signal.s1 { left: 18%; top: 38%; }
.signal.s2 { right: 20%; top: 24%; background: var(--lime); box-shadow: 0 0 0 6px rgba(212,243,107,.12); }
.signal.s3 { right: 14%; bottom: 30%; background: var(--aqua); }
.signal.s4 { left: 30%; bottom: 15%; background: var(--gold); }
.signal.s5 { left: 43%; top: 16%; width: 5px; height: 5px; background: var(--aqua); }
.radar-caption { width: min(420px, 38vw); margin-top: 20px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .12em; }
.radar-caption i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--aqua), rgba(124,227,211,.12)); position: relative; }
.radar-caption i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); }

.metric-band { max-width: var(--max); margin: -31px auto 0; position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid rgba(16,44,43,.1); box-shadow: var(--shadow); }
.metric-band > div { min-height: 106px; padding: 21px 28px; border-right: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-items: end; }
.metric-band > div:last-child { border: 0; }
.metric-band span { grid-column: 1 / -1; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.metric-band strong { font-family: Georgia, serif; font-size: 39px; font-weight: 500; line-height: 1; }
.metric-band small { margin: 0 0 2px 7px; color: var(--muted); font-size: 12px; }
.metric-band .metric-saved { background: #ecf5ed; }
.metric-saved strong { color: #30775f; }

.confidence-note { max-width: var(--max); margin: 48px auto 0; padding: 20px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note-icon { width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-weight: 800; }
.confidence-note strong { font-size: 13px; }
.confidence-note p { margin: 2px 0 0; color: var(--ink-2); font-size: 12px; }
.confidence-note button { border: 0; border-bottom: 1px solid var(--ink); padding: 3px 0; background: none; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; }

.explorer { max-width: var(--max); margin: 96px auto 0; padding: 0 24px; scroll-margin-top: 90px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-kicker { color: #47766f; margin-bottom: 8px; }
.section-intro h2, .method-head h2, .action-copy h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-weight: 500; font-size: clamp(31px, 3vw, 44px); line-height: 1.25; letter-spacing: -.03em; }
.section-intro > p { max-width: 360px; margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.section-intro > p strong { color: var(--ink); }

.filter-shell { background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(4,38,37,.06); }
.theme-policy { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); background: #f4f8f5; color: var(--ink-2); font-size: 12px; line-height: 1.65; }
.theme-policy strong { color: var(--green); letter-spacing: .04em; }
.filter-main { padding: 16px; display: grid; grid-template-columns: minmax(260px, 1.55fr) minmax(270px, 1.35fr) minmax(150px, .8fr) minmax(105px, .6fr) 46px; gap: 10px; align-items: stretch; }
.filter-main label:not(.search-box), .compact-select { display: flex; flex-direction: column; justify-content: center; padding: 7px 12px; border: 1px solid var(--line); background: #faf9f4; }
.filter-main label > span, .compact-select > span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.filter-main select, .compact-select select { width: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.filter-main .theme-select-primary { min-width: 0; padding: 8px 14px; border: 2px solid #2f7a63; background: #edf7f1; box-shadow: inset 0 0 0 1px rgba(47,122,99,.08); }
.theme-select-primary > span { color: #17634d !important; font-size: 13px !important; letter-spacing: .05em !important; }
.theme-select-primary select { color: #093f36; font-size: 14px; font-weight: 900; }
.theme-select-primary:focus-within { outline: 3px solid rgba(47,122,99,.2); outline-offset: 1px; }
.search-box { border: 1px solid var(--line); background: #faf9f4; padding: 0 14px; display: flex; align-items: center; gap: 10px; }
.search-box > span[aria-hidden] { font-size: 26px; line-height: 1; transform: rotate(-15deg); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 13px; }
.search-box input::placeholder { color: #8a9a97; }
.search-box kbd { border: 1px solid var(--line); border-radius: 5px; color: var(--muted); padding: 2px 7px; font-size: 12px; background: white; }
.reset-button { border: 1px solid var(--line); background: var(--ink); color: white; font-size: 20px; cursor: pointer; }
.reset-button:hover { background: var(--night-2); }
.filter-secondary { min-height: 58px; border-top: 1px solid var(--line); padding: 10px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip-group { display: flex; align-items: center; gap: 6px; flex: 1; }
.chip-group > span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .07em; margin-right: 4px; }
.filter-chip { border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 6px 12px; color: var(--ink-2); font-size: 12px; font-weight: 800; cursor: pointer; }
.filter-chip b { margin-right: 3px; }
.filter-chip.active { color: white; border-color: var(--ink); background: var(--ink); }
.compact-select { width: 150px; padding: 3px 9px; border: 0; border-left: 1px solid var(--line); background: transparent; }
.saved-toggle { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.saved-toggle input { position: absolute; opacity: 0; }
.saved-toggle span { width: 30px; height: 17px; border-radius: 99px; background: #c8cfca; position: relative; transition: .2s; }
.saved-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: white; transition: .2s; }
.saved-toggle input:checked + span { background: #3d876f; }
.saved-toggle input:checked + span::after { transform: translateX(13px); }

.result-toolbar { min-height: 78px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.result-toolbar > div:first-child { display: flex; align-items: baseline; gap: 15px; }
.result-toolbar strong { font-family: Georgia, serif; font-size: 17px; letter-spacing: .05em; }
.result-toolbar strong span { font-size: 26px; }
.result-toolbar > div:first-child > span { color: var(--muted); font-size: 12px; }
.toolbar-actions { display: flex; align-items: center; gap: 7px; }
.toolbar-actions > button { height: 36px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); padding: 0 12px; font-size: 12px; font-weight: 800; cursor: pointer; }
.toolbar-actions > button:hover { border-color: var(--ink); color: var(--ink); }
.view-switch { display: flex; height: 34px; margin-left: 5px; border: 1px solid var(--line); }
.view-switch button { width: 37px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); }
.view-switch button:last-child { border: 0; }
.view-switch button.active { color: white; background: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; min-height: 21px; margin: 12px 0 0; }
.active-filter { border: 0; border-radius: 999px; padding: 5px 11px; background: #dcebe4; color: #285f4e; font-size: 12px; font-weight: 800; cursor: pointer; }
.active-filter::after { content: " ×"; }

.event-results { margin-top: 18px; }
.year-block { margin: 62px 0 0; }
.year-block:first-child { margin-top: 24px; }
.year-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.year-heading strong { font-family: Georgia, serif; font-size: 41px; font-weight: 500; letter-spacing: -.03em; }
.year-heading i { height: 1px; flex: 1; background: var(--line); }
.year-heading span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .09em; }
.month-block { display: grid; grid-template-columns: 86px 1fr; gap: 20px; margin-bottom: 30px; }
.month-label { border-right: 1px solid var(--line); position: relative; padding-top: 2px; }
.month-label::after { content: ""; position: absolute; top: 13px; right: -4px; width: 7px; height: 7px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 50%; }
.month-label strong { display: block; font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1; }
.month-label span { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.month-events { display: grid; gap: 11px; }
.event-card { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 114px minmax(0, 1fr) 220px 48px; min-height: 250px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.event-card:hover { transform: translateY(-2px); border-color: rgba(16,44,43,.28); box-shadow: 0 12px 30px rgba(4,38,37,.08); }
.date-panel { padding: 20px 16px; border-right: 1px solid var(--line); background: #f0f2e9; display: flex; flex-direction: column; }
.date-panel .priority { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--ink); font-family: Georgia, serif; font-size: 16px; }
.date-panel .priority-S { background: var(--coral); }
.date-panel .priority-A { background: #317a65; }
.date-panel .priority-B { background: #7b8582; }
.date-panel .priority-C { background: #9d928b; }
.score-value { margin-top: 8px; color: var(--ink); font-family: Georgia, serif; font-size: 15px; }
.score-value i { color: var(--muted); font-family: inherit; font-size: 12px; font-style: normal; }
.date-primary { margin-top: auto; }
.date-primary strong { display: block; font-family: Georgia, "Yu Mincho", serif; font-size: 25px; line-height: 1; font-weight: 500; }
.date-primary span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.event-main { padding: 20px 22px; min-width: 0; display: flex; flex-direction: column; }
.event-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 900; letter-spacing: .03em; white-space: nowrap; }
.status.confirmed { color: #17634d; background: #dcefe7; }
.status.month { color: #71531b; background: #f4e9c9; }
.status.host { color: #3f5d88; background: #e3eaf4; }
.status.expected { color: #6c5855; background: #ece4e2; }
.status.conflict { color: #8a3f32; background: #f5ddd6; }
.location { color: var(--muted); font-size: 12px; font-weight: 800; }
.event-type-chip { display: inline-flex; border-radius: 999px; padding: 4px 8px; color: #335b71; background: #e3edf2; font-size: 12px; font-weight: 900; white-space: nowrap; }
.event-main h3 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: 21px; line-height: 1.36; font-weight: 600; letter-spacing: -.015em; }
.event-summary { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.75; }
.description-lines { display: grid; gap: 3px; }
.description-lines > span { display: block; }
.description-lines > span::before { content: "— "; color: #6d9589; }
.team-row { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.team-chip, .theme-chip { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: var(--ink-2); background: #faf9f4; font-size: 12px; font-weight: 800; }
.team-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6bb19b; margin-right: 5px; }
.event-why { padding: 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; background: #f9f7f0; }
.event-why > span { color: #47766f; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.event-why p { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.card-actions { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.card-actions button, .card-actions a { flex: 1; border: 0; border-bottom: 1px solid var(--line); display: grid; place-items: center; background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; font-size: 17px; }
.card-actions > *:last-child { border-bottom: 0; }
.card-actions button:hover, .card-actions a:hover { background: var(--ink); color: white; }
.save-button.saved { background: #e7f1e8; color: #237159; }
.save-button.saved:hover { background: #237159; color: white; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.event-table { width: 100%; min-width: 1680px; border-collapse: collapse; font-size: 12px; }
.event-table th { position: sticky; top: 76px; z-index: 3; padding: 12px 13px; text-align: left; color: rgba(255,255,255,.78); background: var(--night); font-size: 12px; letter-spacing: .07em; white-space: nowrap; }
.event-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.65; }
.event-table tr:hover td { background: #f3f6ee; }
.event-table td:nth-child(1) { width: 50px; font-family: Georgia, serif; font-size: 15px; text-align: center; }
.event-table td:nth-child(2) { width: 210px; }
.event-table td:nth-child(3) { width: 110px; }
.event-table td:nth-child(4) { width: 100px; }
.event-table td:nth-child(5) { width: 150px; }
.event-table td:nth-child(6) { width: 360px; }
.event-table td:nth-child(7) { width: 120px; }
.event-table td:nth-child(8) { width: 110px; }
.event-table td:nth-child(9), .event-table td:nth-child(10) { width: 230px; }
.table-description { display: grid; gap: 5px; }
.table-description span { display: block; }
.table-event-title { display: block; margin-top: 5px; font-family: Georgia, "Yu Mincho", serif; font-size: 14px; line-height: 1.4; }
.event-table button.table-event-title { border: 0; padding: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.event-table button.table-event-title:hover { color: #17634d; text-decoration: underline; text-underline-offset: 3px; }
.table-date { display: block; color: var(--ink); font-weight: 800; }
.table-link { display: inline-flex; align-items: center; gap: 4px; color: #1b6755; font-weight: 900; text-decoration: none; border-bottom: 1px solid; }
.table-save { border: 0; background: none; cursor: pointer; color: var(--gold); font-size: 16px; }
.event-table .priority { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: white; font-family: Georgia, serif; font-size: 14px; background: #7b8582; }
.event-table .priority-S { background: var(--coral); }
.event-table .priority-A { background: #317a65; }
.event-table .priority-C { background: #9d928b; }

.empty-state { margin: 60px 0; padding: 70px 20px; text-align: center; border: 1px dashed var(--line); }
.empty-state > span { font-size: 36px; color: var(--muted); }
.empty-state h3 { margin: 12px 0 4px; font-family: Georgia, serif; font-size: 24px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 12px; }
.empty-state button { margin-top: 18px; border: 0; border-bottom: 1px solid var(--ink); background: none; font-weight: 800; cursor: pointer; }

.action-board { max-width: var(--max); margin: 110px auto 0; padding: 52px 55px; background: var(--night); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; position: relative; overflow: hidden; }
.action-board::after { content: ""; position: absolute; right: -140px; top: -250px; width: 500px; height: 500px; border: 1px solid rgba(124,227,211,.12); border-radius: 50%; box-shadow: 0 0 0 65px rgba(124,227,211,.025), 0 0 0 130px rgba(124,227,211,.018); }
.action-copy { position: relative; z-index: 2; }
.action-copy .section-kicker { color: var(--aqua); }
.action-copy h2 { font-size: 35px; }
.action-copy > p:last-child { color: rgba(255,255,255,.58); font-size: 12px; }
.action-steps { position: relative; z-index: 2; display: grid; gap: 1px; background: rgba(255,255,255,.12); }
.action-steps article { min-height: 80px; background: #0b3534; display: flex; align-items: center; gap: 18px; padding: 15px 20px; }
.action-steps article > span { color: var(--lime); font-family: Georgia, serif; font-size: 24px; }
.action-steps strong { font-size: 12px; letter-spacing: .13em; color: var(--aqua); }
.action-steps p { margin: 1px 0 0; font-size: 12px; }

.methodology { max-width: var(--max); margin: 110px auto 100px; padding: 0 24px; scroll-margin-top: 100px; }
.method-head { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.method-grid article { min-height: 245px; padding: 28px 22px; border-right: 1px solid var(--line); }
.method-grid article:first-child { padding-left: 0; }
.method-grid article:last-child { border: 0; }
.method-number { color: #4c7c72; font-family: Georgia, serif; font-size: 13px; }
.method-grid h3 { margin: 26px 0 8px; font-family: Georgia, "Yu Mincho", serif; font-size: 18px; }
.method-grid p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.85; }
.source-line { border-top: 1px solid var(--line); padding-top: 17px; display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.source-line i { flex: 1; height: 1px; background: var(--line); }

footer { min-height: 120px; padding: 25px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 30px; background: #e5e4da; border-top: 1px solid var(--line); }
.footer-brand { margin-inline-end: auto; }
footer > p { color: var(--muted); font-size: 12px; letter-spacing: .03em; }
footer > a { color: var(--ink); font-size: 12px; font-weight: 900; text-decoration: none; }
.site-license-signature { color: color-mix(in srgb, var(--ink) 58%, transparent); font-size: 12px; line-height: 1.5; }
.site-license-signature a { color: inherit; font-weight: 800; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.site-license-signature .rights-holder { display: inline-block; margin-inline-start: 1.5em; white-space: nowrap; }
.linkedin-credit{display:inline-flex;align-items:center;gap:5px;margin-inline-start:8px;color:inherit;text-decoration:none;letter-spacing:0;vertical-align:middle}.linkedin-credit-icon{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:3px;background:#0a66c2;color:#fff;font:800 12px/1 Arial,sans-serif}.linkedin-credit-label{text-decoration:underline;text-underline-offset:3px}.linkedin-credit:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:4px}

dialog { color: var(--ink); border: 0; padding: 0; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(4, 28, 28, .72); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; font-size: 22px; }
.event-dialog { width: min(780px, calc(100vw - 32px)); max-height: min(90vh, 850px); background: var(--paper); }
.dialog-hero { padding: 38px 44px 31px; color: white; background: var(--night); }
.dialog-hero .event-meta { padding-right: 45px; }
.dialog-hero .priority { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: white; background: #7b8582; font-family: Georgia, serif; }
.dialog-hero .priority-S { background: var(--coral); }
.dialog-hero .priority-A { background: #317a65; }
.dialog-hero .priority-C { background: #9d928b; }
.dialog-hero .location { color: rgba(255,255,255,.55); }
.dialog-hero h2 { margin: 12px 0 0; max-width: 650px; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(25px, 4vw, 38px); line-height: 1.35; font-weight: 500; }
.dialog-hero .dialog-date { margin-top: 15px; color: var(--lime); font-weight: 800; }
.dialog-body { padding: 30px 44px 42px; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 24px; }
.dialog-grid > div { padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-grid span, .dialog-section > span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.dialog-grid strong { font-size: 12px; }
.dialog-section { margin-top: 23px; }
.dialog-section h3 { margin: 5px 0 0; font-family: Georgia, "Yu Mincho", serif; font-size: 16px; font-weight: 500; }
.dialog-section p { margin: 5px 0 0; color: var(--ink-2); font-size: 12px; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.dialog-actions { margin-top: 28px; display: flex; gap: 10px; }
.dialog-actions a, .dialog-actions button { min-height: 47px; border: 1px solid var(--ink); padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.dialog-actions a { flex: 1; color: white; background: var(--ink); }
.dialog-actions button { background: transparent; color: var(--ink); }
.dialog-footnote { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.guide-dialog { width: min(560px, calc(100vw - 32px)); padding: 38px 42px 40px; background: var(--paper); }
.guide-dialog h2 { margin: 0 0 23px; font-family: Georgia, "Yu Mincho", serif; font-size: 29px; }
.guide-status { display: grid; grid-template-columns: 145px 1fr; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); align-items: center; }
.guide-status p { margin: 0; color: var(--ink-2); font-size: 13px; }

.toast { position: fixed; z-index: 150; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100vw - 30px); padding: 11px 17px; color: white; background: var(--night); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 35px rgba(0,0,0,.22); font-size: 13px; font-weight: 800; }

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

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 25px; }
  .filter-main { grid-template-columns: 1.35fr 1.2fr .8fr .6fr 46px; }
  .event-card { grid-template-columns: 100px minmax(0,1fr) 48px; }
  .event-why { grid-column: 2 / 3; border-left: 0; border-top: 1px solid var(--line); padding: 13px 22px; }
  .card-actions { grid-row: 1 / span 2; grid-column: 3; }
  .date-panel { grid-row: 1 / span 2; }
  .action-board { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 820px) {
  .site-header { height: 68px; }
  .header-nav a { display: none; }
  .nature-header-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 64px; }
  .hero { min-height: 780px; }
  .radar-panel { position: absolute; right: -100px; bottom: -240px; opacity: .6; }
  .radar-visual { width: 520px; }
  .radar-caption { display: none; }
  .hero-copy { position: relative; z-index: 3; }
  .metric-band { margin: -20px 20px 0; grid-template-columns: repeat(2, 1fr); }
  .metric-band > div { min-height: 88px; border-bottom: 1px solid var(--line); }
  .metric-band > div:nth-child(even) { border-right: 0; }
  .metric-band > div:last-child { grid-column: auto; }
  .confidence-note { margin-left: 20px; margin-right: 20px; grid-template-columns: auto 1fr; }
  .confidence-note button { grid-column: 2; justify-self: start; }
  .filter-main { grid-template-columns: 1fr 1fr; }
  .search-box { grid-column: 1 / -1; min-height: 52px; }
  .theme-select-primary { grid-column: 1 / -1; min-height: 58px; }
  .reset-button { min-height: 48px; }
  .filter-secondary { align-items: stretch; flex-wrap: wrap; }
  .chip-group { min-width: 100%; }
  .compact-select { flex: 1; width: auto; border-left: 0; border: 1px solid var(--line); }
  .saved-toggle { margin-left: auto; }
  .event-card { grid-template-columns: 86px minmax(0,1fr) 44px; }
  .date-panel { padding: 15px 12px; }
  .event-main { padding: 17px; }
  .event-main h3 { font-size: 18px; }
  .event-why { padding: 12px 17px; }
  .action-board { grid-template-columns: 1fr; gap: 25px; padding: 40px 30px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-grid article { border-bottom: 1px solid var(--line); }
  .method-grid article:nth-child(2) { border-right: 0; }
  .method-grid article:nth-child(3) { padding-left: 0; }
  .method-grid article:nth-child(3), .method-grid article:nth-child(4) { border-bottom: 0; }
  footer > p { display: none; }
}

@media (max-width: 580px) {
  body { font-size: 14px; }
  .site-header { padding: 0 16px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand strong { font-size: 12px; }
  .saved-link { padding: 5px 8px; }
  .saved-link { display: none; }
  .site-header { gap: 8px; }
  .language-toggle { min-width: 136px; height: 34px; margin-inline-start: 0; }
  .language-toggle button { padding: 0 3px; font-size: 12px; }
  .hero-grid { padding: 56px 20px 68px; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 260px; }
  .primary-action, .secondary-action { justify-content: space-between; }
  .radar-panel { right: -190px; bottom: -255px; }
  .metric-band { margin: -14px 12px 0; }
  .metric-band > div { padding: 17px; }
  .metric-band strong { font-size: 32px; }
  .confidence-note { margin: 34px 16px 0; padding: 17px 0; }
  .explorer { margin-top: 72px; padding: 0 16px; }
  .section-intro { align-items: start; flex-direction: column; }
  .filter-main { grid-template-columns: 1fr; }
  .search-box, .filter-main label, .reset-button { grid-column: auto; min-height: 48px; }
  .chip-group { overflow-x: auto; padding-bottom: 3px; }
  .chip-group > span { display: none; }
  .compact-select { min-width: calc(50% - 10px); }
  .result-toolbar { align-items: start; padding: 17px 0; flex-direction: column; }
  .toolbar-actions { width: 100%; }
  .view-switch { margin-left: auto; }
  .month-block { grid-template-columns: 1fr; gap: 7px; }
  .month-label { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 8px; display: flex; align-items: baseline; gap: 6px; }
  .month-label::after { top: auto; right: 0; bottom: -4px; }
  .month-label strong { font-size: 22px; }
  .event-card { grid-template-columns: 1fr 43px; }
  .date-panel { grid-column: 1 / 2; grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); min-height: 58px; padding: 10px 14px; flex-direction: row; align-items: center; gap: 12px; }
  .date-panel .priority { width: 29px; height: 29px; }
  .date-primary { margin: 0; display: flex; align-items: center; gap: 7px; }
  .date-primary strong { font-size: 18px; }
  .date-primary span { margin: 0; }
  .event-main { grid-column: 1 / 2; }
  .event-why { grid-column: 1 / 2; }
  .card-actions { grid-column: 2; grid-row: 1 / span 3; }
  .event-summary { font-size: 13px; }
  .action-board { margin: 80px 0 0; padding: 38px 22px; }
  .methodology { margin-top: 80px; padding: 0 16px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article, .method-grid article:nth-child(3) { min-height: auto; padding: 23px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-grid article:nth-child(3) { border-bottom: 1px solid var(--line); }
  .method-grid article:nth-child(4) { border: 0; }
  .method-grid h3 { margin-top: 12px; }
  .source-line { align-items: start; flex-direction: column; }
  .source-line i { width: 100%; flex: none; }
  footer { padding: 25px 16px; }
  .footer-brand small { display: none; }
  .dialog-hero { padding: 32px 23px 25px; }
  .dialog-body { padding: 24px 23px 32px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
  .guide-dialog { padding: 34px 22px 30px; }
  .guide-status { grid-template-columns: 1fr; gap: 7px; }
}

/* Integrated Global Presence × Nature Field Radar */
[hidden] { display: none !important; }
body { font-size: 16px; }
.brand strong { font-size: 14px; }
.brand small, .header-nav a, .saved-link, .eyebrow, .section-kicker, .snapshot-line,
.metric-band span, .metric-band small, .confidence-note p, .section-intro > p,
.filter-main label > span, .compact-select > span, .filter-main select, .compact-select select,
.filter-chip, .chip-group > span, .saved-toggle, .result-toolbar > div:first-child > span,
.toolbar-actions > button, .year-heading span, .month-label span, .status, .location,
.event-type-chip, .team-chip, .theme-chip, .event-why > span, .method-grid p,
.source-line, footer > p, footer > a, .dialog-grid span, .dialog-section > span,
.dialog-grid strong, .dialog-section p, .dialog-footnote { font-size: 13px; }
.event-summary, .event-why p, .confidence-note strong, .confidence-note button { font-size: 14px; }
.filter-main select, .compact-select select, .search-box input { font-size: 14px; }
.event-main h3 { font-size: 23px; }

.header-local-link { border: 0; background: none; color: var(--ink-2); font-size: 13px; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
.header-local-link:hover { color: #17634d; }
.portal-switcher { min-height: 68px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 max(24px, calc((100vw - var(--max)) / 2)); background: #f0eee5; border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 45; }
.portal-switcher button { min-height: 68px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); padding: 9px 18px; text-align: left; font-size: 14px; font-weight: 800; cursor: pointer; position: relative; }
.portal-switcher button:first-child { border-left: 1px solid var(--line); }
.portal-switcher button span { display: block; margin-bottom: 2px; color: #47766f; font-size: 12px; letter-spacing: .13em; }
.portal-switcher button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 4px; background: var(--coral); transform: scaleX(0); transition: transform .2s; }
.portal-switcher button.active { color: var(--ink); background: var(--white); }
.portal-switcher button.active::after { transform: scaleX(1); }

.local-app { min-height: 75vh; }
.local-view { background: var(--paper); }
.local-nav { min-height: 62px; display: flex; justify-content: center; flex-wrap: wrap; gap: 3px; padding: 10px 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.local-nav button { border: 0; border-radius: 999px; background: transparent; padding: 9px 14px; color: var(--muted); font-size: 14px; font-weight: 800; cursor: pointer; }
.local-nav button.active, .local-nav button:hover { color: white; background: var(--ink); }

.local-hero { min-height: 340px; display: grid; grid-template-columns: 1.22fr .78fr; gap: 4vw; align-items: center; padding: 28px max(24px, calc((100vw - var(--max)) / 2)); color: white; background: radial-gradient(rgba(222,239,219,.1) 1px, transparent 1px), linear-gradient(135deg, var(--night), #0d4640); background-size: 17px 17px, 100%; }
.local-hero > div:first-child > p:not(.eyebrow) { max-width: 670px; margin: 14px 0 0; color: #c4d3ce; font-size: 15px; line-height: 1.6; }
.local-hero h1 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; line-height: 1.18; }
.local-hero h1 em { color: var(--lime); font-style: normal; }
.local-hero .hero-actions { margin-top: 16px; }
.local-hero > div:first-child > small { display: block; margin-top: 12px; color: #91aaa3; font-size: 12px; }
.local-growth { max-width: 390px; justify-self: end; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,40,37,.62); }
.local-growth span, .local-growth strong { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.16); font-size: 15px; letter-spacing: .04em; text-align: center; }
.local-growth strong { grid-column: 1 / -1; color: var(--night); background: var(--lime); border-color: var(--lime); }
.local-growth i { display: none; width: 1px; height: 15px; justify-self: center; background: var(--aqua); position: relative; }
.local-growth i::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 6px; height: 6px; border-right: 1px solid var(--aqua); border-bottom: 1px solid var(--aqua); transform: rotate(45deg); }

.local-metrics { max-width: var(--max); margin: -24px auto 55px; display: grid; grid-template-columns: repeat(6, 1fr); background: var(--white); box-shadow: var(--shadow); position: relative; z-index: 3; }
.local-metrics > div { min-height: 112px; padding: 21px 24px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-items: end; border-right: 1px solid var(--line); }
.local-metrics > div:last-child { border: 0; background: #e7f1e8; }
.local-metrics span { grid-column: 1 / -1; color: var(--muted); font-size: 13px; font-weight: 800; }
.local-metrics strong { font-family: Georgia, serif; font-size: 40px; line-height: 1; }
.local-metrics small { margin-left: 6px; color: var(--muted); font-size: 13px; }

.local-start, .local-filter, .local-ranking, .local-results-layout, .local-calendar,
.path-builder, .generated-path, .path-placeholder, .species-selector, .species-season,
.local-card-grid, .field-summary, .field-reflection, .corporate-hero, .company-options,
.local-method-grid, .score-method, .exclusions { max-width: var(--max); margin-left: auto; margin-right: auto; }
.local-start { padding: 20px 24px 78px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 55px; align-items: start; }
.local-start h2, .local-filter-head h2, .local-section-head h2, .species-season h2,
.score-method h2, .field-reflection h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(30px, 3vw, 43px); font-weight: 500; line-height: 1.3; }
.local-start > div:last-child { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.local-start button { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 18px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; }
.local-start button:hover { color: white; background: var(--ink); }

.local-filter { margin-bottom: 78px; padding: 0 24px; }
.local-filter-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.local-filter-head > span { color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.local-filter-head > span strong { margin-right: 6px; color: var(--ink); font-family: Georgia, serif; font-size: 30px; }
.local-filter-primary { display: grid; grid-template-columns: minmax(250px, 1.4fr) 1fr 1fr .8fr auto; gap: 9px; padding: 15px; background: var(--white); border: 1px solid var(--line); }
.local-filter label { min-height: 58px; display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); background: #faf9f4; }
.local-filter label small { color: var(--muted); font-size: 13px; font-weight: 800; }
.local-filter input, .local-filter select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 700; }
.local-primary-button { min-height: 52px; border: 0; padding: 0 23px; color: var(--night); background: var(--lime); font-size: 14px; font-weight: 900; cursor: pointer; }
.local-filter-secondary { min-height: 74px; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 9px; padding: 11px 15px; border: 1px solid var(--line); border-top: 0; background: var(--white); }
.local-filter-secondary > button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.radius-note { margin: 0; padding: 13px 16px; color: var(--ink-2); background: #edf5ef; border: 1px solid var(--line); border-top: 0; font-size: 13px; line-height: 1.8; }

.local-ranking { margin-bottom: 100px; padding: 0 24px; }
.local-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 27px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.local-section-head > div > p:last-child { max-width: 680px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.local-section-head > button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 5px 0; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.local-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.local-card { min-width: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.local-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.local-card-top { min-height: 58px; display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.local-score { min-width: 48px; height: 37px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: white; background: #73807c; font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.local-score small { font-family: inherit; font-size: 12px; }
.local-score.tier-S { background: var(--coral); }.local-score.tier-A { background: #317a65; }
.local-card-top > div { display: flex; flex-wrap: wrap; gap: 5px; }
.mode-badge, .local-status { border-radius: 999px; padding: 4px 8px; background: #e3edf2; color: #315a6f; font-size: 12px; font-weight: 900; white-space: nowrap; }
.local-status { color: #17634d; background: #dcefe7; }
.event-language-badge { max-width: 100%; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px 6px; border: 1px solid #b9d2c8; border-radius: 999px; padding: 4px 8px; color: #174e42; background: #edf6f2; font-size: 12px; font-weight: 800; line-height: 1.35; }
.event-language-badge b { color: var(--night); letter-spacing: .08em; }
.event-language-badge small { color: #4c7369; font-size: 12px; font-weight: 900; }
.event-language-badge.is-inferred { border-color: #d8c78e; color: #6b5723; background: #fbf5df; }
.event-language-badge.is-inferred small { color: #806725; }
.event-language-badge.is-unknown { border-color: #ddbbb1; color: #7b3a2c; background: #faece8; }
.event-language-badge.is-unknown small { color: #874535; }
.content-language-badge { max-width: 100%; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #cbd3d8; border-radius: 999px; padding: 4px 8px; color: #35505f; background: #f0f4f6; font-size: 12px; font-weight: 800; line-height: 1.35; }
.content-language-badge small { color: #60737d; font-size: 12px; }
.local-save { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--gold); font-size: 19px; cursor: pointer; }
.local-save.saved { color: white; background: #317a65; }
.local-card-main { flex: 1; border: 0; padding: 17px; background: transparent; color: inherit; text-align: left; }
.local-date { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0; color: var(--muted); font-size: 12px; }
.local-date strong { color: var(--ink); font-size: 14px; }.local-date span { text-align: right; }
.local-card h3 { margin: 12px 0 7px; font-family: Georgia, "Yu Mincho", serif; font-size: 20px; line-height: 1.45; }
.local-card-open { width: 100%; border: 0; padding: 0; color: inherit; background: transparent; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.local-card-open:hover, .local-card-open:focus-visible { color: #17634d; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; outline: 0; }
.local-host { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.decision-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 13px 0 0; }
.decision-facts > div { min-width: 0; padding: 9px 10px; border: 1px solid var(--line); background: #faf9f4; }
.decision-facts dt { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.decision-facts dd { min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.decision-facts dd > span { width: 100%; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; font-weight: 780; line-height: 1.4; }
.fact-state { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 7px; font-size: 12px; font-weight: 900; line-height: 1.45; }
.fact-state.is-confirmed { color: #17634d; background: #dcefe7; }
.fact-state.is-unknown { color: #7b3a2c; background: #faece8; }
.candidate-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 7px 0 0; padding: 9px 10px; border-left: 3px solid #c99f7d; background: #fbf5ee; }
.candidate-context > div { min-width: 0; }
.candidate-context dt { color: #765843; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.candidate-context dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--ink-2); font-size: 12px; font-weight: 750; line-height: 1.4; }
.local-outcome { padding: 13px; background: #e5eee5; }
.local-outcome span { display: block; color: #4c7369; font-size: 12px; font-weight: 900; }.local-outcome strong { display: block; margin-top: 4px; font-family: Georgia, "Yu Mincho", serif; font-size: 15px; line-height: 1.55; }
.local-why { color: var(--ink-2); font-size: 13px; line-height: 1.75; }
.local-meta, .local-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.local-meta span, .local-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 7px; color: var(--ink-2); font-size: 12px; }
.local-tags span { background: #faf9f4; }
.local-card-foot { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 13px; border-top: 1px solid var(--line); color: #317a65; font-size: 12px; font-weight: 800; }
.local-card-foot button { border: 0; background: none; color: var(--ink); font-size: 12px; font-weight: 900; cursor: pointer; }
.local-empty { max-width: var(--max); min-height: 320px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px; border: 1px dashed #aab8b1; text-align: center; }
.local-empty > span { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 28px; }
.local-empty h3 { margin: 17px 0 3px; font-family: Georgia, serif; font-size: 24px; }.local-empty p { color: var(--muted); font-size: 14px; }.local-empty button { border: 0; border-bottom: 1px solid var(--ink); padding: 7px 0; background: none; font-weight: 800; cursor: pointer; }

.local-trust { margin-top: 110px; padding: 70px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; color: white; background: var(--night); }
.local-trust h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.4; }
.local-trust > div:first-child > p:not(.section-kicker) { color: #a7bbb5; font-size: 15px; line-height: 1.9; }
.local-trust button { border: 0; border-bottom: 1px solid var(--aqua); padding: 7px 0; color: var(--aqua); background: none; font-size: 14px; font-weight: 800; cursor: pointer; }
.local-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.local-trust-grid article { min-height: 160px; padding: 24px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.local-trust-grid span { color: var(--coral); font-size: 13px; }.local-trust-grid strong { display: block; margin-top: 24px; font-family: Georgia, serif; font-size: 19px; }.local-trust-grid p { margin: 5px 0 0; color: #91aaa3; font-size: 13px; }

.local-page-title { max-width: var(--max); margin: 0 auto 55px; padding: 72px 24px 48px; border-bottom: 1px solid var(--line); }
.local-page-title h1 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(40px, 5vw, 66px); font-weight: 500; line-height: 1.3; }
.local-page-title > p:last-child { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }

.local-results-layout { padding: 0 24px 100px; display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.local-results-layout .local-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.local-map { position: sticky; top: 165px; background: var(--night); color: white; padding: 20px; }
.map-title { display: flex; flex-direction: column; }.map-title span { color: var(--aqua); font-size: 12px; letter-spacing: .12em; }.map-title strong { margin-top: 5px; font-family: Georgia, serif; font-size: 30px; }.map-title small { color: #9db1ab; font-size: 13px; }
.map-canvas { height: 440px; margin: 18px 0; position: relative; overflow: hidden; background: radial-gradient(ellipse at 66% 42%, rgba(124,227,211,.2), transparent 48%), linear-gradient(150deg, #164e49, #082b2b); border: 1px solid rgba(255,255,255,.14); }
.map-canvas::after { content: ""; position: absolute; inset: 15% 18% 18% 22%; border: 1px solid rgba(124,227,211,.3); border-radius: 55% 35% 50% 28%; transform: rotate(18deg); }
.map-canvas > b { position: absolute; z-index: 1; color: rgba(255,255,255,.28); font-size: 12px; }.map-canvas > b:nth-of-type(1) { right: 11%; top: 8%; }.map-canvas > b:nth-of-type(2) { right: 27%; top: 42%; }.map-canvas > b:nth-of-type(3) { left: 38%; bottom: 22%; }.map-canvas > b:nth-of-type(4) { left: 14%; bottom: 13%; }
.map-dot { position: absolute; z-index: 3; width: 30px; height: 30px; transform: translate(-50%, -50%); border: 2px solid var(--night); border-radius: 50%; color: var(--night); background: var(--lime); font-size: 12px; font-weight: 900; cursor: pointer; }
.local-map > p { color: #9db1ab; font-size: 12px; line-height: 1.7; }
.local-result-summary { min-height: 55px; display: flex; align-items: baseline; gap: 9px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }.local-result-summary strong { font-family: Georgia, serif; font-size: 31px; }.local-result-summary span { color: var(--muted); font-size: 14px; }
.online-divider { margin: 60px 0 20px; padding: 18px; background: #e0ece5; }.online-divider span { color: #317a65; font-size: 13px; font-weight: 900; letter-spacing: .1em; }.online-divider p { margin: 3px 0 0; font-family: Georgia, serif; font-size: 20px; }

.calendar-legend { max-width: var(--max); margin: 0 auto 28px; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.calendar-legend span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; background: var(--white); font-size: 13px; font-weight: 800; }
.local-calendar { padding: 0 24px 100px; }
.calendar-month { display: grid; grid-template-columns: 135px 1fr; border-top: 1px solid var(--line); }
.calendar-month-label { padding: 24px 18px 24px 0; border-right: 1px solid var(--line); }.calendar-month-label strong { display: block; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }.calendar-month-label span { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.calendar-item { min-height: 112px; display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 18px 0 18px 22px; border-bottom: 1px solid var(--line); }
.calendar-mode { padding: 7px; color: #315a6f; background: #e3edf2; font-size: 12px; font-weight: 900; text-align: center; }.calendar-item p { margin: 0; color: var(--coral); font-size: 12px; font-weight: 800; }.calendar-item button { display: block; border: 0; padding: 0; background: none; color: var(--ink); font-family: Georgia, serif; font-size: 20px; font-weight: 600; text-align: left; cursor: pointer; }.calendar-item small { color: var(--muted); font-size: 13px; }.calendar-item em { color: #317a65; font-size: 13px; font-style: normal; font-weight: 800; }.calendar-series { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }.calendar-series span { padding: 4px 7px; background: #edeae0; font-size: 12px; }

.path-builder { padding: 0 24px 65px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.path-form { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.path-form label { min-height: 130px; display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 800; }.path-form label > span { color: var(--coral); font-family: Georgia, serif; font-size: 14px; }.path-form select { margin-top: auto; border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; background: transparent; font-size: 15px; }.path-form button { margin: 18px; }
.path-summary { min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; color: white; background: var(--night); text-align: center; }.path-summary p { color: var(--aqua); font-size: 12px; letter-spacing: .13em; }.path-summary strong { font-family: Georgia, serif; font-size: 42px; }.path-summary > span { margin-top: 8px; color: #9db1ab; font-size: 14px; }
.mini-radar { width: 135px; height: 135px; margin-top: 28px; position: relative; }.mini-radar i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }.mini-radar i:nth-child(2) { inset: 25px; }.mini-radar i:nth-child(3) { inset: 50px; }.mini-radar b { position: absolute; left: 25px; top: 36px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.path-placeholder { min-height: 330px; margin-bottom: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #aebbb5; text-align: center; }.path-placeholder > span { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 36px; }.path-placeholder h3 { margin: 18px 0 2px; font-family: Georgia, serif; font-size: 24px; }.path-placeholder p { color: var(--muted); font-size: 14px; }
.generated-path { padding: 0 24px 100px; }.generated-path ol { margin: 0; padding: 0; list-style: none; }.generated-path li { min-height: 170px; display: grid; grid-template-columns: 54px 45px 1fr; }.generated-path li > span { padding-top: 22px; font-family: Georgia, serif; font-size: 22px; }.generated-path li > i { position: relative; }.generated-path li > i::before { content: ""; position: absolute; top: 30px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); transform: translateX(-50%); }.generated-path li > i::after { content: ""; position: absolute; top: 30px; bottom: -30px; left: 50%; width: 1px; background: #aab8b2; }.generated-path li:last-child > i::after { display: none; }.generated-path article { margin-bottom: 13px; padding: 20px 23px; background: var(--white); border: 1px solid var(--line); }.generated-path article > small { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .1em; }.generated-path h3 { margin: 8px 0 3px; font-family: Georgia, serif; font-size: 22px; }.generated-path article > p { color: var(--muted); font-size: 14px; }.generated-path article > div { display: flex; flex-wrap: wrap; gap: 7px; }.generated-path article > div span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; font-size: 12px; }.generated-path article > button { margin-top: 12px; border: 0; border-bottom: 1px solid var(--ink); background: none; font-size: 13px; font-weight: 800; cursor: pointer; }

.species-selector { padding: 0 24px; display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 42px; }.species-selector button { min-height: 112px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-size: 14px; cursor: pointer; }.species-selector button span { font-family: Georgia, serif; font-size: 27px; }.species-selector button.active, .species-selector button:hover { color: white; background: var(--ink); }.species-selector button.active span { color: var(--lime); }
.species-season { min-height: 390px; margin-bottom: 48px; padding: 55px 6vw; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; background: #dfe9dc; }.species-season p { color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.season-wheel { width: 300px; height: 300px; justify-self: center; border: 1px solid var(--ink); border-radius: 50%; position: relative; }.season-wheel::before, .season-wheel::after { content: ""; position: absolute; background: var(--ink); opacity: .3; }.season-wheel::before { left: 50%; width: 1px; height: 100%; }.season-wheel::after { top: 50%; width: 100%; height: 1px; }.season-wheel i { position: absolute; display: flex; flex-direction: column; font-family: Georgia, serif; font-size: 18px; font-style: normal; }.season-wheel i small { color: var(--muted); font-family: sans-serif; font-size: 12px; }.season-wheel i:nth-child(1) { left: 33px; top: 55px; }.season-wheel i:nth-child(2) { right: 35px; top: 55px; }.season-wheel i:nth-child(3) { right: 35px; bottom: 55px; }.season-wheel i:nth-child(4) { left: 33px; bottom: 55px; }.season-wheel b { position: absolute; inset: 95px; display: grid; place-items: center; border-radius: 50%; color: var(--lime); background: var(--ink); font-size: 13px; text-align: center; }

.field-summary { margin-bottom: 45px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: white; }.field-summary > div { min-height: 130px; display: flex; flex-direction: column; justify-content: center; padding: 26px; border-right: 1px solid rgba(255,255,255,.16); }.field-summary span { color: #8da9a1; font-size: 12px; letter-spacing: .12em; }.field-summary strong { color: var(--lime); font-family: Georgia, serif; font-size: 34px; }.field-summary small { color: #aabdb8; font-size: 13px; }.field-reflection { margin-top: 70px; margin-bottom: 100px; padding: 55px; background: #e3ece1; }.field-reflection > div:last-child { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #b8c7bb; }.field-reflection article { padding: 25px 22px; border-right: 1px solid #b8c7bb; }.field-reflection article span { color: var(--coral); font-size: 12px; }.field-reflection article strong { display: block; margin: 9px 0; font-family: Georgia, serif; font-size: 19px; }.field-reflection article p { color: var(--muted); font-size: 13px; line-height: 1.8; }

.corporate-hero { margin-bottom: 42px; padding: 60px 5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; color: white; background: var(--ink); }.corporate-hero h2 { margin: 0; font-family: Georgia, serif; font-size: 43px; font-weight: 500; }.corporate-hero > div:first-child p { color: #a8bbb5; font-size: 15px; line-height: 1.9; }.corporate-hero > div:first-child button { margin-top: 12px; border: 0; padding: 15px 20px; color: var(--ink); background: var(--lime); font-size: 14px; font-weight: 900; cursor: pointer; }.corporate-hero > div:last-child article { min-height: 86px; display: grid; grid-template-columns: 35px 1fr 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.16); }.corporate-hero article span { color: var(--coral); font-size: 12px; }.corporate-hero article strong { font-family: Georgia, serif; font-size: 18px; }.corporate-hero article p { color: #91aaa3; font-size: 13px; }
.company-options { margin-bottom: 48px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.company-options article { min-height: 175px; padding: 22px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.company-options article > span { color: var(--coral); font-size: 12px; }.company-options h3 { margin: 12px 0 6px; font-family: Georgia, serif; font-size: 20px; }.company-options p { color: var(--muted); font-size: 13px; }.company-options button { border: 0; border-bottom: 1px solid var(--ink); padding: 6px 0; background: none; font-size: 13px; font-weight: 800; cursor: pointer; }

.local-method-grid { margin-bottom: 65px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.local-method-grid article { min-height: 240px; padding: 27px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.local-method-grid span { color: var(--coral); font-size: 12px; }.local-method-grid h3 { margin: 15px 0; font-family: Georgia, serif; font-size: 20px; }.local-method-grid p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.score-method { margin-bottom: 70px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; }.score-method > div:last-child > div { min-height: 49px; display: grid; grid-template-columns: 220px 1fr 35px; gap: 15px; align-items: center; border-bottom: 1px solid var(--line); }.score-method span { font-size: 13px; }.score-method i { height: 7px; background: #dfe5dc; }.score-method i b { display: block; height: 100%; background: var(--coral); }.score-method strong { text-align: right; font-size: 13px; }
.exclusions { margin-bottom: 100px; padding: 48px 5vw; background: #efe9df; }.exclusions h2 { font-family: Georgia, serif; font-size: 34px; font-weight: 500; }.exclusions > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 30px; }.exclusions p { margin: 0; padding-bottom: 10px; border-bottom: 1px solid #d6cfc3; font-size: 14px; }.exclusions p span { margin-right: 8px; color: var(--coral); font-weight: 900; }.exclusions small { display: block; margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.local-dialog-hero > p { margin: 14px 0 0; color: var(--lime); font-size: 14px; }.local-dialog-hero > small { color: rgba(255,255,255,.65); font-size: 13px; }.local-dialog-highlight { margin-bottom: 24px; padding: 22px; background: #e0ece5; }.local-dialog-highlight span { color: #4c7369; font-size: 12px; font-weight: 900; letter-spacing: .08em; }.local-dialog-highlight strong { display: block; margin-top: 8px; font-family: Georgia, serif; font-size: 20px; line-height: 1.5; }.local-dialog-highlight p { color: var(--ink-2); font-size: 14px; }.local-series { margin: 22px 0; padding-left: 16px; border-left: 3px solid var(--gold); }.local-series strong, .local-series span { display: block; font-size: 13px; }.field-connection { margin: 20px 0; padding: 17px 19px; background: var(--ink); color: white; }.field-connection span { display: block; color: var(--lime); font-size: 12px; letter-spacing: .1em; }.field-connection strong { display: block; margin-top: 6px; font-family: Georgia, serif; font-size: 17px; }.modal-safety { padding-top: 14px; border-top: 1px solid var(--line); }.modal-safety p { margin: 6px 0; color: #317a65; font-size: 13px; }.modal-safety small { display: block; margin-top: 13px; color: var(--muted); font-size: 12px; }

/* Country Field and World Radar additions */
.world-pulse { max-width: var(--max); margin: 0 auto 48px; padding: 0 24px; }
.world-pulse-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.world-pulse-head h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(28px, 3vw, 42px); font-weight: 500; }
.world-pulse-head p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.world-signal-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.world-signal-legend span { padding: 7px 9px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 12px; white-space: nowrap; }
.world-signal-legend strong { margin-left: 3px; color: var(--ink); font-family: Georgia, serif; font-size: 16px; }
.world-pulse-body { display: block; }
.world-country-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.world-country-card { min-width: 0; min-height: 92px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; padding: 13px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-align: left; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; }
.world-country-card:hover, .world-country-card:focus-visible { border-color: #317a65; box-shadow: var(--shadow); transform: translateY(-2px); outline: 0; }
.world-country-card > span { color: #317a65; font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.world-country-card > strong { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--coral); font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.world-country-card > small { min-width: 0; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.world-country-card > em { grid-column: 1 / -1; color: var(--muted); font-size: 12px; font-style: normal; }
.world-country-more { display: block; margin: 12px auto 0; padding: 9px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.world-country-more:hover, .world-country-more:focus-visible { border-color: #317a65; outline: 2px solid rgba(49,122,101,.22); outline-offset: 2px; }
.world-country-more[hidden] { display: none; }
.world-pulse-note { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }
.world-country-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 13px; text-align: center; }
.country-field-header { max-width: var(--max); margin: 0 auto; padding: 28px 24px 0; }
.country-field-title { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(260px, .62fr); align-items: end; gap: 20px; }
.country-field-title h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(25px, 2.7vw, 34px); font-weight: 500; letter-spacing: -.02em; }
.country-field-title p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.cohort-section-label { margin-top: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cohort-section-label strong { color: var(--ink); font-size: 14px; letter-spacing: .05em; }
.cohort-section-label span { color: #8a4b3d; font-size: 12px; font-weight: 800; }
.country-controls { display: grid; grid-template-columns: minmax(180px, 1.05fr) minmax(150px, .8fr) minmax(145px, .72fr) minmax(210px, 1.2fr); gap: 9px; margin-top: 21px; padding: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(20, 52, 48, .04); }
.language-cohort-hub { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.language-cohort-hub button { min-height: 58px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 9px 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; text-align: left; }
.language-cohort-hub button:hover, .language-cohort-hub button.active { border-color: var(--ink); color: white; background: var(--ink); }
.language-cohort-hub strong { font-size: 13px; line-height: 1.25; }
.language-cohort-hub span { color: var(--coral); font-family: Georgia, serif; font-size: 12px; letter-spacing: .08em; }
.cohort-method-note { margin: 8px 0 0; padding: 10px 13px; border-left: 3px solid var(--coral); color: var(--muted); background: #f3efe6; font-size: 12px; line-height: 1.65; }
.country-controls label { min-height: 58px; display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); background: #faf9f4; }
.country-controls label span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.country-controls select { width: 100%; margin-top: 5px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 800; }
.country-controls select:focus-visible { outline: 2px solid #317a65; outline-offset: 4px; }
.event-language-filter { border-color: #9fc7b8 !important; background: #edf7f1 !important; }
.event-language-help { margin: 0; padding: 9px 13px; border: 1px solid var(--line); border-top: 0; color: var(--ink-2); background: #f8f6ef; font-size: 12px; line-height: 1.65; }
.country-index-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 11px 14px; color: var(--ink-2); background: #edf5ef; border: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.country-index-note strong { color: var(--ink); }
.country-index-note .index-snapshot { display: flex; flex-direction: column; }
.country-index-note .index-snapshot small { color: var(--muted); font-size: 12px; }
.workspace-shortcuts { max-width: var(--max); margin: 0 auto 42px; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.local-start > .workspace-shortcuts { max-width: none; margin: 0; padding: 0; border: 0; }
.workspace-shortcuts button { min-height: 86px; padding: 13px 15px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.workspace-shortcuts button:hover, .workspace-shortcuts button:focus-visible { color: white; background: var(--ink); outline: 0; }
.workspace-shortcuts button span { display: block; color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.workspace-shortcuts button strong { display: block; margin-top: 7px; font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.source-audit { max-width: var(--max); margin: 0 auto 65px; padding: 0 24px; }
.source-audit-summary { display: flex; flex-wrap: wrap; gap: 9px; margin: 17px 0; }
.source-audit-summary span { padding: 7px 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); font-size: 12px; }
.source-audit-summary strong { color: var(--ink); font-family: Georgia, serif; font-size: 18px; }
.source-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 12px; }
.source-table > article { min-height: 68px; display: grid; grid-template-columns: minmax(0, 1fr) 90px 82px; gap: 16px; align-items: center; padding: 13px 15px; border: 1px solid var(--line); border-bottom: 0; background: var(--white); }
.source-table > article:last-child { border-bottom: 1px solid var(--line); }
.source-table > article > div { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 12px; }
.source-table > article > div strong { font-size: 14px; }
.source-table > article > div small { color: var(--muted); font-size: 12px; }
.source-table > article > span { color: var(--ink-2); font-family: Georgia, serif; font-size: 18px; }
.source-table th, .source-table td { padding: 12px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.source-table th { color: var(--muted); background: #f0eee5; font-size: 12px; letter-spacing: .07em; }
.source-table a { color: #17634d; overflow-wrap: anywhere; }
.source-status { color: #17634d; font-weight: 900; }
.is-archive { opacity: .76; }
.local-page-title h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(40px, 5vw, 66px); font-weight: 500; line-height: 1.3; }
.local-card-foot a { max-width: 58%; color: #17634d; overflow-wrap: anywhere; }
.map-canvas > i { position: absolute; z-index: 1; color: rgba(255,255,255,.28); font-size: 12px; font-style: normal; }
.map-canvas > i:nth-of-type(1) { right: 11%; top: 8%; }.map-canvas > i:nth-of-type(2) { right: 27%; top: 42%; }.map-canvas > i:nth-of-type(3) { left: 38%; bottom: 22%; }.map-canvas > i:nth-of-type(4) { left: 14%; bottom: 13%; }

@media (max-width: 1050px) {
  .portal-switcher { top: 68px; }
  .local-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .local-filter-primary { grid-template-columns: repeat(2, 1fr); }.local-filter-secondary { grid-template-columns: repeat(3, 1fr); }
  .local-filter-primary .local-search { grid-column: 1 / -1; }.local-filter-primary .local-primary-button { min-height: 50px; }
  .local-metrics { grid-template-columns: repeat(3, 1fr); margin-left: 20px; margin-right: 20px; }.local-metrics > div:nth-child(3), .local-metrics > div:nth-child(6) { border-right: 0; }
  .local-results-layout { grid-template-columns: 290px 1fr; }.local-results-layout .local-card-grid { grid-template-columns: 1fr; }
  .local-method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .header-local-link { display: none; }
  .portal-switcher { position: static; grid-template-columns: repeat(2, 1fr); }
  .portal-switcher button { min-height: 60px; }
  .local-nav { justify-content: flex-start; flex-wrap: wrap; overflow: visible; }.local-nav button { white-space: nowrap; }
  .local-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 30px; }.local-growth { max-width: none; width: 100%; justify-self: stretch; }
  .local-metrics { grid-template-columns: repeat(2,1fr); }.local-metrics > div:nth-child(3) { border-right: 1px solid var(--line); }.local-metrics > div:nth-child(even) { border-right: 0; }
  .local-start { grid-template-columns: 1fr; gap: 25px; }
  .local-trust { grid-template-columns: 1fr; gap: 35px; }
  .local-results-layout { grid-template-columns: 1fr; }.local-map { position: relative; top: 0; }.map-canvas { height: 380px; }
  .calendar-month { grid-template-columns: 100px 1fr; }
  .path-builder { grid-template-columns: 1fr; }.path-summary { min-height: 310px; }
  .species-selector { grid-template-columns: repeat(3, 1fr); }.species-season { grid-template-columns: 1fr; }
  .corporate-hero { grid-template-columns: 1fr; }.company-options { grid-template-columns: repeat(2,1fr); }
  .score-method { grid-template-columns: 1fr; }.local-method-grid { grid-template-columns: repeat(2,1fr); }
  .world-country-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .workspace-shortcuts { grid-template-columns: repeat(2, 1fr); }
  .country-controls { grid-template-columns: repeat(2, 1fr); }
  .language-cohort-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .local-metrics { grid-template-columns: repeat(3, 1fr); }
  .country-field-title { display: flex; align-items: start; flex-wrap: wrap; gap: 5px 18px; }
  .country-field-title h2 { flex: 1 1 440px; }
  .country-field-title > p:last-child { flex: 1 1 240px; }
}

@media (max-width: 580px) {
  body { font-size: 16px; }
  .brand strong { font-size: 13px; }.brand small { font-size: 12px; }
  .portal-switcher { padding: 0 12px; }.portal-switcher button { padding: 8px 12px; font-size: 13px; }.portal-switcher button span { font-size: 12px; }
  .local-hero { padding: 24px 20px; gap: 20px; }.local-hero h1 { font-size: 32px; }.local-hero > div:first-child > p:not(.eyebrow) { margin-top: 12px; font-size: 15px; line-height: 1.55; }.local-hero .hero-actions { margin-top: 15px; flex-direction: column; align-items: stretch; }
  .local-growth { display: none; }
  .local-metrics { margin: 0; grid-template-columns: repeat(2, 1fr); box-shadow: none; }.local-metrics > div { min-height: 100px; }.local-metrics strong { font-size: 34px; }
  .local-start, .local-filter, .local-ranking, .local-results-layout, .local-calendar, .path-builder, .generated-path, .species-selector { padding-left: 15px; padding-right: 15px; }
  .local-start { padding-top: 50px; }.local-start > div:last-child { grid-template-columns: 1fr; }.local-start button { border-right: 0; }
  .local-filter-head { align-items: start; }.local-filter-head > span { display: none; }.local-filter-primary, .local-filter-secondary { grid-template-columns: 1fr; }.local-filter-primary .local-search { grid-column: auto; }.local-filter-primary .local-primary-button { min-height: 52px; }
  .local-section-head { align-items: start; flex-direction: column; }.local-card-grid, .local-results-layout .local-card-grid { grid-template-columns: 1fr; }
  .local-card h3 { font-size: 22px; }.local-card-main { padding: 18px; }
  .local-trust { margin-top: 75px; padding: 52px 21px; }.local-trust-grid { grid-template-columns: 1fr; }.local-trust-grid article { min-height: 130px; }
  .local-page-title { padding: 50px 20px 37px; }.local-page-title h1 { font-size: 39px; }.local-page-title > p:last-child { font-size: 15px; }
  .map-canvas { height: 340px; }
  .calendar-month { grid-template-columns: 1fr; }.calendar-month-label { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }.calendar-item { grid-template-columns: 70px 1fr; padding-left: 0; }.calendar-item em { display: none; }.calendar-item button { font-size: 18px; }
  .path-form { grid-template-columns: 1fr; }.path-form label { min-height: 115px; }.path-form button { min-height: 54px; }
  .generated-path li { grid-template-columns: 38px 30px 1fr; }.generated-path article { padding: 18px; }
  .species-selector { grid-template-columns: repeat(2, 1fr); }.species-season { padding: 45px 20px; }.season-wheel { width: 270px; height: 270px; }.season-wheel b { inset: 85px; }
  .field-summary { grid-template-columns: 1fr; margin-left: 15px; margin-right: 15px; }.field-summary > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }.field-reflection { margin-left: 15px; margin-right: 15px; padding: 38px 20px; }.field-reflection > div:last-child { grid-template-columns: 1fr; }.field-reflection article { border-right: 0; border-bottom: 1px solid #b8c7bb; }
  .corporate-hero { margin-left: 15px; margin-right: 15px; padding: 40px 21px; }.corporate-hero h2 { font-size: 35px; }.company-options { margin-left: 15px; margin-right: 15px; grid-template-columns: 1fr; }
  .local-method-grid { margin-left: 15px; margin-right: 15px; grid-template-columns: 1fr; }.score-method { margin-left: 15px; margin-right: 15px; }.score-method > div:last-child > div { grid-template-columns: 150px 1fr 28px; }.exclusions { margin-left: 15px; margin-right: 15px; padding: 35px 20px; }.exclusions > div { grid-template-columns: 1fr; }
  .local-dialog-highlight strong { font-size: 18px; }
  .world-pulse { padding: 0 15px; margin-bottom: 38px; }.world-pulse-head { align-items: start; flex-direction: column; gap: 9px; }.world-signal-legend { justify-content: flex-start; }.world-signal-legend span { font-size: 12px; }.world-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.world-country-card { min-height: 84px; padding: 11px 12px; }.world-country-card > strong { font-size: 27px; }.world-pulse-note { text-align: left; }
  .country-field-header { padding: 22px 15px 0; }.country-field-title { align-items: start; flex-direction: column; gap: 4px; }.country-field-title h2 { flex-basis: auto; font-size: 24px; }.country-field-title > p:last-child { flex-basis: auto; }.cohort-section-label { align-items: flex-start; flex-direction: column; gap: 3px; }.language-cohort-hub { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 5px; }.language-cohort-hub button { min-width: 138px; scroll-snap-align: start; }.country-controls { grid-template-columns: 1fr; margin-top: 15px; padding: 9px; }.event-language-help { font-size: 13px; }.country-index-note { align-items: start; flex-direction: column; gap: 5px; }.workspace-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 15px; gap: 7px; }.workspace-shortcuts button { min-height: 78px; padding: 11px; }.workspace-shortcuts button strong { font-size: 15px; }.source-audit { padding: 0 15px; }.source-table { display: block; overflow-x: auto; white-space: nowrap; }
  .local-page-title h2 { font-size: 39px; }
  .local-card-foot a { max-width: 52%; }
}

/* Readable multilingual UI: keep small labels legible beside longer English and Chinese copy. */
body { font-size: 17px; }
.brand small, .header-nav a, .saved-link, .portal-switcher button, .header-event-count { font-size: 14px; }
.section-kicker, .eyebrow, .event-meta, .year-heading span, .month-label span, .status, .event-type-chip, .team-chip, .theme-chip { font-size: 13px; }
.confidence-note p, .theme-policy, .filter-main label > span, .filter-main label > small, .filter-secondary label > small, .event-summary, .event-why p, .method-grid p, .dialog-section p, .dialog-footnote { font-size: 15px; line-height: 1.75; }
.event-card .location, .event-card .card-actions button, .event-card .card-actions a, .table-date, .table-description, .table-link, .table-wrap small { font-size: 14px; }
.local-card .mode-badge, .local-card .local-status, .local-card .local-meta span, .local-card .local-tags span, .local-date, .local-card-foot, .local-card-foot button, .local-card-foot a { font-size: 14px; }
.local-card h3 { font-size: 23px; line-height: 1.35; }
.country-field-title p, .country-controls label span, .country-index-note, .event-language-help, .world-country-card > small, .source-table, .source-table th, .source-table td { font-size: 14px; }
.country-controls select, .workspace-shortcuts button span, .local-filter small { font-size: 15px; }
.local-page-title > p:last-child, .local-trust > div:first-child > p { font-size: 17px; line-height: 1.8; }

/* Results-first Country Field: one compact search surface, then the records. */
.results-first-header { padding-top: 30px; }
.country-search-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.country-search-title > div:first-child { min-width: 0; display: flex; align-items: baseline; gap: 18px; }
.country-search-title p { margin: 0; white-space: nowrap; }
.country-search-title h1 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(27px, 3.2vw, 40px); font-weight: 500; line-height: 1.2; }
.inline-display-language { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 850; }
.inline-display-language select { min-height: 38px; max-width: 190px; border: 1px solid var(--line); padding: 0 30px 0 10px; color: var(--ink); background: var(--white); font-size: 13px; font-weight: 750; }
.inline-display-language select:focus-visible { outline: 2px solid #317a65; outline-offset: 2px; }
.country-search-bar { display: grid; grid-template-columns: minmax(230px, 1.45fr) minmax(130px, .65fr) minmax(170px, .78fr) minmax(170px, .78fr) auto; gap: 8px; padding: 10px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 8px 22px rgba(20,52,48,.04); }
.country-search-bar label, .advanced-local-filters label { min-width: 0; min-height: 56px; display: flex; flex-direction: column; justify-content: center; padding: 7px 11px; border: 1px solid var(--line); background: #faf9f4; }
.country-search-bar label > span, .advanced-local-filters label > span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.country-search-bar input, .country-search-bar select, .advanced-local-filters input, .advanced-local-filters select { width: 100%; margin-top: 4px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 750; }
.country-search-bar input:focus-visible, .country-search-bar select:focus-visible, .advanced-local-filters input:focus-visible, .advanced-local-filters select:focus-visible { outline: 2px solid #317a65; outline-offset: 3px; }
.country-search-bar .local-primary-button { min-width: 112px; min-height: 56px; }
.content-type-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.content-type-tabs button { min-height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--muted); background: var(--white); font-size: 13px; font-weight: 850; cursor: pointer; }
.content-type-tabs button.active, .content-type-tabs button:hover, .content-type-tabs button:focus-visible { border-color: var(--ink); color: white; background: var(--ink); outline: 0; }
.content-type-note { margin: 7px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.advanced-local-filters { margin-top: 8px; border: 1px solid var(--line); background: var(--white); }
.advanced-local-filters summary { padding: 10px 13px; color: var(--ink); font-size: 13px; font-weight: 850; cursor: pointer; }
.advanced-local-filters > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0 10px 10px; }
.advanced-local-filters button { min-height: 56px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.advanced-local-filters button:hover, .advanced-local-filters button:focus-visible { border-color: #317a65; outline: 2px solid rgba(49,122,101,.18); outline-offset: 2px; }
.results-first-header + .country-workspace-nav { margin-top: 12px; }
.local-results-first { max-width: var(--max); margin: 20px auto 70px; padding: 0 24px; }
.local-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.local-results-heading h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: 25px; font-weight: 500; }
.local-results-heading span { color: var(--muted); font-size: 13px; }
.result-load-status { margin: 0 0 16px; padding: 13px 15px; border-left: 3px solid #317a65; color: var(--ink-2); background: #edf5ef; font-size: 14px; }
.result-load-status.is-error { border-color: var(--coral); background: #faece8; }
.result-group + .result-group { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.result-group-head { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(260px, 1.45fr); gap: 28px; align-items: end; margin-bottom: 13px; }
.result-group-head span { color: #317a65; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.result-group-head h2 { margin: 2px 0 0; font-family: Georgia, "Yu Mincho", serif; font-size: 23px; font-weight: 500; }
.result-group-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.result-group.is-candidate .local-card { border-top-color: #c99f7d; background: #fffcf7; }
.result-group.is-candidate .local-source-badge { color: #765843; background: #f4e7d8; }
.candidate-decision-facts > div { border-color: #e2d6ca; background: #fffaf4; }
.candidate-boundary { margin: 8px 0 0; padding: 8px 10px; border: 1px solid #e2cfbd; color: #765843; background: #fff8ef; font-size: 12px; font-weight: 750; line-height: 1.55; }
.local-card-main { padding: 14px; }
.local-card h3 { margin: 10px 0 6px; font-size: 20px; line-height: 1.35; }
.local-original-title { margin: -1px 0 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.local-original-title span { margin-right: 5px; color: #317a65; font-weight: 900; }
.dialog-original-title { margin: 7px 0 0; color: #b8cbc5; font-size: 13px; line-height: 1.55; }
.dialog-original-title span { margin-right: 7px; color: var(--aqua); font-weight: 900; }
.local-summary { display: -webkit-box; overflow: hidden; margin: 12px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.local-card-foot > span { min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.local-card-foot a, .local-card-foot button { flex: 0 0 auto; }
.load-more-actions { display: flex; flex-direction: column; align-items: center; gap: 7px; margin-top: 24px; }
.load-more-actions button { min-width: 210px; min-height: 46px; border: 1px solid var(--ink); padding: 9px 20px; color: var(--ink); background: var(--white); font-size: 14px; font-weight: 900; cursor: pointer; }
.load-more-actions button:hover, .load-more-actions button:focus-visible { color: white; background: var(--ink); outline: 0; }
.load-more-actions button:disabled { cursor: wait; opacity: .6; }
.load-more-actions small, .result-page-error { color: var(--muted); font-size: 12px; }
.result-page-error { text-align: center; }
.local-empty.compact { min-height: 150px; padding: 26px; }
.local-empty.compact h3 { margin-top: 0; }

@media (max-width: 820px) {
  .country-search-bar { grid-template-columns: minmax(0, 1fr) minmax(150px, .65fr); }
  .country-search-bar .country-query { grid-column: 1 / -1; }
  .country-search-bar .local-primary-button { min-height: 56px; }
  .advanced-local-filters > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .results-first-header { padding: 20px 15px 0; }
  .country-search-title { display: block; margin-bottom: 10px; }
  .country-search-title > div:first-child { display: block; }
  .country-search-title p { margin-bottom: 4px; }
  .country-search-title h1 { font-size: 28px; }
  .country-search-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
  .country-search-bar .country-query, .country-search-bar label:nth-of-type(2), .country-search-bar .local-primary-button { grid-column: 1 / -1; }
  .country-search-bar label, .advanced-local-filters label { min-height: 54px; }
  .advanced-local-filters > div { grid-template-columns: 1fr; padding: 0 8px 8px; }
  .results-first-header + .country-workspace-nav { margin-top: 9px; }
  .local-results-first { margin-top: 16px; padding: 0 15px; }
  .content-type-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-type-tabs button { min-width: 0; padding: 7px 5px; font-size: 12px; }
  .candidate-context { grid-template-columns: 1fr; }
  .result-group-head { display: block; }
  .result-group-head p { margin-top: 7px; }
}
.local-method-grid p, .local-empty p, .path-placeholder p, .local-section-head p { font-size: 15px; line-height: 1.75; }

@media (max-width: 580px) {
  body { font-size: 16px; }
  .brand small, .header-nav a, .saved-link { font-size: 13px; }
  .section-kicker, .eyebrow, .event-meta, .status, .event-type-chip, .team-chip, .theme-chip { font-size: 13px; }
  .event-summary, .event-why p, .dialog-section p, .dialog-footnote, .local-page-title > p:last-child { font-size: 16px; }
  .local-card h3 { font-size: 21px; }
  .local-card .mode-badge, .local-card .local-status, .local-card .local-meta span, .local-card .local-tags span, .local-date, .local-card-foot { font-size: 14px; }
}

/* Keep navigation, filters and supporting labels readable at normal viewing distance. */
.snapshot-line, .radar-core span, .radar-caption, .metric-band span, .metric-band small,
.confidence-note strong, .confidence-note button, .section-intro > p,
.filter-main label > span, .filter-main label > small, .filter-main select,
.search-box input, .filter-chip, .saved-toggle, .result-toolbar > div:first-child > span,
.toolbar-actions > button, .active-filter, .event-table, .event-table th, .event-table td,
.world-map-label, .world-map-dot small, .world-country-card > span, .world-country-card > small,
.local-section-head .section-kicker, .local-trust-grid span, .source-audit-summary span,
.calendar-month-label span, .calendar-mode, .calendar-item p, .calendar-item small,
.path-summary p, .generated-path article > small, .map-title span, .map-canvas > i,
.map-canvas > b, .local-method-grid span, .dialog-section > span, .local-dialog-highlight span,
.source-table > article > div small, .local-map > p, .local-dialog-hero .mode-badge,
.local-dialog-hero .local-status, .event-language-badge, .event-language-badge small { font-size: 14px; }
.status, .event-type-chip, .team-chip, .theme-chip, .month-label span, .year-heading span { font-size: 14px; }
.saved-link b, .portal-switcher button span, .search-box kbd, .score-value i, .date-primary span { font-size: 14px; }
.empty-state p, .action-copy, .action-board article strong, .action-board article p, .local-score small, .local-outcome span { font-size: 14px; }
.explorer .empty-state p, .action-board .action-copy, .action-board article strong, .action-board article p,
.local-card .local-score small, .local-card .local-outcome span { font-size: 14px; line-height: 1.65; }
.world-signal-legend span { font-size: 14px; }
.action-board .action-copy > p:last-child { font-size: 14px; line-height: 1.65; }

/* Two independent applications share only this compact switcher. */
.portal-switcher button { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.portal-switcher button strong { display: block; color: var(--ink); font-size: 15px; letter-spacing: .13em; }
.portal-switcher button span { margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.portal-switcher button[data-portal="local"]::after { background: #2f8f73; }
.nature-header-nav button { border: 0; background: none; color: var(--ink-2); font-size: 14px; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
.nature-header-nav button:hover { color: #17634d; }
.nature-app-intro { max-width: var(--max); margin: 0 auto; padding: 62px 24px 42px; }
#natureTop, #localView { scroll-margin-top: 205px; }
.nature-app-intro .eyebrow { color: #277765; }
.nature-app-intro h1 { margin: 0; max-width: 900px; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; line-height: 1.28; letter-spacing: -.03em; }
.nature-app-intro h1 em { color: #277765; font-style: normal; }
.nature-app-intro > p:last-child { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.local-source-badge { display: inline-flex; align-items: center; min-height: 30px; border-radius: 999px; padding: 5px 10px; color: #175f4e; background: #dcefe7; font-size: 13px; font-weight: 900; letter-spacing: .03em; }

@media (max-width: 580px) {
  .site-header { height: 60px; }
  .portal-switcher { min-height: 52px; }
  .portal-switcher button { min-height: 52px; }
  .portal-switcher button strong { font-size: 13px; letter-spacing: .08em; }
  .portal-switcher button span { display: none; }
  .nature-app-intro { padding: 44px 20px 30px; }
  #natureTop, #localView { scroll-margin-top: 226px; }
  .nature-app-intro h1 { font-size: 30px; }
  .nature-app-intro > p:last-child { font-size: 16px; }
  .nature-header-nav { gap: 12px; }
  .nature-header-nav button { font-size: 13px; }
}

/* Compact display-language selector shared across desktop and mobile. */
.language-switch-bar {
  min-height: 52px;
  padding: 8px max(16px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #082b2b;
  border-bottom: 1px solid rgba(255,255,255,.16);
  position: sticky;
  top: 76px;
  z-index: 49;
}
.language-switch-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  width: min(100%, 300px);
}
.language-switch-label {
  flex: 0 0 auto;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}
.language-switch-control select {
  width: min(196px, 100%);
  min-width: 0;
  min-height: 44px;
  padding: 8px 36px 8px 13px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 14px;
  color: #082b2b;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.language-switch-control select:hover {
  border-color: #8be0b0;
}
.language-switch-control select:focus-visible {
  outline: 3px solid #8be0b0;
  outline-offset: 2px;
}
.portal-switcher { top: 128px; }

@media (max-width: 820px) {
  .language-switch-bar {
    top: 68px;
    justify-content: flex-end;
    padding-left: 14px;
    padding-right: 14px;
  }
  .portal-switcher { position: static; }
}

@media (max-width: 580px) {
  .language-switch-bar { min-height: 48px; }
  .language-switch-control { width: 100%; }
  .language-switch-control select { flex: 1 1 auto; width: auto; }
}

/* Keep every language choice visible and prevent translated copy from widening the page. */
html, body { max-width: 100%; overflow-x: clip; }
.hero-grid, .hero-copy, .portal-switcher, .portal-switcher button { min-width: 0; }
.hero { min-height: 460px; }
.hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 40px; padding-top: 48px; padding-bottom: 46px; }
.hero h1 { font-size: clamp(40px, 4vw, 58px); line-height: 1.12; }
.hero-lead { margin-top: 20px; line-height: 1.75; }
.hero-actions { margin-top: 22px; }
.snapshot-line { margin-top: 18px; }
.radar-visual { width: min(320px, 28vw); }

@media (max-width: 820px) {
  .language-switch-bar {
    min-height: auto;
    padding: 8px 14px;
  }
  .portal-switcher { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
  .portal-switcher button strong, .portal-switcher button span { max-width: 100%; overflow-wrap: anywhere; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 46px; padding-bottom: 52px; }
  .hero h1 { overflow-wrap: anywhere; }
  .radar-panel { display: none; }
}

@media (max-width: 580px) {
  .site-header .brand { min-width: 0; max-width: calc(100vw - 32px); }
  .site-header .brand > span:last-child { min-width: 0; }
  .site-header .brand strong,
  .site-header .brand small { white-space: normal; overflow-wrap: anywhere; }
  .filter-secondary .chip-group { flex-wrap: wrap; overflow-x: visible; }
  .filter-secondary .filter-chip { flex: 0 1 auto; white-space: normal; text-align: center; }
  .portal-switcher button { padding-left: 8px; padding-right: 8px; }
  .portal-switcher button strong { font-size: 12px; letter-spacing: .055em; }
  .hero-grid { padding: 27px 20px 32px; }
  .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(33px, 9.2vw, 36px); line-height: 1.08; }
  .hero-lead { margin-top: 14px; font-size: 13px; line-height: 1.55; }
  .hero-actions { width: 100%; max-width: none; margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .primary-action, .secondary-action { min-height: 44px; height: auto; padding: 7px 10px; justify-content: center; gap: 7px; text-align: center; line-height: 1.2; }
  .snapshot-line { margin-top: 14px; }
  footer { min-height: 0; align-items: stretch; flex-direction: column; gap: 12px; }
  .footer-brand { margin-inline-end: 0; }
  .site-license-signature { max-width: 100%; overflow-wrap: anywhere; }
  .site-license-signature .rights-holder { display: block; margin-inline-start: 0; white-space: normal; }
  footer > a { align-self: flex-start; }
}
/* Shared Nature Positive series identity */
.np-series-footer-region,.np-series-footer-region *{box-sizing:border-box}
.np-series-footer-region{--np-series-bg:#12382b;--np-series-text:#f6faf7;--np-series-muted:#c9dbd1;--np-series-link:#e4f5d8;grid-column:1/-1;width:100%;margin:0;border-top:1px solid rgba(246,250,247,.22);background:var(--np-series-bg);color:var(--np-series-text);font-family:inherit}
.np-series-footer-inner{width:min(100%,1200px);min-height:76px;margin:0 auto;padding:14px clamp(20px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:20px}
.np-series-footer-identity{margin:0;display:grid;gap:2px;line-height:1.45}
.np-series-footer-identity strong{color:var(--np-series-text);font-size:12px;font-weight:750;letter-spacing:.14em}
.np-series-footer-identity span{color:var(--np-series-muted);font-size:14px}
.np-series-footer-link{min-height:44px;padding:8px 0;display:inline-flex;align-items:center;gap:10px;color:var(--np-series-link);font-size:15px;font-weight:700;line-height:1.5;text-underline-offset:.25em;text-decoration-thickness:1px}
.np-series-footer-link:hover{color:#fff;text-decoration-thickness:2px}
.np-series-footer-link:focus-visible{outline:3px solid #f2d66d;outline-offset:4px;border-radius:2px}
@media(max-width:600px){.np-series-footer-inner{min-height:0;padding:14px 20px 16px;align-items:stretch;flex-direction:column;gap:4px}.np-series-footer-link{width:100%;justify-content:flex-start}}

/* Completed events remain available through an accessible native disclosure. */
.event-archive{margin:2rem 0;border:1px solid #bec9c4;border-radius:8px;background:var(--surface,#fff);overflow:hidden}
.event-archive>summary{padding:1.1rem 1.25rem;font-size:1rem;font-weight:700;cursor:pointer;color:inherit;min-height:48px}
.event-archive>summary:hover{background:rgba(32,90,70,.06)}
.event-archive>summary:focus-visible{outline:3px solid #237553;outline-offset:-4px}
.event-archive[open]>summary{border-bottom:1px solid #d5ddd9}
.archive-content{padding:1.25rem;min-width:0}
.archive-content>p{font-size:.95rem;line-height:1.7;margin-bottom:1.2rem}
.current-events-label{font-size:1rem;font-weight:700;margin:1rem 0}
.archive-content .local-card-grid{min-width:0}
@media(max-width:600px){.archive-content{padding:.75rem}.event-archive>summary{padding:1rem}.archive-content .event-card{min-width:0}}
