/* ReviewAccess agency portal. Plain CSS, no framework: the ReviewTec dashboard's design system in ReviewAccess blue
   (the legacy portal's #0a8bfe family). Later batches add the portal's own sections. */
:root {
  --ink: #1f2a44;
  --muted: #5d6680;
  --line: #e3e7ef;
  --line-strong: #cfd6e3;
  --accent: #1d6fd8;
  --accent-ink: #15549f;
  --accent-soft: #eaf2fd;
  --bg: #f6f8fb;
  --card: #ffffff;
  --good: #2f8a5b;
  --good-soft: #e8f5ee;
  --poor: #c2413b;
  --poor-soft: #fbeceb;
  --info-soft: #eef2fa;
  --focus: #1d6fd8;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 42, 68, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 15px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 6px; }
p { margin-bottom: 12px; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.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; }
.skip-link { position: absolute; left: 8px; top: -60px; background: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 20; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* The name, as text: nothing depends on a picture loading. */
.wordmark { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--accent); }
.wordmark:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), opacity .15s; }
.btn:hover { background: #f3f5f9; color: var(--ink); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .6; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn-quiet { background: transparent; border-color: transparent; color: var(--muted); }
.btn-quiet:hover { background: #eef1f6; }
.btn-block { width: 100%; }
.btn-small { min-height: 34px; padding: 6px 12px; font-size: .8rem; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-google { background: #fff; border: 1px solid var(--line); color: #3c4043; }
.btn-google:hover { background: #f8f9fa; border-color: #d2d6dc; }

/* Forms */
.stack { display: grid; gap: 14px; }
.stack-top { margin-top: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-link { font-size: .8rem; }
.field input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(29, 111, 216, .18); }
.field input.input-validation-error { border-color: var(--poor); }
.field select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
.field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(29, 111, 216, .18); }
.cf-turnstile { min-height: 65px; }
.field-error { color: var(--poor); font-size: .8rem; }
.field-error:empty { display: none; }
.password-field { position: relative; }
.password-field input { padding-right: 68px; }
.password-field .reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 32px; padding: 4px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--accent-ink); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.password-field .reveal:hover { background: var(--accent-soft); }

/* Alerts */
.alert { padding: 11px 14px; border-radius: var(--radius-sm); font-size: .88rem; border: 1px solid transparent; }
.alert ul { margin: 0; padding: 0; list-style: none; }
.alert li + li { margin-top: 4px; }
.alert-error { background: var(--poor-soft); border-color: #f1cbc8; color: #7d2622; }
.alert-error.validation-summary-valid { display: none; }
.alert-success { background: var(--good-soft); border-color: #cae8d6; color: #1f5c3c; }
.alert-info { background: var(--info-soft); border-color: #dbe3f3; }

/* Sign-in, sign-out and reset pages */
.account-body { background: var(--bg); }
.account-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.account-logo { margin-bottom: 22px; font-size: 1.6rem; }
.account-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.account-title { font-size: 1.4rem; margin-bottom: 4px; }
.account-lede { color: var(--muted); margin-bottom: 20px; }
.account-card .alert { margin-bottom: 14px; }
.account-card form .alert { margin-bottom: 0; }
.account-alt { margin: 20px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.account-alt + .account-alt { margin-top: 8px; }
.account-legal { margin: 16px 0 0; font-size: .75rem; color: var(--muted); text-align: center; }
.step-label { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.account-foot { margin-top: 20px; font-size: .75rem; color: var(--muted); }
.account-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .8rem; }
.account-divider::before, .account-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .account-card { padding: 24px 20px; } }

/* Portal shell */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.site-user { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.site-signout { margin: 0; }
.page { max-width: 1120px; margin: 0 auto; padding: 32px 24px; }
.welcome { max-width: 680px; }
@media (max-width: 640px) { .site-header { padding: 12px 16px; } .page { padding: 24px 16px; } }

/* Portal navigation */
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.site-nav a { padding: 12px 12px 10px; color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent-ink); border-bottom-color: var(--accent); }
@media (max-width: 640px) { .site-nav { padding: 0 12px; } .site-nav a { padding: 10px 8px 8px; } }

/* Portal pages */
.page-head { margin-bottom: 20px; }
.page-head h1 { margin-bottom: 2px; }
.page-head p { margin: 0; }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.stack-bottom { margin-bottom: 16px; }
.banner { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; border: 1px solid transparent; }
.banner-warn { background: #fff7e0; border-color: #f0dca6; color: #6b4e0f; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.panel-flush { padding: 0; overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.panel-head h2 { font-size: 1rem; margin: 0; white-space: nowrap; }
.panel-link { font-size: .85rem; font-weight: 600; }
.panel-note { font-size: .8rem; color: var(--muted); }
.empty { margin: 0; color: var(--muted); }
.columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.columns > .panel, .columns > .stack > .panel { margin-bottom: 0; }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr; } }

/* Figures */
.figures { display: grid; gap: 12px; }
.figures-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 960px) { .figures-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .figures-4, .figures-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.figure { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); background: #f7f9fc; border: 1px solid var(--line); }
.figure-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.figure-label { font-size: .8rem; color: var(--muted); }
.figure.tone-green .figure-value { color: var(--good); }
.figure.tone-amber .figure-value { color: #9a6a0a; }
.figure.tone-red .figure-value { color: var(--poor); }

/* Pills */
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; background: #eef1f6; color: var(--muted); }
.pill.tone-blue { background: #e9effb; color: #2f53a8; }
.pill.tone-violet { background: #efebfb; color: #5a3fb0; }
.pill.tone-orange { background: #fdefe2; color: #a4520f; }
.pill.tone-green { background: var(--good-soft); color: #1f6b44; }
.pill.tone-gold { background: #fcf2d8; color: #8a6207; }
.pill.tone-sky { background: #e2f2f9; color: #16688a; }
.pill.tone-red { background: var(--poor-soft); color: #a3342f; }
.pill.tone-teal { background: #ddf2f1; color: #0b6a66; }
.pill.tone-amber { background: #fff3d6; color: #8a5a00; }
.pill.tone-slate { background: #edf0f5; color: #4a566e; }

/* Feed and simple rows */
.feed, .rows { list-style: none; margin: 0; padding: 0; }
.feed-item { padding: 10px 0; border-top: 1px solid var(--line); }
.feed-item:first-child { border-top: 0; padding-top: 0; }
.feed-text { margin: 6px 0 2px; }
.feed-meta { margin: 0; font-size: .78rem; color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row-main { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

/* Tables, search, pager */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.cell-main { font-weight: 600; overflow-wrap: anywhere; }
.cell-actions { text-align: right; }
.cell-actions form { margin: 0; }
@media (max-width: 560px) { .table th, .table td { padding: 10px 10px; } }
.search { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.search input { flex: 1 1 240px; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; }
.search input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(29, 111, 216, .18); }
.list-count { margin: 8px 2px 0; }
.pager { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.cell-sub { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
/* A table whose rows become small stacked blocks on a phone (each cell labelled), so nothing is cut off. */
@media (max-width: 640px) {
  .table-stack thead { display: none; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td, .table-stack tr:last-child td { padding: 2px 0; border: 0; }
  .table-stack td[data-label]::before { content: attr(data-label) ": "; font-size: .8rem; color: var(--muted); }
  .table-stack .cell-actions { text-align: left; margin-top: 8px; }
}

/* Profile, support and tutorials */
.field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(29, 111, 216, .18); }
.field textarea.input-validation-error, .field select.input-validation-error { border-color: var(--poor); }
.field-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 14px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field-label { font-size: .85rem; font-weight: 600; }
.field-static { margin: 0; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.logo { display: flex; gap: 16px; align-items: center; }
.logo p { margin-bottom: 4px; }
.logo-frame { flex: 0 0 160px; height: 88px; display: flex; align-items: center; justify-content: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f7f9fc; }
.logo-frame img { max-width: 100%; max-height: 100%; }
@media (max-width: 480px) { .logo { flex-direction: column; align-items: flex-start; } .logo-frame { flex-basis: auto; width: 100%; } }
.thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bubble { padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); max-width: 92%; }
.bubble-me { background: var(--accent-soft); border-color: #cfe0f8; justify-self: end; }
.bubble-support { background: #fff; justify-self: start; }
.bubble-meta { margin: 0 0 4px; font-size: .78rem; color: var(--muted); }
.bubble-meta strong { color: var(--ink); }
.bubble-text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.tutorials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .tutorials { grid-template-columns: 1fr; } }
.tutorial { display: flex; gap: 14px; align-items: flex-start; }
.tutorial-icon { flex: 0 0 56px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); }
.tutorial-text p { margin-bottom: 6px; }
.narrow-wide { max-width: 900px; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; background: #0f172a; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose { margin: 0; white-space: pre-line; }

/* Businesses */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.facts dt { font-size: .85rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; } }
.link-text { overflow-wrap: anywhere; }
/* Billing */
.panel-flush > .empty { padding: 16px 20px; margin: 0; }
.panel-flush > .panel-head { padding: 16px 20px 0; }
.matches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.match { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; }
.match form { margin: 0; flex: 0 0 auto; }
.match-text { min-width: 0; }
.match-text .strong-line { display: block; margin-bottom: 2px; }
@media (max-width: 480px) { .match { flex-direction: column; align-items: flex-start; } }
.form-actions form { margin: 0; }
.page-head-row .form-actions { align-items: center; }

/* Team pages */
.back-link { display: inline-block; margin-bottom: 12px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.back-link::before { content: "\2190\00a0"; }
.narrow { max-width: 720px; }
.strong-line { font-weight: 600; margin-bottom: 6px; overflow-wrap: anywhere; }
.inline-form { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 260px; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-danger { color: var(--poor); border-color: #f1cbc8; }
.btn-danger:hover { background: var(--poor-soft); color: #a3342f; }
.choices { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.choices legend { padding: 0; margin-bottom: 6px; font-size: .85rem; font-weight: 600; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { margin: 3px 0 0; accent-color: var(--accent); }
.choice-note { display: block; font-size: .8rem; color: var(--muted); }

/* Status and error pages */
.state { max-width: 560px; margin: 48px auto; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.state h1 { margin: 0 0 8px; font-size: 1.5rem; }
.state p { color: var(--muted); }

/* reviewaccess.com's public pages (batch 7): the portal chooser, the legal pages, businesses' review pages */
.public-body { display: flex; flex-direction: column; min-height: 100vh; }
.public-header { padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.public-page { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 32px 24px 48px; }
.public-foot { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 18px 16px 28px; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .public-header { padding: 12px 16px; } .public-page { padding: 24px 16px 40px; } }

.chooser { max-width: 720px; margin: 24px auto 0; text-align: center; }
.chooser h1 { margin-bottom: 24px; }
.chooser-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chooser-card { display: grid; justify-items: center; gap: 6px; padding: 28px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.chooser-card:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.chooser-icon { margin-bottom: 6px; }
.chooser-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.chooser-note { color: var(--muted); font-size: .9rem; }
@media (max-width: 480px) { .chooser-cards { grid-template-columns: 1fr; } }

.legal { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 8px 32px; align-items: start; }
.legal-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-head p { margin: 0; }
.legal-body { min-width: 0; overflow-wrap: anywhere; }
.legal-body h2 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-body h3 { font-size: 1rem; margin: 20px 0 10px; }
.legal-body p { margin-bottom: 12px; }
.legal-indent { padding-left: 20px; }
.legal-point { position: relative; padding-left: 30px; }
.legal-point::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--good-soft); }
.legal-point::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--good); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.legal-address { margin: 0 0 12px 20px; }
.legal-card { position: sticky; top: 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-card h2 { font-size: 1.05rem; margin-bottom: 8px; }
.legal-card h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 4px; }
.legal-card p { margin: 0; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-card { position: static; } }
/* A business's review page, one location's, and a shared review */
.business-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.business-logo { width: 112px; height: 112px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 6px; }
.business-title h1 { margin-bottom: 12px; overflow-wrap: anywhere; }
.business-score { display: grid; justify-items: center; gap: 2px; min-width: 150px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.business-score strong { font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.business-score small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.business-score-label { font-size: .8rem; color: var(--muted); }
@media (max-width: 720px) { .business-head { grid-template-columns: auto minmax(0, 1fr); } .business-score { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 420px) { .business-head { grid-template-columns: 1fr; } .business-logo { width: 88px; height: 88px; } }
.review-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.review-item { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.review-source { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-source img { border-radius: 50%; border: 1px solid var(--line); }
.review-stars { color: #d98a00; letter-spacing: 2px; font-size: 1.05rem; }
.review-text { margin: 0 0 8px; white-space: pre-line; overflow-wrap: anywhere; }
blockquote.review-text { font-size: 1.05rem; }
.review-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: .85rem; color: var(--muted); }
.review-meta strong { color: var(--ink); }
.placeholder p:last-child { margin-bottom: 0; }
.shared { max-width: 720px; margin: 0 auto; }
.shared .share { margin-top: 24px; }
.shared .share h2 { font-size: 1rem; }
.share-link { margin-top: 14px; }
.share-link input { flex: 1 1 260px; min-height: 38px; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; font-size: .85rem; color: var(--muted); background: #fafbfd; }

/* The review form and its location chooser */
.review-form { max-width: 440px; margin: 8px auto 0; text-align: center; }
.review-form .business-logo { margin-bottom: 14px; }
.review-form h1 { margin-bottom: 4px; }
.review-form .lede { font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; overflow-wrap: anywhere; }
.review-form form { text-align: left; margin-top: 8px; }
.review-form .alert { text-align: left; }
.review-form-foot { margin-top: 22px; font-size: .88rem; }
.location-choices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.location-choice { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); text-decoration: none; }
.location-choice:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.location-choice .strong-line { margin: 0; }
/* The hidden field scripts fill: off-screen rather than display:none, which some scripts skip. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media print {
  .public-header, .public-foot, .legal-head .btn, .skip-link { display: none; }
  .public-page { padding: 0; }
  .legal { display: block; }
  .legal-card { box-shadow: none; }
}
