/* Approved DogAgeWell field-guide visual system. */
:root {
  --paper: #f7f4ec;
  --logo-field: #fefaf3;
  --surface: #fffdf8;
  --ink: #243d34;
  --text: #36473f;
  --muted: #5e685e;
  --evergreen: #234b3c;
  --green-wash: #e7ede3;
  --ochre: #865f21;
  --ochre-wash: #f2e6cc;
  --rule: #d3d7c9;
  --red: #893d2b;
  --red-wash: #f7e9df;
  --focus: #9b481e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 5px;
  --gutter: clamp(20px, 4vw, 64px);
  --banner-height: 0px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--evergreen); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
h1:focus, h2[tabindex]:focus { outline: 3px solid var(--focus); outline-offset: 7px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 14px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; overflow-wrap: break-word; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 4.8vw, 72px); }
h2 { font-size: clamp(30px, 3vw, 43px); }
h3 { font-size: 19px; line-height: 1.35; }
button, input, a { touch-action: manipulation; }
.container { width: min(100%, 1344px); margin-inline: auto; padding-inline: var(--gutter); }
.small, .section-note { font-size: 14px; color: var(--muted); line-height: 1.6; }
.eyebrow { color: var(--ochre); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; margin-bottom: 14px; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; max-width: 660px; }
.daw-journal .skip-link:not(:focus) { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.daw-journal .skip-link:focus { position: fixed; top: 8px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; overflow: visible; white-space: normal; background: var(--surface); padding: 12px 20px; margin: 0; font-weight: 700; }
.site-header { background: var(--logo-field); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 146px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 1 350px; min-width: 0; }
.site-logo { display: block; width: 100%; max-width: 350px; height: auto; aspect-ratio: 725 / 266; object-fit: contain; }
#primary-nav { display: flex; gap: 5px; align-items: center; }
#primary-nav a { border: 0; background: transparent; color: var(--ink); min-height: 48px; padding: 12px 14px; font-size: 14px; border-bottom: 2px solid transparent; }
#primary-nav a:hover { background: var(--green-wash); }
#primary-nav a[aria-current="page"] { border-bottom-color: var(--evergreen); font-weight: 750; }
.menu-toggle { align-items: center; justify-content: center; gap: 9px; background: none; border: 1px solid var(--rule); min-height: 46px; padding: 8px 12px; color: var(--ink); border-radius: var(--radius); font-size: 14px; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(30px, 5vw, 74px); align-items: center; padding: 54px 0 52px; }
.hero-copy h1 { margin-bottom: 25px; max-width: 610px; }
.hero-copy .lede { font-size: 19px; max-width: 510px; }
.actions { display: flex; flex-wrap: wrap; gap: 18px 25px; align-items: center; margin-top: 28px; }
.button { display: inline-flex; gap: 24px; align-items: center; justify-content: center; min-height: 48px; padding: 12px 21px; background: var(--evergreen); color: var(--surface); font-weight: 650; text-decoration: none; border: 1px solid var(--evergreen); border-radius: var(--radius); line-height: 1.4; }
.button:hover { background: #18392d; color: white; }
.button.secondary { background: transparent; color: var(--evergreen); border-color: #789081; }
.button.secondary:hover { background: var(--green-wash); }
.text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 15px; font-weight: 650; }
.hero-note { margin-top: 24px; }
.hero-image { position: relative; padding-bottom: 28px; }
.hero-image img { width: 100%; height: clamp(350px, 35vw, 500px); object-fit: cover; border-radius: 48% 48% 4px 4px; background: var(--green-wash); }
.hero-image figcaption { position: relative; margin: -15px 16px 0 25px; padding: 14px 17px; color: var(--ink); background: var(--ochre-wash); font-size: 14px; line-height: 1.5; transform: rotate(-1.2deg); }
.field-number { display: block; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 4px; }
.triage-card { display: grid; grid-template-columns: 1.05fr 1.25fr 1fr 1fr; border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius); margin-bottom: 12px; scroll-margin-top: 60px; }
.triage-card > div { min-width: 0; padding: 25px 22px; }
.triage-intro h2 { font-size: 30px; margin-bottom: 14px; }
.triage-intro .eyebrow { font-size: 10px; margin-bottom: 8px; }
.triage-card p { font-size: 14px; line-height: 1.65; }
.triage-level { border-left: 1px solid var(--rule); }
.triage-level h3 { font-size: 16px; margin-bottom: 10px; }
.level-label { display: block; color: var(--ochre); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .075em; margin-bottom: 13px; }
.emergency { background: var(--red-wash); border-top: 4px solid var(--red); }
.emergency .level-label, .emergency h3 { color: var(--red); }
.section-block { padding-block: 62px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.section-heading > p { max-width: 310px; font-size: 15px; color: var(--muted); }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-note { margin: -8px 0 23px; }
.pathways { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--rule); }
.pathways a { position: relative; display: flex; flex-direction: column; min-height: 192px; padding: 23px 18px; border-right: 1px solid var(--rule); text-decoration: none; }
.pathways a:first-child { padding-left: 0; }
.pathways a:last-child { border-right: 0; }
.pathways a:hover { background: var(--green-wash); }
.path-index { font: italic 23px var(--serif); color: var(--ochre); display: block; margin-bottom: 21px; }
.pathways h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; margin-bottom: 7px; }
.pathways p { font-size: 13px; color: var(--muted); }
.pathways a > span:last-child { align-self: flex-end; margin-top: auto; padding-top: 9px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.guide-card { min-width: 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.guide-card > img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 4px 4px 0 0; background: var(--green-wash); }
.card-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; align-items: flex-start; }
.card-content .eyebrow { font-size: 10px; margin-bottom: 10px; }
.card-content h2, .card-content h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 13px; }
.card-content h2 a { text-decoration: none; }
.card-content h2 a:hover { text-decoration: underline; }
.card-content > p:not(.eyebrow):not(.small) { font-size: 15px; margin-bottom: 18px; }
.card-content .text-link { margin-top: auto; padding-top: 10px; }
.card-content .small { font-size: 12px; margin-top: 10px; }
.card-metadata { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.label { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1.5; padding: 5px 9px; border: 1px solid var(--rule); border-radius: 3px; background: #f1f1e9; color: var(--text); }
.label.evidence { background: var(--green-wash); border-color: #c1d1c0; color: #2c4e39; }
.label.observation { background: var(--ochre-wash); border-color: #dfc993; color: #70501c; }
.label.diagnosis { background: #ece8e1; border-color: #cfc6b8; color: #50463c; }
.label.attention { background: var(--red-wash); color: var(--red); border-color: #d8b4a7; }
.method-strip { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; background: var(--green-wash); border-top: 3px solid var(--evergreen); padding: 34px; }
.method-strip h2 { font-size: 30px; }
.method-strip p:not(.eyebrow) { font-size: 14px; margin-top: 12px; }
.method-strip p.small { font-size: 12px; }
.jamie-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 65px; align-items: center; max-width: 980px; margin: auto; }
.jamie-intro h2 { margin-bottom: 21px; }
.jamie-intro p { max-width: 640px; }
.editor-note { font: italic 43px/1.2 var(--serif); color: var(--ochre); border: 1px solid #cabc9b; padding: 35px; transform: rotate(-3deg); background: #f1ead9; }
.editor-note span { display: block; }
.page-intro { padding: 54px 0 33px; max-width: 800px; }
.page-intro h1 { margin-bottom: 22px; }
.page-intro .small { margin-top: 20px; }
.archive-tools { background: var(--surface); border: 1px solid var(--rule); padding: 25px; border-radius: var(--radius); }
.search-row { display: flex; gap: 20px; align-items: flex-end; }
.search-control { flex: 1; }
.search-control label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.search-control input { width: 100%; min-width: 0; min-height: 50px; border: 1px solid #8b9a8d; background: var(--surface); color: var(--ink); padding: 11px 15px; border-radius: var(--radius); }
.search-control input::placeholder { color: var(--muted); opacity: 1; }
.filters { border: 0; margin: 23px 0 0; padding: 0; min-width: 0; }
.filters legend { font-size: 13px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-buttons a { background: transparent; color: var(--evergreen); border: 1px solid var(--rule); border-radius: 3px; padding: 10px 14px; min-height: 44px; font-size: 14px; }
.filter-buttons a[aria-current="page"] { background: var(--evergreen); color: var(--surface); border-color: var(--evergreen); }
.filter-buttons a:hover { box-shadow: inset 0 0 0 1px var(--evergreen); }
.results-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-block: 25px; font-size: 14px; }
#results-count { font-weight: 650; }
.show-more-row { text-align: center; margin-top: 30px; }
.empty-state { padding: 40px 25px; border: 1px dashed #8b9a8d; background: var(--surface); }
.empty-state h2 { font-size: 30px; margin-bottom: 15px; }
.archive-note { padding: 24px; margin: 34px 0 60px; border-left: 3px solid var(--ochre); background: var(--ochre-wash); font-size: 14px; }
.archive-note strong { display: block; margin-bottom: 6px; }
.reading-track { position: sticky; top: var(--banner-height); z-index: 30; height: 4px; background: var(--rule); }
.reading-meter { height: 4px; width: 0; max-width: 100%; background: var(--ochre); }
.article-container { max-width: 1230px; }
.article-heading { padding-block: 38px 30px; max-width: 880px; }
.article-heading > .text-link { margin-bottom: 24px; }
.article-heading h1 { font-size: clamp(40px, 5vw, 66px); margin-bottom: 23px; }
.article-heading .lede { max-width: 760px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin: 25px 0 15px; font-size: 14px; }
.print-button { min-height: 44px; padding: 8px 13px; background: transparent; border: 1px solid #879789; border-radius: 3px; color: var(--evergreen); }
.source-panel { display: grid; grid-template-columns: .7fr 2fr; gap: 35px; background: var(--green-wash); padding: 25px 30px; border: 1px solid #ccd6c7; margin-bottom: 45px; }
.source-panel h2 { font-size: 26px; margin-top: 13px; }
.source-panel dl { margin: 0; font-size: 13px; }
.source-panel dl > div { display: grid; grid-template-columns: 145px 1fr; gap: 15px; padding-block: 8px; }
.source-panel dt { font-weight: 750; }
.source-panel dd { margin: 0; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 58px; align-items: start; padding-bottom: 60px; }
.toc-panel { position: sticky; top: 62px; border-top: 2px solid var(--evergreen); padding-top: 20px; max-height: calc(100vh - 90px); overflow-y: auto; }
.toc-panel h2 { font-size: 25px; margin-bottom: 21px; }
.toc-panel nav { display: flex; flex-direction: column; margin-bottom: 20px; }
.toc-panel nav a { display: flex; align-items: center; gap: 12px; padding: 11px 7px; min-height: 45px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--ochre); text-decoration: none; }
.toc-panel nav a span { color: var(--ink); font-size: 14px; }
.toc-panel nav a:hover { background: var(--green-wash); }
.article-body { min-width: 0; max-width: 760px; font-size: 17px; }
.article-body h2 { font-size: clamp(29px, 3vw, 37px); margin-bottom: 20px; scroll-margin-top: 72px; }
.article-body h3 { margin-bottom: 10px; font-size: 19px; }
.answer-box { padding: 29px; background: var(--ochre-wash); border-top: 3px solid var(--ochre); }
.answer-box .eyebrow { font-size: 10px; }
.prose-section { padding-top: 43px; }
.prose-section > .eyebrow { margin-bottom: 10px; }
.check-list, .question-list { padding-left: 23px; margin: 21px 0; }
.check-list li, .question-list li { margin-bottom: 12px; padding-left: 7px; }
.check-list li::marker { color: var(--ochre); }
.observation-note { border-left: 3px solid var(--ochre); background: #f0edde; padding: 20px 24px; margin-top: 26px; }
.observation-note p { margin-top: 10px; font-size: 16px; }
#table-help { margin-block: 17px 12px; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #a7b4a5; border-radius: 3px; overscroll-behavior-inline: contain; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; background: var(--surface); }
caption { text-align: left; padding: 15px 18px; font-weight: 700; background: #eef0e7; }
th, td { padding: 17px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
thead th { background: var(--evergreen); color: var(--surface); font-size: 12px; }
tbody th { width: 25%; color: var(--ink); font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
.distinction-list { display: grid; gap: 15px; }
.distinction-list > div { border: 1px solid var(--rule); background: var(--surface); padding: 22px; }
.distinction-list h3 { margin-top: 15px; }
.distinction-list p { font-size: 16px; }
.urgent-box { background: var(--surface); padding: 26px; border: 1px solid #d8b4a7; margin-top: 43px; border-top: 4px solid var(--red); }
.urgent-box > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.urgent-box > div.urgent-now { padding: 20px; background: var(--red-wash); border: 0; }
.urgent-now h3 { color: var(--red); }
.urgent-box p { font-size: 16px; }
.urgent-box > .small { font-size: 13px; margin-top: 17px; }
.article-endnote { border-top: 1px solid var(--rule); margin-top: 30px; padding-top: 20px; font-size: 14px; }
.article-endnote p { margin-top: 8px; }
.prose-section > .text-link { margin-top: 20px; }
.about-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; padding-block: 58px; }
.about-hero h1 { margin-bottom: 25px; }
.about-hero .lede { margin-bottom: 25px; }
.about-boundary { border-left: 2px solid var(--ochre); padding-left: 21px; margin-top: 25px; }
.portrait { max-width: 410px; justify-self: end; width: 100%; }
.portrait img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; background: var(--green-wash); }
.portrait figcaption { padding: 15px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--rule); }
.editorial-method { border-top: 1px solid var(--rule); }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.method-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.method-grid h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 14px; }
.method-grid p { font-size: 15px; margin-bottom: 22px; }
.method-grid .label { margin-top: auto; }
.about-disclosure { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; padding: 35px; margin-bottom: 60px; background: var(--green-wash); }
.about-disclosure h2 { font-size: 35px; }
.about-disclosure .button { margin-top: 25px; }
.site-footer { border-top: 1px solid var(--rule); background: #eaece2; }
.footer-top { display: grid; grid-template-columns: .85fr 1.6fr .8fr; gap: 45px; padding-top: 42px; padding-bottom: 35px; }
.footer-brand { font: 30px var(--serif); color: var(--ink); letter-spacing: -.04em; }
.footer-top > div:first-child > p { margin-top: 8px; font-size: 13px; }
.footer-top > div:first-child > .footer-brand { font-size: 30px; margin: 0; }
.footer-disclosures { font-size: 12px; line-height: 1.7; }
.footer-top nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-top nav a, .footer-top nav button { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; }
.footer-top nav button { border: 0; background: transparent; color: var(--muted); text-align: left; opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 22px; border-top: 1px solid var(--rule); font-size: 11px; color: var(--muted); }
/* Tablet: retain density without squeezing reading columns. */
@media (max-width: 1050px) {
  .header-inner { gap: 14px; }
  #primary-nav a { padding-inline: 9px; font-size: 13px; }
  .hero { gap: 32px; }
  .hero-copy h1 { font-size: 51px; }
  .triage-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .triage-card > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .triage-card > div:nth-child(4) { border-top: 1px solid var(--rule); }
  .pathways { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
  .pathways a { border-bottom: 1px solid var(--rule); }
  .pathways a:first-child { padding-left: 18px; }
  .pathways a:nth-child(3) { border-right: 0; }
  .guide-grid { gap: 18px; }
  .card-content { padding: 18px; }
  .card-content h2, .card-content h3 { font-size: 24px; }
  .method-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 30px; }
  .source-panel { grid-template-columns: .7fr 1.5fr; gap: 25px; }
  .source-panel dl > div { grid-template-columns: 1fr; gap: 2px; }
  .about-hero { gap: 40px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
  .footer-top { gap: 25px; }
}
/* Mobile navigation is toggled with the native hidden attribute. */
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .header-inner { flex-wrap: wrap; min-height: 118px; padding-top: 10px; padding-bottom: 10px; gap: 10px 8px; }
  .brand { flex-basis: min(270px, calc(100vw - 112px)); }
  .site-logo { max-width: 270px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  #primary-nav { flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; border-top: 1px solid var(--rule); padding-top: 9px; }
  #primary-nav a { text-align: left; padding: 13px 14px; font-size: 16px; }
  #primary-nav a[aria-current="page"] { border-bottom-color: transparent; background: var(--green-wash); box-shadow: inset 3px 0 var(--evergreen); }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 35px 0; }
  .hero-copy h1 { font-size: clamp(41px, 9.5vw, 57px); max-width: 570px; margin-bottom: 20px; }
  .hero-copy .lede { font-size: 18px; }
  .hero-image { max-width: 550px; width: 100%; margin: auto; padding-bottom: 0; }
  .hero-image img { height: auto; aspect-ratio: 1.2; }
  .hero-image figcaption { margin-inline: 15px; }
  .hero-note { font-size: 13px; }
  .actions { gap: 12px; margin-top: 23px; }
  .triage-card { grid-template-columns: 1fr; }
  .triage-card > div { padding: 24px; border-left: 0; }
  .triage-card p { font-size: 16px; }
  .triage-level h3 { font-size: 19px; }
  .level-label { font-size: 11px; }
  .section-block { padding-block: 40px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 23px; }
  .section-heading > p { max-width: none; font-size: 16px; }
  .pathways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathways a { padding: 19px 15px; min-height: 180px; }
  .pathways a:first-child { padding-left: 15px; }
  .pathways a:nth-child(3) { border-right: 1px solid var(--rule); }
  .pathways a:nth-child(even) { border-right: 0; }
  .pathways a:last-child { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 27px 1fr 20px; gap: 6px 12px; align-items: center; }
  .pathways a:last-child .path-index { grid-row: 1 / 3; margin-bottom: 0; }
  .pathways a:last-child h3 { margin: 0; }
  .pathways a:last-child p { grid-column: 2; }
  .pathways a:last-child > span:last-child { grid-column: 3; grid-row: 1 / 3; align-self: center; padding: 0; margin: 0; }
  .pathways h3 { font-size: 24px; }
  .pathways p { font-size: 14px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-guides .guide-card:last-child { grid-column: 1 / -1; }
  .home-guides .guide-card:last-child img { max-height: 260px; }
  .card-content { padding: 22px; }
  .card-content > p:not(.eyebrow):not(.small) { font-size: 16px; }
  .card-content h2, .card-content h3 { font-size: 27px; }
  .method-strip { padding: 25px; gap: 26px; }
  .method-strip p:not(.eyebrow) { font-size: 16px; }
  .method-strip p.small { font-size: 13px; }
  .jamie-intro { grid-template-columns: 1fr; gap: 30px; }
  .editor-note { font-size: 30px; padding: 20px 27px; width: fit-content; }
  .editor-note br { display: none; }
  .editor-note span { display: inline; margin-left: 15px; }
  .page-intro { padding-top: 35px; }
  .page-intro h1 { font-size: 43px; }
  .archive-tools { padding: 20px; }
  .search-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .search-control label { font-size: 16px; }
  .search-control input { font-size: 16px; }
  .filter-buttons { gap: 7px; }
  .filter-buttons a { font-size: 14px; padding-inline: 11px; }
  .results-heading { align-items: flex-start; flex-direction: column; }
  .archive-note { font-size: 16px; margin-bottom: 40px; }
  .article-heading { padding-top: 23px; }
  .article-heading h1 { font-size: 42px; }
  .article-meta { font-size: 14px; }
  .source-panel { grid-template-columns: 1fr; gap: 15px; padding: 24px; margin-bottom: 30px; }
  .source-panel dl { font-size: 15px; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .toc-panel { position: static; max-height: none; padding: 21px; background: #eeeee4; }
  .toc-panel h2 { font-size: 27px; margin-bottom: 15px; }
  .toc-panel nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-bottom: 12px; }
  .toc-panel nav a { gap: 8px; }
  .toc-panel nav a span { font-size: 14px; }
  .article-body { font-size: 17px; max-width: none; }
  .answer-box { padding: 24px; }
  .prose-section { padding-top: 33px; }
  .urgent-box { padding: 22px; margin-top: 33px; }
  .urgent-box > div.urgent-now { padding: 17px; }
  .about-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 35px; }
  .about-hero h1 { font-size: 46px; }
  .portrait { justify-self: start; max-width: 400px; }
  .portrait img { height: auto; aspect-ratio: auto; }
  .method-grid { gap: 30px 25px; }
  .method-grid p { font-size: 16px; }
  .about-disclosure { grid-template-columns: 1fr; gap: 23px; padding: 25px; margin-bottom: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 30px; }
  .footer-disclosures { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .footer-top nav a, .footer-top nav button { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 7px; font-size: 12px; }
}
@media (max-width: 520px) {
  .guide-grid, .method-strip, .method-grid { grid-template-columns: 1fr; }
  .home-guides .guide-card:last-child { grid-column: auto; }
  .guide-card > img { aspect-ratio: 1.7; }
  .method-strip > div + div { padding-top: 21px; border-top: 1px solid #c9d1c2; }
  .method-grid article { border-bottom: 1px solid var(--rule); padding-bottom: 26px; }
  .toc-panel nav { grid-template-columns: 1fr; }
  .article-heading h1 { font-size: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-disclosures { grid-row: auto; }
  .footer-top nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 15px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { flex-basis: calc(100vw - 104px); }
  .site-logo { max-width: 248px; }
  .menu-toggle { padding-inline: 9px; }
  .menu-toggle > span:last-child { display: none; }
  .pathways h3 { font-size: 21px; }
}
/* QA floor: keep metadata legible at every review viewport. */
.eyebrow, .field-number, .level-label, .footer-bottom,
.triage-intro .eyebrow, .card-content .eyebrow, .answer-box .eyebrow { font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { --paper: white; --surface: white; --text: #111; --ink: #111; --gutter: 0px; }
  body { font-size: 11pt; background: white; color: black; }
  .site-header, .skip-link, .site-footer, .toc-panel, .reading-track, .print-button, .article-heading > .text-link { display: none !important; }
  .container { max-width: none; width: 100%; }
  .article-heading { padding: 20px 0; max-width: none; }
  .article-heading h1 { font-size: 32pt; }
  .article-layout { display: block; }
  .article-body { max-width: none; font-size: 11pt; }
  .source-panel { display: block; margin-bottom: 24px; }
  .source-panel dl { margin-top: 12px; }
  .source-panel dl > div { display: block; }
  .article-body h2 { font-size: 21pt; }
  .article-body h3 { font-size: 14pt; }
  .answer-box, .source-panel, .urgent-box { background: white; border: 1px solid #777; padding: 16px; }
  .table-scroll { overflow: visible; }
  table { min-width: 0; font-size: 10pt; }
  thead { display: table-header-group; }
  thead th { color: black; background: #eee; }
  tr, .distinction-list > div { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  a { color: black; }
  
}

/* Astra integration and real inventory. No legacy chrome is hidden with CSS. */
body.daw-journal { background: var(--paper); color: var(--text); font-family: var(--sans); }
.daw-journal h1,.daw-journal h2,.daw-journal h3,.daw-journal h4 { color: var(--ink); }
.daw-journal h1,.daw-journal h2 { font-family: var(--serif); font-weight: 400; }
.daw-journal .site-header,.daw-journal .header-inner,.daw-journal .brand { background: rgb(254,250,243); }
.daw-journal .site-logo { width: 100%; height: auto; max-height: none; aspect-ratio: 725 / 266; object-fit: contain; border: 0; border-radius: 0; }
#primary-nav a { display: inline-flex; align-items: center; text-decoration: none; }
.filter-buttons a { display: inline-flex; align-items: center; text-decoration: none; }
.search-row { margin-bottom: 22px; }
.pathways { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
.guide-card > img { height: auto; }
.guide-card .article-meta { font-size: 12px; margin: 0 0 14px; gap: 7px 12px; }
.guide-card h3 a { text-decoration: none; }
.article-hero { margin: 0 0 35px; }
.article-hero img,.entry-content img { max-width: 100%; height: auto; }
.article-layout.without-toc { display: block; }
.article-layout.without-toc .article-body { margin-inline: auto; }
.entry-content { overflow-wrap: anywhere; }
.entry-content > h2,.entry-content > h3 { margin-top: 1.6em; }
.entry-content iframe,.entry-content video { max-width: 100%; }
.entry-content pre { max-width: 100%; overflow: auto; }
.entry-content details { border: 1px solid var(--rule); padding: 18px; margin-block: 22px; }
.entry-content summary { cursor: pointer; font-weight: 700; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 24px; }
.table-scroll table { margin-bottom: 0; }
.page-body { margin: 0 auto 60px; }
.daw-journal .portrait img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.pagination { margin-block: 32px; }
.pagination ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pagination a,.pagination .current { display: inline-flex; padding: 10px 16px; border: 1px solid var(--rule); min-height: 44px; }
.pagination .current { background: var(--evergreen); color: var(--surface); }
.toc-panel nav a.toc-subheading { padding-left: 20px; }
.daw-journal :focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.daw-journal [tabindex="-1"]:focus { outline: 3px solid var(--focus); outline-offset: 4px; }
.comment-list { padding-left: 25px; }
.comment-list .children { padding-left: 22px; }
.comment-body { padding-block: 20px; border-bottom: 1px solid var(--rule); }
.comment-form textarea,.comment-form input:not([type="checkbox"]):not([type="submit"]) { max-width: 100%; width: 100%; }
.comment-form label { display: block; }
.comment-form-cookies-consent label { display: inline; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width:760px) { .pathways { grid-template-columns: repeat(2,minmax(0,1fr)); } .pathways a:last-child { grid-column: auto; display: flex; } .reading-track { top: 0; } }
@media print { .comments-area { break-before: page; } }
