/* Local Business Score: the owner's screen from the idea paper (page 3). Black screen, yellow fill, pink for weak bars. */
:root { --ink: #111; --card: #1c1c1c; --card2: #262626; --fg: #fff; --muted: #bbb; --faint: #333; --yellow: #ffd84d; --pink: #fe3e6b; --font: "Montserrat", "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--fg); font: 500 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.score { max-width: 480px; margin: 0 auto; padding: 18px 16px 48px; display: grid; gap: 14px; }
.score.wide { max-width: 1120px; }
.loading { color: var(--muted); }
h1, h2, h3 { margin: 0; text-transform: uppercase; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: 30px; } h1 i { color: var(--pink); font-style: normal; }
h2 { font-size: 15px; letter-spacing: .02em; }
p { margin: 0; }
.k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); font-weight: 800; }
.muted { color: var(--muted); font-size: 14px; }
.card { background: var(--card); border-radius: 20px; padding: 18px 16px; display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
input { font: 500 17px var(--font); padding: 13px 14px; border: 2px solid var(--faint); background: var(--card2); color: var(--fg); border-radius: 12px; width: 100%; text-transform: none; letter-spacing: 0; outline: none; }
input:focus { border-color: var(--yellow); }
input:-webkit-autofill, input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--card2) inset; -webkit-text-fill-color: var(--fg); caret-color: var(--fg); transition: background-color 9999s ease-out; }
.btn { font: 800 15px var(--font); text-transform: uppercase; letter-spacing: .04em; background: var(--yellow); color: var(--ink); border: 0; border-radius: 12px; padding: 14px 18px; cursor: pointer; width: 100%; text-align: center; text-decoration: none; display: block; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--fg); border: 2px solid var(--faint); }
.btn.pink { background: var(--pink); color: #fff; }
.linkish { background: none; border: 0; color: var(--muted); font: 600 14px var(--font); text-decoration: underline; cursor: pointer; padding: 4px 0; text-align: left; }
.err { color: var(--pink); font-weight: 700; font-size: 14px; }
/* display:none, not off-screen: Chrome autofill fills an off-screen field called website_url and the claim is refused as spam. */
.hp { display: none; }
/* picker */
.pick { display: grid; gap: 8px; }
.pick button { text-align: left; background: var(--card2); border: 2px solid var(--faint); border-radius: 14px; padding: 12px 14px; color: var(--fg); font: 500 15px var(--font); cursor: pointer; display: grid; gap: 2px; }
.pick button:hover, .pick button:focus { border-color: var(--yellow); outline: none; }
.pick b { font-weight: 800; font-size: 16px; }
.pick small { color: var(--muted); font-size: 13px; }
/* progress */
.steps { display: grid; gap: 10px; }
.step { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.step .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--faint); flex: 0 0 auto; }
.step.on { color: var(--fg); } .step.on .dot { border-color: var(--yellow); background: var(--yellow); animation: pulse 1s infinite alternate; }
.pbar { height: 10px; background: var(--faint); border-radius: 5px; overflow: hidden; }
.pbar span { display: block; height: 100%; background: var(--yellow); border-radius: 5px; transition: width .5s linear; }
.step.done { color: var(--muted); border-top: 0; } .step.done .dot { background: var(--yellow); border-color: var(--yellow); animation: none; }
@keyframes pulse { from { transform: scale(.8); } to { transform: scale(1.15); } }
/* result */
.biz { font-size: 13px; color: var(--muted); }
.name { font-size: 22px; font-weight: 800; line-height: 1.1; }
.total { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.total b { font-size: 64px; line-height: 1; color: var(--yellow); font-weight: 800; letter-spacing: -.03em; }
.total span { font-size: 15px; color: var(--muted); }
.lbl { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; justify-self: start; }
.lbl.sub { background: var(--card2); color: var(--muted); font-weight: 700; margin-left: 6px; }
.row { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--faint); }
.row:first-of-type { border-top: 0; }
.row .h { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.row .h span:last-child { font-variant-numeric: tabular-nums; }
.row .tr { height: 10px; background: var(--faint); border-radius: 5px; overflow: hidden; }
.row .fl { height: 100%; background: var(--yellow); border-radius: 5px; transition: width .6s ease; }
.row .fl.p { background: var(--pink); } .row .fl.g { background: #555; }
.row .e { font-size: 13px; color: var(--muted); line-height: 1.35; }
.row .fx { font-size: 13px; line-height: 1.35; } .row .fx b { color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; margin-right: 4px; }
.row .bm { font-size: 12px; color: var(--yellow); line-height: 1.35; }
.checks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.checks li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 13px; color: var(--muted); align-items: start; }
.checks li b { color: var(--fg); font-variant-numeric: tabular-nums; font-weight: 800; }
.checks li.ok b { color: var(--yellow); } .checks li.lost b { color: var(--pink); }
.checks li span { line-height: 1.35; }
.checks li span em { display: block; font-style: normal; color: var(--fg); }
.fix { background: var(--pink); border-radius: 14px; padding: 14px; font-size: 15px; line-height: 1.4; color: #fff; }
.fix b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.honest { border: 2px dashed var(--faint); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.honest b { color: var(--fg); display: block; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; margin-bottom: 4px; }
.foot { font-size: 12px; color: #777; line-height: 1.5; text-align: center; padding-top: 8px; }
.foot a { color: #999; }
.done { border-top: 4px solid var(--yellow); }
.toggle { background: none; border: 0; color: var(--muted); font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; padding: 2px 0; text-align: left; }
@media (min-width: 560px) { .score { padding-top: 32px; } .total b { font-size: 72px; } }
@media (prefers-reduced-motion: reduce) { .row .fl { transition: none; } .step.on .dot { animation: none; } }
.improve { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.improve li { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.improve li b { color: var(--fg); font-weight: 800; }
.improve.basics li.ok b { color: var(--yellow); } .improve.basics li.todo b { color: var(--pink); }

/* ---- result layout: phone first, two columns from 900px ---- */
.layout { display: grid; gap: 14px; }
.main { display: grid; gap: 14px; }
.summary .minis { display: none; }
.summary .acts { display: grid; gap: 8px; }
.area { display: grid; gap: 5px; padding: 12px 0; border-top: 1px solid var(--faint); }
.area:first-child { border-top: 0; padding-top: 0; }
.area .h { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.area .h span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.area .tr { height: 10px; background: var(--faint); border-radius: 5px; overflow: hidden; margin-top: 2px; }
.area .fl { height: 100%; background: var(--yellow); border-radius: 5px; transition: width .6s ease; }
.area .fl.p { background: var(--pink); } .area .fl.g { background: #555; }
.area .e { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.area .fx { font-size: 13px; line-height: 1.4; } .area .fx b { color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; margin-right: 4px; }
.area .bm { font-size: 12px; color: var(--yellow); line-height: 1.35; }
.checks { display: grid; gap: 6px; margin-top: 6px; }
.crow { display: grid; grid-template-columns: 48px 1fr; gap: 2px 8px; font-size: 13px; color: var(--muted); align-items: start; }
.crow b { grid-row: 1 / span 2; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--fg); }
.crow.ok b { color: var(--yellow); } .crow.lost b { color: var(--pink); }
.crow .clabel { color: var(--fg); }
.crow .cline { line-height: 1.35; } .crow .cline:empty { display: none; }
.mini { display: grid; grid-template-columns: 1fr 90px 28px; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mini .tr { height: 8px; background: var(--faint); border-radius: 4px; overflow: hidden; display: block; }
.mini .fl { display: block; height: 100%; background: var(--yellow); border-radius: 4px; }
.mini .fl.p { background: var(--pink); } .mini .fl.g { background: #555; }
.mini b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 800; }
.two { display: grid; gap: 14px; }
.glance, .proposal, .nearby { grid-column: 1 / -1; }
.nearby .minis { display: grid; gap: 8px; margin: 6px 0; }
.nearby .mini.me span:first-child, .nearby .mini.me b { color: var(--yellow); }
.nearby .mini .fl.g { background: #666; }
.glance-line { font-size: 16px; font-weight: 700; color: var(--fg); }
.glance-cols { display: grid; gap: 16px; }
.glance h3, .proposal h3 { font-size: 12px; letter-spacing: .1em; margin-bottom: 8px; }
.glance h3.ok, .proposal h3.ok { color: var(--yellow); } .glance h3.todo, .proposal h3.todo { color: var(--pink); }
.glist { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.glist li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; font-size: 14px; line-height: 1.35; color: var(--fg); align-items: start; }
.glist li b { font-weight: 800; font-variant-numeric: tabular-nums; }
.glist.ok li b { color: var(--yellow); } .glist.todo li b { color: var(--pink); }
.glist li em { display: block; font-style: normal; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.glist li small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.muted a { color: inherit; text-decoration: underline; }
.topbar, .side, .six, .desk-only, .pqr { display: none; }
.flow, .flow-main { display: contents; }
@media (min-width: 900px) {
  .score.desk { max-width: 1200px; padding: 20px 32px 56px; gap: 36px; }
  .topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--faint); font-size: 17px; font-weight: 700; }
  .topbar a { color: var(--fg); text-decoration: none; }
  .topbar a:hover { color: var(--yellow); }
  .topbar span { display: flex; gap: 32px; }
  .topbar .brand { display: block; line-height: 0; }
  .topbar .logo svg { height: 26px; width: auto; display: block; }
  .page-head .k { display: none; }
  .score.wide .page-head h1 { font-size: 44px; }
  .desk .k { font-size: 15px; margin-bottom: 10px; }
  .desk h1 { font-size: 76px; line-height: 1; }
  .flow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .flow-main { display: grid; gap: 22px; min-width: 0; }
  .desk .muted { font-size: 17px; line-height: 1.55; }
  .desk .desk-only { display: block; font-size: 22px; line-height: 1.4; color: var(--fg); }
  .desk .phone-only { display: none; }
  .side-sample { display: grid; gap: 8px; background: var(--card); border-radius: 18px; padding: 20px 22px; }
  .side-score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .side-score b { font-size: 52px; font-weight: 800; line-height: 1; color: var(--yellow); letter-spacing: -.02em; }
  .side-score small { font-size: 15px; color: var(--muted); }
  .side-score em { font-style: normal; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .side-sample p { color: var(--muted); font-size: 15px; }
  .score.wide { gap: 26px; padding-top: 18px; }
  .desk .card { padding: 32px; gap: 18px; border: 2px solid var(--yellow); border-radius: 22px; }
  .desk .card h2 { font-size: 24px; }
  .desk label { font-size: 14px; }
  .desk input { font-size: 21px; padding: 18px 20px; }
  .desk .btn { font-size: 19px; padding: 20px 22px; }
  .desk .btn:hover:not(:disabled) { filter: brightness(1.08); }
  .desk .linkish { font-size: 16px; }
  .desk .err { font-size: 16px; }
  .desk .step { font-size: 18px; }
  .desk .pbar { height: 14px; border-radius: 7px; }
  .pick { grid-template-columns: 1fr 1fr; }
  .desk .pick button { font-size: 18px; padding: 16px 18px; }
  .desk .pick button:hover { border-color: var(--yellow); }
  .desk .pick small { font-size: 14px; }
  .side { display: grid; gap: 22px; padding-top: 6px; }
  .side h2, .six h2 { font-size: 24px; color: var(--yellow); }
  .got { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 20px; line-height: 1.35; }
  .got li { padding-left: 34px; position: relative; text-wrap: pretty; }
  .got li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--yellow); font-weight: 800; font-size: 22px; line-height: 1.2; }
  .side-note { padding-top: 20px; border-top: 1px solid var(--faint); color: var(--muted); font-size: 17px; }
  .six { display: grid; gap: 20px; padding-top: 8px; }
  .six-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .six-tile { background: var(--card); border-radius: 18px; padding: 22px 24px; display: grid; gap: 6px; }
  .six-tile b { font-size: 20px; font-weight: 800; }
  .six-tile em { font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
  .six-tile span { font-size: 17px; line-height: 1.4; color: var(--muted); }
  .desk .foot { font-size: 15px; }
}
@media (min-width: 900px) and (max-width: 1100px) { .desk input { font-size: 17px; padding: 16px; } }
.proposal { border: 2px solid var(--yellow); }
.proposal .k { color: var(--yellow); }
.pbox { background: var(--card2); border-left: 3px solid var(--yellow); padding: 12px 14px; display: grid; gap: 6px; margin-bottom: 12px; }
.pbox p { font-size: 14px; } .pproj { color: var(--yellow); font-weight: 800; }
.pbox:not(.start) { border-left-color: var(--faint); }
.pbox.start { border-left-color: var(--pink); }
.ptag { color: var(--pink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.proposal .btn { margin: 8px 0; }
.agroups { display: grid; gap: 8px; }
.agroup { border: 1px solid var(--faint); border-radius: 12px; padding: 0 12px; }
.agroup summary { cursor: pointer; display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; list-style: none; }
.agroup summary::-webkit-details-marker { display: none; }
.agroup summary b { font-variant-numeric: tabular-nums; }
.agroup.ok summary b { color: var(--yellow); } .agroup.todo summary b { color: var(--pink); }
.agroup .improve { padding: 0 0 12px; }
.card.audit { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .score.wide { padding-top: 32px; }
  .layout { grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
  .summary { position: sticky; top: 20px; }
  .summary .minis { display: grid; gap: 8px; margin: 4px 0 6px; }
  .total b { font-size: 76px; }
  .area { padding: 18px 0; gap: 6px; }
  .area .h { font-size: 15px; } .area .e, .area .fx { font-size: 14px; }
  .checks { margin-top: 10px; gap: 4px; }
  .crow { grid-template-columns: 56px 220px 1fr; gap: 10px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--faint); }
  .crow b { grid-row: auto; }
  .crow .cline:empty { display: block; }
  .two { grid-template-columns: 1fr 1fr; }
  .glance-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .card { padding: 22px 22px; }
  body { font-size: 17px; }
}
@media (min-width: 1200px) { .layout { grid-template-columns: 380px minmax(0, 1fr); } }
/* ---- redesign: hero, tiles, sections, chips, audit grid ---- */
.sec { display: grid; gap: 2px; margin-bottom: 10px; }
.sec h2 { font-size: 17px; letter-spacing: 0; text-transform: none; }
.hero-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hero .hero-top .k, .hero-date, .hero-note { display: none; }
.hero-date { font-size: 12px; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.hero-score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.hero-label { display: flex; gap: 6px; flex-wrap: wrap; }
.tiles { display: grid; gap: 8px; margin: 6px 0; }
.tile { display: grid; grid-template-columns: 1fr 90px 36px; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tile .tr { height: 8px; background: var(--faint); border-radius: 4px; overflow: hidden; display: block; }
.tile .fl { display: block; height: 100%; background: var(--yellow); border-radius: 4px; }
.tile .fl.p { background: var(--pink); } .tile .fl.g { background: #555; }
.tile b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 800; font-size: 14px; }
.tile small { display: none; }
.print-more { display: none; } .print-note { display: none; }
.crow.pend { opacity: .6; } .crow.pend b { color: var(--muted, #888); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 700; color: var(--fg); background: var(--card2); border: 1px solid var(--faint); padding: 5px 9px; border-radius: 999px; }
.glist li b.pill { background: var(--pink); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; text-align: center; line-height: 1.4; }
.area { border-left: 3px solid var(--yellow); padding-left: 12px; }
.area.tone-p { border-left-color: var(--pink); } .area.tone-g { border-left-color: #555; }
.crow:nth-child(even) { background: rgba(255,255,255,.03); }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 6px 0 14px; }
.atile { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--card2); border-left: 3px solid var(--yellow); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.atile.todo { border-left-color: var(--pink); }
.atile b { font-size: 18px; font-weight: 800; } .atile.ok b { color: var(--yellow); } .atile.todo b { color: var(--pink); }
.audit h3 { font-size: 12px; letter-spacing: .1em; margin-bottom: 8px; } .audit h3.todo { color: var(--pink); }
.runfoot { display: none; }


/* ---- print: a Letter document (Cmd+P or share → PDF) ---- */
/* Real margins. The empty top/bottom-center boxes make Chrome drop its own URL and date lines (tested on Chrome 156);
   the report's own running footer goes in the corners (the business name is set from score.js). */
@page {
  size: letter; margin: 0.5in 0.55in 0.7in;
  @top-center { content: ""; }
  @bottom-center { content: ""; }
  @bottom-left { font: 500 7.5pt Montserrat, Arial, sans-serif; color: #777; width: 80%; white-space: nowrap; }
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 500 7.5pt Montserrat, Arial, sans-serif; color: #777; }
}
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { background: #fff !important; color: #111; min-height: 0; padding: 0; font-size: 11.5pt; line-height: 1.45; }
  .score, .score.wide { max-width: 100%; width: 100%; padding: 0; gap: 12pt; display: block; }
  .score > header, .score > div:first-child { display: none; }
  .layout, .main { display: block; }
  .card, .honest { background: #fff; color: #111; border: 0; border-radius: 0; padding: 0; margin: 0 0 16pt; }
  .k { color: #fe3e6b; font-size: 8.5pt; }
  .sec { margin-bottom: 8pt; padding-bottom: 6pt; border-bottom: 2px solid #111; }
  .sec h2 { color: #111; font-size: 15pt; }
  h3 { font-size: 9.5pt; }
  .muted { color: #555; font-size: 10pt; }
  /* page 1: the hero band and at a glance */
  .summary.hero { background: #111 !important; color: #fff; border-radius: 10pt; padding: 18pt 20pt; margin: 0 0 14pt; break-inside: avoid; display: block; }
  .hero-top { display: flex; justify-content: space-between; }
  .hero .hero-top .k, .hero-date { display: block; }
  .hero .k { color: #ffd84d; }
  .biz { color: #bbb; font-size: 10pt; } .name { color: #fff; font-size: 20pt; }
  .hero-date { color: #bbb; font-size: 9.5pt; }
  .hero-score { margin: 8pt 0 10pt; }
  .total b { color: #ffd84d; font-size: 58pt; } .total span { color: #bbb; font-size: 14pt; }
  .lbl { background: #ffd84d; color: #111; font-size: 9pt; } .lbl.sub { background: #333; color: #ddd; }
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8pt; margin: 4pt 0 10pt; }
  .tile { display: grid; grid-template-columns: 1fr; gap: 3pt; background: #1f1f1f; border-radius: 8pt; padding: 8pt 10pt; color: #fff; font-size: 8.5pt; }
  .tile b { text-align: left; font-size: 20pt; color: #fff; } .tile small { display: block; color: #bbb; font-size: 8pt; text-transform: none; letter-spacing: 0; }
  .tile .tr { background: #3a3a3a; height: 6pt; } .tile .fl { background: #ffd84d; } .tile .fl.p { background: #fe3e6b; } .tile .fl.g { background: #666; }
  .hero .fix { background: #fe3e6b; color: #fff; font-size: 11pt; border-radius: 8pt; }
  .hero .acts, .hero > p.muted { display: none; }
  .hero-note { display: block; color: #bbb; font-size: 9pt; margin-top: 10pt; }
  .honest { display: none; }
  .foot { break-inside: avoid; }
  .glance { break-inside: avoid; }
  .glance .glist li small { display: none; }
  .glance .glist li { font-size: 10.5pt; }
  .glance .glist { gap: 5pt; }
  .glance-line { color: #111; font-size: 12pt; }
  .glance-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18pt; }
  .glance h3.ok { color: #a56b00; } .glance h3.todo, .audit h3.todo, .proposal h3.todo { color: #c4123f; } .proposal h3.ok { color: #a56b00; }
  .chip { color: #111; background: #f4f4f4; border: 1px solid #ddd; font-size: 9pt; padding: 3pt 7pt; }
  .glist li { color: #111; font-size: 10pt; grid-template-columns: 34pt 1fr; }
  .glist li b { color: #a56b00; } .glist.todo li b { color: #c4123f; } .glist li b.pill { background: #fe3e6b; color: #fff; }
  .glist li em, .glist li small { color: #555; }
  /* page 2: nearby and how we can help */
  .nearby { break-inside: avoid; }
  .nearby .minis { display: grid; gap: 5pt; }
  .nearby .mini { color: #111; grid-template-columns: 1fr 80pt 22pt; font-size: 8.5pt; }
  .nearby .mini span:first-child, .nearby .mini b { color: #111; } .nearby .mini .tr { background: #eee; } .nearby .mini .fl { background: #999; } .nearby .mini.me .fl { background: #111; } .nearby .mini.me span:first-child, .nearby .mini.me b { color: #a56b00; }
  .proposal { border: 2px solid #111; border-radius: 8pt; padding: 12pt 14pt; break-inside: avoid; margin-top: 14pt; }
  .proposal .glance-cols { grid-template-columns: 1fr 1fr; gap: 18pt; }
  .pbox { background: #f4f4f4; border-left: 4px solid #111; color: #111; padding: 8pt 10pt; } .pbox p { color: #333; font-size: 10pt; } .pproj { color: #a56b00; }
  .proposal .btn { display: inline-block !important; background: #111; color: #fff; border-radius: 6pt; padding: 7pt 11pt; font-size: 9.5pt; }
  /* the five areas */
  .areas { break-inside: auto; }
  .area { break-inside: avoid; padding: 10pt 0 10pt 12pt; border-top: 0; border-left: 4px solid #ffd84d; margin-bottom: 6pt; }
  .area.tone-p { border-left-color: #fe3e6b; } .area.tone-g { border-left-color: #bbb; }
  .area .h { color: #111; font-size: 11.5pt; }
  .area .tr { background: #eee; height: 7pt; } .area .fl { background: #111; } .area .fl.p { background: #fe3e6b; } .area .fl.g { background: #bbb; }
  .area .e, .area .fx { color: #333; font-size: 10.5pt; } .area .fx b { color: #a56b00; } .area .bm { color: #a56b00; }
  .checks { margin-top: 6pt; gap: 0; }
  .crow { grid-template-columns: 38pt 150pt 1fr; gap: 8pt; font-size: 10pt; color: #333; padding: 4pt 6pt; border-top: 0; }
  .crow:nth-child(even) { background: #f6f6f6; }
  .crow b { grid-row: auto; color: #111; } .crow.ok b { color: #a56b00; } .crow.lost b { color: #c4123f; }
  .crow .clabel { color: #111; } .crow .cline:empty { display: block; }
  /* audit */
  .audit { break-inside: auto; }
  .agrid { grid-template-columns: repeat(4, 1fr); gap: 8pt; }
  .atile { background: #f4f4f4; border-left: 4px solid #a56b00; color: #111; font-size: 9pt; border-radius: 6pt; }
  .atile.todo { border-left-color: #fe3e6b; } .atile b { font-size: 16pt; } .atile.ok b { color: #a56b00; } .atile.todo b { color: #c4123f; }
  .honest { color: #444; font-size: 10pt; border: 1px dashed #bbb; border-radius: 6pt; padding: 10pt 12pt; } .honest b { color: #111; }
  .foot { color: #666; font-size: 9pt; } .foot a { color: #666; text-decoration: none; }
  .runfoot { display: none; }
  .toggle, .linkish, .hp, form.card, .btn, .pending { display: none !important; }
  a { color: #111; text-decoration: none; }

  /* ---- print layout, Nov 2026: one cover page, then the detail flowing without half-empty pages ---- */
  html, body { font-size: 10.5pt; line-height: 1.4; }
  .sec { break-after: avoid; }
  .card, .honest { margin-bottom: 14pt; }
  /* cover: score band */
  .summary.hero { padding: 16pt 18pt 14pt; margin-bottom: 14pt; }
  .name { font-size: 22pt; line-height: 1.15; } .biz:empty { display: none; }
  .hero-score { margin: 6pt 0 10pt; }
  .total b { font-size: 50pt; line-height: 1; }
  .tiles { grid-template-columns: repeat(6, 1fr); gap: 5pt; margin: 0 0 10pt; }
  .tile { padding: 7pt 7pt 6pt; border-radius: 6pt; font-size: 6.5pt; line-height: 1.2; gap: 2pt; grid-template-rows: 16pt auto auto auto; letter-spacing: .02em; }
  .tile b { font-size: 17pt; line-height: 1.1; } .tile small { font-size: 7pt; } .tile .tr { height: 4pt; }
  .hero .fix { font-size: 10.5pt; line-height: 1.35; padding: 8pt 11pt; }
  .hero-note { font-size: 8pt; margin: 8pt 0 0; }
  /* cover: at a glance, what to fix on the left */
  .glance-line { font-size: 11pt; font-weight: 700; margin: 0 0 9pt; }
  .glance .glance-cols { grid-template-columns: 1fr 1.35fr; gap: 20pt; }
  .glance .glance-cols > div:last-child { order: -1; }
  .glance h3 { margin: 0 0 6pt; }
  .glance .glist { gap: 5pt; }
  .glance .glist li { font-size: 9.5pt; line-height: 1.25; grid-template-columns: 26pt 1fr; gap: 7pt; align-items: center; }
  .glance .glist li b.pill { font-size: 8pt; padding: 2pt 0; text-align: center; border-radius: 9pt; }
  .glance .glist li em { font-size: 6.5pt; letter-spacing: .03em; margin-top: 1pt; }
  .glance .glist li.print-extra { display: none; }
  .print-more { display: block; font-size: 8.5pt; color: #555; margin: 6pt 0 0; }
  .glance .chips { display: block; columns: 2; column-gap: 12pt; }
  .glance .chip { display: block; background: none; border: 0; padding: 1.5pt 0; font-size: 8pt; font-weight: 500; color: #333; border-radius: 0; line-height: 1.25; break-inside: avoid; white-space: normal; }
  /* the areas start page 2, so the cover stands alone */
  .areas { break-before: page; }
  .area { padding: 7pt 0 7pt 11pt; margin-bottom: 9pt; }
  .area .h { font-size: 10.5pt; }
  .area .tr { height: 4pt; margin: 4pt 0 6pt; }
  .area:has(.checks) .e { display: none; }
  .area .fx { font-size: 10pt; margin: 0 0 5pt; line-height: 1.35; }
  .area.skip { padding: 4pt 0 4pt 11pt; margin-bottom: 5pt; break-inside: avoid; }
  .area.skip .tr, .area.skip .e { display: none; }
  .area.skip .fx { margin: 2pt 0 0; font-size: 9.5pt; }
  .checks { margin-top: 3pt; }
  .crow, .crow:nth-child(even) { background: none; }
  .crow { grid-template-columns: 22pt 150pt 1fr; gap: 8pt; padding: 2.5pt 0; font-size: 9pt; line-height: 1.3; border-top: 1px solid #eee; break-inside: avoid; }
  .crow.lost { order: -1; font-weight: 500; }
  .crow.ok .clabel { color: #555; } .crow.ok .cline { color: #777; }
  .crow.pend { order: 1; }
  .crow .cline:empty { display: none; }
  .crow:has(.cline:empty) .clabel { grid-column: 2 / -1; }
  /* audit: tiles for the groups, then only what needs doing */
  .agrid { grid-template-columns: repeat(7, 1fr); gap: 5pt; margin: 4pt 0 10pt; }
  .atile { padding: 6pt 7pt; font-size: 6.5pt; line-height: 1.2; } .atile b { font-size: 13pt; display: block; margin-top: 2pt; }
  .audit .glist li { grid-template-columns: 14pt 1fr; gap: 5pt; font-size: 9.5pt; line-height: 1.3; }
  .audit .glist { gap: 6pt; }
  /* how we can help */
  .proposal { padding: 11pt 14pt; margin-top: 4pt; }
  .proposal .glist li { grid-template-columns: 14pt 1fr; gap: 5pt; font-size: 9.5pt; line-height: 1.3; }
  .pbox { padding: 7pt 10pt; font-size: 10pt; margin-bottom: 6pt; break-inside: avoid; }
  .pbox:not(.start) { border-left-color: #bbb; } .pbox.start { border-left-color: #c4123f; }
  .ptag { color: #c4123f; font-size: 8pt; }
  /* the contact line is in the running footer and the scoring note on the cover, so no page can hold only this */
  .foot { display: none; }
  .print-note { display: inline; }
}

.hero .hero-check { margin: 10px 0 0; font-size: .92em; }
@media print { .hero .hero-check { color: #ddd; font-size: 9.5pt; } }


/* ---- report, Nov 2026: fewer lines, a clear next step, areas with full marks kept short ---- */
.area, .area.tone-p, .area.tone-g { border-left: 0; padding-left: 0; }
.area .fx { background: rgba(255, 216, 77, .1); border-radius: 10px; padding: 10px 12px; margin-top: 6px; font-size: 14px; }
.area .fx b { display: block; margin-bottom: 2px; }
.area.allgood { gap: 2px; }
.area.allgood .h span:last-child { color: var(--yellow); }
.area.allgood .tr, .area.allgood .e, .area.allgood .fx, .area.allgood .checks { display: none; }
.area.allgood.open .checks { display: grid; }
.morechecks { justify-self: start; background: none; border: 0; padding: 2px 0; color: var(--muted); font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.oks { display: contents; }
.crow.lost, .crow.lost:nth-child(even) { background: rgba(254, 62, 107, .13); border-left: 3px solid var(--pink); border-top: 0; border-radius: 6px; padding: 8px 10px; margin-bottom: 4px; }
.crow.lost b { font-size: 1.05em; }
.crow.lost .clabel { color: var(--fg); font-weight: 700; }
.crow.lost .cline { color: var(--fg); }
.crow.ok { opacity: .72; }
.hero-wait { display: grid; gap: 8px; padding: 14px 0 4px; border-top: 1px solid var(--faint); margin-top: 4px; }
.hero-wait > b { font-size: 16px; font-weight: 800; }
.meter { display: grid; gap: 6px; }
.meter-track { position: relative; height: 12px; background: var(--faint); border-radius: 6px; overflow: hidden; }
.meter-track i { position: absolute; top: 0; bottom: 0; left: 0; display: block; }
.meter-track .now { background: var(--fg); }
.meter-track .next { background: var(--yellow); }
.meter-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.nearby.pending { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; }
.pdot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--yellow); animation: pulse 1s infinite alternate; }
@media (min-width: 900px) { .area .fx { font-size: 15px; } .summary .acts .btn.pink { font-size: 16px; padding: 16px; } .hero-wait > b { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .pdot { animation: none; } }
@media print {
  .topbar, .page-head, .hero-wait, .morechecks { display: none !important; }
  .area, .area.tone-p, .area.tone-g { border-left: 0; padding: 8pt 0 6pt; border-top: 1px solid #ccc; margin: 0; }
  .area:first-of-type { border-top: 0; }
  .area .fx { background: #fff7d1; border-radius: 5pt; padding: 5pt 8pt; margin: 2pt 0 4pt; color: #222; }
  .area .fx b { display: inline; color: #7a5a00; margin-right: 4pt; font-size: 8pt; }
  .area .tr .fl, .area .fl { background: #111; } .area .fl.p { background: #fe3e6b; } .area .fl.g { background: #bbb; }
  .area.allgood { padding: 6pt 0 4pt; }
  .area.allgood .h span:last-child { color: #111; }
  .area.allgood .checks { display: grid; }
  /* What is losing points stands out; what already earns them steps back. */
  .crow.lost, .crow.lost:nth-child(even) { background: #fff0f3; border-left: 3pt solid #fe3e6b; border-top: 0; border-radius: 3pt; padding: 2.5pt 6pt 2.5pt 5pt; margin: 0 0 1.5pt; font-size: 9pt; line-height: 1.25; }
  .crow.lost b { font-size: 10pt; font-weight: 800; line-height: 1.1; }
  .crow.lost .clabel { color: #111; font-weight: 700; }
  .crow.lost .cline { color: #222; }
  .crow.ok { opacity: 1; }
  .crow.pend { padding-left: 8pt; }
  .oks { display: grid; grid-template-columns: 188pt 1fr; column-gap: 0; order: 0; padding: 1pt 0 0 8pt; }
  /* Same columns as the lost rows above: the second column starts where their description does. */
  .oks .crow { grid-template-columns: 22pt 1fr; gap: 8pt; padding: 1.5pt 0; border-top: 0; font-size: 8.5pt; }
  .oks .crow .cline { display: none; }
  .oks .crow .clabel { grid-column: auto !important; }
  .meter { margin: 0 0 10pt; }
  .meter-track { height: 8pt; background: #eee; border-radius: 4pt; }
  .meter-track .now { background: #111; }
  .meter-track .next { background: #ffd84d; }
  .meter-labels { color: #333; font-size: 8.5pt; }
  .glance-line { margin-bottom: 6pt; }
  /* the audit and the help section share a page: services in a two-by-two grid, and the first fixes in two columns */
  .proposal { break-inside: avoid; }
  .proposal .glance-cols { display: block; }
  .proposal .glance-cols > div:first-child { margin-bottom: 8pt; }
  .proposal .glist { display: block; columns: 2; column-gap: 16pt; }
  .proposal .glist li { break-inside: avoid; margin-bottom: 3pt; font-size: 8.5pt; }
  .proposal .glist li em { font-size: 6.5pt; }
  .proposal .glance-cols > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 6pt 10pt; align-items: start; }
  .proposal .glance-cols > div:last-child > h3 { grid-column: 1 / -1; }
  .proposal .glance-cols > div:last-child { align-items: stretch; }
  .proposal .pbox { margin: 0; padding: 5pt 8pt; font-size: 9pt; gap: 2pt; align-content: start; }
  .proposal .glist li { line-height: 1.22; margin-bottom: 2pt; }
  .proposal .pbox p { font-size: 8.5pt; line-height: 1.3; }
  .proposal .glance-cols > div:last-child > p { font-size: 9pt; line-height: 1.3; align-self: center; margin: 0; }
  .proposal .glance-cols > div:last-child > p.muted, .proposal .btn { display: none !important; }
  .pqr { display: flex; align-items: center; gap: 8pt; }
  .pqr .qr { display: block; width: 44pt; height: 44pt; flex: none; }
  .pqr .qr svg { display: block; width: 100%; height: 100%; }
  .pqr p { font-size: 9pt; font-weight: 700; color: #111; margin: 0; }
  .proposal { padding: 9pt 12pt; margin-top: 0; }
  .proposal .sec { margin-bottom: 5pt; padding-bottom: 4pt; }
  .proposal h3 { margin: 0 0 4pt; }
  .audit { margin-bottom: 8pt; }
  .audit .glist { gap: 3pt; }
  .audit .agrid { margin: 2pt 0 7pt; }
  .audit > .muted { margin-bottom: 3pt; }
  .audit .glist li small { font-size: 8.5pt; line-height: 1.25; }
  .audit .glist li { font-size: 9pt; }
}

/* The score takes the color of its label: pink, yellow or green. */
.lvl-low .total b { color: var(--pink); } .lvl-low .lbl:not(.sub) { background: var(--pink); color: #fff; }
.lvl-high .total b { color: #3ddc84; } .lvl-high .lbl:not(.sub) { background: #3ddc84; color: var(--ink); }
@media print {
  .lvl-low .total b { color: #fe3e6b; } .lvl-low .lbl:not(.sub) { background: #fe3e6b; color: #fff; }
  .lvl-high .total b { color: #3ddc84; } .lvl-high .lbl:not(.sub) { background: #3ddc84; color: #111; }
}

/* The top bar is computers only, so phones get the link back above the title. */
.back-phone { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--fg); text-decoration: none; }
@media (min-width: 900px) { .back-phone { display: none; } }
@media print { .back-phone { display: none; } }

/* Why it matters, under the first fix. */
.fx .why, .fix .why { display: block; margin-top: 5px; font-size: 12px; line-height: 1.4; }
.area .fx .why { color: var(--muted); }
.fix .why { color: rgba(255, 255, 255, .9); }
/* The badge for scores of 80 or more. */
.badge-box .badge-img { display: block; margin: 8px 0 12px; max-width: 100%; height: auto; }
.badge-box textarea.embed { width: 100%; box-sizing: border-box; font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--fg); margin-bottom: 10px; resize: vertical; }
@media print { .badge-box { display: none; } .area .fx .why { color: #555; font-size: 9pt; } .hero .fix .why { font-size: 9.5pt; } }

/* The search we treat as the business's own, and a preview of its Google result. */
.area .yours { margin: 6px 0 4px; font-size: 13px; line-height: 1.4; color: var(--yellow); }
.serp { display: block; background: #fff; color: #111; border-radius: 10px; padding: 12px 14px; margin: 8px 0 10px; }
.serp span { display: block; }
.serp .serp-k { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #777; margin-bottom: 6px; }
.serp .serp-url { font-size: 12px; color: #2e7d32; margin-bottom: 2px; }
.serp .serp-title { font-size: 17px; line-height: 1.3; font-weight: 600; color: #1a0dab; margin-bottom: 3px; }
.serp .serp-desc { font-size: 13px; line-height: 1.45; color: #4d5156; }
@media print { .area .yours { color: #7a5a00; font-size: 9.5pt; } .serp { border: 1px solid #ddd; padding: 8pt 10pt; margin: 4pt 0 6pt; } .serp .serp-title { font-size: 12pt; } .serp .serp-desc { font-size: 9.5pt; } }
