/* Petohmi — shared stylesheet. Self-contained: no @import, no remote fonts.
   System font stack only. WCAG 2.2 AA targets: contrast, visible focus,
   color-never-sole-indicator, reduced motion. */

:root {
  /* PETOHMI founder-approved palette */
  --twilight-plum: #6B58D7;
  --soft-lavender: #CCA9F7;
  --periwinkle-blue: #A8C7FF;
  --champagne-gold: #F6D7A1;
  --warm-eggshell: #FDF9F2;
  --slate-charcoal: #2F2F3A;

  /* Accessible semantic mapping */
  --ink:        var(--slate-charcoal);
  --ink-soft:   rgba(47,47,58,.78);
  --bg:         var(--warm-eggshell);
  --surface:    rgba(204,169,247,.16);
  --surface-2:  rgba(168,199,255,.18);
  --brand:      var(--twilight-plum);
  --brand-dark: var(--slate-charcoal);
  --brand-ink:  var(--twilight-plum); /* AA on eggshell */
  --accent:     #7B5A21; /* accessible text derived from champagne-gold */
  --accent-bg:  rgba(246,215,161,.30);
  --good:       var(--twilight-plum);
  --border:     rgba(107,88,215,.22);
  --border-2:   rgba(47,47,58,.28);
  --focus:      var(--twilight-plum);
  --maxw:       1080px;
  --radius:     12px;
  --shadow:     0 1px 2px rgba(47,47,58,.05), 0 8px 24px rgba(107,88,215,.09);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-dark);
  color: #fff;
  padding: .7rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
main { display: block; }
section { padding: clamp(2.2rem, 5vw, 4rem) 0; }
.band { background: var(--surface); }
.band-2 { background: var(--surface-2); }

/* ---- Typography ---- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p  { margin: 0 0 1rem; max-width: 68ch; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
  font-weight: 700; color: var(--brand-ink); margin: 0 0 .5rem;
}
a { color: var(--brand-ink); }
a:hover { color: var(--brand-dark); }
small { font-size: .85rem; color: var(--ink-soft); }

/* ---- Header / nav ---- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .6rem 16px; max-width: var(--maxw); margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500; font-size: 1.2rem; color: var(--slate-charcoal);
  text-decoration: none; letter-spacing: .32em; text-transform: uppercase;
}
.brand .dot { display: none; }
.nav-toggle {
  display: none; background: var(--bg); border: 1px solid var(--border-2);
  color: var(--ink); border-radius: 8px; padding: .5rem .7rem; font-size: 1rem;
  cursor: pointer;
}
.nav-links { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; text-decoration: none; color: var(--ink);
  padding: .5rem .7rem; border-radius: 8px; font-size: .97rem; font-weight: 600;
}
.nav-links a:hover { background: var(--surface); }
.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
  box-shadow: inset 0 -3px 0 var(--brand);   /* underline, not color-only */
}
.nav-cta a {
  background: var(--brand); color: #fff !important; padding: .55rem .9rem;
}
.nav-cta a:hover { background: var(--brand-dark); }

/* ---- Buttons ---- */
.btn {
  display: inline-block; font: inherit; font-weight: 700; cursor: pointer;
  border-radius: 8px; padding: .75rem 1.15rem; text-decoration: none;
  border: 2px solid transparent; text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color:#fff; }
.btn-secondary { background: transparent; color: var(--brand-dark); border-color: var(--border-2); }
.btn-secondary:hover { background: var(--surface); color: var(--brand-dark); }
.btn-group { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }

/* ---- Focus visibility (AA 2.4.7 / 2.4.13) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Hero ---- */
.hero { background:
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: clamp(2.4rem, 6vw, 4.6rem) 0 clamp(1.8rem,4vw,3rem); }
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 60ch; }
.reassure {
  margin-top: 1.4rem; display: inline-flex; gap: .5rem; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border);
  border-left: 5px solid var(--brand); border-radius: var(--radius);
  padding: .8rem 1rem; font-weight: 600; color: var(--ink);
}
.reassure .icon { color: var(--brand); font-weight: 800; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.25rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card.brandish { border-top: 4px solid var(--brand); }

.steps { display: grid; gap: .8rem; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand);
  color: #fff; font-weight: 800; margin-bottom: .5rem;
}

/* ---- Callout / notes ---- */
.callout {
  border: 1px solid var(--border); border-left: 5px solid var(--brand);
  background: var(--surface); border-radius: var(--radius); padding: 1rem 1.15rem;
}
.callout.urgent {
  border-left-color: var(--accent); background: var(--accent-bg);
}
.tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  border-radius: 999px; padding: .15rem .6rem; border: 1px solid var(--border-2);
  background: var(--bg); color: var(--ink-soft);
}
.tag.urgent { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.tag.urgent::before { content: "\26A0  "; }   /* warning sign: icon + text, not color alone */
.tag.ok { border-color: var(--good); color: var(--good); }

/* ---- Forms / demos ---- */
fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.15rem; margin: 0 0 1.2rem; }
legend { font-weight: 700; padding: 0 .4rem; }
label { display: block; font-weight: 600; margin: .2rem 0 .35rem; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: .9rem; margin: 0 0 .5rem; }
input[type="text"], input[type="email"], input[type="date"], input[type="file"], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--border-2); border-radius: 8px; padding: .6rem .7rem;
}
textarea { min-height: 5rem; resize: vertical; }
input[type="file"] { padding: .75rem; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: .8rem; border: 0; border-radius: 8px; padding: .55rem .8rem; background: var(--brand); color: #fff; cursor: pointer; }
.radio-row { display: flex; align-items: flex-start; gap: .55rem; margin: .35rem 0; font-weight: 500; }
.radio-row input { margin-top: .35rem; }
.radio-row label { margin: 0; font-weight: 500; }

.demo-output {
  margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); padding: 1.1rem 1.2rem;
}
.demo-output.fast { border-left: 6px solid var(--accent); background: var(--accent-bg); }
.demo-output.info { border-left: 6px solid var(--brand); }
.result-row { margin: .3rem 0; }
.result-label { font-weight: 700; color: var(--ink); }
.why-asking {
  font-size: .9rem; color: var(--ink-soft); background: var(--surface);
  border: 1px dashed var(--border-2); border-radius: 8px; padding: .5rem .7rem; margin: .4rem 0;
}
.why-asking::before { content: "Why we ask: "; font-weight: 700; color: var(--brand-ink); }

/* ---- Accordion (Prepare) ---- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.accordion + .accordion { margin-top: .7rem; }
.accordion summary {
  cursor: pointer; list-style: none; padding: 1rem 1.15rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .chev { color: var(--brand); font-weight: 800; transition: transform .18s ease; }
.accordion[open] summary .chev { transform: rotate(90deg); }
.accordion .body { padding: 0 1.15rem 1.15rem; }

/* ---- Guide chat demo ---- */
.chat { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.chat-log { padding: 1rem; display: flex; flex-direction: column; gap: .7rem; max-height: 460px; overflow-y: auto; }
.msg { max-width: 85%; padding: .7rem .9rem; border-radius: 12px; }
.msg.guide { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 3px; }
.msg.user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.msg .why-asking { background: var(--bg); }
/* A reply may carry a paragraph break (the scope answer, the authority note); keep it. */
.msg p { white-space: pre-line; overflow-wrap: anywhere; }
.chat-suggests { display: flex; flex-wrap: wrap; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--border); background: var(--surface); }
.chip {
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  background: var(--bg); border: 1px solid var(--border-2); color: var(--brand-dark);
  border-radius: 999px; padding: .45rem .8rem;
}
.chip:hover { background: var(--surface-2); }

/* ---- Comparison table ---- */
.cmp { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.cmp caption { text-align: left; color: var(--ink-soft); font-size: .9rem; margin-bottom: .5rem; }
.cmp th, .cmp td { border: 1px solid var(--border); padding: .7rem .8rem; text-align: left; vertical-align: top; }
.cmp th { background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* ---- Footer ---- */
.site-footer { background: var(--brand-dark); color: #dfeceb; padding: 2.4rem 0; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer-grid ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.footer-grid li { margin: .3rem 0; }
.site-footer .fineprint { border-top: 1px solid rgba(255,255,255,.2); margin-top: 1.6rem; padding-top: 1rem; font-size: .85rem; color: #bcd3d1; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding: .5rem 0 .8rem;
  }
  .nav-links.open { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav-links a { padding: .7rem .6rem; border-radius: 8px; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); }
}

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

@media print {
  .site-header, .site-footer, .chat-suggests, .btn-group { display: none; }
}

/* ---- Ask the Guide: persistent launcher + panel ---- */
.atg-launcher {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90; display: inline-flex; align-items: center; gap: .55rem;
  font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; background: var(--twilight-plum);
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: .7rem 1.1rem .7rem .95rem; cursor: pointer;
  box-shadow: 0 2px 6px rgba(47,47,58,.12), 0 10px 26px rgba(107,88,215,.28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.atg-launcher:hover { background: #5a48c4; transform: translateY(-1px); }
.atg-launcher:focus-visible { outline: 3px solid var(--slate-charcoal); outline-offset: 3px; }
.atg-launcher-mark {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0, var(--champagne-gold) 45%, var(--soft-lavender) 100%);
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}
.atg.is-open .atg-launcher { box-shadow: 0 1px 3px rgba(47,47,58,.12); }
.atg-launcher[hidden] { display: none; }

.atg-backdrop {
  position: fixed; inset: 0; z-index: 88; background: transparent;
}
.atg-backdrop[hidden] { display: none; }

.atg-panel {
  position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 89;
  width: min(400px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 112px));
  display: flex; flex-direction: column; padding: 0;   /* overrides the global section padding */
  background: var(--warm-eggshell); color: var(--ink);
  border: 1px solid rgba(107,88,215,.28); border-radius: 18px;
  box-shadow: 0 4px 12px rgba(47,47,58,.10), 0 24px 60px rgba(107,88,215,.22);
  overflow: hidden;
  transform-origin: bottom right;
  animation: atg-in .18s ease-out;
}
.atg-panel[hidden] { display: none; }
@keyframes atg-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.atg-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem;
  padding: .9rem 1rem .5rem 1.1rem;
  background: linear-gradient(135deg, rgba(204,169,247,.28) 0%, rgba(168,199,255,.22) 100%);
  border-bottom: 1px solid rgba(107,88,215,.16);
}
.atg-kicker {
  margin: 0; font-size: .68rem; font-weight: 500; letter-spacing: .32em;
  text-transform: uppercase; color: var(--slate-charcoal);
}
.atg-title { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; }
.atg-title:focus { outline: none; }
.atg-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.atg-close {
  font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(253,249,242,.9); border: 1px solid rgba(47,47,58,.18); color: var(--slate-charcoal);
}
.atg-close:hover { background: #fff; }
.atg-note { margin: .55rem 1.1rem .2rem; font-size: .82rem; color: var(--ink-soft); max-width: none; }

.atg-log {
  flex: 1 1 auto; min-height: 140px; overflow-y: auto; padding: .6rem 1rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.atg-log .msg { font-size: .96rem; line-height: 1.5; }
.atg-log .msg.guide { background: #fff; }
.atg-text { margin: 0; max-width: none; }
.atg-link { margin: .5rem 0 0; max-width: none; font-weight: 600; }
.msg.user .atg-link a { color: #fff; }

.atg-chips {
  display: flex; flex-wrap: wrap; gap: .4rem; padding: .3rem 1rem .5rem;
}
.atg-chips .chip { font-size: .84rem; padding: .38rem .7rem; }
.atg-chips:empty { display: none; }

.atg-form {
  display: flex; gap: .5rem; align-items: flex-end; padding: .5rem 1rem .6rem;
  border-top: 1px solid rgba(107,88,215,.16); background: rgba(255,255,255,.55);
}
.atg-input { flex: 1 1 auto; min-height: 2.8rem; resize: none; font-size: 1rem; }
.atg-send { padding: .65rem .95rem; flex: 0 0 auto; }

.atg-doc { padding: 0 1rem .8rem; background: rgba(255,255,255,.55); }
.atg-doc summary {
  cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--twilight-plum); padding: .3rem 0;
}
.atg-doc label { font-size: .86rem; margin: .3rem 0 .3rem; }
.atg-doc .atg-note { margin: .35rem 0 0; }
.atg-file { font-size: .9rem; }
.atg-file-status { margin: .4rem 0 0; font-size: .84rem; max-width: none; }
.atg-file-status:empty { display: none; }
.atg-file-status.ok { color: var(--slate-charcoal); }

@media (max-width: 640px) {
  .atg-launcher { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: .65rem .95rem .65rem .85rem; }
  .atg-backdrop { background: rgba(47,47,58,.38); }
  .atg-panel {
    right: 0; left: 0; bottom: 0; width: 100%; max-width: 100vw;
    max-height: 88vh; max-height: 88dvh;
    border-radius: 18px 18px 0 0; border-bottom: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    transform-origin: bottom center;
  }
  .atg.is-open .atg-launcher { opacity: 0; pointer-events: none; }
  .atg-log { min-height: 120px; }
  .site-footer { padding-bottom: 5.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .atg-panel { animation: none; }
  .atg-launcher { transition: none; }
  .atg-launcher:hover { transform: none; }
}

@media print {
  .atg { display: none; }
}

/* ---- Guide page free-text form ---- */
.chat-form { display: flex; gap: .6rem; align-items: flex-end; padding: .8rem 1rem; border-top: 1px solid var(--border); background: var(--bg); }
.chat-input { flex: 1 1 auto; min-height: 3rem; resize: none; }
@media (max-width: 480px) { .chat-form { flex-direction: column; align-items: stretch; } }

/* ---- Situation Map: structured Situation State, rendered on Resolve ----
   Palette is the founder-approved set already defined in :root. Every state
   is carried by a text label, never by color alone. */
#situation-map { margin-top: 1.4rem; }
.situation-map { display: grid; gap: 1rem; }
.sm-eyebrow { display:block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--brand-ink); }
.sm-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.sm-title h2 { margin: .15rem 0 0; }
.sm-lead { margin: .35rem 0 0; color: var(--ink-soft); }
.sm-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.2rem; }
.sm-head { margin-bottom: .7rem; }
.sm-head h3 { margin: .15rem 0 0; font-size: 1.15rem; }
.sm-pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); color: var(--brand-dark); white-space: nowrap; }
.sm-pill.sm-ok { border-color: var(--good); color: var(--brand-ink); background: var(--surface); }
.sm-pill.sm-warn { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.sm-journey { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.sm-step { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; }
.sm-step.sm-active { background: var(--surface-2); }
.sm-num { flex: 0 0 auto; width: 1.7rem; height: 1.7rem; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--surface); color: var(--brand-dark); border: 1px solid var(--border); }
.sm-step.sm-done .sm-num { background: var(--brand); color: #fff; border-color: var(--brand); }
.sm-step.sm-active .sm-num { border-color: var(--brand); color: var(--brand-ink); }
.sm-steptext { display: flex; flex-direction: column; }
.sm-steptext small { color: var(--ink-soft); }
.sm-vlabel { margin-left: auto; font-size: .74rem; font-weight: 700; color: var(--brand-ink); }
.sm-nodes { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.sm-node { border: 1px solid var(--border); border-radius: 10px; padding: .6rem .7rem; background: var(--warm-eggshell); }
.sm-node b { display: block; }
.sm-node small { color: var(--ink-soft); }
.sm-node.sm-person { border-color: var(--brand); background: var(--surface); }
.sm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; margin: 0; }
.sm-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 700; }
.sm-facts dd { margin: .25rem 0 0; font-weight: 600; }
.sm-ev { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--border); }
.sm-ev:first-of-type { border-top: 0; }
.sm-list { margin: .3rem 0 .6rem; padding-left: 1.15rem; }
.sm-subhead { font-weight: 700; margin: .7rem 0 .2rem; }
.sm-note { color: var(--ink-soft); font-size: .9rem; margin: .6rem 0 0; }
.sm-stay { border-left: 4px solid var(--brand); background: var(--surface); padding: .8rem 1rem; border-radius: 0 10px 10px 0; }
.sm-stay b { display: block; }
.sm-stay small { color: var(--ink-soft); }
.sm-boundary { font-size: .9rem; color: var(--ink-soft); border: 1px dashed var(--border-2); border-radius: 10px; padding: .75rem .9rem; margin: 0; }
@media (max-width: 480px) { .sm-title { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .situation-map * { transition: none !important; } }
