/* Manual digital – Pacote Habitação (EVE0226) · OCC */
@font-face{font-family:"Figtree";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/figtree-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/figtree-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/figtree-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/figtree-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/figtree-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"Literata";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/literata-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Literata";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/literata-latin-400-italic.woff2") format("woff2")}
@font-face{font-family:"Literata";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/literata-latin-600-normal.woff2") format("woff2")}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}body{margin:0}img{max-width:100%}[hidden]{display:none!important}
/* Layout: manual de consulta — barra superior com pesquisa, índice lateral fixo, coluna de leitura (~68ch) com margem direita para as referências de página do manual impresso */
:root {
  --paper: #fbf9f8;      /* fundo, neutro com ligeiro tom vinho */
  --sheet: #ffffff;      /* superfícies elevadas */
  --ink: #241b1b;        /* texto */
  --ink-2: #5d5050;      /* texto secundário */
  --rule: #e6dedc;       /* filetes */
  --wash: #f3eeec;       /* fundos de quadros */
  --wine: #751f1f;       /* acento OCC (capa) */
  --wine-2: #9a3328;     /* acento hover */
  --amber: #bc7a46;      /* destaque secundário (pôr-do-sol da capa) */
  --amber-wash: #f7ebdf;
  --mark: #fde7a8;
  --ok: #2f6b4f;
  --f-display: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-body: "Literata", "Iowan Old Style", Georgia, serif;
  --f-ui: "Figtree", "Segoe UI", system-ui, sans-serif;
  --top: 60px;
  --nav-w: 300px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171212; --sheet: #1f1919; --ink: #efe6e4; --ink-2: #b6a6a3; --rule: #3a2f2e; --wash: #251e1d;
    --wine: #e58b80; --wine-2: #f2a79d; --amber: #e0a26f; --amber-wash: #33261b; --mark: #6b5418; --ok: #7fc4a2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171212; --sheet: #1f1919; --ink: #efe6e4; --ink-2: #b6a6a3; --rule: #3a2f2e; --wash: #251e1d;
  --wine: #e58b80; --wine-2: #f2a79d; --amber: #e0a26f; --amber-wash: #33261b; --mark: #6b5418; --ok: #7fc4a2;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top) + 16px + env(safe-area-inset-top, 0px)); }
body { background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-body); -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--sheet); }
a { color: var(--wine); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }


/* ---------- top bar ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--sheet); border-bottom: 1px solid var(--rule);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.top-in { height: var(--top); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 0.95rem/1.1 var(--f-ui); color: var(--ink); text-decoration: none; white-space: nowrap; }
.seal { --seal: url("../img/occ-selo.png"); width: 29px; height: 40px; flex: none; background: var(--ink); -webkit-mask: var(--seal) center / contain no-repeat; mask: var(--seal) center / contain no-repeat; }
.cover-brand { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.cover-brand .seal { width: 54px; height: 75px; }
.cover-brand span.org { font: 600 .78rem/1.35 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); max-width: 15rem; }
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink-2); letter-spacing: .02em; }
.search { position: relative; flex: 1; max-width: 520px; margin-left: auto; }
.search input { width: 100%; height: 38px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 8px;
  padding: 0 12px 0 36px; font: 500 .95rem var(--f-ui); }
.search input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wine) 18%, transparent); }
.search svg { position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; color: var(--ink-2); pointer-events: none; }
.icon-btn { height: 38px; min-width: 38px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: 8px; font: 600 .85rem var(--f-ui); padding: 0 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.icon-btn:hover { border-color: var(--wine); color: var(--wine); }
.icon-btn svg { width: 16px; height: 16px; }
#navToggle { display: none; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--wine); width: 0; }

.results { position: absolute; top: 44px; left: 0; right: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0,0,0,.16); max-height: min(70vh, 560px); overflow: auto; font-family: var(--f-ui); }
.results .rh { position: sticky; top: 0; background: var(--sheet); padding: 9px 14px; font-size: .78rem; color: var(--ink-2); border-bottom: 1px solid var(--rule); letter-spacing: .02em; }
.results button { display: block; width: 100%; text-align: left; border: 0; background: none; color: var(--ink); padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--rule); font: 400 .88rem/1.45 var(--f-ui); }
.results button:hover, .results button.on { background: var(--wash); }
.results .rs { display: block; font-size: .72rem; font-weight: 600; color: var(--wine); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.results mark, main mark.hit { background: var(--mark); color: inherit; border-radius: 2px; padding: 0 1px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: var(--nav-w) minmax(0, 1fr); max-width: 1320px; margin: 0 auto; }
nav.toc { position: sticky; top: calc(var(--top) + env(safe-area-inset-top, 0px)); height: calc(100vh - var(--top) - env(safe-area-inset-top, 0px)); overflow: auto;
  padding: 24px 18px 40px max(16px, env(safe-area-inset-left, 0px)); border-right: 1px solid var(--rule); font-family: var(--f-ui); }
.toc h2 { font: 700 .72rem/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; text-decoration: none; color: var(--ink); font-size: .9rem; line-height: 1.3; padding: 6px 8px; border-radius: 6px; }
.toc a:hover { background: var(--wash); }
.toc a.on { color: var(--wine); background: var(--wash); font-weight: 600; }
.toc .l2 > a { font-weight: 600; margin-top: 6px; }
.toc .l3 > a { padding-left: 20px; font-size: .84rem; color: var(--ink-2); }
.toc .l3.sub > a { padding-left: 32px; }
.toc .l3 > a.on { color: var(--wine); }
.toc .sep { border-top: 1px solid var(--rule); margin: 12px 0 6px; }
.goto { margin-top: 18px; padding: 12px; background: var(--wash); border-radius: 8px; font-size: .82rem; color: var(--ink-2); }
.goto label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--ink); }
.goto form { display: flex; gap: 6px; }
.goto input { width: 76px; height: 32px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); color: var(--ink); padding: 0 8px; font: 500 .9rem var(--f-ui); font-variant-numeric: tabular-nums; }
.goto button { height: 32px; border: 0; border-radius: 6px; background: var(--wine); color: var(--sheet); font: 600 .82rem var(--f-ui); padding: 0 12px; cursor: pointer; }
.goto p { margin: 6px 0 0; }

main { min-width: 0; padding-block: 0 80px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.col { max-width: 46rem; margin: 0 auto; position: relative; }

/* ---------- cover ---------- */
.cover { padding: 48px 0 28px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.eyebrow { font: 700 .74rem/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--wine); margin: 0 0 14px; }
.cover h1 { font: 800 clamp(2rem, 5vw, 3.1rem)/1.04 var(--f-display); letter-spacing: -.02em; margin: 0 0 14px; text-wrap: balance; }
.cover .dek { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 22px; max-width: 38rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 .88rem/1.4 var(--f-ui); color: var(--ink-2); }
.meta b { color: var(--ink); font-weight: 600; }
.keys { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.key { flex: 1 1 130px; background: var(--sheet); padding: 14px 16px; font-family: var(--f-ui); }
.key strong { display: block; white-space: nowrap; font: 800 1.3rem/1.1 var(--f-display); color: var(--wine); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.key span { display: block; font-size: .8rem; line-height: 1.35; color: var(--ink-2); margin-top: 4px; }
.notice { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font: 400 .88rem/1.5 var(--f-ui); color: var(--ink-2); }
.notice .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-top: 7px; }

/* ---------- content typography ---------- */
.chap { padding-top: 12px; }
.chap > h2 { font: 800 clamp(1.6rem, 3.4vw, 2.1rem)/1.15 var(--f-display); letter-spacing: -.015em; margin: 56px 0 18px; padding-top: 18px; border-top: 3px solid var(--wine); text-wrap: balance; }
h3 { font: 700 1.32rem/1.3 var(--f-display); margin: 40px 0 12px; text-wrap: balance; }
h3.sub { font-size: 1.12rem; color: var(--wine); }
h4 { font: 700 1.02rem/1.35 var(--f-display); margin: 28px 0 8px; text-wrap: balance; }
h4.cp { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-top: 34px; }
h5 { font: 700 .92rem/1.35 var(--f-ui); margin: 20px 0 6px; color: var(--ink); }
main p { margin: 0 0 .8em; }
main p.i1 { padding-left: 1.4em; } main p.i2 { padding-left: 2.6em; } main p.i3, main p.i4, main p.i5, main p.i6, main p.i7, main p.i8, main p.i9, main p.i16 { padding-left: 3.6em; }
main p.b { position: relative; padding-left: 1.3em; margin-bottom: .45em; }
main p.b::before { content: ""; position: absolute; left: .25em; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
main p.b.i1 { padding-left: 2.7em; } main p.b.i1::before { left: 1.65em; }
.lede { font-size: 1.08rem; color: var(--ink-2); }
em { font-style: italic; }
u { text-decoration-color: var(--wine); text-decoration-thickness: 2px; text-underline-offset: 3px; }
sup { font: 600 .68em var(--f-ui); color: var(--wine); }
aside.fn { font: 400 .82rem/1.5 var(--f-ui); color: var(--ink-2); border-left: 2px solid var(--rule); padding: 4px 0 4px 12px; margin: 4px 0 16px; }
aside.fn sup { margin-right: 4px; }

/* page refs to the printed manual */
a.pg { position: relative; display: inline; }


.pgref { position: absolute; right: -76px; font: 600 .68rem/1 var(--f-ui); color: var(--ink-2); opacity: .75; letter-spacing: .04em; padding-top: .45em; white-space: nowrap; }
@media (max-width: 1240px) { .pgref { display: none; } }
a.pg::after { content: none; }

/* ---------- tables ---------- */
.tbl { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); }
.tbl table { border-collapse: collapse; width: 100%; font: 400 .84rem/1.5 var(--f-ui); min-width: 520px; }
.tbl th, .tbl td { border: 1px solid var(--rule); padding: 8px 10px; vertical-align: top; text-align: left; }
.tbl tr:first-child > * { border-top: 0; } .tbl tr > *:first-child { border-left: 0; } .tbl tr > *:last-child { border-right: 0; } .tbl tr:last-child > * { border-bottom: 0; }
.tbl th { background: var(--wash); font-weight: 700; }
.tbl th.side { writing-mode: horizontal-tb; width: 120px; font-weight: 500; background: var(--amber-wash); }
.tbl tr.sep th { background: var(--wash); text-align: center; }
.tbl td p, .tbl th p { margin: 0 0 .5em; } .tbl td p:last-child, .tbl th p:last-child { margin: 0; }
.tbl td:has(> p:only-child) { }
table.mini { border-collapse: collapse; margin: 10px 0 2px; font-size: .8rem; min-width: 0 !important; width: auto !important; }
table.mini th, table.mini td { border: 1px solid var(--rule) !important; padding: 3px 8px; }
table.mini tr.bold td { font-weight: 700; }

/* ---------- case studies ---------- */
details.case { border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--rule)); border-radius: 12px; background: var(--sheet); margin: 14px 0; box-shadow: 0 1px 0 color-mix(in srgb, var(--amber) 20%, transparent); }
details.case > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; font-family: var(--f-ui); background: var(--amber-wash); border-radius: 11px; }
details.case > summary::-webkit-details-marker { display: none; }
details.case > summary::after { content: "Abrir"; font: 700 .72rem/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--wine); border: 1px solid currentColor; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
details.case[open] > summary::after { content: "Fechar"; }
details.case[open] > summary { border-bottom: 1px solid color-mix(in srgb, var(--amber) 45%, var(--rule)); border-radius: 11px 11px 0 0; }
details.case > summary:hover { background: color-mix(in srgb, var(--amber-wash) 70%, var(--amber) 14%); }
.case-n { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 10px; background: var(--wine); color: var(--sheet); font: 800 1.15rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.case-h { display: grid; gap: 3px; min-width: 0; }
.case-k { font: 800 .7rem/1.3 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.case-t { font: 600 .95rem/1.4 var(--f-ui); color: var(--ink); min-width: 0; }
.case-t.muted { font-weight: 500; color: var(--ink); }
.case-b { padding: 16px 20px 8px; font-size: 1rem; }
.case-b h5:first-child { margin-top: 4px; }
.case-b h5 { color: var(--wine); }
h4.cp { display: flex; align-items: center; gap: 10px; font-size: .8rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--wine) !important; margin-top: 40px !important; }
h4.cp::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--amber) 50%, var(--rule)); }
.case-index { margin: 26px 0 0; padding: 18px 20px; border-radius: 12px; background: var(--amber-wash); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--rule)); font-family: var(--f-ui); }
.ci-head h2 { font: 800 1.15rem/1.2 var(--f-display); margin: 0 0 4px; }
.ci-head p { font-size: .86rem; color: var(--ink-2); margin: 0 0 12px; }
.ci-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 14px; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--amber) 30%, var(--rule)); align-items: start; }
.ci-name { font: 700 .82rem/1.35 var(--f-ui); padding-top: 6px; }
.ci-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--sheet); border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--rule)); color: var(--wine); font: 700 .85rem/1 var(--f-ui); text-decoration: none; font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--wine); border-color: var(--wine); color: var(--sheet); }
.toc .hl > a { background: var(--amber-wash); color: var(--wine); display: flex; justify-content: space-between; align-items: center; }
.toc .cnt { font: 700 .72rem/1 var(--f-ui); background: var(--wine); color: var(--sheet); border-radius: 999px; padding: 3px 7px; }
.case-tools { display: flex; justify-content: flex-end; margin: 18px 0 -4px; }
.case-tools button { border: 0; background: none; color: var(--wine); font: 600 .8rem var(--f-ui); cursor: pointer; padding: 4px 0; }
.case-tools button:hover { text-decoration: underline; }

/* ---------- summary cards ---------- */
.sum-tabs { position: sticky; top: calc(var(--top) + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--paper); display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; margin-bottom: 4px; }
.sum-tab { border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: 999px; padding: 6px 14px; font: 600 .82rem var(--f-ui); cursor: pointer; }
.sum-tab:hover { border-color: var(--wine); }
.sum-tab[aria-selected="true"] { background: var(--wine); border-color: var(--wine); color: var(--sheet); }
.sum-group > h3 { margin-top: 18px; }
article.measure { border: 1px solid var(--rule); background: var(--sheet); border-radius: 10px; margin: 14px 0; overflow: hidden; }
article.measure header { padding: 14px 18px; background: var(--wash); border-bottom: 1px solid var(--rule); }
article.measure h4 { margin: 0; font-size: 1.05rem; }
article.measure .ref { margin: 4px 0 0; font: 500 .8rem/1.45 var(--f-ui); color: var(--ink-2); }
article.measure dl { margin: 0; }
.fld { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 0 16px; padding: 12px 18px; border-top: 1px solid var(--rule); }
.fld:first-child { border-top: 0; }
.fld dt { font: 700 .72rem/1.5 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); padding-top: 2px; }
.fld dd { margin: 0; font: 400 .86rem/1.55 var(--f-ui); }
.fld dd p { margin: 0 0 .45em; }
@media (max-width: 560px) { .fld { grid-template-columns: 1fr; } .fld dt { margin-bottom: 4px; } }

/* ---------- annexes ---------- */
details.annex { border: 1px solid var(--rule); border-radius: 10px; background: var(--sheet); margin: 14px 0; }
details.annex > summary { list-style: none; cursor: pointer; padding: 16px 18px; display: grid; gap: 4px; font-family: var(--f-ui); position: relative; padding-right: 44px; }
details.annex > summary::-webkit-details-marker { display: none; }
details.annex > summary::after { content: "+"; position: absolute; right: 18px; top: 16px; font: 600 1.2rem/1 var(--f-ui); color: var(--wine); }
details.annex[open] > summary::after { content: "−"; }
details.annex[open] > summary { border-bottom: 1px solid var(--rule); }
.annex-k { font: 800 1rem/1.3 var(--f-display); }
.annex-d { font-size: .8rem; color: var(--ink-2); }
.annex-t { font-size: .9rem; color: var(--ink); }
.annex-b { padding: 16px 20px 8px; font-size: .95rem; }

/* ---------- minutas download ---------- */
.dlbox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin: 6px 0 22px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 10px; background: var(--wash); font-family: var(--f-ui); }
.dl-txt { display: grid; gap: 2px; min-width: 0; }
.dl-txt strong { font-size: .92rem; }
.dl-txt span { font-size: .8rem; color: var(--ink-2); }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 8px; background: var(--wine); color: var(--sheet); font: 700 .86rem var(--f-ui); text-decoration: none; white-space: nowrap; }
.dl-btn:hover { background: var(--wine-2); }
.dl-btn svg { width: 16px; height: 16px; }
.dl-msg { flex-basis: 100%; font-size: .8rem; color: var(--ink-2); margin: 0; }
/* ---------- colophon ---------- */
.colophon { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--rule); font: 400 .82rem/1.6 var(--f-ui); color: var(--ink-2); }
.colophon dl { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 4px 14px; margin: 0 0 14px; }
.colophon dt { font-weight: 600; color: var(--ink); }
.colophon dd { margin: 0; }
.totop { position: fixed; right: max(16px, calc(env(safe-area-inset-right, 0px) + 16px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; }
.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { background: var(--mark); } 100% { background: transparent; } }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  #navToggle { display: inline-flex; }
  nav.toc { position: fixed; z-index: 45; top: calc(var(--top) + env(safe-area-inset-top, 0px)); left: 0; bottom: 0; height: auto; width: min(88vw, 340px); background: var(--sheet);
    transform: translateX(-102%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.2); padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  body.nav-open nav.toc { transform: none; }
  .brand .bt { display: none; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .top-in { gap: 8px; }
  #expandBtn .lbl { display: none; }
  .cover { padding-top: 28px; }
  details.case > summary { gap: 10px; padding: 12px; }
  details.case > summary::after { content: "+"; padding: 4px 8px; }
  details.case[open] > summary::after { content: "−"; }
  .case-n { min-width: 38px; height: 38px; font-size: 1rem; }
  .ci-row { grid-template-columns: 1fr; }
  .ci-name { padding-top: 0; }
    .colophon dl { grid-template-columns: 1fr; }
}
