/* Grade & Go — shared styles
   Palette: ink blue (ballpoint), midnight, highlighter yellow, paper, ruled-line blue,
   plus one colour per tool category (grades / classroom / printables). */
:root {
  --ink: #1d3fae;
  --ink-dark: #15308a;
  --ink-tint: #e8eefc;
  --midnight: #12204a;
  --text: #2a3557;
  --muted: #6b7697;
  --paper: #f7f9fd;
  --card: #ffffff;
  --rule: #d9e2f4;
  --rule-soft: #e9eef8;
  --highlight: #ffd23f;
  --highlight-tint: #fff6d6;
  --mint: #0f9a83;
  --mint-tint: #e3f6f2;
  --amber: #d9822b;
  --amber-tint: #fdf0e1;
  --red: #c2412d;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(18, 32, 74, .06);
  --shadow-2: 0 2px 4px rgba(18, 32, 74, .05), 0 12px 32px rgba(18, 32, 74, .09);
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
}
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--ink-dark); }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--midnight); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

/* Graph-paper texture: used in the hero and page headers */
.graph {
  background-color: #fbfcff;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ---------- Header ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--midnight); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover { background: var(--ink-tint); color: var(--ink-dark); }
.nav a.show-sm { display: none; }

/* ---------- Home hero ---------- */
.hero { border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px;
}
.hero .sub { font-size: 1.15rem; color: var(--text); max-width: 46ch; margin: 0 0 28px; }
.search {
  display: flex; align-items: center; gap: 10px; background: var(--card);
  border: 2px solid var(--midnight); border-radius: var(--r-md); padding: 4px 6px 4px 14px;
  max-width: 480px; box-shadow: 4px 4px 0 var(--midnight);
}
.search svg { flex: none; width: 22px; height: 22px; color: var(--muted); }
.search input { border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: 10px 4px; width: 100%; background: transparent; color: var(--midnight); }
.search input:focus-visible { outline: none; }
.search:focus-within { box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 18px; height: 18px; flex: none; color: var(--mint); }

/* Live demo card in the hero */
.demo {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: 24px; position: relative;
}
.demo-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--midnight); margin: 0 0 4px; }
.demo .hint { margin: 0 0 16px; }
.demo .row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.demo .field label { font-size: .82rem; }
.demo-out {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--highlight-tint);
  border-left: 5px solid var(--highlight); min-height: 74px;
}
.demo-out .big { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--midnight); }
.demo-out p { margin: 2px 0 0; font-size: .92rem; }
.demo-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .95rem; }

/* ---------- Tool categories (home) ---------- */
.cat { padding: 56px 0 8px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-head h2 { font-family: var(--font-head); font-size: 1.75rem; letter-spacing: -.02em; margin: 0; }
.cat-head p { margin: 0; color: var(--muted); }
.tool-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tool-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: start;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 18px; text-decoration: none; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tool-card:hover { border-color: var(--c, var(--ink)); box-shadow: 0 0 0 1px var(--c, var(--ink)); color: var(--text); }
.tool-card .icon { grid-row: span 2; }
.tool-card h3 { margin: 0; font-size: 1.04rem; line-height: 1.3; font-weight: 700; }
.tool-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.tool-card.new h3::after {
  content: "New"; font-size: .7rem; font-weight: 700; color: var(--midnight); background: var(--highlight);
  padding: 1px 7px; border-radius: 99px; margin-left: 8px; vertical-align: 2px;
}
.icon { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--t, var(--ink-tint)); color: var(--c, var(--ink)); }
.icon svg { width: 26px; height: 26px; }
.c-grades { --c: var(--ink); --t: var(--ink-tint); }
.c-classroom { --c: var(--mint); --t: var(--mint-tint); }
.c-printables { --c: var(--amber); --t: var(--amber-tint); }
.no-results { display: none; padding: 40px 0; color: var(--muted); }

.why { padding: 64px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why h3 { font-family: var(--font-head); font-size: 1.2rem; margin: 10px 0 6px; }
.why p { margin: 0; color: var(--text); }
.why .icon { width: 44px; height: 44px; }

/* ---------- Tool page header ---------- */
.page-top { border-bottom: 1px solid var(--rule); }
.page-top .wrap { padding-top: 20px; padding-bottom: 36px; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head { display: flex; gap: 18px; align-items: flex-start; }
.page-head .icon { width: 56px; height: 56px; flex: none; margin-top: 6px; }
.page-head .icon svg { width: 30px; height: 30px; }
.page-head h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
.page-head .lede { color: var(--text); font-size: 1.1rem; margin: 0; max-width: 62ch; }

/* ---------- Tool box ---------- */
.tool {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: 28px; margin: -1px 0 40px; position: relative;
}
.tool-wrap { margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-weight: 600; font-size: .92rem; color: var(--midnight); }
.hint { color: var(--muted); font-size: .86rem; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

input[type="text"], input[type="number"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--midnight); background: #fff;
  border: 1.5px solid var(--rule); border-radius: var(--r-sm); padding: 10px 12px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:hover, select:hover, textarea:hover { border-color: #bccbea; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-tint); }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }

.btn {
  font: inherit; font-weight: 700; font-size: .98rem; border: 0; border-radius: var(--r-sm);
  padding: 11px 20px; cursor: pointer; background: var(--ink); color: #fff;
  transition: background .15s ease, transform .05s ease; display: inline-flex; align-items: center; gap: 8px;
}
.btn:hover { background: var(--ink-dark); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--ink-tint); color: var(--ink-dark); }
.btn.secondary:hover { background: #d8e2fa; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--rule); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 7px 12px; font-size: .88rem; }
.btn.big { padding: 14px 28px; font-size: 1.08rem; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* Editable rows (grade / GPA) */
.entry-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.entry-table th { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; padding: 0 6px 6px; }
.entry-table td { padding: 4px 6px; vertical-align: middle; }
.entry-table td:last-child { width: 40px; text-align: center; }
.remove-btn { border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: 6px; }
.remove-btn:hover { color: var(--red); background: #fbeae6; }

/* Result panel */
.result { margin-top: 22px; padding: 20px 22px; border-radius: var(--r-md); background: var(--ink-tint); border-left: 5px solid var(--ink); display: none; }
.result.show { display: block; }
.result.warn { background: var(--highlight-tint); border-left-color: var(--highlight); }
.result .big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1.1; color: var(--midnight); letter-spacing: -.02em; }
.result p { margin: 6px 0 0; }

/* ---------- Article content ---------- */
.content { margin-bottom: 48px; }
.content h2 { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: -.02em; margin: 40px 0 10px; line-height: 1.25; }
.content h3 { font-size: 1.12rem; margin: 24px 0 6px; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin-bottom: 4px; }
.formula {
  background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--highlight);
  padding: 14px 16px; border-radius: var(--r-sm); font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .95rem; overflow-x: auto; color: var(--midnight);
}
.data-table { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--card); font-size: .95rem; }
.data-table th, .data-table td { border: 1px solid var(--rule); padding: 8px 12px; text-align: left; }
.data-table th { background: var(--ink-tint); color: var(--midnight); }
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--midnight); }
.faq details[open] summary { margin-bottom: 6px; }
.faq details p { margin: 0; }
.related { margin: 0 0 64px; }
.related h2 { font-family: var(--font-head); font-size: 1.4rem; margin: 0 0 14px; }

.ad-slot { margin: 0 0 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: #c3cbe4; padding: 56px 0 28px; margin-top: 24px; }
.site-footer a { color: #e6ebfa; text-decoration: none; }
.site-footer a:hover { color: var(--highlight); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; font-size: .93rem; }
.foot-brand .logo { color: #fff; margin-bottom: 10px; }
.foot-brand p { font-size: .93rem; margin: 0; max-width: 32ch; }
.foot-bottom { border-top: 1px solid #2a3a6b; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tool-specific ---------- */
.check { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 8px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.two-col { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }

/* Name picker */
.winner {
  font-family: var(--font-head); font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; text-align: center;
  padding: 28px 12px; margin: 12px 0 16px; border-radius: var(--r-md); color: var(--midnight);
  background: var(--highlight-tint); border: 2px dashed var(--highlight); min-height: 1.6em; line-height: 1.2; word-break: break-word;
}
.winner.spinning { color: var(--muted); }

/* Groups */
.group-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 16px; }
.group-card { background: var(--mint-tint); border-radius: var(--r-md); padding: 12px 16px; }
.group-card h3 { margin: 0 0 6px; font-size: 1rem; }
.group-card ul { margin: 0; padding-left: 1.1em; }

/* Worksheet / printables */
.ws-page { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 28px 32px; margin-top: 20px; }
.ws-head h2 { font-family: var(--font-head); margin: 0 0 8px; text-align: center; }
.ws-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .95rem; margin-bottom: 18px; }
.ws-grid { list-style: none; counter-reset: q; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 16px; }
.ws-grid li { counter-increment: q; position: relative; padding-left: 26px; }
.ws-grid li::before { content: counter(q) "."; position: absolute; left: 0; top: 0; font-size: .8rem; color: var(--muted); }
.ws-prob { display: inline-flex; flex-direction: column; align-items: flex-end; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.2rem; line-height: 1.35; min-width: 70px; color: #111; }
.ws-line { display: block; width: 100%; border-bottom: 2px solid #111; height: 4px; margin-bottom: 24px; }
.ws-keylist { columns: 4; font-size: .95rem; }

/* Word search */
.wsr-grid { display: grid; gap: 0; margin: 8px auto 18px; width: max-content; max-width: 100%; border: 2px solid #111; }
.wsr-grid span {
  width: var(--cell, 32px); height: var(--cell, 32px); display: grid; place-items: center;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: calc(var(--cell, 32px) * .55); color: #111;
}
.wsr-grid.key span.hit { background: var(--highlight); }
.wsr-words { columns: 3; list-style: none; padding: 0; margin: 0 auto; max-width: 620px; font-weight: 600; }
.wsr-words li { margin-bottom: 4px; }
.wsr-skipped { color: var(--red); font-size: .9rem; }

/* Bingo */
.bingo-sheet { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 20px; }
.bingo-card { border: 2px solid #111; border-radius: 6px; padding: 12px; background: #fff; break-inside: avoid; }
.bingo-card h3 { text-align: center; margin: 0 0 8px; font-family: var(--font-head); font-size: 1.1rem; }
.bingo-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.bingo-table th { font-family: var(--font-head); font-size: 1.5rem; color: #111; padding: 2px 0 6px; }
.bingo-table td { border: 1.5px solid #111; height: 58px; text-align: center; vertical-align: middle; font-weight: 600; font-size: .85rem; line-height: 1.2; padding: 3px; word-break: break-word; color: #111; }
.bingo-table td.free { background: var(--highlight-tint); font-family: var(--font-head); font-weight: 800; }
.bingo-table.numbers td { font-size: 1.3rem; }

/* Multiplication chart */
.mult-table { border-collapse: collapse; margin: 8px auto; font-variant-numeric: tabular-nums; }
.mult-table th, .mult-table td { border: 1px solid var(--rule); width: 44px; height: 38px; text-align: center; font-size: .98rem; color: #111; }
.mult-table th { background: var(--ink); color: #fff; font-family: var(--font-head); }
.mult-table td.sq { background: var(--highlight-tint); font-weight: 700; }
.mult-table td.hl, .mult-table th.hl { background: var(--ink-tint); color: var(--midnight); }
.mult-table td.hl-x { background: var(--highlight); font-weight: 800; }
.mult-scroll { overflow-x: auto; }

/* Spinner wheel */
.wheel-area { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.wheel-box { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1; }
.wheel-box canvas { width: 100%; height: 100%; display: block; cursor: pointer; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid var(--midnight); filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); z-index: 2; }
.wheel-result { text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--midnight); min-height: 2.6rem; margin-top: 8px; }

/* Curve table */
.curve-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.curve-stats div { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 10px 12px; }
.curve-stats b { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--midnight); }

/* Timers */
.timer-box {
  --progress: 100%; position: relative; border-radius: var(--r-lg); padding: 40px 20px 44px; text-align: center;
  background: var(--midnight); color: #fff; overflow: hidden;
}
.timer-box::after { content: ""; position: absolute; left: 0; bottom: 0; height: 8px; width: var(--progress); background: var(--highlight); transition: width .2s linear; }
.timer-box.ending .timer-display { color: var(--highlight); }
.timer-box.done { background: var(--mint); }
.timer-box.break { background: var(--mint); }
.timer-display { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 18vw, 9rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.timer-mode { font-weight: 700; font-size: 1.05rem; opacity: .85; margin-bottom: 6px; }
.timer-box:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
.timer-box:fullscreen .timer-display { font-size: 28vw; }
.timer-box .btn-row { justify-content: center; margin-top: 22px; }
.timer-box .btn { background: var(--highlight); color: var(--midnight); }
.timer-box .btn:hover { background: #ffdc66; }
.timer-box .btn.secondary { background: rgba(255,255,255,.14); color: #fff; }
.timer-box .btn.secondary:hover { background: rgba(255,255,255,.24); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.seg { display: inline-flex; background: var(--ink-tint); border-radius: var(--r-sm); padding: 4px; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.seg button { font: inherit; font-weight: 600; border: 0; background: transparent; padding: 8px 14px; border-radius: 6px; cursor: pointer; color: var(--ink-dark); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--midnight); box-shadow: var(--shadow-1); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .wheel-area { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav a.hide-sm { display: none; }
  .nav a.show-sm { display: inline-block; }
  .tool { padding: 18px; border-radius: var(--r-md); }
  .page-head .icon { display: none; }
  .demo .row { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .ws-grid { grid-template-columns: repeat(3, 1fr); }
  .ws-page { padding: 18px; }
  .ws-keylist { columns: 2; }
  .wsr-words { columns: 2; }
  .entry-table thead { display: none; }
  .entry-table tr { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .entry-table td { padding: 0; flex: 1 1 0; min-width: 0; }
  .entry-table td:first-child { flex-basis: 100%; }
  .entry-table td:last-child { flex: 0 0 auto; width: auto; }
  .entry-table td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
}

/* ---------- Print: only the printable area ---------- */
@media print {
  @page { margin: 12mm; }
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .page-top, .content, .related, .ad-slot, .no-print { display: none !important; }
  .tool { border: 0; box-shadow: none; padding: 0; margin: 0; }
  .tool-wrap { margin: 0; }
  .ws-page { border: 0; padding: 0; margin: 0; }
  .ws-key, .print-break { page-break-before: always; }
  .ws-grid { grid-template-columns: repeat(5, 1fr) !important; }
  .data-table { font-size: 10pt; }
  .data-table th, .data-table td { padding: 3px 8px; }
  .bingo-sheet { grid-template-columns: 1fr 1fr; gap: 10mm; }
  .bingo-card { page-break-inside: avoid; }
  .mult-table th { background: #ddd !important; color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wsr-grid.key span.hit, .bingo-table td.free, .mult-table td.sq { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
