:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #172b27;
  background: #edf3ef;
  accent-color: #12594c;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 2rem, 49rem); margin-inline: auto; }
.site-header { background: #123a33; color: #fff; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.15rem; }
.site-header a { color: inherit; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { background: #fff; border-radius: .6rem; padding: 2px; }
.brand-name { display: block; font-size: 1.2rem; font-weight: 750; line-height: 1.1; letter-spacing: -.01em; }
.brand-tagline { display: block; font-size: .78rem; opacity: .8; }
.reasoning h3 { margin: 1.6rem 0 .5rem; font-size: 1.05rem; color: #12594c; }
.reasoning > .hint { margin-top: .6rem; }
.article { border: 1px solid #d8e1db; border-radius: .7rem; margin-bottom: .45rem; background: #fbfdfc; }
.article summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; padding: .7rem .9rem; font-weight: 650; }
.article[open] summary { border-bottom: 1px solid #e4ebe6; }
.article-ref small { display: block; font-weight: 400; color: #43564e; font-size: .85rem; }
.article h4 { margin: .9rem .9rem .25rem; font-size: .9rem; }
.article > p { margin: 0 .9rem; color: #2f423b; }
.plain { background: #eef5f1; border-radius: .5rem; margin: .9rem; padding: .1rem 0 .8rem; }
.plain h4 { margin-top: .7rem; }
.plain p { margin: 0 .9rem; color: #2f423b; }
.status { font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 99px; white-space: nowrap; }
.status-yes { background: #d6e9df; color: #12594c; }
.status-maybe { background: #fbecc8; color: #6e4800; }
.status-unsure { background: #f8e0cf; color: #8a3d0c; }
.status-check { background: #dde8f3; color: #244b72; }
.status-no { background: #e9ecea; color: #4d5c56; }
.tree-links { display: flex; gap: 1rem; }
.tree-links a { text-underline-offset: .3em; }
.path-steps { list-style: none; padding: 0; margin: 1rem 0 0; }
.path-steps li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid #e4ebe6; align-items: baseline; }
.path-steps .code { font-weight: 750; color: #12594c; }
.path-steps strong { color: #134237; }
.tree { margin-top: 1rem; }
.tree summary { font-weight: 650; color: #12594c; }
.tree-svg { overflow-x: auto; text-align: center; margin-top: .5rem; }
.tree-svg svg { max-width: 100%; max-height: 85vh; width: auto; height: auto; }
.intro { margin-block: clamp(2rem, 7vw, 4.5rem) 1.7rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.15rem, 7vw, 3.8rem); line-height: 1.05; letter-spacing: -.055em; }
.intro p { margin-top: .85rem; max-width: 58ch; color: #43564e; }
.steps { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .35rem; margin: 0 0 1rem; }
.steps li { padding: .35rem .7rem; border-radius: .5rem; font-size: .83rem; color: #44564f; }
.steps [aria-current] { font-weight: 750; color: #134237; background: #d6e9df; }
.panel { background: white; border: 1px solid #d8e1db; border-radius: 1.1rem; padding: clamp(1.15rem, 5vw, 2.35rem); margin-bottom: 1rem; }
.eyebrow { font-weight: 750; color: #12594c; font-size: .85rem; margin-bottom: .6rem; }
h2 { line-height: 1.2; font-size: clamp(1.35rem, 3.5vw, 1.95rem); }
.hint { color: #43564e; margin-top: .75rem; max-width: 62ch; }
.control { margin-top: 1.4rem; }
input[type="range"] { width: 100%; min-height: 2.5rem; margin: 0; cursor: pointer; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
button, .secondary { font: inherit; font-weight: 650; color: inherit; cursor: pointer; }
.choice { background: #f3f7f4; border: 1px solid #d8e1db; min-height: 2.75rem; border-radius: .5rem; padding: .3rem; font-size: .88rem; }
.choice[aria-pressed="true"] { background: #d6e9df; border-color: #12594c; color: #134237; }
.small { font-size: .85rem; color: #43564e; margin-top: .7rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.15rem; margin-top: 1.5rem; }
.primary { display: inline-flex; gap: .8rem; border: 1px solid #12594c; border-radius: .55rem; padding: .65rem 1rem; background: #12594c; color: white; }
.primary:hover { background: #123a33; }
.secondary { background: transparent; border: 0; padding: .35rem 0; text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #a44c12; outline-offset: 3px; }
.summary { margin: .65rem 0 0; }
.summary div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .5rem; border-bottom: 1px solid #e4ebe6; padding-block: .65rem; }
dt { font-weight: 650; }
dd { margin: 0; overflow-wrap: anywhere; }
.recommendations ol { padding-left: 1.35rem; }
.recommendations li + li { margin-top: 1rem; }
.recommendations p { color: #43564e; }
footer { margin: 1.5rem 0 2.5rem; font-size: .9rem; }
footer a { color: #12594c; }
summary { cursor: pointer; }
