:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #17322c;
  background: #f4f7f3;
  --ink: #17322c;
  --muted: #425d55;
  --brand: #155c45;
  --brand-dark: #104636;
  --brand-pale: #e8f2eb;
  --surface: #fff;
  --border: #bdcec3;
  --focus: #b24500;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: #124f3e; text-underline-offset: .18em; }
a:hover { color: #0b382b; }
button, input, select, textarea { font: inherit; }
button, .button-link {
  min-height: 48px; padding: .7rem 1.05rem; border: 2px solid var(--brand);
  border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer;
}
button:hover, .button-link:hover { background: var(--brand-dark); color: #fff; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .65rem 1rem; background: #fff; color: var(--ink); border: 2px solid var(--focus); }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .85rem max(5vw, 1.2rem); background: #fff; border-bottom: 1px solid var(--border); }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.25; }
.brand-name { font-size: 1.15rem; font-weight: 800; }
.brand-note { color: var(--muted); font-size: .83rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: .35rem; }
.site-nav a { padding: .55rem .75rem; border-radius: 7px; font-weight: 700; text-decoration: none; }
.site-nav a[aria-current="page"] { background: var(--brand-pale); color: var(--brand-dark); text-decoration: underline; }
.public-main, .container { width: min(1120px, 92vw); margin: 2rem auto 4rem; }
.public-footer { padding: 1.25rem max(5vw, 1.2rem); background: #eaf0eb; color: var(--muted); font-size: .9rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 22ch; margin-bottom: .6rem; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.12; letter-spacing: -.025em; }
h2 { line-height: 1.2; }
p { max-width: 72ch; }
.intro-copy { max-width: 65ch; color: var(--muted); font-size: 1.1rem; }
.demo-note, .notice, .result-box, .public-card, .card { padding: 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.demo-note { margin: 1.25rem 0; background: #edf4ef; }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.action-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 1.25rem; background: #fff; border: 2px solid var(--border); border-radius: 12px; color: var(--ink); text-decoration: none; }
.action-card:hover { border-color: var(--brand); background: #f8fbf8; }
.action-card strong { font-size: 1.18rem; }
.action-card span { color: var(--muted); }
.action-card b { color: var(--brand-dark); text-decoration: underline; text-underline-offset: .2em; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; padding-left: 1.3rem; }
.steps-list li { padding-left: .3rem; }
.card { margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin: .75rem 0 .25rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 48px; padding: .65rem .75rem; border: 2px solid #6a8278; border-radius: 7px; background: #fff; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.help-text, .muted { color: var(--muted); }
.result-box { margin-top: 1rem; }
.result-box[hidden], [hidden] { display: none !important; }
.hidden { display: none !important; }
.status-message { padding: .8rem 1rem; border-radius: 8px; font-weight: 700; }
.status-message.warning { background: #fff4d8; color: #543900; }
.status-message.safe { background: #e8f2eb; color: #124633; }
.status-message.neutral { background: #edf0f2; color: #24333a; }
.list-clean { padding-left: 1.3rem; }
.list-clean li { margin: .5rem 0; }
.campaign-list { display: grid; gap: .75rem; }
.campaign-item { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.campaign-item:last-child { border-bottom: 0; }
.map-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(220px,.8fr); gap: 1rem; align-items: start; }
.map-frame { width: 100%; min-height: 320px; background: #f5f8f5; border: 1px solid var(--border); border-radius: 8px; }
.map-list { max-height: 330px; overflow: auto; padding-left: 1.3rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .65rem; text-align: left; border-bottom: 1px solid var(--border); }
@media (max-width: 760px) {
  :root { font-size: 17px; }
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; }
  .site-nav a { flex: 1; text-align: center; }
  .action-grid, .steps-list, .grid, .map-layout { grid-template-columns: 1fr; }
  .action-card { min-height: 150px; }
  .container, .public-main { width: min(100% - 1.25rem, 680px); margin-top: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) { .action-card { transition: border-color .16s ease-out, background-color .16s ease-out; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
