/* AIPet free tools: shared look for every tool page (2026-10-27 Pet Pass reskin).
   Paper + ink, passport green and stamp red; Fraunces for headings, DM Sans for
   UI (fonts.css). Class names are unchanged so the tool markup and JS keep working. */
:root {
  --bg: #f4eee3;
  --paper-2: #ebe2d2;
  --fg: #1d1a16;
  --muted: #5b5248;
  --muted-2: #8c8174;
  --card: #fbf8f2;
  --card-2: #ffffff;
  --line: rgba(29, 26, 22, 0.12);
  --line-strong: rgba(29, 26, 22, 0.28);
  --pass: #1f4a3a;
  --pass-2: #2c6550;
  --stamp: #c8452d;
  --sun: #f2b33d;
  --accent: #c8452d;
  --radius: 14px;
  --maxw: 1120px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--fg);
  font: 15.5px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fg); text-decoration: none; }
img, canvas, video { max-width: 100%; height: auto; }
/* The tools toggle the hidden attribute on flex boxes (dropzone, progress
   overlay); without this their display:flex wins and they never hide. */
[hidden] { display: none !important; }
::selection { background: rgba(242, 179, 61, 0.4); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 238, 227, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { font: 700 19px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.logo span { font: 500 13px/1 var(--font); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: 14px; transition: color 0.15s; }
.nav a:hover { color: var(--fg); }
.nav .nav-cta { color: var(--bg); background: var(--fg); border-radius: 999px; padding: 9px 16px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--pass); color: #fff; }
@media (max-width: 760px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- pet pass bar (store.js) ---------- */
.pass-bar { background: var(--pass); color: #f8f3ea; font-size: 14px; }
.pass-bar-in { display: flex; align-items: center; gap: 12px; min-height: 52px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.pass-bar img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff); }
.pass-bar b { font-weight: 700; }
.pass-bar select { background: transparent; color: inherit; border: 1.5px solid rgba(248, 243, 234, 0.45); border-radius: 999px; padding: 6px 10px; font: inherit; }
.pass-bar select option { color: var(--fg); }
.pass-bar a { margin-left: auto; color: var(--sun); font-weight: 600; }
.pass-bar .saved { color: var(--sun); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; min-height: 44px;
  font: 600 14.5px/1.2 var(--font); cursor: pointer;
  border: 1.5px solid transparent; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--pass); color: #fff; }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-sm { padding: 8px 14px; min-height: 36px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 28px; }
.hero.center { text-align: center; }
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; max-width: 860px; margin: 0 0 16px; }
.hero.center h1 { margin-left: auto; margin-right: auto; }
.hero p.sub { color: var(--muted); max-width: 640px; margin: 0 0 24px; font-size: 17px; line-height: 1.6; }
.hero.center p.sub { margin-left: auto; margin-right: auto; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.hero.center .badges { justify-content: center; }
.badge { font-size: 12.5px; font-weight: 600; color: var(--pass-2); border: 1.5px solid rgba(31, 74, 58, 0.25); border-radius: 999px; padding: 4px 12px; background: rgba(255, 255, 255, 0.45); }
.badge.accent { color: var(--fg); border-color: transparent; background: var(--sun); }

/* ---------- editor ---------- */
.tool-section { padding: 16px 0 48px; }
.editor { background: var(--card); border-radius: 26px 26px 26px 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 40px 70px -46px rgba(29, 26, 22, 0.45); }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 940px) { .editor-grid { grid-template-columns: 1fr; } }
.stage-col { padding: 22px; border-right: 1px solid var(--line); min-width: 0; }
@media (max-width: 940px) { .stage-col { border-right: none; border-bottom: 1px solid var(--line); } }

.dropzone {
  border: 2px dashed var(--muted-2); border-radius: 18px; min-height: 420px;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(29, 26, 22, 0.03) 12px 24px), #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; text-align: center;
  transition: border-color 0.15s, background-color 0.15s;
}
.dropzone.over, .dropzone:hover { border-color: var(--fg); }
.dz-inner { display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 32px; }
.dz-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.dz-inner strong { font: 600 20px/1.2 var(--display); }
.dz-inner .or { color: var(--muted-2); font-size: 12.5px; }
.dz-inner small { color: var(--muted); font-size: 13px; max-width: 300px; line-height: 1.55; }

.canvas-shell { position: relative; }
.canvas-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); display: flex; justify-content: center; position: relative; }
.canvas-wrap.checker {
  background:
    linear-gradient(45deg, rgba(29, 26, 22, 0.06) 25%, transparent 25%, transparent 75%, rgba(29, 26, 22, 0.06) 75%),
    linear-gradient(45deg, rgba(29, 26, 22, 0.06) 25%, transparent 25%, transparent 75%, rgba(29, 26, 22, 0.06) 75%), #fff;
  background-size: 22px 22px; background-position: 0 0, 11px 11px;
}
.canvas-wrap canvas { display: block; max-height: 68vh; width: auto; max-width: 100%; }
.canvas-wrap.brushing { cursor: none; }
.brush-cursor { position: absolute; pointer-events: none; border: 1.5px solid var(--fg); border-radius: 999px; box-shadow: 0 0 0 1px #fff; transform: translate(-50%, -50%); display: none; z-index: 5; }

.progress-overlay { position: absolute; inset: 0; z-index: 6; background: rgba(244, 238, 227, 0.9); backdrop-filter: blur(4px); display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; border-radius: 16px; text-align: center; padding: 20px; }
.progress-overlay p { margin: 0; color: var(--fg); font: 600 17px/1.3 var(--display); }
.progress-overlay small { color: var(--muted); font-size: 13px; }
.progress-bar { width: 200px; height: 4px; border-radius: 99px; background: rgba(29, 26, 22, 0.12); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 40%; border-radius: 99px; background: var(--pass); animation: slide 1.2s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }

.stage-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.status { color: var(--stamp); font-size: 13.5px; margin: 10px 0 0; }
.after-download { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fff7d6; border: 1px solid rgba(242, 179, 61, 0.5); font-size: 14px; color: var(--fg); line-height: 1.6; }
.after-download a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- controls panel ---------- */
.controls-col { padding: 22px; }
.panel-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 10px; }
.tpl-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.tpl { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1.5px solid var(--line); padding: 0; background: #fff; aspect-ratio: 1; transition: border-color 0.15s, transform 0.2s var(--ease); }
.tpl canvas { display: block; width: 100%; height: 100%; }
.tpl:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tpl.active { border-color: var(--fg); box-shadow: 0 0 0 1.5px var(--fg) inset; }
.tpl .tpl-name { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10.5px; font-weight: 600; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(29, 26, 22, 0.75)); padding: 14px 2px 4px; pointer-events: none; }

.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--fg);
  font: inherit; font-size: 15px; outline: none; transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); }
.field input[type="range"] { width: 100%; accent-color: var(--pass); }
.check { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.seg { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; padding: 8px 8px; border-radius: 9px; border: none; cursor: pointer; background: transparent; color: var(--muted); font: 600 13px var(--font); transition: background 0.12s, color 0.12s; }
.seg button.active { background: var(--fg); color: var(--bg); }

.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid var(--line-strong); cursor: pointer; padding: 0; }
.swatch.active { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--fg); }

details.adv { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
details.adv summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); list-style: none; display: flex; align-items: center; gap: 6px; user-select: none; }
details.adv summary::after { content: "+"; margin-left: auto; color: var(--muted-2); font-size: 15px; }
details.adv[open] summary::after { content: "–"; }
details.adv .adv-body { padding-top: 12px; }
.brush-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.brush-tools .seg { flex: 1; min-width: 150px; }

/* ---------- generic content ---------- */
section.content { padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); }
section.content h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 20px; }
section.content > .container > p, section.content p.lead { color: var(--muted); max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: 0 1px 0 var(--line); }
.step .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); font-weight: 700; font-size: 14px; color: var(--fg); margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; color: var(--muted); line-height: 1.6; }
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 8px; }
.idea { background: var(--card); border-radius: 18px; padding: 18px; font-size: 14px; color: var(--muted); line-height: 1.55; box-shadow: 0 1px 0 var(--line); }
.idea strong { color: var(--fg); display: block; margin-bottom: 4px; font: 600 17px/1.25 var(--display); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 17.5px/1.35 var(--display); list-style: none; display: flex; gap: 16px; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--muted-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 2px; font-size: 15px; color: var(--muted); max-width: 700px; line-height: 1.65; }

/* ---------- tool directory ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool-card { background: var(--card); border-radius: 18px; padding: 20px; display: block; box-shadow: 0 1px 0 var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 20px 30px -22px rgba(29, 26, 22, 0.45); }
.tool-card .ico { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.tool-card h3 { font-size: 19px; margin-bottom: 5px; }
.tool-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
.tool-card .tag { display: inline-block; margin-top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pass-2); }
.tool-card.soon { opacity: 0.55; pointer-events: none; }

/* ---------- CTA band ---------- */
.cta-banner { margin: 48px 0; padding: 44px 32px; text-align: center; border-radius: 28px 28px 28px 10px; background: radial-gradient(circle at 100% 0, rgba(242, 179, 61, 0.28), transparent 45%), var(--pass); color: #f8f3ea; }
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; letter-spacing: -0.03em; }
.cta-banner p { color: rgba(248, 243, 234, 0.78); max-width: 560px; margin: 0 auto 22px; font-size: 16px; }
.cta-banner .btn-primary { background: var(--sun); color: var(--fg); }
.cta-banner .btn-primary:hover { background: #fff; color: var(--fg); }

/* ---------- blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.post-card { background: var(--card); border-radius: 20px; padding: 22px; display: block; box-shadow: 0 1px 0 var(--line); transition: transform 0.25s var(--ease); }
.post-card:hover { transform: translateY(-3px); }
.post-card h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }
.post-card .meta { font-size: 12px; color: var(--muted-2); margin-top: 14px; display: block; }
article.post { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
article.post h1 { font-size: clamp(32px, 4.8vw, 50px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 14px; }
article.post .post-meta { color: var(--muted-2); font-size: 13px; margin-bottom: 34px; }
article.post h2 { font-size: 28px; margin: 40px 0 12px; }
article.post h3 { font-size: 21px; margin: 28px 0 8px; }
article.post p { color: #3a342d; line-height: 1.78; font-size: 17px; margin: 0 0 16px; }
article.post ul, article.post ol { color: #3a342d; line-height: 1.75; font-size: 17px; padding-left: 22px; margin: 0 0 16px; }
article.post li { margin-bottom: 6px; }
article.post a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
article.post strong { color: var(--fg); }

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .no-print, .pass-bar { display: none !important; }
  body { background: #fff; color: #111; }
}

/* ---------- tool-specific ---------- */
.seg.seg-wrap button { font-size: 11.5px; line-height: 1.25; padding: 6px 4px; }
.age-results { text-align: center; padding: 26px 8px; }
.age-who { color: var(--muted); font-size: 16px; margin: 0 0 4px; }
.age-big { font: 600 clamp(80px, 13vw, 132px)/0.95 var(--display); letter-spacing: -0.04em; color: var(--pass); }
.age-big .age-unit { display: block; font: 500 14px/1.2 var(--font); letter-spacing: 0; color: var(--muted-2); margin-top: 8px; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px auto 18px; max-width: 560px; }
@media (max-width: 640px) { .compare-grid { grid-template-columns: 1fr; } }
.num-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 10px; display: flex; flex-direction: column; gap: 3px; }
.num-card .num { font: 600 32px/1.1 var(--display); }
.num-card .lbl { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.num-card .src { font-size: 11px; color: var(--muted-2); }
.num-card.strike .num { text-decoration: line-through; text-decoration-color: var(--stamp); text-decoration-thickness: 3px; color: var(--muted-2); }
.stage-badge-row { margin: 6px 0 8px; }
.age-tip { color: var(--muted); font-size: 14px; max-width: 460px; margin: 6px auto 0; }
.age-empty { min-height: 220px; display: flex; align-items: center; justify-content: center; }

.breed-results { margin-top: 18px; max-width: 620px; }
.breed-row { margin-bottom: 14px; }
.breed-row .breed-head { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.breed-row.top .breed-head strong { color: var(--pass); font: 600 19px/1.2 var(--display); }
.bar { height: 10px; border-radius: 99px; background: rgba(29, 26, 22, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--muted-2); }
.breed-row.top .bar i { background: var(--pass); }
.fine-note { font-size: 13px; color: var(--muted-2); line-height: 1.6; margin: 14px 0 0; }

.record-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 132px; height: 132px; border-radius: 999px; margin: 8px auto 0; background: var(--fg); color: var(--bg); border: none; cursor: pointer; font: 700 13px var(--font); transition: transform 0.15s, box-shadow 0.3s; }
.record-btn:hover { transform: scale(1.04); }
.record-btn.rec { background: var(--stamp); color: #fff; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 69, 45, 0.35); } 50% { box-shadow: 0 0 0 18px rgba(200, 69, 45, 0); } }
.mood-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 560px; margin: 0 auto; }
.mood-chips button, .mood-chip { min-height: 40px; }
.translate-card { max-width: 560px; margin: 24px auto 0; padding: 28px 26px; text-align: center; background: var(--pass); color: #f8f3ea; border-radius: 26px 26px 26px 8px; }
.translate-top { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.translate-top .conf { font-size: 12px; color: rgba(248, 243, 234, 0.7); }
.translate-card .badge.accent { background: var(--sun); color: var(--fg); }
.translate-quote { font: 500 26px/1.3 var(--display); color: #f8f3ea; margin: 0 0 10px; min-height: 68px; }
.translate-by { color: rgba(248, 243, 234, 0.75); font-size: 14px; margin: 0 0 18px; }
.translate-card .btn-primary { background: var(--sun); color: var(--fg); }
.translate-card .btn-outline { color: #f8f3ea; border-color: rgba(248, 243, 234, 0.6); }

.health-record { background: #fff; color: #16181d; border-radius: 18px; padding: 26px 28px; box-shadow: 0 1px 0 var(--line); }
.hr-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #16181d; padding-bottom: 10px; margin-bottom: 16px; }
.hr-head h2, .hr-head h3 { font-family: var(--display); }
.hr-brand { font-size: 11px; color: #9a9a9a; }
.hr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
@media (max-width: 640px) { .hr-grid { grid-template-columns: 1fr; } }
.hr-grid label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #8a8a8a; display: flex; flex-direction: column; gap: 3px; }
.health-record input { border: none; border-bottom: 1px solid #d9d9d9; padding: 5px 2px; font: 500 15px var(--font); color: #16181d; background: transparent; outline: none; width: 100%; }
.health-record input:focus { border-bottom-color: #16181d; }
.hr-sub { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 20px 0 8px; color: #16181d; }
.hr-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.hr-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #8a8a8a; padding: 4px 6px; border-bottom: 1.5px solid #16181d; }
.hr-table td { padding: 2px 6px; border-bottom: 1px solid #e7e7e7; }
.health-record .btn { margin: 4px 0 0; }
@media print {
  .editor, .stage-col { border: none !important; background: #fff !important; padding: 0 !important; box-shadow: none !important; }
  .health-record { border-radius: 0; padding: 0; box-shadow: none; }
  main { padding: 0; }
  .hero, .content, .cta-banner, .tool-section { padding: 0 !important; }
  section.hero, section.content { display: none; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-2); margin: 0 0 12px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer .fine { margin-top: 28px; font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
