/* cellfetch.css: GENERATED by scripts/build-assets.ts (P6). Don't edit by hand: colors come from src/brands.ts,
   polish from POLISH_CSS, page components from the units' exported CSS. Regenerate: bun scripts/build-assets.ts --css-only */

.brand-cellfetch {
  --ink: #1B2230;
  --muted: #5B6577;
  --surface: #F6F7F9;
  --accent: #3E4C63;
  --accent-ink: #ffffff;
  --accent-hover: #354155;
  --link: #3E4C63;
  --focus: #3E4C63;
  --tint: #f1f2f4;
  --tint-line: #d8dbe0;
  --tint-strong: #cfd2d8;
  --line: #dde1e7;
  --line-strong: #c4cad3;
  --top: #56677F;
  --base: #3E4C63;
  --deep: #273244;
  --paper: #FBF7EF;
}

.brand-cellfetch .top { border-bottom-color: #dcdfe3; }

/* P6 polish (scripts/build-assets.ts POLISH_CSS) */
html { scroll-padding-top: 84px; }
body { background: #fff; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--tint-strong); }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
.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; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.top-in { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.logo { font-size: 1.12rem; letter-spacing: -0.01em; gap: 10px; min-height: 44px; }
.logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav { gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 0.97rem; min-height: 40px; display: inline-flex; align-items: center; }
.nav a:not(.btn):hover { background: var(--surface); }
.nav a.btn-cta { margin-left: 8px; }
@media (max-width: 720px) {
  /* phones: logo and the CTA share the first row; the links get their own row and scroll sideways if they must */
  .top-in { position: relative; gap: 4px 12px; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 4px; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; }
  .nav a.btn-cta { position: absolute; top: 10px; right: 20px; margin: 0; min-height: 40px; padding: 8px 16px; }
  .nav:has(> a:only-child) { width: auto; margin: 0 0 0 auto; padding: 0; }
  .nav:has(> a:only-child) a.btn-cta { position: static; }
}

/* type */
main { padding-top: 28px; }
main > h1:first-child, main > .crumbs + h1 { margin-top: 16px; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 1.15rem + 2.6vw, 2.85rem); line-height: 1.12; letter-spacing: -0.022em; font-weight: 750; max-width: 22em; }
h2 { font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.6rem); line-height: 1.25; letter-spacing: -0.012em; }
h3 { font-size: 1.12rem; line-height: 1.3; }
p, li { text-wrap: pretty; }
main > p, main > ul, main > ol, section > p, section > ul, section > ol { max-width: 46em; }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.crumbs { margin: 0 0 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; font-weight: 650; line-height: 1.2; border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.btn-cta, .nav a.btn-cta { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(16,24,40,.12), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-cta:hover, .nav a.btn-cta:hover { background: var(--accent-hover); }
.btn-cta:active { transform: translateY(1px); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-quiet:hover { border-color: var(--accent); }
.cta-block { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 20px 22px; border-radius: 14px; background: var(--tint); border: 1px solid var(--tint-line); }
.cta-block .muted { margin: 0; }
.hero-actions .btn-cta { padding-left: 24px; padding-right: 24px; }

/* cards, lists, callouts */
.card { background: #fff; border-color: var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card h3:first-child, .card h2:first-child { margin-top: 0; }
a.card, .card:has(> a:only-child) { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(16,24,40,.08); }
.callout { border-radius: 10px; padding: 14px 18px; }
.callout > :first-child { margin-top: 0; } .callout > :last-child { margin-bottom: 0; }
.callout-warn { background: #fff8eb; border-color: #b4770a; }
.callout-good { background: #edf7f0; border-color: #277443; }
.notice { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.badge { white-space: nowrap; }
.link-list li::marker { color: var(--muted); }

/* tables */
.table-wrap { border: 1px solid var(--line); border-radius: 12px; margin: 14px 0; background: #fff; -webkit-overflow-scrolling: touch; }
.table-wrap > table { margin: 0; }
table { font-variant-numeric: tabular-nums; }
th { font-weight: 650; background: var(--surface); color: var(--ink); font-size: 0.9rem; }
th, td { padding: 10px 12px; }
tbody tr:last-child td { border-bottom: 0; }
caption { padding: 10px 12px 8px; color: var(--ink); }
.sheet-grid th, .sheet-grid td { padding: 4px 8px; }
.sheet-grid th { background: #f1f3f4; font-size: 13px; }
.sheet { background: #fff; }

/* code */
:not(pre) > code { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: 0.88em; overflow-wrap: anywhere; }
pre { background: #161b26; color: #eef1f5; border-radius: 12px; padding: 16px 18px; line-height: 1.5; font-size: 13.5px; tab-size: 2; }
pre code { background: none; border: 0; padding: 0; color: inherit; }

/* FAQ */
.faq h3 { margin: 22px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.faq h3:first-of-type { border-top: 0; padding-top: 0; }
.faq p { margin: 0; max-width: 46em; color: #2d3544; }

/* pricing */
.plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; margin: 20px 0; }
.plans > .plan:only-child { max-width: 560px; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.plan > :last-child { margin-bottom: 0; }
.plan .btn-cta { margin-top: auto; align-self: flex-start; }
.plan h2, .plan h3 { margin: 0 0 4px; }
.plan-pro { border: 2px solid var(--accent); box-shadow: 0 6px 24px rgba(16,24,40,.08); }
.plan-held { background: var(--surface); border-style: dashed; }
.price { font-size: 2.3rem; line-height: 1.1; letter-spacing: -0.02em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.per, .price .per { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-per { color: var(--muted); font-size: 0.95rem; margin: 0; }
.plan-features { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 8px; }
.plan-features li { position: relative; padding-left: 26px; }
.plan-features li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.period-toggle { display: inline-flex; gap: 0; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; margin: 8px 0 4px; background: #fff; }
.period-toggle legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.period-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.period-toggle label { padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.95rem; min-height: 40px; display: inline-flex; align-items: center; }
.period-toggle input:checked + label { background: var(--accent); color: var(--accent-ink); }
.period-toggle input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

/* forms (signed-in app, setup, contact) */
label { font-weight: 600; }
input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="password"], input[type="number"], select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; max-width: 32em; }
textarea { min-height: 120px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field-hint { color: var(--muted); font-size: 0.9rem; margin: 0; }
.field-error { color: #b3261e; font-size: 0.92rem; font-weight: 600; margin: 0; }
button { font: inherit; }
button.btn { cursor: pointer; }

/* status pills and empty states */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #80868b; }
.status-ok::before { background: #1e8e3e; } .status-warn::before { background: #b4770a; } .status-bad::before { background: #b3261e; }
.empty-state { text-align: center; padding: 40px 20px; border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--surface); color: var(--muted); }
.empty-state::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 12px; background: url(/img/duck.svg) no-repeat center / contain; opacity: 0.9; }
.empty-state h2, .empty-state h3 { color: var(--ink); margin: 0 0 6px; }
.empty-state p { margin: 0 auto 14px; max-width: 32em; }

/* images and figures */
figure { margin: 18px 0; }
figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
main img { border-radius: 10px; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 10px 30px rgba(16,24,40,.07); background: #fff; }
main .logo img, main .tile img, main img[width="24"], main img[width="32"] { box-shadow: none; border: 0; }

/* footer */
.foot { margin-top: 48px; background: var(--surface); }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot .fine:last-child::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; background: url(/img/duck.svg) no-repeat center / contain; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .foot, .cta-block, .hero-actions { display: none; } a { color: inherit; } }

/* from P1 */
/* P1 components (src/cellfetch/components/styles.ts) */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 8px; }
.btn-quiet { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.sheet-preview { margin: 20px 0 28px; background: #fff; box-shadow: 0 1px 2px rgba(27,34,48,.06), 0 8px 24px rgba(27,34,48,.06); }
.sp-caption { padding: 10px 12px; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.sp-tabs { display: flex; gap: 2px; overflow-x: auto; background: #f1f3f4; border-bottom: 1px solid var(--line); padding: 4px 6px 0; }
.sp-tab { font: inherit; font-size: 13px; border: 1px solid transparent; border-bottom: 0; background: transparent; padding: 7px 12px; border-radius: 6px 6px 0 0; color: #3c4043; cursor: pointer; white-space: nowrap; min-height: 36px; }
.sp-tab[aria-selected="true"] { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 600; }
.sp-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.sp-panel { padding: 0; }
.sp-panel:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.sp-ready .sp-panel { border-top: 0; }
.sp-panel + .sp-panel { border-top: 1px solid var(--line); }
.sp-ready .sp-panel + .sp-panel { border-top: 0; }
.sp-more { padding: 6px 12px; margin: 0; }
.report-preview { padding: 12px; display: grid; gap: 14px; }
.report { display: grid; gap: 14px; }
.block-title { font-weight: 600; margin: 0 0 4px; font-size: 1rem; }
.report-table { font-size: .9rem; margin: 0; }
.report-table td.n { font-variant-numeric: tabular-nums; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0; }
.kpi { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.kpi-label { font-size: .85rem; color: var(--muted); }
.kpi-value { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
tr.tone-alert td { background: #fdecea; }
tr.tone-warn td { background: #fef5e5; }
tr.tone-good td { background: #e9f5ec; }
.field-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; white-space: nowrap; }
.setup-steps ol { padding-left: 1.3em; }
.setup-steps li { margin: 0 0 10px; }
.setup-steps .sub { margin: 6px 0 0; padding-left: 1.1em; color: var(--muted); }
.time { font-weight: 600; }
.checked { font-size: .9rem; color: var(--muted); }
.report-list li { margin: 0 0 6px; }
.facts { padding-left: 1.2em; }
.facts li { margin: 0 0 6px; }
.source-cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.source-card { display: flex; gap: 12px; align-items: flex-start; }
.source-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.source-blurb { font-size: .9rem; color: var(--muted); }
.source-name a { text-decoration: none; }
.source-name a::after { content: ""; position: absolute; inset: 0; }
.source-card { position: relative; }
.source-card:has(a):hover { border-color: var(--accent); }
.tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em; background: #5f6368; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.link-list { padding-left: 1.2em; }
.link-list li { margin: 0 0 6px; }
.related { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 8px; }
.related-grid { display: grid; gap: 4px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 12px 0 0; }
.cat-nav a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--ink); }
.filter-box { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.filter-box input { font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; min-width: min(100%, 320px); }
.filter-box input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.draft-note { border-left: 4px solid #b4770a; background: #fef5e5; padding: 12px 16px; border-radius: 6px; margin: 0 0 20px; font-size: .95rem; }
.draft-note ul { margin: 6px 0 0; padding-left: 1.2em; }
.price-line { font-size: 1.05rem; }
.hub-section { border-top: 1px solid var(--line); padding-top: 4px; }
.hub-section .sheet-preview { margin-top: 12px; }
@media (max-width: 640px) {
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .kpi-value { font-size: 1.3rem; }
  .source-cards { grid-template-columns: 1fr; }
}
.tile-003087 { background: #003087; }
.tile-0067b8 { background: #0067b8; }
.tile-0075dd { background: #0075dd; }
.tile-0079bf { background: #0079bf; }
.tile-007b83 { background: #007b83; }
.tile-00897b { background: #00897b; }
.tile-01875f { background: #01875f; }
.tile-03a9f4 { background: #03a9f4; }
.tile-0677ba { background: #0677ba; }
.tile-08cf65 { background: #08cf65; }
.tile-09c269 { background: #09c269; }
.tile-0a84ff { background: #0a84ff; }
.tile-0b347d { background: #0b347d; }
.tile-0b6cbf { background: #0b6cbf; }
.tile-0b7285 { background: #0b7285; }
.tile-0b996e { background: #0b996e; }
.tile-0d5fb8 { background: #0d5fb8; }
.tile-0d6efd { background: #0d6efd; }
.tile-116dff { background: #116dff; }
.tile-13b5ea { background: #13b5ea; }
.tile-1665d8 { background: #1665d8; }
.tile-1856ed { background: #1856ed; }
.tile-1864ab { background: #1864ab; }
.tile-188038 { background: #188038; }
.tile-1a73e8 { background: #1a73e8; }
.tile-1b4332 { background: #1b4332; }
.tile-1c1c1c { background: #1c1c1c; }
.tile-1c7a43 { background: #1c7a43; }
.tile-1cc29f { background: #1cc29f; }
.tile-1d2d35 { background: #1d2d35; }
.tile-1e8e3e { background: #1e8e3e; }
.tile-1f1f1f { background: #1f1f1f; }
.tile-1f2328 { background: #1f2328; }
.tile-1f4e79 { background: #1f4e79; }
.tile-1f6f5c { background: #1f6f5c; }
.tile-1f6feb { background: #1f6feb; }
.tile-1f8dd6 { background: #1f8dd6; }
.tile-1fb36f { background: #1fb36f; }
.tile-21759b { background: #21759b; }
.tile-222222 { background: #222222; }
.tile-2266f7 { background: #2266f7; }
.tile-232426 { background: #232426; }
.tile-2b2f8a { background: #2b2f8a; }
.tile-2b6cb0 { background: #2b6cb0; }
.tile-2b8a3e { background: #2b8a3e; }
.tile-2bb673 { background: #2bb673; }
.tile-2c3e9e { background: #2c3e9e; }
.tile-2ca01c { background: #2ca01c; }
.tile-2e9e6b { background: #2e9e6b; }
.tile-2fc6f6 { background: #2fc6f6; }
.tile-34313f { background: #34313f; }
.tile-364fc7 { background: #364fc7; }
.tile-3949ab { background: #3949ab; }
.tile-3e4348 { background: #3e4348; }
.tile-3ecf8e { background: #3ecf8e; }
.tile-3f9b3a { background: #3f9b3a; }
.tile-4a154b { background: #4a154b; }
.tile-4b8a2f { background: #4b8a2f; }
.tile-5e6ad2 { background: #5e6ad2; }
.tile-5f3dc4 { background: #5f3dc4; }
.tile-5f6368 { background: #5f6368; }
.tile-6aa84f { background: #6aa84f; }
.tile-714b67 { background: #714b67; }
.tile-a142f4 { background: #a142f4; }
.tile-b06000 { background: #b06000; }
.tile-b58900 { background: #b58900; }
.tile-c2255c { background: #c2255c; }
.tile-c8102e { background: #c8102e; }
.tile-d0352b { background: #d0352b; }
.tile-d63c9a { background: #d63c9a; }
.tile-d64027 { background: #d64027; }
.tile-d93025 { background: #d93025; }
.tile-e37400 { background: #e37400; }
.tile-e42527 { background: #e42527; }
.tile-e5285b { background: #e5285b; }
.tile-e53238 { background: #e53238; }
.tile-e57cd8 { background: #e57cd8; }
.tile-e8384f { background: #e8384f; }
.tile-e8590c { background: #e8590c; }
.tile-e85f37 { background: #e85f37; }
.tile-f05537 { background: #f05537; }
.tile-f26a36 { background: #f26a36; }
.tile-f36c00 { background: #f36c00; }
.tile-f47e42 { background: #f47e42; }
.tile-f59b1c { background: #f59b1c; }
.tile-f98012 { background: #f98012; }
.tile-ff3d57 { background: #ff3d57; }
.tile-ff9900 { background: #ff9900; }
.tile-ffb80f { background: #ffb80f; }

/* from P4 */
/* P4 guides, glossary and Looker Studio pages (src/cellfetch/pages/guides.ts) */
.byline { color: var(--muted); font-size: .92rem; margin: -4px 0 20px; }
.prose { max-width: 46em; }
.prose .table-wrap, .term-example .table-wrap, .looker-fields .table-wrap { max-width: 100%; }
.toc { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 0 0 24px; max-width: 30em; background: #fff; }
.toc-title { font-weight: 600; margin: 0 0 4px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.review { border: 2px dashed #b4770a; background: #fff8eb; padding: 12px 16px; border-radius: 8px; margin: 0 0 20px; }
.review ul { margin: 6px 0 0; padding-left: 1.2em; }
.unlinked { border-bottom: 1px dotted var(--muted); }
.badge { display: inline-block; font-size: .78rem; padding: 1px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.link-list { padding-left: 1.2em; }
.link-list li { margin: 4px 0; }
.guide-list, .term-list { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.guide-list li, .term-list li { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: #fff; }
.guide-list a, .term-list a { font-weight: 600; font-size: 1.05rem; }
.guide-list p, .term-list p { margin: 4px 0 0; }
.answer { font-size: 1.1rem; border-left: 4px solid var(--accent); background: var(--surface); padding: 14px 18px; border-radius: 6px; max-width: 46em; }
.term-example { margin: 20px 0; }
.term-example pre { white-space: pre-wrap; word-break: break-word; }
.messages { padding-left: 1.2em; }
.flow { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; counter-reset: flow; }
.flow li { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: #fff; }
.flow li strong { display: block; }
.looker-grid { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.looker-grid li { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fff; display: flex; gap: 12px; align-items: flex-start; }
@media (min-width: 720px) {
  .guide-list, .term-list { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .looker-grid { grid-template-columns: repeat(3, 1fr); }
}

/* P6 overrides (after the units' CSS) */
.report, .report-preview, .sp-panel, .block { min-width: 0; }
.report, .report-preview { grid-template-columns: minmax(0, 1fr); }
.kpis { grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); }
.kpi, .card { min-width: 0; }
.kpi-value { overflow-wrap: anywhere; }
.report-table th, .report-table td { padding: 7px 10px; }
/* report tables size to their columns (a two-column pivot doesn't stretch across the page) */
.report-table { width: auto; min-width: min(100%, 380px); }
.report-table td.n { padding-left: 28px; }
.table-wrap:has(> .report-table) { width: fit-content; max-width: 100%; }
.badge { width: fit-content; justify-self: start; align-self: start; }
/* a numeric column's header sits over its numbers */
.report-table:has(tbody tr:first-child > td.n:nth-child(1)) th:nth-child(1),
.report-table:has(tbody tr:first-child > td.n:nth-child(2)) th:nth-child(2),
.report-table:has(tbody tr:first-child > td.n:nth-child(3)) th:nth-child(3),
.report-table:has(tbody tr:first-child > td.n:nth-child(4)) th:nth-child(4),
.report-table:has(tbody tr:first-child > td.n:nth-child(5)) th:nth-child(5),
.report-table:has(tbody tr:first-child > td.n:nth-child(6)) th:nth-child(6),
.report-table:has(tbody tr:first-child > td.n:nth-child(7)) th:nth-child(7),
.report-table:has(tbody tr:first-child > td.n:nth-child(8)) th:nth-child(8) { text-align: right; }
.sheet-preview .table-wrap { border-radius: 8px; }
main { overflow-wrap: break-word; }
main img, main svg, main video { max-width: 100%; height: auto; }
@media (max-width: 720px) {
  .nav a:not(.btn) { padding: 8px 10px; }
  .nav a:not(.btn):first-child { padding-left: 0; }
}
/* phones: hero buttons stack full width on both brands */
@media (max-width: 560px) { .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; } .hero-actions .btn { flex: 1 1 100%; text-align: center; } }
.hero { display: grid; gap: 24px 40px; align-items: center; }
.hero-art img { width: 100%; height: auto; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }

/* P6: tile colors darkened to AA for white letters (after P1's tile rules) */
.tile-003087 { background: #003087; }
.tile-0067b8 { background: #0067b8; }
.tile-0075dd { background: #0075dd; }
.tile-0079bf { background: #0079bf; }
.tile-007b83 { background: #007b83; }
.tile-00897b { background: #008275; }
.tile-01875f { background: #01875f; }
.tile-03a9f4 { background: #027cb3; }
.tile-0677ba { background: #0677ba; }
.tile-08cf65 { background: #058943; }
.tile-09c269 { background: #068749; }
.tile-0a84ff { background: #0971db; }
.tile-0b347d { background: #0b347d; }
.tile-0b6cbf { background: #0b6cbf; }
.tile-0b7285 { background: #0b7285; }
.tile-0b996e { background: #09835e; }
.tile-0d5fb8 { background: #0d5fb8; }
.tile-0d6efd { background: #0d6efd; }
.tile-116dff { background: #116dff; }
.tile-13b5ea { background: #0d7ea3; }
.tile-1665d8 { background: #1665d8; }
.tile-1856ed { background: #1856ed; }
.tile-1864ab { background: #1864ab; }
.tile-188038 { background: #188038; }
.tile-1a73e8 { background: #1a73e8; }
.tile-1b4332 { background: #1b4332; }
.tile-1c1c1c { background: #1c1c1c; }
.tile-1c7a43 { background: #1c7a43; }
.tile-1cc29f { background: #138169; }
.tile-1d2d35 { background: #1d2d35; }
.tile-1e8e3e { background: #1d873b; }
.tile-1f1f1f { background: #1f1f1f; }
.tile-1f2328 { background: #1f2328; }
.tile-1f4e79 { background: #1f4e79; }
.tile-1f6f5c { background: #1f6f5c; }
.tile-1f6feb { background: #1f6feb; }
.tile-1f8dd6 { background: #1b79b7; }
.tile-1fb36f { background: #178452; }
.tile-21759b { background: #21759b; }
.tile-222222 { background: #222222; }
.tile-2266f7 { background: #2266f7; }
.tile-232426 { background: #232426; }
.tile-2b2f8a { background: #2b2f8a; }
.tile-2b6cb0 { background: #2b6cb0; }
.tile-2b8a3e { background: #29833b; }
.tile-2bb673 { background: #208655; }
.tile-2c3e9e { background: #2c3e9e; }
.tile-2ca01c { background: #248217; }
.tile-2e9e6b { background: #258157; }
.tile-2fc6f6 { background: #1e7d9b; }
.tile-34313f { background: #34313f; }
.tile-364fc7 { background: #364fc7; }
.tile-3949ab { background: #3949ab; }
.tile-3e4348 { background: #3e4348; }
.tile-3ecf8e { background: #278259; }
.tile-3f9b3a { background: #368532; }
.tile-4a154b { background: #4a154b; }
.tile-4b8a2f { background: #47832d; }
.tile-5e6ad2 { background: #5e6ad2; }
.tile-5f3dc4 { background: #5f3dc4; }
.tile-5f6368 { background: #5f6368; }
.tile-6aa84f { background: #52823d; }
.tile-714b67 { background: #714b67; }
.tile-a142f4 { background: #a142f4; }
.tile-b06000 { background: #b06000; }
.tile-b58900 { background: #937000; }
.tile-c2255c { background: #c2255c; }
.tile-c8102e { background: #c8102e; }
.tile-d0352b { background: #d0352b; }
.tile-d63c9a { background: #cb3992; }
.tile-d64027 { background: #d64027; }
.tile-d93025 { background: #d93025; }
.tile-e37400 { background: #b95e00; }
.tile-e42527 { background: #e42527; }
.tile-e5285b { background: #da2656; }
.tile-e53238 { background: #da3035; }
.tile-e57cd8 { background: #a85b9f; }
.tile-e8384f { background: #dc354b; }
.tile-e8590c { background: #c74c0a; }
.tile-e85f37 { background: #c7512f; }
.tile-f05537 { background: #ce492f; }
.tile-f26a36 { background: #bb522a; }
.tile-f36c00 { background: #bc5400; }
.tile-f47e42 { background: #b35d31; }
.tile-f59b1c { background: #a36713; }
.tile-f98012 { background: #b75e0d; }
.tile-ff3d57 { background: #db344b; }
.tile-ff9900 { background: #a96600; }
.tile-ffb80f { background: #996e09; }
