:root {
  color-scheme: light;
  --ink: #17272c;
  --muted: #56666a;
  --line: #dce5e2;
  --mint: #eaf4ed;
  --accent: #147b56;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fcfdfb; line-height: 1.8; }
a { color: #126b4b; text-underline-offset: .2em; }
a:hover { color: #0c5038; }
.article-shell { width: min(900px, calc(100% - 36px)); margin: 0 auto; }
.article-header { border-bottom: 1px solid var(--line); }
.article-header .article-shell { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { color: var(--ink); font-weight: 800; text-decoration: none; }
.breadcrumbs { margin: 28px 0 16px; color: var(--muted); font-size: .88rem; }
.breadcrumbs a { margin-right: .35em; }
h1, h2, h3 { line-height: 1.35; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.035em; }
h2 { margin-top: 2.4em; font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { margin-top: 1.8em; font-size: 1.2rem; }
.lede { margin: 1rem 0 1.4rem; color: #405356; font-size: 1.08rem; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.article-main { padding-bottom: 70px; }
.note, .result-box { margin: 1.25rem 0; padding: 16px 18px; border-left: 4px solid #5aab80; background: var(--mint); }
.caution { border-left-color: #d29b35; background: #fff8e8; }
.table-scroll { overflow-x: auto; margin: 1rem 0 1.4rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f1f6f3; }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.face-card { margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.face-card figcaption { margin-bottom: 9px; font-size: .84rem; font-weight: 800; }
.sticker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; max-width: 180px; }
.sticker { display: grid; min-height: 46px; place-items: center; border: 1px solid #9aa9a8; border-radius: 5px; font-size: .72rem; font-weight: 800; }
.color-u { background: #fff; color: #17272c; }
.color-r { background: #c9423a; color: #fff; }
.color-f { background: #227344; color: #fff; }
.color-d { background: #f4d35e; color: #17272c; }
.color-l { background: #ad531a; color: #fff; }
.color-b { background: #315b99; color: #fff; }
.list-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 25px; }
.list-card { display: block; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: white; color: inherit; text-decoration: none; }
.list-card:hover { border-color: #80b99e; box-shadow: 0 5px 18px #19392712; }
.list-card h2 { margin: .4em 0; font-size: 1.15rem; }
.list-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.path { margin: 1rem 0; padding: 0; list-style: none; counter-reset: path; }
.path li { position: relative; margin: 0 0 10px; padding: 13px 16px 13px 52px; border: 1px solid var(--line); border-radius: 10px; background: white; counter-increment: path; }
.path li::before { position: absolute; left: 15px; top: 12px; content: counter(path, decimal-leading-zero); color: var(--accent); font-weight: 850; }
.article-footer { padding: 22px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.article-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .article-shell { width: min(100% - 28px, 900px); }
  .article-header .article-shell { min-height: 60px; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .face-card { padding: 10px; }
  .sticker { min-height: 40px; }
  th, td { padding: 8px; }
}
