:root {
  color-scheme: light;
  --surface-1: #ffffff;
  --surface-2: #f4f3ef;
  --surface-3: #eceae4;
  --page: #f7f6f2;
  --header: #ffffff;
  --text-primary: #14140f;
  --text-secondary: #55534c;
  --text-muted: #8b887f;
  --grid: #e4e2da;
  --axis: #c9c6bb;
  --border: rgba(20, 20, 15, 0.10);
  --border-strong: rgba(20, 20, 15, 0.16);
  --accent: #1d4ed8;
  --accent-soft: rgba(29, 78, 216, 0.08);
  --shadow-1: 0 1px 2px rgba(20,20,15,.05), 0 1px 1px rgba(20,20,15,.03);
  --shadow-2: 0 4px 16px rgba(20,20,15,.09), 0 1px 3px rgba(20,20,15,.05);
  --shadow-3: 0 18px 48px rgba(20,20,15,.18), 0 4px 12px rgba(20,20,15,.10);
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100;
  --series-5: #e87ba4; --series-6: #008300; --series-7: #4a3aa7; --series-8: #e34948;
  --good: #0ca30c; --warning: #fab219; --serious: #ec835a; --critical: #d03b3b;
  --good-text: #006300;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --surface-1: #17181a; --surface-2: #1e2023; --surface-3: #26282c;
    --page: #0c0d0e; --header: #131416;
    --text-primary: #f5f4f0; --text-secondary: #b6b4ac; --text-muted: #85837b;
    --grid: #26282c; --axis: #34363b;
    --border: rgba(255, 255, 255, 0.09); --border-strong: rgba(255, 255, 255, 0.16);
    --accent: #6f9bef; --accent-soft: rgba(111, 155, 239, 0.12);
    --shadow-1: 0 1px 2px rgba(0,0,0,.4);
    --shadow-2: 0 4px 18px rgba(0,0,0,.5);
    --shadow-3: 0 20px 56px rgba(0,0,0,.66);
    --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
    --series-5: #d55181; --series-7: #9085e9; --series-8: #e66767;
    --good-text: #0ca30c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-1: #17181a; --surface-2: #1e2023; --surface-3: #26282c;
  --page: #0c0d0e; --header: #131416;
  --text-primary: #f5f4f0; --text-secondary: #b6b4ac; --text-muted: #85837b;
  --grid: #26282c; --axis: #34363b;
  --border: rgba(255, 255, 255, 0.09); --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #6f9bef; --accent-soft: rgba(111, 155, 239, 0.12);
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 4px 18px rgba(0,0,0,.5);
  --shadow-3: 0 20px 56px rgba(0,0,0,.66);
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
  --series-5: #d55181; --series-7: #9085e9; --series-8: #e66767;
  --good-text: #0ca30c;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page); color: var(--text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13.5px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */
header.top {
  position: sticky; top: 0; z-index: 40; background: var(--header);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-1);
}
.brandrow { display: flex; align-items: center; gap: 16px; padding: 13px 26px 0; flex-wrap: wrap; }
.mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(145deg, var(--accent), #0f2d7a);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
  letter-spacing: -0.02em; box-shadow: var(--shadow-1);
}
.brandrow h1 { font-size: 16px; margin: 0; font-weight: 640; letter-spacing: -0.015em; }
.brandrow .sub { color: var(--text-secondary); font-size: 12px; margin-top: -1px; }
.brandrow .spacer { flex: 1; }
.stamp { color: var(--text-muted); font-size: 11.5px; font-variant-numeric: tabular-nums;
         text-align: right; line-height: 1.4; }
.iconbtn {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-secondary);
  border-radius: 7px; padding: 5px 11px; cursor: pointer; font-size: 12px;
  font-family: inherit; transition: .12s;
}
.iconbtn:hover { color: var(--text-primary); border-color: var(--border-strong); }

nav.tabs { display: flex; gap: 1px; margin: 11px 0 0; padding: 0 26px; overflow-x: auto;
           scrollbar-width: thin; }
nav.tabs button {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--text-secondary); padding: 9px 14px 10px; cursor: pointer;
  font-size: 12.5px; white-space: nowrap; font-family: inherit; transition: .12s;
  letter-spacing: -0.005em;
}
nav.tabs button:hover { color: var(--text-primary); background: var(--accent-soft); }
nav.tabs button.on { color: var(--text-primary); border-bottom-color: var(--accent); font-weight: 600; }

/* ---------- filter rail ---------- */
.rail {
  display: flex; align-items: center; gap: 8px; padding: 9px 26px;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  flex-wrap: wrap; font-size: 12px;
}
.rail .grp { display: flex; align-items: center; gap: 6px; }
.rail label { color: var(--text-muted); font-size: 10.5px; text-transform: uppercase;
              letter-spacing: .07em; font-weight: 600; }
.rail select {
  background: var(--surface-1); color: var(--text-primary); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 8px; font-size: 12px; font-family: inherit; cursor: pointer;
  max-width: 190px;
}
.rail select:hover { border-color: var(--border-strong); }
.rail .sep { width: 1px; height: 20px; background: var(--border); margin: 0 3px; }
.rail .active-note { color: var(--accent); font-weight: 600; font-size: 11.5px; }

main { padding: 22px 26px 72px; max-width: 1620px; margin: 0 auto; }
section.tab { display: none; }
section.tab.on { display: block; animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

h2.section {
  font-size: 10.5px; font-weight: 700; margin: 30px 0 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 11px;
}
h2.section::after { content: ""; flex: 1; height: 1px; background: var(--border); }
h2.section:first-child { margin-top: 0; }
p.note { color: var(--text-secondary); font-size: 12.5px; margin: 0 0 13px; max-width: 84ch; }

.grid { display: grid; gap: 13px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g23 { grid-template-columns: 2fr 1fr; }
@media (max-width: 1240px) { .g5, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
                             .g3, .g23 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr !important; } }

.card {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 11px; padding: 15px 17px; box-shadow: var(--shadow-1);
}
.card h3 { margin: 0 0 2px; font-size: 12.5px; font-weight: 640; letter-spacing: -0.005em; }
.card .cap { color: var(--text-muted); font-size: 11.5px; margin-bottom: 11px; }

/* ---------- KPI tiles ---------- */
.tile { position: relative; }
.tile.click { cursor: pointer; transition: .14s; }
.tile.click:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2);
                    transform: translateY(-1px); }
.tile.click::after {
  content: "Drill"; position: absolute; top: 12px; right: 13px; font-size: 9.5px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted);
  opacity: 0; transition: .14s; font-weight: 700;
}
.tile.click:hover::after { opacity: 1; }
.tile .label { color: var(--text-secondary); font-size: 11.5px; letter-spacing: .01em; }
.tile .value { font-size: 26px; font-weight: 650; letter-spacing: -0.028em; margin-top: 4px;
               line-height: 1.15; }
.tile .hero { font-size: 46px; letter-spacing: -0.035em; }
.tile .delta { font-size: 11.5px; margin-top: 5px; color: var(--text-muted); }
.tile .delta .up { color: var(--good-text); font-weight: 600; }
.tile .delta .down { color: var(--critical); font-weight: 600; }
.tile .spark { margin-top: 9px; }

/* ---------- tables ---------- */
table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.scroll { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border);
          background: var(--surface-1); box-shadow: var(--shadow-1); }
.scroll table { min-width: max-content; }
th { text-align: left; font-weight: 650; color: var(--text-muted);
     border-bottom: 1px solid var(--axis); padding: 9px 11px; white-space: nowrap;
     font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em;
     position: sticky; top: 0; background: var(--surface-1); z-index: 2; }
td { padding: 7px 11px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--surface-2); }
td.sn { color: var(--text-muted); width: 38px; font-variant-numeric: tabular-nums;
        font-size: 11px; }
tr.total td { font-weight: 660; border-top: 1.5px solid var(--axis); background: var(--surface-2); }
tr.sub td { font-weight: 640; background: var(--surface-2); }
tr.rule td { border-top: 1px solid var(--axis); }
td.pos { color: var(--good-text); }
td.neg { color: var(--critical); }

.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px;
        padding: 2px 9px; font-size: 10.5px; border: 1px solid var(--border);
        font-weight: 620; letter-spacing: .03em; background: var(--surface-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.sev-CRITICAL .dot, .st-FAIL .dot { background: var(--critical); }
.sev-HIGH .dot { background: var(--serious); }
.sev-MEDIUM .dot { background: var(--warning); }
.sev-LOW .dot, .st-PASS .dot { background: var(--good); }
.st-DRIFT .dot { background: var(--series-7); }

.legend { display: flex; flex-wrap: wrap; gap: 13px; margin: 9px 0 3px; font-size: 11.5px;
          color: var(--text-secondary); }
.legend span.k { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }

svg.chart { display: block; width: 100%; overflow: visible; }
svg.chart text { fill: var(--text-muted); font-size: 10.5px; font-family: inherit;
                 font-variant-numeric: tabular-nums; }
svg.chart text.lbl { fill: var(--text-secondary); }
svg.chart .gridline { stroke: var(--grid); stroke-width: 1; }
svg.chart .axis { stroke: var(--axis); stroke-width: 1; }

.tooltip {
  position: fixed; pointer-events: none; z-index: 200; background: var(--surface-1);
  border: 1px solid var(--border-strong); border-radius: 9px; padding: 9px 12px; font-size: 12px;
  box-shadow: var(--shadow-3); opacity: 0; transition: opacity .1s;
  font-variant-numeric: tabular-nums; max-width: 300px;
}
.tooltip.on { opacity: 1; }
.tooltip .tt-t { font-weight: 640; margin-bottom: 4px; }
.tooltip .tt-r { display: flex; gap: 14px; justify-content: space-between; }

/* ---------- insights ---------- */
.insight {
  border-left: 3px solid var(--axis); padding: 14px 17px; background: var(--surface-1);
  border-radius: 0 11px 11px 0; border-top: 1px solid var(--border);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 11px; box-shadow: var(--shadow-1);
}
.insight.sev-CRITICAL { border-left-color: var(--critical); }
.insight.sev-HIGH { border-left-color: var(--serious); }
.insight.sev-MEDIUM { border-left-color: var(--warning); }
.insight.sev-LOW { border-left-color: var(--good); }
.insight .hd { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.insight .ttl { font-weight: 640; font-size: 14px; letter-spacing: -0.01em; }
.insight .imp { margin-left: auto; font-weight: 660; font-variant-numeric: tabular-nums;
                font-size: 15px; letter-spacing: -0.02em; }
.insight .body { color: var(--text-secondary); margin-top: 8px; max-width: 100ch; }
.insight .rec { margin-top: 9px; padding: 9px 12px; background: var(--surface-2);
                border-radius: 8px; font-size: 12.5px; border: 1px solid var(--border); }
.insight .foot { margin-top: 9px; font-size: 11px; color: var(--text-muted);
                 display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- modal ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(10,10,8,.45); backdrop-filter: blur(3px);
  z-index: 150; display: none; opacity: 0; transition: opacity .16s;
}
.scrim.on { display: block; opacity: 1; }
.modal {
  position: fixed; z-index: 160; inset: 4vh 5vw; background: var(--page);
  border-radius: 14px; box-shadow: var(--shadow-3); border: 1px solid var(--border-strong);
  display: none; flex-direction: column; overflow: hidden;
}
.modal.on { display: flex; }
.modal .mhead {
  padding: 16px 22px; border-bottom: 1px solid var(--border); background: var(--surface-1);
  display: flex; align-items: flex-start; gap: 16px;
}
.modal .mhead h3 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.modal .mhead .msub { color: var(--text-muted); font-size: 11.5px; margin-top: 2px; }
.modal .mbody { padding: 20px 22px 30px; overflow-y: auto; }
.mclose { margin-left: auto; }

/* ---------- ask ---------- */
.askbar { display: flex; gap: 9px; margin-bottom: 13px; }
.askbar input {
  flex: 1; padding: 11px 15px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--surface-1); color: var(--text-primary); font-size: 14px;
  font-family: inherit; box-shadow: var(--shadow-1);
}
.askbar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.askbar button {
  padding: 11px 22px; border-radius: 9px; border: none; background: var(--accent);
  color: #fff; cursor: pointer; font-size: 13.5px; font-family: inherit; font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chips button {
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text-secondary);
  border-radius: 999px; padding: 5px 12px; font-size: 11.5px; cursor: pointer;
  font-family: inherit; transition: .12s;
}
.chips button:hover { color: var(--text-primary); border-color: var(--accent); }

pre.sql {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px;
  padding: 12px 14px; overflow-x: auto; font-size: 11.5px; margin: 0;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; line-height: 1.6;
  color: var(--text-secondary); white-space: pre;
}
details.model { border-bottom: 1px solid var(--grid); padding: 8px 0; }
details.model summary { cursor: pointer; font-size: 12.5px; }
details.model[open] summary { font-weight: 640; margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 18px; font-size: 12.5px; }
.kv .k { color: var(--text-muted); }
.flowrow { display: flex; align-items: stretch; gap: 11px; flex-wrap: wrap; }
.flowbox { flex: 1; min-width: 200px; background: var(--surface-1); border: 1px solid var(--border);
           border-radius: 11px; padding: 13px 15px; box-shadow: var(--shadow-1); }
.flowbox .t { font-weight: 640; font-size: 12.5px; }
.flowbox .d { color: var(--text-secondary); font-size: 11.5px; margin-top: 5px; }
.flowbox .n { color: var(--text-muted); font-size: 11px; margin-top: 7px;
              font-variant-numeric: tabular-nums; }
.arrow { align-self: center; color: var(--text-muted); font-size: 17px; }
.loading { color: var(--text-muted); padding: 54px 0; text-align: center; font-size: 12.5px; }

/* ---------- board pack ---------- */
.pack { background: var(--surface-1); border: 1px solid var(--border); border-radius: 13px;
        box-shadow: var(--shadow-2); overflow: hidden; }
.pack .cover {
  padding: 40px 44px 34px;
  background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
  border-bottom: 1px solid var(--border);
}
.pack .cover .eyebrow { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
                        color: var(--text-muted); font-weight: 700; }
.pack .cover h2 { font-size: 30px; margin: 10px 0 4px; font-weight: 650; letter-spacing: -0.03em; }
.pack .cover .meta { color: var(--text-secondary); font-size: 12.5px; }
.pack .page { padding: 26px 44px; border-bottom: 1px solid var(--border); }
.pack .page:last-child { border-bottom: none; }
.pack .page h4 { font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase;
                 color: var(--text-muted); margin: 0 0 12px; font-weight: 700; }
.pack .lede { font-size: 14.5px; line-height: 1.68; max-width: 92ch; color: var(--text-primary); }
.scorecard { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px;
             background: var(--border); border: 1px solid var(--border); border-radius: 10px;
             overflow: hidden; }
@media (max-width: 1100px) { .scorecard { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.scorecard .sc { background: var(--surface-1); padding: 13px 15px; }
.scorecard .sc .n { font-size: 11px; color: var(--text-secondary); }
.scorecard .sc .v { font-size: 21px; font-weight: 640; letter-spacing: -0.025em; margin-top: 3px; }
.scorecard .sc .d { font-size: 11px; margin-top: 2px; color: var(--text-muted); }
.decision { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--grid); }
.decision:last-child { border-bottom: none; }
.decision .idx { width: 22px; color: var(--text-muted); font-variant-numeric: tabular-nums;
                 font-weight: 640; }
.decision .txt b { font-weight: 640; }
.decision .txt .sm { color: var(--text-secondary); font-size: 12.5px; margin-top: 2px; }

/* ---------- floating ask the data ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border-strong); color: #fff;
  background: linear-gradient(150deg, var(--accent), #0f2d7a);
  box-shadow: var(--shadow-3); display: grid; place-items: center;
  transition: transform .14s, box-shadow .14s;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.03); }
.chat-fab.hidden { display: none; }
.chat-fab-dot {
  position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--good); border: 2px solid var(--header);
}
.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 121;
  width: min(430px, calc(100vw - 32px)); height: min(620px, calc(100vh - 110px));
  background: var(--surface-1); border: 1px solid var(--border-strong);
  border-radius: 14px; box-shadow: var(--shadow-3);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.on { display: flex; animation: chatIn .16s ease-out; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.chat-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.chat-head .chat-title { font-weight: 640; font-size: 13.5px; letter-spacing: -0.01em; }
.chat-head .chat-sub { color: var(--text-muted); font-size: 11px; margin-top: 1px; }
.chat-head .iconbtn { padding: 3px 9px; font-size: 11px; }
.chat-head > div:first-child { flex: 1; min-width: 0; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex;
            flex-direction: column; gap: 11px; }
.chat-msg { max-width: 100%; font-size: 12.5px; line-height: 1.55; }
.chat-msg.you {
  align-self: flex-end; background: var(--accent); color: #fff;
  padding: 7px 12px; border-radius: 13px 13px 3px 13px; max-width: 85%;
}
.chat-msg.bot {
  align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border);
  padding: 10px 12px; border-radius: 13px 13px 13px 3px; width: 100%;
}
.chat-msg.bot .mhd { font-weight: 640; margin-bottom: 4px; font-size: 12.5px; }
.chat-msg.bot .msrc { color: var(--text-muted); font-size: 10.5px; margin-bottom: 6px; }
.chat-msg.bot table { font-size: 11.5px; margin-top: 8px; }
.chat-msg.bot th { padding: 4px 6px; font-size: 9.5px; }
.chat-msg.bot td { padding: 3px 6px; }
.chat-msg.bot .scroll { max-height: 220px; overflow-y: auto; box-shadow: none; }
.chat-msg.bot details { margin-top: 7px; }
.chat-msg.bot summary { cursor: pointer; font-size: 11px; color: var(--text-muted); }
.chat-msg.bot pre.sql { font-size: 10.5px; margin-top: 6px; padding: 8px 10px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chat-chips button {
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text-secondary);
  border-radius: 999px; padding: 4px 10px; font-size: 11px; cursor: pointer; font-family: inherit;
}
.chat-chips button:hover { color: var(--text-primary); border-color: var(--accent); }
.chat-input { display: flex; gap: 7px; padding: 11px 12px; border-top: 1px solid var(--border);
              background: var(--surface-2); }
.chat-input input {
  flex: 1; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-1); color: var(--text-primary); font-size: 12.5px;
  font-family: inherit; min-width: 0;
}
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button {
  padding: 8px 16px; border-radius: 999px; border: none; background: var(--accent);
  color: #fff; cursor: pointer; font-size: 12.5px; font-weight: 600; font-family: inherit;
}
.chat-thinking { color: var(--text-muted); font-size: 12px; font-style: normal; }
@media (max-width: 560px) {
  .chat-panel { right: 8px; left: 8px; bottom: 8px; width: auto; height: calc(100vh - 90px); }
  .chat-fab { right: 14px; bottom: 14px; }
}

@media print {
  .chat-fab, .chat-panel { display: none !important; }
  header.top, .rail, nav.tabs, .iconbtn { display: none !important; }
  body { background: #fff; }
  .pack { box-shadow: none; border: none; }
  .pack .page { break-inside: avoid; }
  main { padding: 0; max-width: none; }
}
