/* Design system: research/ux.md section 4. System fonts, 4px spacing base, one primary action per screen. */
:root {
  --ink: #14213d; --muted: #4b5563; --primary: #0b7a4f; --primary-h: #096341; --primary-ink: #fff;
  --bg: #fbfcfb; --card: #fff; --line: #e3e8e5; --chip: #eef3f0; --hl: #ffe8a3;
  --ok-bg: #e8f6ef; --warn-bg: #fff4db; --warn-ink: #7a4b00; --err: #b42318;
  --r: 12px; --rb: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--primary); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 65ch; }
.muted { color: var(--muted); font-size: 15px; }
.small { font-size: 14px; }
h1 { font-size: 28px; line-height: 1.2; margin: 8px 0 12px; letter-spacing: -.2px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
h3 { font-size: 18px; margin: 20px 0 8px; }
@media (min-width: 720px) { h1 { font-size: 36px; } h2 { font-size: 26px; } }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--primary); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.top nav { display: flex; gap: 4px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.top nav a:hover { background: var(--chip); }
.top nav a.pill { border: 2px solid var(--primary); color: var(--primary); font-weight: 600; padding: 6px 12px; }
@media (max-width: 640px) { .top nav a:not(.pill) { display: none; } }

main { padding: 20px 0 64px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 20px; border-radius: var(--rb); border: 0; background: var(--primary); color: var(--primary-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s ease-out, transform .15s ease-out; }
.btn:hover { background: var(--primary-h); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .opt:focus-within, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(11,122,79,.4); outline-offset: 2px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: wait; }
.btn.ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn.ghost:hover { background: var(--ok-bg); }
.btn.block { display: flex; width: 100%; }
.linkish { background: none; border: 0; color: var(--primary); font: inherit; text-decoration: underline; cursor: pointer; padding: 8px 0; }
.actions { display: grid; gap: 12px; margin: 20px 0; }
@media (min-width: 640px) { .actions.row { grid-auto-flow: column; justify-content: start; } }

/* Hero */
.hero { padding: 16px 0 8px; }
.label { display: inline-block; background: var(--chip); color: var(--primary); font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.lead { font-size: 18px; color: var(--muted); margin: 8px 0 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-size: 15px; font-weight: 600; }
.facts li span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* Cards, notices */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 16px 0; }
.steps { display: grid; gap: 12px; margin: 16px 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 14px 56px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.steps strong { display: block; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.notice { border-radius: var(--r); padding: 14px 16px; margin: 16px 0; border: 1px solid transparent; }
.notice.ok, .result.ok { background: var(--ok-bg); border-color: var(--primary); }
.notice.warn, .result.warn { background: var(--warn-bg); color: var(--warn-ink); }
.notice.err, .result.ko { background: #fdecec; color: var(--err); }
.result { border-radius: var(--r); padding: 14px 16px; margin: 16px 0; }
.result h2 { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 12px 0; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--primary); font-weight: 800; }
.chip { display: inline-block; background: var(--chip); border-radius: 999px; padding: 4px 10px; font-size: 14px; color: var(--muted); }

/* Certificate sample and live preview */
.cert-svg { margin: 16px 0; }
.cert-svg svg { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 30px rgba(11,122,79,.14); }
.sample { margin: 16px 0; text-align: center; }
.sample img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(11,122,79,.12); }
.sample figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; }
.preview { position: relative; aspect-ratio: 1.414; background: #fff; border: 2px solid var(--primary); border-radius: 8px; padding: 6% 5%; text-align: center; overflow: hidden; box-shadow: 0 10px 30px rgba(11,122,79,.12); container-type: inline-size; }
.preview .pt { color: var(--primary); font-weight: 800; letter-spacing: .5px; font-size: 5.2cqw; }
.preview .ps { color: var(--muted); font-size: 2.8cqw; margin-top: 1.5%; }
.preview .pn { font-weight: 800; font-size: 5.4cqw; margin: 4% 0 2%; min-height: 1.2em; word-break: break-word; }
.preview .pl { height: 1.6cqw; background: #e6ebe8; border-radius: 4px; margin: 2.2% auto; }
.preview .pc { position: absolute; left: 5%; bottom: 7%; font-size: 2.6cqw; font-weight: 700; }
.preview .wm { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11cqw; font-weight: 900; color: rgba(11,122,79,.12); transform: rotate(-18deg); pointer-events: none; }

/* Forms */
label { display: block; margin: 14px 0; font-weight: 600; }
label .help { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
input[type=text], input:not([type]), input[type=email] { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; border: 1.5px solid var(--line); border-radius: var(--rb); background: #fff; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 1px; text-transform: uppercase; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
label.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 12px 0; }
summary { cursor: pointer; padding: 14px 16px; min-height: 48px; font-weight: 600; }
details > div, details > form, details > p { padding: 0 16px 14px; margin: 0; }

/* Exam */
.progress { margin: 8px 0 16px; }
.progress .bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--primary); width: 0; transition: width .2s ease-out; }
.progress .lab { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.question { font-size: 19px; line-height: 1.4; font-weight: 700; margin: 8px 0 16px; }
.opts { display: grid; gap: 12px; }
.opt { display: flex; gap: 12px; align-items: flex-start; min-height: 52px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-weight: 400; margin: 0; cursor: pointer; }
.opt input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.opt:has(input:checked) { border-color: var(--primary); background: var(--ok-bg); }
.nav-row { display: flex; gap: 12px; margin-top: 20px; }
.nav-row .btn { flex: 1; }
.review li { margin: 12px 0; }
.review li.ok strong::before { content: "✓ "; color: var(--primary); }
.review li.ko strong::before { content: "✗ "; color: var(--err); }
.gaps a { margin-right: 10px; }

/* Course reading */
.prose { max-width: 65ch; }
.prose h2, .prose h3 { margin-top: 28px; }
.prose aside.box { background: var(--ok-bg); border-radius: var(--r); padding: 4px 16px; }
.table { overflow-x: auto; margin: 12px 0; } table { border-collapse: collapse; width: 100%; font-size: 15px; } th, td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; } th { background: var(--chip); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.modules { list-style: none; padding: 0; counter-reset: m; }
.modules li { margin: 8px 0; } .modules a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; text-decoration: none; color: var(--ink); font-weight: 600; }
.modules a:hover { border-color: var(--primary); }
.modules .seen::after { content: " ✓ leído"; color: var(--primary); font-weight: 400; font-size: 14px; }

/* Verification */
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 8px 0; } dt { font-weight: 600; } dd { margin: 0; }

/* FAQ accordion on home */
.faq details summary { font-weight: 600; }

/* Sticky CTA (home only) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; }
.sticky-cta.show { display: flex; }
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta span { font-size: 13px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0 48px; font-size: 14px; color: var(--muted); background: #fff; }
.foot a { color: var(--muted); }
.foot .cols { display: flex; flex-wrap: wrap; gap: 8px 16px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- Home and content components (academy look) ---- */
.hero { display: grid; gap: 20px; align-items: center; padding: 8px 0 4px; }
.kicker { font-size: 15px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .6px; margin: 14px 0 0; }
.hero h1 { font-size: 32px; margin-top: 6px; }
.hero-figure { margin: 0; }
.hero-figure img { transform: rotate(-1.5deg); }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 40px; padding: 28px 0 12px; }
  .hero h1 { font-size: 44px; }
  .hero .btn.block { width: auto; display: inline-flex; }
}
.journey { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 0; counter-reset: j; }
.journey li { position: relative; padding: 4px 0 22px 52px; }
.journey li::before { counter-increment: j; content: counter(j); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--ok-bg); }
.journey li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 2px; width: 2px; background: linear-gradient(var(--primary), var(--line)); }
.journey li:last-child::after { display: none; }
.journey li:last-child::before { content: "★"; background: #b8932f; }
.journey strong { display: block; font-size: 18px; }
.journey span { color: var(--muted); }
@media (min-width: 860px) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .journey li { padding: 52px 8px 0 0; }
  .journey li::after { left: 40px; right: -16px; top: 17px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--primary), var(--line)); }
}
.roles, .modgrid, .qlist { list-style: none; padding: 0; display: grid; gap: 10px; margin: 16px 0; }
.roles { grid-template-columns: 1fr 1fr; }
.roles li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.roles strong { display: block; }
.roles span { color: var(--muted); font-size: 14px; }
@media (min-width: 860px) { .roles { grid-template-columns: repeat(3, 1fr); } .modgrid { grid-template-columns: repeat(3, 1fr); } }
.modgrid a, .qlist a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s ease-out, transform .15s ease-out; }
.modgrid a:hover, .qlist a:hover { border-color: var(--primary); transform: translateY(-1px); }
.modgrid b { display: block; color: var(--primary); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.qlist strong { display: block; }
.qlist span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.card.law { border-left: 4px solid #b8932f; }
.card.employer { background: var(--ok-bg); border-color: var(--primary); }
.card h2 { margin-top: 4px; }
.band { margin: 32px 0 8px; padding: 28px 20px; border-radius: 16px; background: linear-gradient(135deg, #0b7a4f, #0a5f3e); color: #fff; text-align: center; }
.band h2 { margin-top: 0; color: #fff; }
.band .btn { background: #fff; color: var(--primary); }
.band .btn:hover { background: var(--ok-bg); }
.cta-card { background: var(--ok-bg); border-color: var(--primary); }
.done-card { margin-top: 28px; }
body { overflow-x: clip; }
.hero { position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; width: 100vw; transform: translateX(-50%); top: -20px; bottom: -8px; background: radial-gradient(120% 90% at 85% 10%, #dff3e8 0%, rgba(223,243,232,0) 60%), linear-gradient(180deg, #f1faf5 0%, rgba(241,250,245,0) 100%); }
.hero .kicker { margin-top: 4px; }
.roles a { display: block; color: inherit; text-decoration: none; height: 100%; }
.roles li { transition: border-color .15s ease-out; } .roles li:hover { border-color: var(--primary); }
.listen { background: linear-gradient(135deg, #f1faf5, #fff); }
.listen-h { font-size: 18px; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.listen audio { width: 100%; }
.listen-row { display: flex; gap: 12px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.listen-row .btn { min-height: 44px; padding: 8px 14px; }

/* Practice test (/test-manipulador-alimentos/) */
.pq { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px 14px; margin: 14px 0; background: var(--card); min-width: 0; }
.pq legend { float: left; width: 100%; font-weight: 600; padding: 2px 0 6px; line-height: 1.4; }
.pq legend + * { clear: left; }
.pq label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 8px; border-radius: 8px; cursor: pointer; min-height: 44px; transition: background-color .15s ease-out; }
.pq label:hover { background: var(--chip); }
.pq input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.pq label.right { background: var(--ok-bg); box-shadow: inset 0 0 0 1px var(--primary); }
.pq label.wrong { background: #fdecec; box-shadow: inset 0 0 0 1px var(--err); }
.pq details { margin: 8px 0 0; }
.pq details summary { font-weight: 600; }
.pq-score { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 10px; align-items: baseline; justify-content: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 18px; margin: 16px auto; width: fit-content; max-width: 100%; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.pq-score span { color: #cfd6e4; font-size: 14px; }
.pq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.pq-nav a { text-decoration: none; }
.pq-score[hidden] { display: none; }

/* Free tools (/herramientas/) */
input[type=date], input[type=time], input[type=number], input[type=search], select { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; border: 1.5px solid var(--line); border-radius: var(--rb); background: #fff; color: var(--ink); min-height: 48px; }
.tool-row { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .tool-row { grid-template-columns: 1fr; } }
.tool-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 8px; }
.tool-quick button { border: 1px solid var(--line); background: var(--chip); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }
.tool-quick button:hover { border-color: var(--primary); }
.tool-note { font-size: 14px; color: var(--muted); }
.alg-add { display: flex; gap: 8px; align-items: flex-end; }
.alg-add label { flex: 1; min-width: 0; margin: 0; }
.alg-add .btn { min-height: 50px; }
.alg-dish { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 12px 14px; margin: 12px 0; }
.alg-dish-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.alg-dish-h strong { overflow-wrap: anywhere; }
.alg-dish-t { display: flex; gap: 14px; flex: none; }
.alg-chips, .et-alg { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.alg-chip, .et-alg label { display: inline-flex; align-items: center; gap: 6px; margin: 0; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; min-height: 40px; cursor: pointer; font-size: 15px; font-weight: 400; user-select: none; background: #fff; transition: background-color .15s ease-out, border-color .15s ease-out; }
.alg-chip:has(input:checked), .et-alg label:has(input:checked) { background: var(--ok-bg); border-color: var(--primary); }
.alg-chip input, .et-alg input { accent-color: var(--primary); width: 16px; height: 16px; margin: 0; }
.alg-sum { margin: 6px 0 0; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.tool-actions .linkish { font-size: 15px; }
.tool-file { font-weight: 400; font-size: 15px; margin: 0; }
.tool-file input { display: none; }
.tool-file span { color: var(--primary); text-decoration: underline; cursor: pointer; }
.tool-preview { margin: 20px 0; }
.alg-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 12px; }
#alg-print h2 { margin: 0 0 4px; font-size: 20px; }
#alg-print .alg-ph p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.alg-table { border-collapse: collapse; font-size: 13px; min-width: 640px; width: 100%; }
.alg-table th, .alg-table td { border: 1px solid #b9c0bc; padding: 5px 4px; text-align: center; }
.alg-th-dish, .alg-td-dish { text-align: left !important; min-width: 150px; }
.alg-th-dish { vertical-align: bottom; }
.alg-th-v { height: 112px; vertical-align: bottom; font-weight: 600; }
.alg-th-v span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.alg-yes { font-weight: 800; background: #fff4db; }
.alg-plist { list-style: none; padding: 0; margin: 0; columns: 2 260px; }
.alg-plist li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.alg-plist strong { display: block; }
.alg-pf { font-weight: 600; margin: 12px 0 2px; }
.alg-credit { font-size: 11px; color: var(--muted); margin: 0; }
.et-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.et-pw { display: inline-flex; align-items: center; }
.et-preset { border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: 14px; min-height: 40px; color: var(--ink); }
.et-x { border: 0; background: none; font-size: 20px; line-height: 1; padding: 8px 6px; cursor: pointer; color: var(--muted); }
.et-prev { padding: 12px; background: var(--chip); border-radius: var(--r); overflow: hidden; }
.lbl { border: 1px dashed #aaa; padding: 2.4mm 3mm; overflow: hidden; display: flex; flex-direction: column; gap: .5mm; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #000; background: #fff; box-sizing: border-box; }
.lbl-p { font-weight: 800; font-size: calc(11pt * var(--k, 1)); line-height: 1.15; overflow-wrap: anywhere; }
.lbl-r { font-size: calc(7.6pt * var(--k, 1)); line-height: 1.2; }
.lbl-r span { color: #333; }
.lbl-cad { font-size: calc(9pt * var(--k, 1)); }
.lbl-a { font-size: calc(7pt * var(--k, 1)); }
.lbl.nofoot .lbl-f { display: none; }
.lbl-f { margin-top: auto; font-size: 5.5pt; color: #777; }
.f24 .lbl { width: 70mm; height: 37mm; }
.f8 .lbl { width: 105mm; height: 74mm; padding: 5mm 6mm; gap: 1.2mm; }
.f8 .lbl-p { font-size: calc(17pt * var(--k, 1)); } .f8 .lbl-r { font-size: calc(11pt * var(--k, 1)); } .f8 .lbl-cad { font-size: calc(13pt * var(--k, 1)); } .f8 .lbl-a { font-size: calc(10pt * var(--k, 1)); } .f8 .lbl-f { font-size: 7pt; }
.et-prev .lbl { max-width: 100%; }
.et-sheet { display: none; }
.tmp-search { margin: 12px 0 4px; }
.tmp-group h2 { margin-top: 26px; }
.tmp-row { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin: 8px 0; }
.tmp-v { font-weight: 800; color: var(--primary-h); font-size: 18px; }
.tmp-n { font-size: 14px; color: var(--muted); }
.tools-list .qlist strong { font-size: 18px; }
@media print {
  .top, .foot, .sticky-cta, .no-print { display: none !important; }
  body { background: #fff; }
  main .wrap { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .alg-scroll { border: 0; padding: 0; overflow: visible; }
  .alg-table { min-width: 0; font-size: 10pt; }
  .tool-preview { margin: 0; }
  .et-sheet { display: grid; }
  .et-sheet.f24 { grid-template-columns: repeat(3, 70mm); grid-auto-rows: 37mm; }
  .et-sheet.f8 { grid-template-columns: repeat(2, 105mm); grid-auto-rows: 74mm; }
  .et-sheet .lbl { break-inside: avoid; }
}
