:root {
  --bg: #f3f3ef;
  --surface: #fcfcfb;
  --surface-2: #f0efe9;
  --ink: #1b1b19;
  --ink-2: #4a4a45;
  --muted: #74746c;
  --line: #deddd5;
  --brand: #1f6f50;
  --brand-ink: #ffffff;
  --brand-soft: #e2efe8;
  --good: #0ca30c;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;
  --neutral: #a3a39a;
  --good-soft: #e3f3e1;
  --warning-soft: #fdf1d3;
  --serious-soft: #fbe6dc;
  --critical-soft: #f8e0df;
  --neutral-soft: #ecebe5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 8px rgba(0, 0, 0, .04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121211;
    --surface: #1c1c1a;
    --surface-2: #262623;
    --ink: #eeeee8;
    --ink-2: #c4c4bb;
    --muted: #97978e;
    --line: #34342f;
    --brand: #3fa37a;
    --brand-ink: #0c1f17;
    --brand-soft: #1b3228;
    --good-soft: #193018;
    --warning-soft: #372b10;
    --serious-soft: #3a2419;
    --critical-soft: #3a1b1b;
    --neutral-soft: #2a2a27;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121211; --surface: #1c1c1a; --surface-2: #262623; --ink: #eeeee8; --ink-2: #c4c4bb; --muted: #97978e;
  --line: #34342f; --brand: #3fa37a; --brand-ink: #0c1f17; --brand-soft: #1b3228; --good-soft: #193018;
  --warning-soft: #372b10; --serious-soft: #3a2419; --critical-soft: #3a1b1b; --neutral-soft: #2a2a27; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 Sarabun, "Leelawadee UI", "Noto Sans Thai", Thonburi, Tahoma, sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}
h1, h2, h3 { line-height: 1.3; margin: 0; }
h2 { font-size: 1.1rem; }
h3 { font-size: 1rem; margin-bottom: .5rem; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
fieldset.lock { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* ---------- โครง ---------- */
.wrap { max-width: 860px; margin: 0 auto; padding: 16px 16px 96px; display: flex; flex-direction: column; gap: 14px; }
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--brand); color: var(--brand-ink);
}
.top h1 { font-size: 1.08rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top.home { padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: 18px; }
.top.home > div { flex: 1; min-width: 0; }
.top.home h1 { font-size: 1.2rem; white-space: normal; }
.top .sub { margin: 2px 0 0; opacity: .85; font-size: .9rem; }
.top .back { color: inherit; text-decoration: none; font-size: 2rem; line-height: 1; padding: 0 8px 4px 0; }
.top .saved { font-size: .78rem; opacity: .85; white-space: nowrap; }
.top .btn { border-color: transparent; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .15); color: inherit; text-decoration: none; font-size: 1.2rem; cursor: pointer;
}
dialog .icon-btn { background: var(--surface-2); }

.tabs {
  position: sticky; top: var(--top-h, 52px); z-index: 19; display: flex; overflow-x: auto; gap: 2px;
  background: var(--surface); border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.tabs a {
  flex: 1 0 auto; text-align: center; padding: 10px 12px; text-decoration: none; color: var(--muted);
  border-bottom: 3px solid transparent; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.tabs a small {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface-2); margin-right: 6px; font-size: .75rem;
}
.tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
@media (max-width: 520px) {
  .tabs a { padding: 10px 6px; font-size: .86rem; }
  .tabs a small { display: none; }
}
.tabs a.on small { background: var(--brand); color: var(--brand-ink); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-head a { font-weight: 600; text-decoration: none; }
.card-sub { margin-top: 6px; }
.sec { margin-top: 6px; }
.intro { margin: 0; color: var(--ink-2); }
.banner { padding: 10px 14px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- ปุ่มและฟอร์ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 600; cursor: pointer; text-align: center;
}
.btn.small { min-height: 34px; padding: 4px 12px; font-size: .88rem; }
.btn.big { min-height: 54px; font-size: 1.05rem; width: 100%; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.top .btn.primary { background: var(--brand-ink); color: var(--brand); }
.btn.danger { color: var(--critical); border-color: color-mix(in srgb, var(--critical) 45%, var(--line)); background: transparent; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
.actions-row > * { flex: 1 1 240px; }
.link { background: none; border: 0; color: var(--brand); padding: 4px 0; cursor: pointer; font-weight: 600; text-align: left; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 12px; }
.f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f > span { font-size: .86rem; color: var(--ink-2); font-weight: 600; }
input, select, textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); font-size: 16px;
}
textarea { resize: vertical; min-height: 60px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { background: var(--surface-2); }
.add-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
@media (max-width: 520px) { .add-row { grid-template-columns: 1fr 1fr; } .add-row input { grid-column: 1 / -1; } }

/* ---------- สถานะ ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 4px; border-radius: 999px;
  font-size: .84rem; font-weight: 600; white-space: nowrap; color: var(--ink); background: var(--neutral-soft);
}
.pill b {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-size: .72rem; color: #fff; background: var(--neutral);
}
.pill.tone-good { background: var(--good-soft); } .pill.tone-good b { background: var(--good); }
.pill.tone-warning { background: var(--warning-soft); } .pill.tone-warning b { background: var(--warning); color: #3a2a00; }
.pill.tone-serious { background: var(--serious-soft); } .pill.tone-serious b { background: var(--serious); color: #3a1606; }
.pill.tone-critical { background: var(--critical-soft); } .pill.tone-critical b { background: var(--critical); }
.banner.tone-good { background: var(--good-soft); }

.sev {
  display: inline-block; flex: none; padding: 1px 8px; border-radius: 6px; font-size: .74rem; font-weight: 700;
  border: 1px solid; white-space: nowrap; line-height: 1.5;
}
.sev-critical { color: var(--critical); border-color: currentColor; background: var(--critical-soft); }
.sev-major { color: color-mix(in srgb, var(--warning) 45%, var(--ink)); border-color: var(--warning); background: var(--warning-soft); }
.sev-minor { color: var(--muted); border-color: var(--line); background: var(--surface-2); }
.tag { font-size: .74rem; padding: 1px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }

.meter { flex: 1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; min-width: 60px; }
.meter i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* ---------- หน้าแรก ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.ho-card, .asset-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
}
.ho-top { display: flex; gap: 10px; align-items: center; }
.ho-top b { font-size: 1.02rem; }
.ho-who { font-weight: 600; }
.ho-foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.asset-card { flex-direction: row; align-items: center; gap: 12px; }
.asset-ic { font-size: 1.9rem; width: 44px; text-align: center; flex: none; }
.asset-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.asset-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { color: var(--muted); font-size: 1.5rem; }
.empty { text-align: center; padding: 18px 8px; }
.empty .big-emoji { font-size: 3rem; margin: 0; }
.steps { text-align: left; max-width: 520px; margin: 12px auto 0; padding-left: 1.3rem; color: var(--ink-2); display: grid; gap: 6px; }
.empty-line { text-align: center; color: var(--muted); padding: 24px 0; margin: 0; }

/* ---------- รายการตรวจ ---------- */
.progress {
  position: sticky; top: var(--top-h, 52px); z-index: 18; background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 8px 16px;
}
.tabs + .wrap .progress { top: calc(var(--top-h, 52px) + var(--tabs-h, 45px)); margin: -16px -16px 0; }
.prog-in { max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.group { gap: 0; padding: 6px 16px; }
.group h2 { padding: 10px 0 6px; font-size: 1rem; color: var(--brand); }
.item { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; scroll-margin: 120px; }
.item-q { display: flex; gap: 10px; align-items: flex-start; }
.item-q .sev { margin-top: 3px; }
.item-t { font-weight: 600; }
.hint { font-size: .84rem; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.seg button {
  min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 600; cursor: pointer; color: var(--ink-2);
}
.seg .s-pass[aria-pressed="true"] { background: var(--good); border-color: var(--good); color: #fff; }
.seg .s-fail[aria-pressed="true"] { background: var(--critical); border-color: var(--critical); color: #fff; }
.seg .s-na[aria-pressed="true"] { background: var(--neutral); border-color: var(--neutral); color: #fff; }
.item.res-fail { background: linear-gradient(90deg, var(--critical-soft), transparent 70%); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.item.accepted { background: linear-gradient(90deg, var(--neutral-soft), transparent 70%); }
.item-more { display: flex; flex-direction: column; gap: 8px; }
.fail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.item.flash { animation: flash 1.2s; }
@keyframes flash { 0%, 60% { box-shadow: inset 4px 0 0 var(--brand); background: var(--brand-soft); } }

.thumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.add-photo {
  height: 44px; padding: 0 12px; border-radius: 10px; border: 1px dashed var(--muted); background: transparent;
  cursor: pointer; font-weight: 600; color: var(--ink-2);
}
fieldset:disabled .add-photo { display: none; }

.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30;
  border: 0; border-radius: 999px; padding: 12px 18px; background: var(--brand); color: var(--brand-ink);
  font-weight: 700; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer;
}

/* ---------- ลายเซ็น ---------- */
.sig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.sig { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sig canvas { width: 100%; height: 150px; background: #fff; border: 1px dashed #b9b9b0; border-radius: 10px; touch-action: none; cursor: crosshair; }
.sig-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .9rem; }

/* ---------- สรุป ---------- */
.verdict { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--neutral-soft); border-left: 6px solid var(--neutral); }
.verdict-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--neutral); flex: none; }
.verdict-l { font-size: 1.25rem; font-weight: 700; }
.verdict-a { color: var(--ink-2); }
.verdict.tone-good { background: var(--good-soft); border-color: var(--good); } .verdict.tone-good .verdict-ic { background: var(--good); }
.verdict.tone-warning { background: var(--warning-soft); border-color: var(--warning); } .verdict.tone-warning .verdict-ic { background: var(--warning); color: #3a2a00; }
.verdict.tone-serious { background: var(--serious-soft); border-color: var(--serious); } .verdict.tone-serious .verdict-ic { background: var(--serious); color: #3a1606; }
.verdict.tone-critical { background: var(--critical-soft); border-color: var(--critical); } .verdict.tone-critical .verdict-ic { background: var(--critical); }
.headline { font-size: 1.02rem; font-weight: 600; margin: 4px 0; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.kpi-l { font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.kpi-v { font-size: 1.7rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi-s { font-size: .8rem; color: var(--muted); }
.kpi.tone-critical { border-left: 4px solid var(--critical); }
.kpi.tone-warning { border-left: 4px solid var(--warning); }

.sbar { display: flex; gap: 2px; height: 26px; }
.seg-bar { display: grid; place-items: center; min-width: 6px; color: #fff; font-weight: 700; font-size: .82rem; background: var(--neutral); }
.seg-bar:first-child { border-radius: 4px 0 0 4px; } .seg-bar:last-child { border-radius: 0 4px 4px 0; } .seg-bar:only-child { border-radius: 4px; }
.seg-bar.tone-good { background: var(--good); } .seg-bar.tone-warning { background: var(--warning); color: #3a2a00; }
.seg-bar.tone-critical { background: var(--critical); } .seg-bar.tone-muted { background: var(--neutral); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: .86rem; color: var(--ink-2); }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; background: var(--neutral); }
.dot.tone-good { background: var(--good); } .dot.tone-warning { background: var(--warning); } .dot.tone-critical { background: var(--critical); }

.rec { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rec li { display: flex; gap: 10px; align-items: flex-start; }
.rec li i { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: .5em; background: var(--neutral); }
.rec li.tone-critical i { background: var(--critical); } .rec li.tone-warning i { background: var(--warning); }
.rec li.tone-serious i { background: var(--serious); } .rec li.tone-good i { background: var(--good); }
.rec li.tone-critical { font-weight: 600; }

.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { font-size: .8rem; color: var(--ink-2); background: var(--surface-2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl.info th { width: 34%; color: var(--ink-2); font-weight: 600; }
.tbl.chk tr.grp td { background: var(--surface-2); font-weight: 700; color: var(--brand); }
.tbl.chk td.res { white-space: nowrap; }
.tbl.chk tr.r-fail td.res { color: var(--critical); }
.tbl.chk tr.r-pass td.res b { color: var(--good); }
.tbl.chk tr.r-none td.res { color: var(--muted); }
.card .tbl, .doc .tbl { display: table; }
@media (max-width: 640px) {
  .card-sub, .doc { overflow-x: auto; }
  .tbl.act thead { display: none; }
  .tbl.act tr { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .tbl.act td { border: 0; padding: 0; }
  .tbl.act td:nth-child(n+3) { grid-column: 2; }
  .tbl.act td.num { text-align: left; }
  .tbl.act td.num::before { content: 'ประมาณ '; color: var(--muted); }
  .tbl.act td:nth-child(4)::before { content: 'ดำเนินการ: '; color: var(--muted); }
  .tbl.act td:nth-child(6)::before { content: 'กำหนด: '; color: var(--muted); }
}

/* ---------- เอกสาร (รายงาน) ---------- */
.doc { max-width: 900px; margin: 16px auto 80px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.doc h2 { margin-top: 14px; font-size: 1.08rem; padding-bottom: 4px; border-bottom: 2px solid var(--brand); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 10px; border-bottom: 3px solid var(--brand); flex-wrap: wrap; }
.doc-head h1 { font-size: 1.3rem; }
.doc-head .org { color: var(--ink-2); font-weight: 600; }
.doc-meta { text-align: right; font-size: .9rem; }
.who { margin: 0; font-weight: 600; font-size: 1.05rem; }
.specs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: .9rem; }
.specs b { color: var(--ink-2); font-weight: 600; margin-right: 4px; }
.ev { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ev figure { margin: 0; }
.ev img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; background: var(--surface-2); }
.ev figcaption { font-size: .78rem; color: var(--ink-2); margin-top: 2px; }
.small-ev { grid-template-columns: repeat(auto-fill, 84px); margin-top: 4px; }
.decide { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.boxes { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 6px 0; }
.dots { color: var(--muted); margin: 8px 0; overflow: hidden; white-space: nowrap; }
.signs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 8px; }
.signs.one { grid-template-columns: minmax(220px, 300px); justify-content: end; }
.sign-box { text-align: center; }
.sign-img { height: 64px; display: flex; align-items: flex-end; justify-content: center; }
.sign-img img { max-height: 64px; max-width: 100%; background: #fff; border-radius: 4px; }
.sign-line { border-top: 1px dotted var(--muted); padding-top: 4px; }
.foot { margin-top: 10px; text-align: right; }
@media (max-width: 940px) { .doc { margin: 16px 16px 80px; padding: 18px 16px; } }
.asset-sec { display: flex; flex-direction: column; gap: 8px; }

/* ---------- dialog / toast ---------- */
dialog { border: 0; border-radius: 18px; padding: 16px; width: min(560px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, .5); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.types button {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600;
}
.types button span { font-size: 2rem; }
.types button:hover { border-color: var(--brand); background: var(--brand-soft); }
.lightbox { width: min(960px, calc(100vw - 16px)); padding: 8px; background: #111; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.lb-bar { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; }
#toast {
  position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px);
  background: #222; color: #fff; padding: 10px 18px; border-radius: 12px; opacity: 0; pointer-events: none;
  transition: .2s; z-index: 50; max-width: calc(100vw - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- พิมพ์ ---------- */
@page { size: A4; margin: 12mm 11mm; }
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #f1f1ed; --ink: #000; --ink-2: #333; --muted: #666; --line: #cfcfc7; color-scheme: light; }
  body { background: #fff; font-size: 10.5pt; }
  .no-print, #toast, .fab { display: none !important; }
  .doc { margin: 0; padding: 0; border: 0; max-width: none; border-radius: 0; gap: 8px; }
  .doc h2 { break-after: avoid; }
  .tbl { font-size: 9pt; }
  .tbl tr, .ev figure, .kpi, .verdict, .decide, .sign-box { break-inside: avoid; }
  .asset-sec { break-before: auto; }
  .kpi-v { font-size: 1.35rem; }
  .card-sub, .doc { overflow: visible; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .exec .tbl { font-size: 8.5pt; }
  .exec .ev { grid-template-columns: repeat(4, 1fr); }
}
