/* Herramientas Qbo Studio */
:root {
  --ink: #262626;
  --ink-2: #3a3a3a;
  --white: #ffffff;
  --paper: #f1f2f1;
  --line: #dcdddb;
  --muted: #5c5d5a;
  --muted-dark: #b5b5b2;
  --ok: #1b7347;
  --ok-bg: #e5f1ea;
  --warn: #9a5b00;
  --warn-bg: #f7ecd9;
  --bad: #b3261e;
  --bad-bg: #f8e3e1;
  --focus: #262626;
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 700; }

/* ---------- Botones y campos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.25rem;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: var(--r-sm); border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--white);
  cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--ink-2); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--paper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--paper); }
.btn-sm { min-height: 36px; padding: .4rem .8rem; font-size: .9rem; }
.btn-danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); }
.btn-wa { background: #1b7347; border-color: #1b7347; }
.btn-wa:hover { background: #155c39; }

.field { display: grid; gap: .35rem; }
.field label, .label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .err { font-size: .85rem; color: var(--bad); font-weight: 600; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], textarea, select {
  width: 100%; min-height: 46px; padding: .65rem .8rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm);
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(38,38,38,.12); }
input[aria-invalid=true] { border-color: var(--bad); }
.check-row { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check-row input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--ink); flex: none; }

/* ---------- Estado (píldoras) ---------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-pass { color: var(--ok); background: var(--ok-bg); }
.pill-warn { color: var(--warn); background: var(--warn-bg); }
.pill-fail { color: var(--bad); background: var(--bad-bg); }
.pill-na, .pill-pending { color: var(--muted); background: var(--paper); }

/* =========================================================
   CHECKER PÚBLICO
   ========================================================= */
.site-head { background: var(--ink); color: var(--white); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; }
.brand img { height: 28px; width: auto; }
.site-head a.link { color: var(--muted-dark); font-size: .95rem; text-decoration: none; }
.site-head a.link:hover { color: var(--white); }

.hero { background: var(--ink); color: var(--white); padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem); }
.hero h1 {
  font-size: clamp(2.5rem, 7.4vw, 5.6rem);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  letter-spacing: -0.035em;
  line-height: .98;
  max-width: 13ch;
}
.hero p.lede { margin: 1.4rem 0 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted-dark); max-width: 54ch; }

.scan { margin-top: clamp(2rem, 5vw, 3rem); max-width: 860px; }
.scan-bar {
  display: flex; align-items: stretch;
  background: var(--white); border-radius: var(--r-md);
  padding: .4rem; gap: .4rem;
}
.scan-bar .prefix { display: flex; align-items: center; padding: 0 0 0 .9rem; color: var(--muted); font-size: 1.1rem; user-select: none; }
.scan-bar input {
  flex: 1; min-width: 0; border: 0; min-height: 58px; padding: .5rem .3rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 500; background: transparent;
}
.scan-bar input:focus { box-shadow: none; }
.scan-bar:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.scan-bar .btn { min-height: 58px; padding: 0 1.5rem; font-size: 1.05rem; flex: none; }
.scan-note { margin-top: .9rem; font-size: .9rem; color: var(--muted-dark); }
.scan-error { margin-top: .9rem; padding: .7rem .9rem; border-radius: var(--r-sm); background: var(--bad-bg); color: var(--bad); font-weight: 600; }

@media (max-width: 600px) {
  .scan-bar { flex-wrap: wrap; }
  .scan-bar .prefix { display: none; }
  .scan-bar input { flex-basis: 100%; padding: .5rem .7rem; }
  .scan-bar .btn { flex-basis: 100%; }
}

.areas { padding: clamp(3rem, 7vw, 5rem) 0; }
.areas h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 22ch; }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.2rem; border-top: 2px solid var(--ink); }
.areas-grid > div { padding: 1.2rem 1.4rem 1.2rem 0; }
.areas-grid > div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.areas-grid h3 { font-size: 1.15rem; }
.areas-grid p { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .areas-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .areas-grid { grid-template-columns: 1fr; }
  .areas-grid > div, .areas-grid > div + div { padding: 1.1rem 0; border-left: 0; }
  .areas-grid > div + div { border-top: 1px solid var(--line); }
}

/* Progreso de lectura */
.reading { padding: 2.5rem 0 0; }
.reading-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; color: var(--muted-dark); }
.reading-steps li { display: flex; gap: .7rem; align-items: center; }
.reading-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted-dark); flex: none; }
.reading-steps li.done { color: var(--white); }
.reading-steps li.done::before { background: var(--white); border-color: var(--white); }
.reading-steps li.now::before { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Resultado */
.result { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.result-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: end; }
.score-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(5.5rem, 17vw, 10rem); line-height: .82; letter-spacing: -0.05em; font-variation-settings: "wdth" 80; }
.score-num small { font-size: .28em; letter-spacing: 0; font-weight: 600; color: var(--muted); margin-left: .1em; }
.result-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); max-width: 24ch; }
.result-head .host { margin: .6rem 0 0; color: var(--muted); word-break: break-all; }
@media (max-width: 640px) { .result-head { grid-template-columns: 1fr; gap: 1rem; } }

/* Medidor segmentado: cada tramo mide lo que pesa su área */
.meter { display: flex; gap: 4px; margin-top: 2.4rem; }
.meter-seg { flex: var(--w) 1 0; min-width: 0; }
.meter-track { height: 14px; background: var(--paper); border-radius: 3px; overflow: hidden; }
.meter-fill { height: 100%; width: 0; background: var(--ink); transition: width .9s cubic-bezier(.2,.7,.2,1); }
.meter-fill.lvl-warn { background: var(--warn); }
.meter-fill.lvl-fail { background: var(--bad); }
.meter-fill.lvl-pass { background: var(--ok); }
.meter-label { margin-top: .55rem; font-size: .88rem; line-height: 1.3; }
.meter-label b { display: block; font-size: 1.05rem; font-family: var(--font-display); }
@media (max-width: 640px) {
  .meter { flex-direction: column; gap: 1rem; }
  .meter-seg { flex: none; }
}

.issues { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .issues { grid-template-columns: 1fr; } }
.issues h3 { font-size: 1.35rem; }
.issue-list { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.issue-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.issue-list .more { color: var(--muted); font-size: .92rem; }

.gate { background: var(--paper); border-radius: var(--r-md); padding: clamp(1.3rem, 3vw, 1.8rem); }
.gate h3 { font-size: 1.35rem; }
.gate p { margin: .5rem 0 1.2rem; color: var(--muted); font-size: .95rem; }
.gate form { display: grid; gap: .95rem; }
.gate .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate .legal { font-size: .82rem; color: var(--muted); margin: 0; }

/* Informe completo */
.report-full { margin-top: 3rem; }
.cat-block { padding: 2rem 0; border-top: 2px solid var(--ink); }
.cat-block > header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.cat-block h3 { font-size: 1.5rem; }
.cat-block > header p { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; flex-basis: 100%; }
.cat-score { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.check-item { display: grid; grid-template-columns: 120px 1fr; gap: .4rem 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.check-item:last-child { border-bottom: 0; }
.check-item h4 { margin: 0; font-size: 1.05rem; }
.check-item p { margin: .3rem 0 0; color: var(--ink); font-size: .96rem; max-width: 72ch; }
.check-item .fix { margin-top: .5rem; padding-left: .8rem; border-left: 3px solid var(--ink); color: var(--ink); }
.check-item .fix b { font-weight: 700; }
@media (max-width: 560px) { .check-item { grid-template-columns: 1fr; } }

.cta-band { margin-top: 2.5rem; background: var(--ink); color: var(--white); border-radius: var(--r-md); padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 26ch; }
.cta-band p { margin: .5rem 0 0; color: var(--muted-dark); max-width: 52ch; }
.disclaimer { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); max-width: 80ch; }

.site-foot { border-top: 1px solid var(--line); padding: 1.8rem 0; color: var(--muted); font-size: .9rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* =========================================================
   PANEL PRIVADO
   ========================================================= */
.panel-body { background: var(--paper); min-height: 100vh; }
.panel-head { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 10; }
.panel-head .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 60px; flex-wrap: wrap; }
.panel-head nav { display: flex; gap: .3rem; margin-left: auto; flex-wrap: wrap; }
.panel-head nav a, .panel-head nav button {
  color: var(--muted-dark); text-decoration: none; padding: .45rem .75rem; border-radius: var(--r-sm);
  font: 600 .95rem/1.2 var(--font-body); background: none; border: 0; cursor: pointer;
}
.panel-head nav a:hover, .panel-head nav button:hover, .panel-head nav a[aria-current=page] { color: var(--white); background: var(--ink-2); }
.badge { display: inline-block; min-width: 20px; padding: 0 .4rem; margin-left: .3rem; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .78rem; text-align: center; }
.panel-main { padding: 2rem 0 4rem; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.panel-title h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.card { background: var(--white); border-radius: var(--r-md); padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.card + .card { margin-top: 1.1rem; }
.card h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.card .sub { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th { text-align: left; font-size: .82rem; color: var(--muted); font-weight: 600; padding: .6rem .7rem; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
table.list td { padding: .75rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr.clickable { cursor: pointer; }
table.list tr.clickable:hover td { background: var(--paper); }
table.list .score-cell { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty h2 { color: var(--ink); margin-bottom: .5rem; }

.editor-bar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.editor-bar select { width: auto; min-height: 36px; padding: .3rem .5rem; font-size: .9rem; }
.editor-bar .saved { font-size: .88rem; color: var(--muted); margin-right: auto; }
.editor-score { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; }
.editor-score .big { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; }
.editor-score .cats { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.editor-score .cats b { color: var(--ink); font-size: 1.05rem; }

.row-check { display: grid; grid-template-columns: 150px 1fr; gap: .5rem 1rem; padding: .95rem 0; border-top: 1px solid var(--line); }
.row-check:first-of-type { border-top: 0; }
.row-check h4 { margin: 0; font-size: 1rem; }
.row-check p { margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }
.row-check .fix { color: var(--ink); }
.row-check textarea { min-height: 46px; margin-top: .5rem; font-size: .92rem; }
.row-check select { min-height: 38px; padding: .35rem .5rem; font-size: .9rem; }
@media (max-width: 640px) { .row-check { grid-template-columns: 1fr; } }
.area-title { margin: 1.4rem 0 .2rem; font-size: 1.05rem; font-family: var(--font-display); }
.area-title:first-of-type { margin-top: .4rem; }

.rec-row { display: grid; grid-template-columns: 120px 1fr auto; gap: .6rem; align-items: start; padding: .55rem 0; }
.rec-row textarea { min-height: 46px; }
@media (max-width: 640px) { .rec-row { grid-template-columns: 1fr; } }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.shot { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--white); }
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; background: var(--paper); }
.shot .shot-body { padding: .6rem; display: grid; gap: .5rem; }
.shot input { min-height: 38px; font-size: .9rem; }
.drop { border: 2px dashed var(--line); border-radius: var(--r-md); padding: 1.4rem; text-align: center; color: var(--muted); }
.drop.over { border-color: var(--ink); background: var(--paper); }

.toast { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: .7rem 1.1rem; border-radius: var(--r-sm); font-weight: 600; z-index: 50; max-width: calc(100% - 2rem); }
.toast.bad { background: var(--bad); }

dialog { border: 0; border-radius: var(--r-md); padding: 0; width: min(520px, calc(100% - 2rem)); }
dialog::backdrop { background: rgba(38,38,38,.55); }
dialog form { padding: 1.6rem; display: grid; gap: 1rem; }
dialog h2 { font-size: 1.4rem; }
dialog .dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }

.login-screen { min-height: 100vh; display: grid; place-items: center; background: var(--ink); padding: 1.5rem; }
.login-card { background: var(--white); border-radius: var(--r-md); padding: 2rem; width: min(420px, 100%); display: grid; gap: 1.1rem; }
.login-card img { height: 30px; width: auto; }
.login-card h1 { font-size: 1.7rem; }
.login-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.alert { padding: .7rem .9rem; border-radius: var(--r-sm); background: var(--bad-bg); color: var(--bad); font-weight: 600; font-size: .92rem; }

/* =========================================================
   INFORME (pantalla + impresión)
   ========================================================= */
.report-tools { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--white); }
.report-tools .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.report-tools p { margin: 0; color: var(--muted-dark); font-size: .92rem; }
.doc { max-width: 860px; margin: 2rem auto 4rem; background: var(--white); padding: clamp(1.5rem, 5vw, 3.5rem); }
.doc-cover { border-bottom: 2px solid var(--ink); padding-bottom: 2rem; }
.doc-cover .top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.doc-cover .top img { height: 32px; width: auto; }
.doc-cover .top span { font-size: .9rem; color: var(--muted); }
.doc-cover h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 3rem; font-variation-settings: "wdth" 85; }
.doc-cover .client { margin: .8rem 0 0; font-size: 1.15rem; }
.doc-cover .client a { color: var(--muted); }
.doc-score { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.doc-score .big { font-family: var(--font-display); font-weight: 800; font-size: 5.5rem; line-height: .85; letter-spacing: -0.05em; }
.doc-score .big small { font-size: .3em; color: var(--muted); letter-spacing: 0; }
.doc-bars { display: grid; gap: .65rem; }
.doc-bar { display: grid; grid-template-columns: 170px 1fr 44px; gap: .8rem; align-items: center; font-size: .92rem; }
.doc-bar .track { height: 10px; background: var(--paper); border-radius: 3px; overflow: hidden; }
.doc-bar .fill { height: 100%; background: var(--ink); }
.doc-bar .n { font-weight: 700; text-align: right; }
.doc h2 { font-size: 1.6rem; margin: 2.6rem 0 1rem; }
.doc h3 { font-size: 1.2rem; margin: 1.8rem 0 .4rem; }
.doc .prose { white-space: pre-line; max-width: 70ch; }
.doc .check-item { grid-template-columns: 105px 1fr; }
.doc .note { margin-top: .5rem; font-style: italic; }
.doc-recs { list-style: none; padding: 0; margin: 0; counter-reset: rec; }
.doc-recs li { display: grid; grid-template-columns: 2.2rem 118px 1fr; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); counter-increment: rec; align-items: start; }
.doc-recs li::before { content: counter(rec); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.prio { white-space: nowrap; font-size: .8rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; border: 1.5px solid currentColor; justify-self: start; }
.prio-alta { color: var(--bad); } .prio-media { color: var(--warn); } .prio-baja { color: var(--muted); }
.doc-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.doc-shots figure { margin: 0; break-inside: avoid; }
.doc-shots img { border: 1px solid var(--line); }
.doc-shots figcaption { font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.doc-sign { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.doc-sign b { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.doc-sign span { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .doc-score { grid-template-columns: 1fr; }
  .doc-bar { grid-template-columns: 1fr 44px; }
  .doc-bar .track { grid-column: 1 / -1; grid-row: 2; }
  .doc-shots { grid-template-columns: 1fr; }
  .doc-recs li { grid-template-columns: 2rem 1fr; }
  .doc-recs li .prio { grid-column: 2; }
  .doc-recs li > span:last-child { grid-column: 2; }
}

@media print {
  @page { size: A4; margin: 16mm 14mm; }
  body, .panel-body { background: #fff; font-size: 10.5pt; }
  .report-tools { display: none; }
  .doc { margin: 0; padding: 0; max-width: none; }
  .doc h2 { break-after: avoid; }
  .check-item, .doc-recs li, .row-check { break-inside: avoid; }
  .doc-section-break { break-before: page; }
  a { text-decoration: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

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