/* Shared visual layer. Screen-only rules leave the source print layouts intact. */
@media screen {
  :root { --inner-ink:#0b100d; --inner-muted:#555d57; --inner-line:#dbe0d9; --inner-surface:#f5f6f2; --inner-green:#55d623; --inner-link:#237c18; }
  html { scroll-padding-top:28px; }
  body.inner-page { color:var(--inner-ink); background:#fff; font-family:Arial,Helvetica,sans-serif; line-height:1.6; }
  .inner-page ::selection { background:var(--inner-green); color:var(--inner-ink); }
  .inner-page :is(input,textarea) { caret-color:var(--inner-link); }
  .inner-page :focus-visible { outline:3px solid var(--inner-link); outline-offset:5px; }
  .inner-page .wrap { width:min(1280px,calc(100% - 96px)); }
  .inner-page :is(h1,h2,h3) { color:inherit; font-weight:750; letter-spacing:-.035em; line-height:1.1; }
  .inner-page h1 { font-size:clamp(42px,5.5vw,80px); }
  .inner-page h2 { font-size:clamp(34px,3.6vw,52px); margin-bottom:32px; }
  .inner-page h3 { font-size:clamp(24px,2.2vw,30px); font-weight:700; line-height:1.22; }
  .inner-page p { text-wrap:pretty; }
  .inner-page :is(p,li,dd,dt,a,h1,h2,h3) { overflow-wrap:break-word; }
  .inner-page :is(.section,.related,.faq) { padding-top:80px; padding-bottom:24px; }
  .inner-page .lead { font-size:clamp(20px,1.8vw,24px); line-height:1.5; }
  .inner-page :is(.scope-intro,.practical-answer>p,.preparation>p,.service-result .lead,.contact .lead) { max-width:720px; }
  .inner-page a { text-underline-offset:.22em; text-decoration-thickness:1px; }
  .inner-page :is(.text-link,.reading a,.brief-resources a,.related>a,.answer-followup a,.case-related a,.tools-card a,.tools-back,.library-read,.library-shortcuts a,.library-reading a,.library-footer a) { color:var(--inner-link); }
  .inner-page .button { min-height:56px; padding:16px 28px; font-weight:750; border-radius:100px; }
  .inner-page .green { background:var(--inner-green); color:var(--inner-ink); }
  .inner-page .green:hover { background:#72e348; }
  .inner-page .black { background:var(--inner-ink); color:#fff; }
  .inner-page .black:hover { background:#263129; }
  .inner-page .actions { flex-wrap:wrap; gap:20px 28px; }
  .inner-page .actions .text-link { display:inline-flex; min-height:48px; align-items:center; font-weight:700; }
  .inner-page header.wrap { position:relative; display:flex; flex-wrap:nowrap; min-height:108px; padding-block:24px; gap:32px; border-bottom:1px solid var(--inner-line); z-index:10; background:#fff; }
  .inner-page header>a:first-child { flex:0 0 auto; }
  .inner-page header .logo { display:block; width:182px; height:auto; }
  .inner-page header>nav { margin-left:auto; gap:14px 24px; align-items:center; }
  .inner-page header>nav a { display:inline-flex; align-items:center; min-height:44px; font-size:15px; line-height:1.3; }
  .inner-page header>.button { display:inline-flex; flex:0 0 auto; font-size:16px; min-height:48px; padding:13px 22px; }
  .inner-menu-toggle { display:none; }
  .inner-page .breadcrumb { margin-top:28px; font-size:14px; line-height:1.5; color:var(--inner-muted); }
  .inner-service .service-hero { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,24%); column-gap:64px; padding-top:56px; padding-bottom:48px; }
  .inner-service .service-hero>:is(h1,p,.actions) { grid-column:1; }
  .inner-service .service-hero h1 { max-width:950px; font-size:clamp(44px,5.2vw,74px); }
  .inner-service .service-hero .lead { max-width:720px; margin:28px 0 30px; }
  .inner-service .service-hero::after { content:""; grid-column:2; grid-row:1/4; align-self:stretch; min-height:260px; background:var(--inner-surface) url("/assets/spark.svg?v=8132db3b44d0") center / 64% auto no-repeat; border-radius:16px; }
  .inner-service .service-brief { border-top:1px solid var(--inner-line); padding-top:48px; }
  .inner-service .brief-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; }
  .inner-service .brief-grid p { margin-top:16px; color:var(--inner-muted); line-height:1.65; }
  .inner-page :is(.scope-note,.brief-resources) { grid-template-columns:minmax(180px,25%) minmax(0,720px); gap:40px; margin-top:40px; border:0; border-radius:0; background:transparent; padding:0; }
  .inner-page .scope-note h3 { font-size:24px; }
  .inner-page .scope-note p { color:var(--inner-muted); font-size:18px; line-height:1.65; }
  .inner-page .brief-conditions { margin-top:36px; border-color:var(--inner-line); }
  .inner-page .brief-conditions summary { padding:24px 0; font-weight:700; font-size:23px; }
  .inner-page .brief-conditions .scope-note { margin-top:20px; }
  .inner-page .steps { gap:40px; }
  .inner-page .steps article { min-width:0; padding-top:24px; border-top:1px solid var(--inner-line); }
  .inner-page .steps p { max-width:36ch; font-size:18px; line-height:1.65; color:var(--inner-muted); margin-top:16px; }
  .inner-page .scope-list { display:block; max-width:none; }
  .inner-page .scope-list .scope-item { padding:0; border-top:1px solid var(--inner-line); }
  .inner-page .scope-list .scope-item:last-child { border-bottom:1px solid var(--inner-line); }
  .inner-page .scope-list .scope-item summary { align-items:center; padding:27px 0; gap:32px; font-weight:700; }
  .inner-page .scope-list .scope-item summary h3 { margin:0; font-size:clamp(25px,2.4vw,34px); }
  .inner-page .scope-list .scope-item summary::after { content:""; width:14px; height:14px; flex:0 0 auto; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin:0 5px 7px 12px; }
  .inner-page .scope-list .scope-item[open] summary::after { transform:rotate(225deg); margin-top:10px; }
  .inner-page .scope-list .scope-item ul { max-width:720px; padding:0 0 24px 24px; margin:0 0 0 26%; }
  .inner-page .scope-list .scope-item li { margin-bottom:12px; color:var(--inner-muted); line-height:1.65; }
  .inner-page .case-metrics { gap:32px 64px; margin-block:32px; }
  .inner-page .case-metrics strong { font-weight:750; color:var(--inner-link); }
  .inner-page .case-metrics strong.case-loss { color:var(--inner-ink); }
  .inner-page .case-document { margin-top:40px; }
  .inner-page .related-links { gap:40px; }
  .inner-page .related-links>a { display:block; padding-top:24px; border-top:1px solid var(--inner-line); }
  .inner-page .faq { padding-top:64px; padding-bottom:80px; }
  .inner-page .faq summary { font-weight:700; padding:25px 0; }
  .inner-page .faq p { max-width:720px; line-height:1.65; }
  .inner-page .contact { background:var(--inner-ink); padding:80px 0 32px; margin-top:56px; }
  .inner-page .contact h2 { font-size:clamp(40px,5.3vw,76px); max-width:940px; font-weight:750; }
  .inner-page .contact-message { max-width:720px; margin-block:40px; }
  .inner-page .contact-message h3 { font-size:25px; }
  .inner-page .contact .message-help { color:#c8d1c9; }
  .inner-page .contact footer { padding-top:24px; border-top:1px solid #424a44; margin-top:56px; }
  .inner-page .contact :focus-visible { outline-color:var(--inner-green); }
  .inner-page .site-directory { padding-block:56px; }
  .inner-page .site-directory h2 { font-size:26px; }
  .inner-page .site-directory nav { gap:8px 32px; }
  .inner-page .site-directory nav a { color:var(--inner-muted); }
  .inner-page .site-directory nav a[aria-current] { color:var(--inner-link); }
  /* Read: article measure and hierarchy stay independent of service pages. */
  .inner-page .reading { max-width:720px; width:calc(100% - 96px); margin:64px auto 80px; }
  .inner-page .reading h1 { font-size:clamp(38px,4.7vw,64px); line-height:1.1; margin-bottom:28px; }
  .inner-page .reading h2 { font-size:clamp(29px,3vw,38px); line-height:1.2; margin:48px 0 20px; }
  .inner-page .reading h3 { font-size:26px; margin:32px 0 16px; }
  .inner-page .reading :is(p,li) { font-size:19px; line-height:1.75; }
  .inner-page .reading .lead { font-size:23px; line-height:1.55; }
  .inner-page .reading :is(ul,ol) { padding-left:24px; }
  .inner-page .reading .scope-note { grid-template-columns:180px minmax(0,1fr); gap:32px; }
  .inner-page .reading .scope-note h3 { font-size:24px; margin:0; }
  .inner-page .reading .scope-note p { font-size:18px; }
  .inner-page .article-cta { border-top:1px solid var(--inner-line); padding-top:32px; margin-top:40px; }
  .inner-page .article-cta h2 { margin-top:0; }
  .inner-page .article-meta { color:var(--inner-muted); }
  .inner-page :is(.evidence-scroll,.library-table-wrap) { scrollbar-color:#a1aba1 var(--inner-surface); scrollbar-width:thin; }
  .inner-page :is(.evidence-table,.library-table) { font-size:16px; line-height:1.6; }
  .inner-page :is(.evidence-table,.library-table) :is(th,td) { padding:16px 20px 16px 0; border-color:var(--inner-line); }
  .inner-page :is(.evidence-table,.library-table) caption { font-weight:700; }
  .inner-page .reading>.evidence-table { table-layout:fixed; }
  .inner-page .reading>.evidence-table :is(th,td) { overflow-wrap:anywhere; }
  /* Browse: open editorial rows, working search and filters. */
  .inner-page .library-catalog { padding-top:36px; padding-bottom:48px; }
  .inner-page .library-catalog>.lead { max-width:720px; }
  .inner-page .library-filter { gap:24px; padding-block:32px; margin-block:40px 20px; border-color:var(--inner-line); }
  .inner-page .library-filter :is(input,select),.inner-page .tools-field :is(input,select) { min-height:56px; padding:14px 16px; border:1px solid #7e887f; border-radius:10px; background:#fff; color:var(--inner-ink); font:18px/1.4 Arial,sans-serif; }
  .inner-page .library-filter :is(input,select):hover,.inner-page .tools-field :is(input,select):hover { border-color:var(--inner-ink); }
  .inner-page .library-reset { min-height:56px; border-color:#7e887f; border-radius:10px; }
  .inner-page .library-grid { column-gap:64px; }
  .inner-page .library-group { padding-top:52px; }
  .inner-page .library-item { padding-top:12px; padding-bottom:32px; border-color:var(--inner-line); }
  .inner-page .library-item h2 { font-size:32px; line-height:1.2; }
  .inner-page .library-item h2 a { color:var(--inner-ink); }
  .inner-page .library-kicker { color:var(--inner-muted); }
  .inner-page .library-tools h3 { font-size:28px; }
  .inner-page .library-reading { margin-top:32px; }
  .inner-page .library-reading .breadcrumb { margin-top:0; }
  .inner-page .library-reading a.button { color:var(--inner-ink); }
  .inner-page .library-footer { border-color:var(--inner-line); margin-top:40px; padding-block:32px; }
  /* Operate: controls and dynamic calculator results retain their structure. */
  .inner-page .tools-page { padding-top:40px; padding-bottom:64px; }
  .inner-page .tools-page h1 { max-width:1050px; }
  .inner-page .tools-page>.lead { max-width:720px; }
  .inner-page .tools-form { max-width:1000px; margin-block:48px; }
  .inner-page .tools-form legend { font-weight:700; margin-bottom:24px; }
  .inner-page .tools-grid { gap:28px 40px; }
  .inner-page .tools-choice { gap:14px; padding:5px 0; }
  .inner-page .tools-choice input { accent-color:var(--inner-link); }
  .inner-page .tools-actions { gap:12px; margin-block:32px; }
  .inner-page :is(.tools-actions button,.ingredient-remove,.copy-message-button) { min-height:52px; border:1px solid #7e887f; border-radius:100px; color:var(--inner-ink); padding:13px 24px; font-weight:700; }
  .inner-page .tools-actions button[type=submit] { color:var(--inner-ink); background:var(--inner-green); border-color:var(--inner-green); }
  .inner-page :is(.tools-actions button,.ingredient-remove):hover { background:var(--inner-surface); }
  .inner-page .tools-actions button[type=submit]:hover { background:#72e348; }
  .inner-page .tools-actions button:disabled { cursor:not-allowed; opacity:.5; }
  .inner-page .tools-result { padding-top:40px; margin-top:40px; border-color:var(--inner-line); max-width:1000px; }
  .inner-page .tools-result dl { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:20px 32px; }
  .inner-page .tools-result dd { font-variant-numeric:tabular-nums; }
  .inner-page .tools-result table { table-layout:fixed; }
  .inner-page .tools-result :is(th,td) { font-size:16px; }
  .inner-page .tools-card { padding-block:36px; }
  .inner-page .tools-card h2 { font-size:36px; }
  .inner-page .tools-card p { max-width:720px; }
  .inner-page .tools-card a { display:inline-flex; align-items:center; min-height:44px; }
  .inner-page .tools-error { color:#8c2020; }
  @media (max-width:1100px) {
    .inner-page .wrap { width:calc(100% - 64px); }
    .inner-page header.wrap { gap:24px; }
    .inner-page header>.button { display:none; }
    .inner-service .service-hero { column-gap:40px; grid-template-columns:minmax(0,1fr) 22%; }
    .inner-service .brief-grid,.inner-page .steps { gap:28px; }
  }
  @media (max-width:760px) {
    .inner-page .wrap { width:calc(100% - 40px); }
    .inner-page header.wrap { min-height:88px; flex-wrap:wrap; gap:16px; padding-block:20px; }
    .inner-page header .logo { width:164px; }
    .inner-page header>nav { width:100%; margin:0; flex-wrap:wrap; gap:4px 24px; }
    .inner-page header>nav a { min-height:48px; font-size:16px; }
    .inner-page header.inner-nav-ready .inner-menu-toggle { display:inline-flex; margin-left:auto; align-items:center; justify-content:center; gap:12px; background:#fff; color:var(--inner-ink); border:1px solid var(--inner-line); border-radius:100px; min-height:46px; padding:10px 15px; font:700 15px/1.3 Arial,sans-serif; cursor:pointer; }
    .inner-menu-icon { position:relative; width:18px; height:14px; border-block:2px solid currentColor; }
    .inner-menu-icon::after { content:""; position:absolute; top:4px; left:0; width:100%; border-top:2px solid currentColor; }
    [aria-expanded="true"] .inner-menu-icon { border:0; }
    [aria-expanded="true"] .inner-menu-icon::before,[aria-expanded="true"] .inner-menu-icon::after { content:""; position:absolute; top:6px; left:0; width:100%; border-top:2px solid currentColor; transform:rotate(45deg); }
    [aria-expanded="true"] .inner-menu-icon::after { transform:rotate(-45deg); }
    .inner-page header.inner-nav-ready>nav { display:none; }
    .inner-page header.inner-nav-open>nav { display:flex; flex-direction:column; align-items:stretch; gap:0; border-top:1px solid var(--inner-line); padding-top:12px; }
    .inner-page header.inner-nav-open>nav a { padding-block:12px; font-size:22px; border-bottom:1px solid var(--inner-line); }
    .inner-page :is(.section,.related) { padding-top:56px; padding-bottom:16px; }
    .inner-page h2 { font-size:36px; margin-bottom:24px; }
    .inner-page .breadcrumb { margin-top:24px; font-size:13px; }
    .inner-service .service-hero { grid-template-columns:1fr; gap:0; padding-top:36px; padding-bottom:32px; }
    .inner-service .service-hero h1 { font-size:clamp(39px,8.6vw,60px); }
    .inner-service .service-hero .lead { margin-block:24px; font-size:20px; }
    .inner-service .service-hero::after { grid-column:1; grid-row:auto; height:154px; min-height:0; margin-top:32px; background-size:auto 75%; border-radius:12px; }
    .inner-page .actions { align-items:stretch; flex-direction:column; gap:16px; }
    .inner-page .actions .text-link { justify-content:center; }
    .inner-service .brief-grid,.inner-page .steps { display:grid; grid-template-columns:1fr; gap:28px; }
    .inner-service .brief-grid article+article { border-top:1px solid var(--inner-line); padding-top:24px; }
    .inner-page :is(.scope-note,.brief-resources),.inner-page .reading .scope-note { grid-template-columns:1fr; gap:14px; margin-top:30px; }
    .inner-page .scope-note h3 { font-size:25px; }
    .inner-page .brief-conditions summary { font-size:22px; gap:20px; }
    .inner-page .steps article,.inner-page .steps article+article { padding:24px 0 0; }
    .inner-page .steps p { max-width:none; }
    .inner-page .scope-list .scope-item summary { padding:24px 0; gap:20px; }
    .inner-page .scope-list .scope-item summary h3 { font-size:25px; }
    .inner-page .scope-list .scope-item ul { margin-left:0; padding-bottom:18px; }
    .inner-page .scope-list .scope-item li { font-size:18px; }
    .inner-page .related-links { grid-template-columns:1fr; gap:28px; }
    .inner-page .faq { padding-top:48px; padding-bottom:48px; }
    .inner-page .faq summary { font-size:23px; }
    .inner-page .contact { padding-top:56px; margin-top:32px; }
    .inner-page .contact h2 { font-size:44px; }
    .inner-page .site-directory { padding-block:40px; }
    .inner-page .site-directory nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 20px; }
    .inner-page .reading { width:calc(100% - 40px); margin-block:40px 56px; }
    .inner-page .reading h1 { font-size:40px; }
    .inner-page .reading h2 { font-size:30px; margin-top:40px; }
    .inner-page .reading :is(p,li) { font-size:18px; line-height:1.7; }
    .inner-page .reading .lead { font-size:21px; }
    .inner-page .reading>.evidence-table { font-size:14px; }
    .inner-page .reading>.evidence-table :is(th,td) { padding-right:12px; }
    .inner-page .library-catalog { padding-top:20px; }
    .inner-page .library-catalog h1 { font-size:44px; }
    .inner-page .library-filter { grid-template-columns:1fr; gap:18px; padding-block:24px; }
    .inner-page .library-results { grid-column:1; }
    .inner-page .library-reset { width:100%; }
    .inner-page .library-grid { grid-template-columns:1fr; }
    .inner-page .library-item h2 { font-size:29px; }
    .inner-page .library-group { padding-top:40px; }
    .inner-page .library-reading { margin-top:24px; }
    .inner-page .library-print-controls .button { width:100%; }
    .inner-page .tools-page { padding-top:32px; }
    .inner-page .tools-page h1 { font-size:42px; }
    .inner-page .tools-grid,.inner-page .ingredient .tools-grid { grid-template-columns:1fr; gap:22px; }
    .inner-page .tools-actions { flex-direction:column; }
    .inner-page .tools-actions button { width:100%; }
    .inner-page .tools-form { margin-block:36px; }
    .inner-page .tools-result dl { grid-template-columns:1fr; gap:4px; }
    .inner-page .tools-result dd { margin-bottom:20px; }
    .inner-page .tools-result :is(th,td) { font-size:14px; padding-right:8px; }
    .inner-page .tools-card h2 { font-size:30px; }
  }
  @media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
}
@media print {
  .inner-menu-toggle { display:none!important; }
  .inner-page header,.inner-page nav { display:none!important; }
}
