/* ============================================================
   Absolutely Dominate — Partner Portal design system
   Tokens lifted from live computed CSS at absolutelydominate.com
   This file is the real thing: it carries into the PHP build.
   ============================================================ */

:root {
  --ad-orange:     #FF9900;
  --ad-orange-hi:  #FF8209;
  --ad-navy:       #022858;
  --ad-navy-ink:   #041828;
  --ad-paper:      #FEFBF8;   /* tried #F1EDE6 on 2026-10-09; Jeremy preferred this */
  --ad-white:      #FFFFFF;
  --ad-gray:       #6B645A;   /* was #938E88 (2.8:1); now 5.0:1 on the page, 5.8:1 on white */
  --ad-ink:        #222222;

  --ad-line:       #E4DFD9;
  --ad-line-dark:  rgba(255,255,255,.10);
  --ad-ok:         #1F8A54;
  --ad-warn:       #C2410C;
  --ad-info:       #1D4F91;

  /* Corrected against the live site, which was measured rather than
     remembered: 33 elements carry a radius and NOT ONE is square. The
     values run 10, 20, 25, 30, 35, 45, 50 and 100px. The old note here
     said the brand has zero rounded corners, and everything built on top
     of it inherited that — which is the boxed feeling, in one line.

     The site also uses NO drop shadows at all. Depth there comes from
     blocks of colour and photography. Linear, for comparison, uses
     hairline rings rather than shadows too. Ours should do the same. */
  --ad-radius:      14px;               /* cards, panels, dialogs */
  --ad-radius-sm:    9px;               /* inputs, thumbnails, small tiles */
  --ad-radius-pill: 100px;              /* buttons, tabs, chips, badges */
  --ad-ring:        0 0 0 1px rgba(4,24,40,.07);
  --ad-lift:        0 8px 24px rgba(4,24,40,.10);
  /* The torn break the site uses between its bands, kept as a token so a
     second place that needs one does not draw its own. */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1200 V16 L1200,16 L1186,8 L1165,8 L1145,6 L1105,7 L1072,3 L1049,16 L1006,12 L990,19 L946,19 L918,10 L879,6 L864,18 L844,12 L818,8 L779,4 L742,18 L704,13 L673,14 L633,14 L600,7 L559,10 L513,16 L472,3 L426,10 L384,17 L368,9 L349,16 L333,9 L316,5 L285,16 L247,8 L215,17 L174,17 L147,9 L133,19 L119,15 L101,15 L65,15 L38,10 L0,7 Z' fill='%23000'/%3E%3C/svg%3E");
  --ad-sidebar: 252px;
  --ad-navy-edge:  #0C2236;             /* the one hairline between rail and page */
  --ad-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --ad-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--ad-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ad-ink);
  background: var(--ad-paper);
  -webkit-font-smoothing: antialiased;
}

/* ---------- type ----------
   Caps and wide tracking belong to display type and to the orange eyebrow
   above a headline. Nothing else.

   This file used to set text-transform:uppercase in thirty-seven places — the
   nav, the group headings, the breadcrumb, the status tags and the logo
   strapline among them. When every level of the hierarchy shouts, none of
   them is louder than another and the eye has nothing to sort by. Caps on
   Bebas is the brand; caps on Barlow, a text face, is wallpaper, and it costs
   real legibility — "WEB HOSTING & MAINTENANCE" needs two lines in the rail
   where sentence case needs one. */

.display {
  font-family: var(--ad-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .95;
  margin: 0;
}
h1.display { font-size: 42px; }
h2.display { font-size: 30px; }
h3.display { font-size: 21px; letter-spacing: 0; }

.eyebrow {
  font-family: var(--ad-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .26em;      /* the site runs 9.6px tracking at 48px — same ratio */
  color: var(--ad-orange);
  margin: 0 0 6px;
}
.eyebrow.muted { color: var(--ad-gray); }

.lede { color: #55504B; margin: 6px 0 0; max-width: 62ch; }
.muted { color: var(--ad-gray); }
.tiny { font-size: 12.5px; }

/* ---------- shell ---------- */

/* 100vh, not a fixed 760px: on a short page the sidebar stopped partway down
   the screen and left a pale gap beneath it. The sidebar itself sticks, so it
   stays usable on a long page instead of scrolling away. */
.portal { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--ad-sidebar);
  flex: 0 0 var(--ad-sidebar);
  background: var(--ad-navy-ink);
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
  color: #97A3AF;
  border-right: 1px solid var(--ad-navy-edge);
  display: flex;
  flex-direction: column;
}

/* No border under the logo: the nav has its own top padding, and two devices
   doing one separating job is how a sidebar starts to look busy. */
.brand {
  padding: 20px 18px 16px;
}
.brand .sub {
  font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase;
  color: #4C5A68; margin-top: 9px;
}

.nav { padding: 6px 0 14px; flex: 1; }

/* Caps, but quiet. A section heading should be findable when looked for and
   invisible when not: it labels the group, it is not a member of it. */
.nav-group {
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #46525E; padding: 18px 18px 6px; font-weight: 700;
}

/* Sentence case, no tracking, and a size that can carry weight without
   shouting. "Web Hosting & Maintenance" now sits on one line, which is the
   difference between a nav item and a paragraph. */
.nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 18px;
  color: #A9B4BF; text-decoration: none;
  font-weight: 600; font-size: 14px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.nav a:hover { background: rgba(255,255,255,.035); color: #F2F5F8; }
.nav a.active {
  background: rgba(255,153,0,.10);
  border-left-color: var(--ad-orange);
  color: #fff;
}
.nav a.locked { color: #5A6773; cursor: pointer; }
.nav a.locked:hover { background: rgba(255,255,255,.03); color: #99A5B1; }

/* A count, not a headline. It used to carry heavier tracking than the nav
   item it was attached to. */
.nav .badge {
  margin-left: auto;
  background: var(--ad-orange); color: #041828;
  font-size: 10px; font-weight: 700; letter-spacing: 0;
  padding: 1px 6px; line-height: 1.5;
}

.sidebar-foot {
  padding: 14px 18px; border-top: 1px solid var(--ad-navy-edge);
  font-size: 11.5px; color: #4C5A68;
}

/* ---------- main ---------- */

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* A hairline on white against a cream page is not a bar, it is a seam
   nobody can see. With its own edge and a shadow it reads as where the
   application stops and the page begins. */
.topbar {
  background: var(--ad-white);
  border-bottom: 1px solid #E4DCD1;
  box-shadow: 0 4px 14px rgba(4,24,40,.045);
  padding: 0 28px;
  height: 58px;
  display: flex; align-items: center; gap: 18px;
  position: relative; z-index: 5;
}
/* The breadcrumb had the same treatment as the nav headings and the page
   eyebrow, so three unrelated things all looked equally important. It is the
   smallest text on screen that anyone actually reads. */
.topbar .crumb {
  font-size: 13px; color: #6E6862; font-weight: 500;
}
.topbar .spacer { flex: 1; }
.avatar {
  width: 32px; height: 32px; background: var(--ad-navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--ad-display); font-size: 14px; letter-spacing: .04em;
}

.content { padding: 28px 30px 40px; flex: 1; }
.page-head { margin-bottom: 26px; }

/* ---------- primitives ---------- */

.card {
  background: var(--ad-white);
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
}
.card-pad { padding: 22px; }
.card-head {
  padding: 15px 22px; border-bottom: 1px solid var(--ad-line);
  display: flex; align-items: center; gap: 12px;
}
.card-head .spacer { flex: 1; }

.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-main { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ad-body); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 11px 20px; border: 1px solid transparent; border-radius: var(--ad-radius);
  background: var(--ad-orange); color: #16110B; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--ad-orange-hi); }
.btn.ghost { background: transparent; border-color: var(--ad-navy); color: var(--ad-navy); }
.btn.ghost:hover { background: var(--ad-navy); color: #fff; }
.btn.dark { background: var(--ad-navy); color: #fff; }
.btn.dark:hover { background: var(--ad-navy-ink); }
.btn.sm { padding: 7px 13px; font-size: 11px; }

/* progress */
.bar { height: 10px; background: #E8E3DD; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--ad-orange); }
.bar.thick { height: 18px; }
/* Two figures on one track: orange = submitted-or-approved (what the partner sees),
   navy = approved (what the roster sorts on). Both absolute so the stack is explicit,
   not a side effect of paint order — navy is later in the DOM, so it sits on top. */
.bar.dual { position: relative; }
.bar.dual > i { position: absolute; left: 0; top: 0; height: 100%; }
.bar.dual > i.submitted { background: var(--ad-orange); }
.bar.dual > i.approved  { background: var(--ad-navy); }
.bar-legend { display: flex; gap: 16px; font-size: 11.5px; color: var(--ad-gray); margin-top: 8px; }
.bar-legend b { color: var(--ad-ink); }
.key { display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: baseline; }
.key.o { background: var(--ad-orange); } .key.n { background: var(--ad-navy); }

.pct { font-family: var(--ad-display); font-size: 44px; line-height: .9; }

/* status chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid;
}
.chip.todo     { color: var(--ad-gray);  border-color: var(--ad-line);  background: #F5F1EC; }
.chip.doing    { color: var(--ad-info);  border-color: #BCD0E8;         background: #EDF3FA; }
.chip.submit   { color: #6B4E00;         border-color: #F0D9A6;         background: #FDF6E7; }
.chip.revise   { color: var(--ad-warn);  border-color: #F3C9AF;         background: #FDF0E8; }
.chip.approved { color: var(--ad-ok);    border-color: #B6DCC6;         background: #EDF7F1; }
.chip.locked   { color: var(--ad-gray);  border-color: var(--ad-line);  background: #F5F1EC; }

/* table */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th {
  text-align: left; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ad-gray); font-weight: 700; padding: 11px 16px; border-bottom: 1px solid var(--ad-line);
  white-space: nowrap;
}
.tbl td { padding: 13px 16px; border-bottom: 1px solid #F0EBE5; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #FCFAF7; }
.tbl .num { font-variant-numeric: tabular-nums; }

/* step rows */
.step {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; border-bottom: 1px solid #F0EBE5; cursor: pointer;
}
.step:last-child { border-bottom: 0; }
.step:hover { background: #FCFAF7; }
.step .tick {
  width: 22px; height: 22px; flex: none; border: 2px solid var(--ad-line);
  display: grid; place-items: center; font-size: 12px; color: transparent;
}
.step.done .tick { background: var(--ad-ok); border-color: var(--ad-ok); color: #fff; }
.step.sub .tick  { background: var(--ad-orange); border-color: var(--ad-orange); color: #16110B; }
.step.rev .tick  { border-color: var(--ad-warn); color: var(--ad-warn); }
.step .txt { flex: 1; min-width: 0; }
.step .txt b { display: block; font-weight: 600; font-size: 14.5px; }
.step .txt span { font-size: 12.5px; color: var(--ad-gray); }
.section-head {
  padding: 13px 22px; background: #F7F3EE; border-bottom: 1px solid var(--ad-line);
  display: flex; align-items: center; gap: 12px;
}
.section-head .t {
  font-family: var(--ad-display); font-size: 16px; text-transform: uppercase; letter-spacing: .04em;
}
.section-head .spacer { flex: 1; }

/* revision note */
.note {
  margin: 0 22px 14px; padding: 13px 15px;
  background: #FDF0E8; border-left: 3px solid var(--ad-warn);
}
.note .who {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--ad-warn); margin-bottom: 3px;
}

/* dropzone + thumbs */
.drop {
  border: 2px dashed #D6CFC7; background: #FBF8F4;
  padding: 40px 24px; text-align: center;
}
.drop .big { font-family: var(--ad-display); font-size: 22px; text-transform: uppercase; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.thumb { border: 1px solid var(--ad-line); background: #fff; }
.thumb .ph {
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(135deg, #E9E3DB, #D9D2C9); color: #8A837B; font-size: 22px;
}
.thumb .meta { padding: 7px 9px; font-size: 11.5px; }
.thumb .meta b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* requirement list */
.req { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.req li { padding: 7px 0; border-bottom: 1px solid #F0EBE5; display: flex; gap: 9px; }
.req li:last-child { border-bottom: 0; }
.req .m { color: var(--ad-ok); font-weight: 700; }

/* upsell modal */
/* fixed, not absolute. Absolute made the overlay the size of the whole page,
   so "centre it" meant the middle of the document rather than the middle of
   the screen: open a service panel from anywhere below the fold and it was
   centred somewhere above you, cut off or entirely out of sight.
   overflow-y so a long panel on a short screen can still be scrolled to its
   buttons instead of ending in a dead edge. */
.scrim {
  position: fixed; inset: 0; background: rgba(4,24,40,.62);
  display: none; place-items: center; z-index: 40; padding: 24px;
  overflow-y: auto;
}
.scrim.on { display: grid; }
.upsell { background: #fff; max-width: 470px; width: 100%; }
.upsell .hd { background: var(--ad-navy-ink); color: #fff; padding: 26px 28px; }
.upsell .bd { padding: 24px 28px 28px; }
.upsell .ft { padding: 0 28px 26px; display: flex; gap: 10px; }

/* invoice print preview */
.paper {
  background: #fff; border: 1px solid var(--ad-line); padding: 34px;
  box-shadow: var(--ad-ring);
}
.paper .inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  border-bottom: 3px solid var(--ad-navy-ink); padding-bottom: 16px; }
.paper .tot { border-top: 2px solid var(--ad-navy-ink); }

.stat { padding: 18px 20px; }
.stat .n { font-family: var(--ad-display); font-size: 34px; line-height: 1; }
.stat .l { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ad-gray); margin-top: 5px; }

.mini-bar { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.mini-bar .bar { flex: 1; height: 7px; }
.mini-bar .v { font-size: 12.5px; font-weight: 700; width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

/* The menu button and the brand belong to narrow screens only. On a desktop
   the sidebar carries both and these would be a second copy of each. */
.navbtn, .topbrand { display: none; }

@media (max-width: 900px) {
  .g-main, .g-2, .g-3 { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(2, 1fr); }

  /* ---------- navigation on a phone ----------
     The sidebar used to be display:none here, with nothing in its place: a
     partner could read the page they landed on and go nowhere else. It slides
     in from the side now rather than being hidden. */
  .navbtn {
    display: grid; place-items: center; width: 38px; height: 38px; flex: none;
    margin-left: -8px; line-height: 0; cursor: pointer;
    border: 0; border-radius: var(--ad-radius-sm);
    background: none; color: var(--ad-ink);
    transition: background .12s;
  }
  .navbtn:hover { background: #F1ECE4; }
  .navbtn:focus-visible { outline: none; box-shadow: var(--ad-ring); }

  .topbrand { display: block; line-height: 0; }
  .topbrand img { display: block; height: 24px; width: auto; }
  /* The page name is in the drawer and in the heading below; on a narrow bar
     it only competes with the logo. */
  .topbar .crumb { display: none; }

  .sidebar {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 70;
    width: min(var(--ad-sidebar), 86vw);
    transform: translateX(-100%);
    transition: transform .22s ease, box-shadow .22s ease;
    overflow-y: auto;
  }
  /* The shadow only while open: parked off-screen, its blur still spilled
     onto the page as a grey smear down the left edge. */
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(4,24,40,.35); }

  .navscrim {
    position: fixed; inset: 0; z-index: 65;
    background: rgba(4,24,40,.5);
    opacity: 0; visibility: hidden;
    transition: opacity .22s, visibility .22s;
  }
  body.nav-open .navscrim { opacity: 1; visibility: visible; }
  /* The page behind must not scroll while the drawer is over it. */
  body.nav-open { overflow: hidden; }
}

/* A drawer that animates is a drawer that flies across the screen for somebody
   who has asked their machine to stop doing that. */
@media (prefers-reduced-motion: reduce) {
  .sidebar, .navscrim { transition: none; }
}

/* ---------- storage meter ---------- */
/* Segmented by category so a partner can see what is actually eating the
   allowance. Rate limits are never shown — publishing an abuse threshold only
   tells an abuser where the line is. */
.meter { display: flex; height: 14px; background: #E8E3DD; overflow: hidden; }
.meter > i { display: block; height: 100%; }
.meter .ph { background: var(--ad-orange); }
.meter .vd { background: var(--ad-navy); }
.meter .dc { background: var(--ad-gray); }
.meter-key { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; }
.meter-key b { font-variant-numeric: tabular-nums; }

.warnband {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 16px; background: #FDF6E7; border-left: 3px solid var(--ad-orange);
  margin-bottom: 18px;
}

/* ---------- upload progress ---------- */
.upl { display: flex; gap: 13px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F0EBE5; }
.upl:last-child { border-bottom: 0; }
.upl .ic {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  background: #F2EDE7; color: #8A837B; font-size: 15px;
}
.upl.ok .ic   { background: #EDF7F1; color: var(--ad-ok); }
.upl.err .ic  { background: #FDF0E8; color: var(--ad-warn); }
.upl .body { flex: 1; min-width: 0; }
.upl .body .nm {
  display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; font-weight: 600;
}
.upl .body .nm span { margin-left: auto; font-weight: 400; color: var(--ad-gray); font-size: 12px;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.upl .body .bar { height: 5px; margin-top: 7px; }
.upl.err .bar > i { background: var(--ad-warn); }
.upl .act { flex: none; }

/* ---------- file library ---------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ad-line); }
.tabs a {
  padding: 12px 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ad-gray); text-decoration: none;
  border-bottom: 3px solid transparent; cursor: pointer;
}
.tabs a:hover { color: var(--ad-ink); }
.tabs a.on { color: var(--ad-ink); border-bottom-color: var(--ad-orange); }
.tabs .count { color: #B6AFA7; font-weight: 600; margin-left: 5px; }


/* ---------- section sub-tabs ----------
   The usual pattern: page title, then a row of tabs, then only that tab's
   content. Replaces a single long scrolling checklist — a partner sees one
   thing at a time and the page stops feeling like a chore list. */
.subtabs {
  display: flex; gap: 0; flex-wrap: wrap;
  border-bottom: 1px solid var(--ad-line);
  margin-bottom: 24px;
}
.subtabs a {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ad-gray); text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.subtabs a:hover { color: var(--ad-ink); }
.subtabs a.on { color: var(--ad-ink); border-bottom-color: var(--ad-orange); }
.subtabs a.locked { color: #C2BBB3; cursor: not-allowed; }
.subtabs a.locked:hover { color: #C2BBB3; }
.subtabs .mark {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; flex: none;
  font-size: 10px; font-weight: 700;
  border: 1.5px solid var(--ad-line); color: transparent;
}
.subtabs .mark.done { background: var(--ad-ok); border-color: var(--ad-ok); color: #fff; }
.subtabs .mark.part { border-color: var(--ad-orange); color: var(--ad-orange); }
.subtabs .mark.lock { border: 0; color: var(--ad-gray); font-size: 12px; }

/* one step, rendered inline inside its section tab */
.stepcard { border: 1px solid var(--ad-line); background: #fff; margin-bottom: 18px; }
.stepcard > .hd {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px 0;
}
.stepcard > .hd .t { flex: 1; }
.stepcard > .hd .t h3 {
  font-family: var(--ad-display); font-size: 20px; text-transform: uppercase;
  letter-spacing: 0; margin: 0 0 3px;
}
.stepcard > .hd .t p { margin: 0; font-size: 13.5px; color: #55504B; }
.stepcard > .bd { padding: 18px 22px 22px; }
.stepcard > .ft {
  padding: 14px 22px; border-top: 1px solid #F0EBE5; background: #FCFAF7;
  display: flex; align-items: center; gap: 12px;
}
.stepcard .helpline {
  margin: 16px 0 0; padding: 13px 15px; background: #FBF8F4; border: 1px solid var(--ad-line);
}
.stepcard .helpline ul { margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.stepcard .helpline li { padding: 3px 0; color: #55504B; }
.stepcard .helpline li:before { content: "\2713"; color: var(--ad-ok); font-weight: 700; margin-right: 7px; }

.fld { margin-bottom: 18px; }
.fld:last-child { margin-bottom: 0; }
.fld label {
  display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--ad-gray); margin-bottom: 8px;
}
.fld input, .fld textarea, .fld select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--ad-line);
  font: inherit; font-size: 14.5px; background: #fff; border-radius: 0;
}
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--ad-orange); outline-offset: -2px; }
/* Our own chevron on every form dropdown, with room for it (Jeremy, 13 Nov: "Arrows still get cut"):
   the browser's arrow sat at the box's rounded edge and clipped. Same fix as the playbook's dropdowns. */
.fld select:not([multiple]):not([size]), .pp-pb select:not([multiple]):not([size]) {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%235E6672' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px;
}

.gatebar {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; background: #F7F3EE; border: 1px solid var(--ad-line); margin-bottom: 22px;
}

/* ---------- numbered stepper ----------
   Nodes divide the row evenly (flex: 1 1 0) and the connecting line is drawn
   by each node onto the gap behind it. The previous version used flexible
   spacer elements between fixed-width nodes, which let the last label overhang
   the container and get clipped at the right edge — the node box has to own its
   own label for the label to stay inside it. */
.stepper {
  display: flex; align-items: flex-start;
  margin: 26px 0 34px; padding-bottom: 4px;
}
.stepper .node {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-decoration: none; position: relative; padding: 0 4px;
}
/* the rail sits behind, from the previous dot to this one */
.stepper .node + .node::before {
  content: ""; position: absolute; z-index: 0;
  top: 21px; height: 1px; background: var(--ad-line);
  right: calc(50% + 26px); left: calc(-50% + 26px);
}
.stepper .dot {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--ad-display); font-size: 18px; letter-spacing: .04em;
  background: #fff; border: 1.5px solid var(--ad-line); color: var(--ad-gray);
}
.stepper .lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ad-gray); text-align: center; line-height: 1.35;
  max-width: 100%; overflow-wrap: break-word; hyphens: auto;
}
.stepper .node.on   .dot { background: var(--ad-orange); border-color: var(--ad-orange); color: #16110B; }
.stepper .node.on   .lbl { color: var(--ad-ink); }
.stepper .node.on::after {
  content: ""; position: absolute; bottom: -10px; left: 20%; right: 20%;
  height: 3px; background: var(--ad-orange);
}
.stepper .node.done .dot { background: var(--ad-ok); border-color: var(--ad-ok); color: #fff; }
.stepper .node.done .lbl { color: var(--ad-ink); }
.stepper .node.part .dot { border-color: var(--ad-orange); color: var(--ad-orange); }
.stepper .node.lock .dot { background: #F5F1EC; color: #C2BBB3; }
.stepper .node.lock .lbl { color: #C2BBB3; }
.stepper .node.lock { cursor: not-allowed; }
.stepper .padlock {
  position: absolute; top: -4px; right: -7px; font-size: 11px;
  background: var(--ad-paper); line-height: 1; padding: 1px 2px; border-radius: 50%;
}

/* Narrow screens: let it scroll rather than crushing five labels into nothing. */
@media (max-width: 680px) {
  .stepper { overflow-x: auto; }
  .stepper .node { flex: 0 0 132px; }
}
/* header banner: steps remaining + the line about why it matters */
.headline { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.headline .lede { flex: 1; min-width: 280px; }
.stepsleft {
  display: flex; align-items: center; gap: 16px;
  background: #FDF3E3; border: 1px solid #F2DFBC; padding: 14px 20px;
}
.stepsleft .n { font-family: var(--ad-display); font-size: 40px; line-height: .85; color: var(--ad-orange); }
.stepsleft .w {
  font-family: var(--ad-display); font-size: 17px; line-height: 1.05;
  text-transform: uppercase; letter-spacing: .02em;
}
.stepsleft .say {
  border-left: 1px solid #EBD6AF; padding-left: 16px;
  font-size: 12.5px; line-height: 1.4; color: #6B4E00; max-width: 190px;
}

/* two-column step body, as in the booking mockup */
.splitcard { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 20px; }
@media (max-width: 900px) { .splitcard { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--ad-line); background: #FBF8F4; padding: 20px 22px; }
.panel h4 {
  font-family: var(--ad-display); font-size: 17px; text-transform: uppercase;
  letter-spacing: .02em; margin: 0 0 14px;
}
.panel ul { list-style: none; margin: 0 0 18px; padding: 0; font-size: 13.5px; }
.panel li { display: flex; gap: 10px; padding: 6px 0; color: #443F3A; }
.panel li:before { content: "\2713"; color: var(--ad-ok); font-weight: 700; flex: none; }
.btn.block { width: 100%; justify-content: center; padding: 15px 20px; font-size: 13.5px; }

/* "we collect this on your call" rows */
.oncall { display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid #F0EBE5; }
.oncall:last-child { border-bottom: 0; }
.oncall .m { color: var(--ad-gray); flex: none; margin-top: 1px; }
.oncall b { display: block; font-weight: 600; font-size: 14px; }
.oncall span { font-size: 12.5px; color: var(--ad-gray); }

/* Sub-items under a nav entry are gone: Billing's Documents and Payment
   method are tabs inside the page now, and nothing else nests. */

/* ---------- icons and brand lockup ----------
   One icon family at one weight, inheriting currentColor so an active or
   locked item recolours its icon without extra rules. */
/* Icons lead nothing. They are a recognition aid for a label already being
   read, so they sit back until the row is yours — at which point the icon
   takes the orange alongside the left bar and the row is unmistakable from
   the far side of the screen. svg:first-child rather than .i, so a trailing
   padlock is not caught by the same rule. */
.nav .i { flex: none; }
.nav a svg:first-child { opacity: .45; transition: opacity .12s ease, color .12s ease; }
.nav a:hover svg:first-child { opacity: .8; }
.nav a.active svg:first-child { opacity: 1; color: var(--ad-orange); }

.brand .logo { display: block; width: 100%; max-width: 152px; height: auto; }
/* margin auto, not just display:block — a 240px block inside a 400px box sits
   hard left, which put the logo off-centre against the card beneath it. */
.authbox .logo { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 auto 24px; }

/* ---------- business profile ---------- */
.bizhead {
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  margin: -8px 0 22px; flex-wrap: wrap;
}
.bizgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 1080px) { .bizgrid { grid-template-columns: 1fr; } }

.stepcard .hd .cardicon {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  background: #FDF3E3; color: var(--ad-orange); margin-top: 2px;
}

.subhead {
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ad-gray); margin: 28px 0 16px; padding-top: 22px;
  border-top: 1px solid #F0EBE5;
}
.fld .opt { font-weight: 400; letter-spacing: .04em; text-transform: none; color: #B6AFA7; }

.duo  { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.trio { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .duo, .trio { grid-template-columns: 1fr; } }

/* seven-day hours grid — structured, so it can be reused downstream */
.hours { border: 1px solid var(--ad-line); background: #FBF8F4; padding: 12px 14px; }
.hrow {
  display: grid; grid-template-columns: 38px 1fr 12px 1fr auto;
  align-items: center; gap: 8px; padding: 5px 0;
}
.hrow .d {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ad-gray);
}
.hrow input[type="time"] {
  padding: 7px 9px; border: 1px solid var(--ad-line); background: #fff;
  font: inherit; font-size: 13px; width: 100%;
}
.hrow .sep { color: var(--ad-gray); text-align: center; }
.hrow .closed {
  display: flex; align-items: center; gap: 5px; font-size: 11.5px;
  color: var(--ad-gray); white-space: nowrap; letter-spacing: 0; text-transform: none;
  font-weight: 500; margin: 0;
}
.hrow.is-closed input[type="time"] { opacity: .35; pointer-events: none; }
.hrow.is-closed .sep { opacity: .35; }

/* repeatable rows */
.repeat { border: 1px solid var(--ad-line); background: #fff; padding: 14px 16px; margin-bottom: 12px; }
.repeat-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.repeat-hd .tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ad-navy);
}
.repeat:first-child .repeat-hd .tag { color: var(--ad-orange); }

.linkbtn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 11.5px; color: var(--ad-gray); text-decoration: underline;
}
.linkbtn:hover { color: var(--ad-ink); }
.linkbtn.danger:hover { color: var(--ad-warn); }
.hours .linkbtn { margin-top: 8px; }

.addrow {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 13px; cursor: pointer;
  background: none; border: 1px dashed #D6CFC7; color: var(--ad-navy);
  font: inherit; font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.addrow:hover { border-color: var(--ad-orange); color: var(--ad-orange); background: #FFFBF4; }

/* hours nested inside a location row */
/* A heading inside a row. Needs real air above it: it follows a filled input,
   and two lines of small grey capitals with no gap read as one blurred block. */
.minihead {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ad-gray); margin: 26px 0 12px; padding-top: 18px;
  border-top: 1px solid #F4F0EA;
}
.duo .fld, .trio .fld { margin-bottom: 0; }
.duo, .trio { margin-bottom: 18px; }
.duo:last-child, .trio:last-child { margin-bottom: 0; }
.repeat .hours { background: #FCFAF7; }
.hours-tools { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- forms: help and errors ----------
   The message sits under the field it belongs to, not in a banner at the top.
   A banner makes you hunt for which of five fields it meant. */
.fld-help { margin: 6px 0 0; font-size: 12.5px; color: var(--ad-gray); }
.fld-err  { margin: 6px 0 0; font-size: 12.5px; color: var(--ad-warn); font-weight: 600; }
.fld input[aria-invalid="true"] { border-color: var(--ad-warn); }
.fld label .opt { float: right; letter-spacing: .04em; text-transform: none;
  font-weight: 400; color: #B6AFA7; }

/* ---------- package picker ----------
   Whole cards are the target, not 14px radio dots. The radio stays in the DOM
   for keyboard and screen readers; the card is what the eye and the mouse use. */
.pkgpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pkg { position: relative; display: block; cursor: pointer; }
.pkg input { position: absolute; opacity: 0; width: 0; height: 0; }
.pkg .body { display: block; height: 100%; padding: 15px 16px;
  border: 1px solid var(--ad-line); background: #fff; transition: border-color .12s; }
.pkg:hover .body { border-color: #C9C2BA; }
.pkg input:focus-visible + .body { outline: 2px solid var(--ad-orange); outline-offset: -2px; }
.pkg input:checked + .body { border-color: var(--ad-orange); box-shadow: inset 0 0 0 1px var(--ad-orange); }
.pkg .nm { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.pkg .prods { display: block; margin-top: 9px; padding-top: 9px; font-size: 12px;
  color: #55504B; border-top: 1px solid var(--ad-line); }
@media (max-width: 860px) { .pkgpick { grid-template-columns: 1fr; } }

/* ---------- a value to copy ---------- */
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--ad-line);
  font: inherit; font-size: 13px; background: #FBF8F4; }

/* ---------- label and value, stacked ---------- */
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0;
  border-bottom: 1px solid var(--ad-line); font-size: 13.5px; }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.kv span { color: var(--ad-gray); }

/* the folder tree, indented by how deep the key is */
.tree { margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.tree li { padding: 5px 0 5px 0; border-bottom: 1px solid var(--ad-line); }
.tree li:last-child { border-bottom: 0; }
.tree li:before { content: "\1F5C0"; margin-right: 8px; opacity: .55; }
/* a disabled button must look disabled, or it reads as broken rather than gated */
.btn:disabled, .btn[disabled] { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ---------- the upload field ----------
   A drop zone, then one row per file. The row is the design: it appears when a
   file is chosen and stays in place, changing only its right-hand side as the
   upload progresses. Nothing is replaced by something else, so a partner can
   always see which of eight files is the one that failed. */
.uploader { margin: 0; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 30px 24px; text-align: center; cursor: pointer;
  border: 2px dashed var(--ad-line); background: #FCFAF7;
  transition: border-color .12s, background .12s;
}
.dropzone:hover { border-color: #C9C2BA; background: #FAF6F1; }
.dropzone:focus-visible { outline: 2px solid var(--ad-orange); outline-offset: 2px; }
/* Dragging is a state worth showing loudly: the commonest upload failure is
   letting go two pixels outside the target. */
.dropzone.is-over { border-color: var(--ad-orange); background: #FFF6E9; }
.dropzone .ico { color: #C3BCB4; line-height: 0; }
.dropzone.is-over .ico { color: var(--ad-orange); }
.dropzone .big { font-family: var(--ad-display); font-size: 19px; text-transform: uppercase;
  letter-spacing: .03em; color: var(--ad-ink); }
.dropzone .or { font-size: 13px; color: #55504B; }
.dropzone .or b { color: var(--ad-orange); }
.dropzone .rule { font-size: 11.5px; color: var(--ad-gray); margin-top: 3px; }

.uplist { list-style: none; margin: 0; padding: 0; }
.uplist:not(:empty) { margin-top: 12px; }
.uplist.done:not(:empty) { margin-top: 12px; border-top: 1px solid var(--ad-line); padding-top: 12px; }

.uprow {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--ad-line); background: #fff; margin-bottom: 8px;
}
.uprow:last-child { margin-bottom: 0; }

/* The extension, not a generic paper icon: it is the one glyph that says at a
   glance whether the right file was picked. */
.uprow .ext {
  display: grid; place-items: center; height: 34px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .06em;
  background: #F4F0EB; color: #6B6560; border: 1px solid var(--ad-line);
}
.uprow.is-done .ext { background: #EAF4EC; color: var(--ad-ok); border-color: #CFE4D4; }
.uprow.is-error .ext { background: #FDECE6; color: var(--ad-warn); border-color: #F5D4C6; }

.uprow .nm { min-width: 0; }
.uprow .nm b { display: block; font-size: 13.5px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uprow .meta { display: block; font-size: 11.5px; color: var(--ad-gray); margin-top: 2px; }
.uprow.is-error .meta { color: var(--ad-warn); }

.uprow .state { font-size: 12px; color: var(--ad-gray); white-space: nowrap;
  display: flex; align-items: center; gap: 10px; }
.uprow .pcttext { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ad-ink); }

/* Progress sits under the name rather than in its own column: it needs the
   width to be readable, and the name is what it belongs to. */
.uprow .track { display: block; height: 4px; background: #F0EBE5; margin-top: 7px; }
.uprow .track i { display: block; height: 100%; background: var(--ad-orange);
  width: 0; transition: width .18s linear; }
.uprow.is-done .track i { background: var(--ad-ok); }
.uprow.is-error .track i { background: var(--ad-warn); }
.uprow.is-done .track, .uprow.is-error .track { display: none; }

.uprow .x { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ad-gray);
  font-size: 15px; line-height: 1; }
.uprow .x:hover { color: var(--ad-warn); }

@media (max-width: 560px) {
  .uprow { grid-template-columns: 32px 1fr; }
  .uprow .state { grid-column: 2; justify-content: flex-start; }
}

/* ---------- campaign picker ---------- */
/* Fixed columns: the raw Google name is long and would otherwise eat the space
   the editable fields need — and those are the whole point of the screen. */
.tbl.camps { table-layout: fixed; width: 100%; min-width: 860px; }
.tbl.camps td { vertical-align: middle; padding-top: 9px; padding-bottom: 9px; }
.tbl.camps input[type="text"] { width: 100%; padding: 7px 9px; border: 1px solid var(--ad-line);
  font: inherit; font-size: 13px; background: #fff; }
.tbl.camps input[type="text"]:focus { outline: 2px solid var(--ad-orange); outline-offset: -2px; }
.tbl.camps .rawname { font-size: 12.5px; color: #55504B; font-family: ui-monospace, Menlo, monospace;
  word-break: break-word; }
/* A row that will not appear on the client's dashboard should read as switched
   off at a glance, not require reading the checkbox. */
.tbl.camps tr.is-off { opacity: .45; }
.tbl.camps tr.is-off input[type="text"] { background: #FAF7F3; }
.tbl.camps input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--ad-orange); }

.tick { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.tick input { width: 17px; height: 17px; accent-color: var(--ad-orange); }

/* ---------- the report ---------- */
.rhead { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 4px; flex-wrap: wrap; }
.rhead .rangepick { margin-left: auto; }
.rhead .seg { display: flex; border: 1px solid var(--ad-line); background: #fff; }
.rhead .seg a { padding: 7px 13px; font-size: 12.5px; text-decoration: none; color: #55504B;
  border-left: 1px solid var(--ad-line); white-space: nowrap; }
.rhead .seg a:first-child { border-left: 0; }
.rhead .seg a.on { background: var(--ad-navy); color: #fff; font-weight: 600; }

.deck { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; align-items: start; }
.deck > * { min-width: 0; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c6 { grid-column: span 6; }
.c8 { grid-column: span 8; } .c9 { grid-column: span 9; } .c12 { grid-column: span 12; }
@media (max-width: 900px) { .deck > [class^="c"] { grid-column: span 12; } }

.box { background: #fff; border: 1px solid var(--ad-line); }
.box > h4 { margin: 0; padding: 12px 15px 0; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ad-gray); }
.box > .bd { padding: 12px 15px 15px; }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff;
  border: 1px solid var(--ad-line); }
.stat2 { padding: 12px 14px 8px; border-left: 1px solid var(--ad-line); }
.stat2:first-child { border-left: 0; }
.stat2 .l { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ad-gray); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat2 .l svg { color: #C3BCB4; }
.stat2 .n { font-family: var(--ad-display); font-size: 30px; line-height: 1.05; margin-top: 4px; }
.stat2 .d { font-size: 11.5px; min-height: 15px; }
.d-up { color: var(--ad-ok); } .d-down { color: var(--ad-warn); } .d-flat { color: var(--ad-gray); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); }
  .stat2 { border-top: 1px solid var(--ad-line); } }

/* the "?" that explains a figure without a glossary */
.q { display: inline-grid; place-items: center; width: 13px; height: 13px; font-size: 9px;
  border: 1px solid var(--ad-line); color: var(--ad-gray); cursor: help; font-weight: 700; }

/* daily columns */
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart .grid { stroke: #EFEAE4; stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.chart .tick { font: 500 10.5px Barlow, sans-serif; fill: #938E88; }
/* Invisible, full height, one per day: a day that spent nothing still has to be
   hoverable, or the chart goes quiet exactly where a partner asks "why?". */
svg.chart .hit { fill: transparent; }
svg.chart .bar { transition: opacity .12s; }
/* Hovering one chart dims every bar in all three and lights the same day in
   each, so the three readings line up as one day rather than three charts. */
svg.chart.hovering .bar { opacity: .35; }
svg.chart.hovering .bar.on { opacity: 1; }

/* label / bar / value rows */
.rows { display: grid; gap: 6px; }
.rw { display: grid; grid-template-columns: minmax(72px, auto) 1fr 56px; gap: 10px;
  align-items: center; font-size: 13px; }
.rw .nm { color: #55504B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 150px; }
.rw .t { background: #F3EFEA; height: 14px; }
.rw .t i { display: block; height: 100%; }
.rw .v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.rw[data-t]:hover { background: #FBF8F4; }
.krow { display: grid; grid-template-columns: 11px 1fr auto; gap: 9px; align-items: center;
  font-size: 13px; }
.krow .sw { width: 11px; height: 11px; }
.krow .v { font-variant-numeric: tabular-nums; font-weight: 600; }

.split { display: flex; height: 22px; gap: 2px; }
.split span { display: block; }
.pacemark { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ad-navy-ink); }

.donutrow { display: flex; align-items: center; gap: 16px; }
.donut { width: 104px; height: 104px; flex: 0 0 104px; }
.donut .dn { font-family: var(--ad-display); font-size: 21px; fill: var(--ad-ink); }
.donut .dc { font-size: 8px; fill: var(--ad-gray); letter-spacing: .12em; }

.insight { background: #FDF6EA; border-left: 3px solid var(--ad-orange); }
.kwt { width: 100%; border-collapse: collapse; font-size: 13px; }
.kwt th { text-align: left; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ad-gray); padding: 0 8px 8px 0; border-bottom: 1px solid var(--ad-line);
  font-weight: 700; }
.kwt td { padding: 9px 8px 9px 0; border-bottom: 1px solid #F2EEE8; }
.kwt tr:last-child td { border-bottom: 0; }
.kwt th.n, .kwt td.n { text-align: right; padding-left: 14px; }
/* only the LAST column loses its gutter; zeroing them all ran the figures together */
.kwt th:last-child, .kwt td:last-child { padding-right: 0; }
.kwt td.n { font-variant-numeric: tabular-nums; }
.kwt.spend { table-layout: fixed; }
.kwt.spend tr.grp > td { border-top: 1px solid var(--ad-line); border-bottom: 0;
  padding: 13px 8px; font-weight: 700; }
.kwt.spend tr.grp .gname { font-size: 13.5px; }
.kwt.spend tr.camp td { font-weight: 400; color: #55504B; border-bottom: 0; }
.kwt.spend td.child { padding-left: 16px; position: relative; }
.kwt.spend td.child:before { content: ""; position: absolute; left: 4px; top: 50%;
  width: 6px; height: 1px; background: #C9C2BA; }
.kwt td.warn { color: var(--ad-warn); font-weight: 700; }

.sechead { display: flex; align-items: baseline; gap: 14px; margin: 24px 0 10px; }
.sechead h3 { font-family: var(--ad-display); font-size: 20px; letter-spacing: .04em;
  text-transform: uppercase; margin: 0; color: var(--ad-navy); white-space: nowrap; }
.sechead span { font-size: 12.5px; color: var(--ad-gray); line-height: 1.4; }
@media (max-width: 820px) { .sechead { flex-direction: column; gap: 3px; }
  .sechead h3 { white-space: normal; } }

.hsgrid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.hsgrid.two.nocall { grid-template-columns: 1fr; max-width: 420px; }
@media (max-width: 900px) { .hsgrid { grid-template-columns: 1fr; gap: 18px; } }

.deck.even { align-items: stretch; }
.deck.even > [class^="c"] { display: flex; }
.deck.even > [class^="c"] > .box { flex: 1; display: flex; flex-direction: column; }
.deck.even > [class^="c"] > .box > .bd { flex: 1; }

.bwgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; }
.bwgrid .big { font-family: var(--ad-display); font-size: 32px; line-height: 1; }
.budgetwide h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ad-gray); margin: 0; }
@media (max-width: 900px) { .bwgrid { grid-template-columns: 1fr; } }


/* ---------- the glossary at the foot of a report ----------
   The whole bar is the button. A 16px icon is a target you have to aim at, and
   the thing being opened is an explanation — the last thing that should be
   fiddly to reach. */
.gloss { border: 1px solid var(--ad-line); background: #fff; }
.gloss summary { cursor: pointer; list-style: none; display: grid;
  grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 15px 18px; transition: background .12s; }
.gloss summary::-webkit-details-marker { display: none; }
.gloss summary:hover { background: #FBF8F4; }
.gloss summary:focus-visible { outline: 2px solid var(--ad-orange); outline-offset: -2px; }
.gloss .gl-t { grid-area: 1 / 1; font-size: 14.5px; font-weight: 700; color: var(--ad-navy); }
.gloss .gl-s { grid-area: 2 / 1; font-size: 12.5px; color: var(--ad-gray); }
/* A chevron drawn in CSS, so there is no icon to load and it can rotate.
   Placed explicitly: left to itself it lands in column one and shunts the
   heading across to the right. */
.gloss .gl-x { grid-area: 1 / 2 / span 2 / 2; align-self: center;
  width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--ad-gray); border-bottom: 2px solid var(--ad-gray);
  transform: rotate(45deg); transform-origin: 60% 60%; transition: transform .15s; }
.gloss[open] .gl-x { transform: rotate(-135deg); }
.gloss[open] summary { border-bottom: 1px solid var(--ad-line); }
.glist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px;
  margin: 0; padding: 18px; }
.glist dt { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.glist dd { margin: 0; font-size: 12.5px; color: #55504B; line-height: 1.5; }
@media (max-width: 760px) { .glist { grid-template-columns: 1fr; } }
.foot { margin: 16px 0 0; font-size: 12px; color: var(--ad-gray); line-height: 1.5; }


/* ---------- custom date range ----------
   The browser's own calendar, which every client already knows how to use, and
   no library to load. */
.rangepick { position: relative; }
.calendar { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; background: #fff;
  border: 1px solid var(--ad-line); box-shadow: 0 8px 24px rgba(4,24,40,.12); padding: 14px;
  display: grid; grid-template-columns: auto auto auto; gap: 10px; align-items: center;
  white-space: nowrap; }
/* display:grid above beats the hidden attribute, so the panel would sit open
   for ever without this. */
.calendar[hidden] { display: none; }
.calendar label { font-size: 12px; color: #55504B; display: flex; align-items: center; gap: 7px; }
.calendar input { padding: 7px 9px; border: 1px solid var(--ad-line); font: inherit; font-size: 13px; }

/* ---------- the hover card ----------
   One card for every chart, bar and donut slice. Fixed, not absolute, so it is
   never clipped by a box's overflow. */
.tipbox { position: fixed; display: none; z-index: 120; pointer-events: none;
  background: #fff; border: 1px solid var(--ad-line); box-shadow: 0 6px 22px rgba(4,24,40,.16);
  padding: 9px 11px; font-size: 12.5px; min-width: 150px; }
.tipbox .h { font-weight: 700; margin-bottom: 6px; font-size: 13px; }
.tipbox .r { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px;
  align-items: center; padding: 2px 0; }
.tipbox .r i { width: 10px; height: 10px; display: block; }
.tipbox .r .l { color: #55504B; }
.tipbox .r b { font-variant-numeric: tabular-nums; }

/* whatever is being explained lifts out of the page while the card is up */
[data-t] { cursor: default; }
.rw.hot .t i, .col.hot i { filter: brightness(.88); }
.donut .slice { transition: opacity .1s; }
.donut:hover .slice:not(.hot) { opacity: .45; }

/* budget track, as approved: a marker for where an even spend would be today */
.btrack { position: relative; height: 16px; background: #F3EFEA; margin-top: 12px; }
.btrack i { display: block; height: 100%; background: #2F5DA8; }
/* The blue stays on the report, where it is a key: the budget bar matches the
   swatch beside "Google Ads" in the legend next to it. Overview has no legend,
   so the same component there was just an off-brand blue on the most-looked-at
   number a partner meets. Modifier rather than a change to .btrack, because
   report.css restates that rule and loads after this file. */
.btrack.setup i { background: var(--ad-orange); }
.btrack .mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ad-ink); }

/* channel tabs carry a status chip */
.tabs.chan a { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.tabs.chan .chip { font-size: 9px; padding: 1px 5px; letter-spacing: .04em; border-width: 1px;
  position: relative; top: -1px; }
.tabs.chan a:not(.on) { color: #9A948D; }

/* share of spend, leading the campaign table */
.kwt.spend td.shcol .shr { display: block; font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums; }
.kwt.spend td.shcol .minibar { display: block; height: 4px; background: #F0EBE5;
  margin: 5px 0 0 auto; width: 100%; }
.kwt.spend td.shcol .minibar i { display: block; height: 100%; background: #2F5DA8; }
.kwt.spend tr.camp td.shcol .shr { font-weight: 400; color: var(--ad-gray); }

/* a legend row that carries a share as well as a count */
.krow.pc { grid-template-columns: 11px 1fr auto auto; gap: 9px 12px; }
.krow.pc .p { font-size: 12px; color: var(--ad-gray); font-variant-numeric: tabular-nums; }

/* ---------- staff bar (staff viewing a partner) ----------
   Deliberately loud and fixed to the top: mistaking someone else's dashboard
   for your own makes every figure on it a lie. A lighter navy than the menu
   with an orange edge, so it never reads as part of the partner's page.
   Everything about the partner you are standing in, without leaving the page
   you are standing on. Rebuilt 2026-10-23 (views/partials/staffbar.php). */
.viewbar { position: sticky; top: 0; z-index: 90; display: flex; align-items: center;
  gap: 12px; height: 52px; box-sizing: border-box; padding: 0 16px 0 18px;
  background: var(--ad-navy); border-bottom: 2px solid var(--ad-orange);
  color: #fff; font-family: var(--ad-body); font-size: 13px; }
.viewbar .sb-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.viewbar .sb-tag { display: flex; align-items: center; gap: 8px; font-family: var(--ad-display);
  font-size: 16px; letter-spacing: .12em; color: var(--ad-orange); white-space: nowrap; }
.viewbar .sb-tag-short { display: none; }
.viewbar .sb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ad-orange);
  box-shadow: 0 0 0 4px rgba(255,153,0,.22); }
.viewbar .sb-pop { position: relative; min-width: 0; }
.viewbar .sb-who { display: flex; align-items: center; gap: 9px; max-width: 340px; height: 38px;
  box-sizing: border-box; padding: 4px 12px 4px 4px; border-radius: var(--ad-radius-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  font: 600 14px var(--ad-body); cursor: pointer; transition: background .15s, color .15s; }
.viewbar .sb-who:hover { background: rgba(255,255,255,.14); }
.viewbar .sb-who[aria-expanded="true"] { background: #fff; color: var(--ad-navy-ink); }
.viewbar .sb-who[aria-expanded="true"] .sb-ini { background: var(--ad-navy); color: #fff; }
.viewbar .sb-who[aria-expanded="true"] .sb-ico { transform: rotate(180deg); }
.viewbar .sb-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.viewbar .sb-ini { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid;
  place-items: center; background: #fff; color: var(--ad-navy); font: 15px var(--ad-display);
  letter-spacing: .04em; padding-top: 1px; box-sizing: border-box; }
.viewbar .sb-warn { display: flex; align-items: center; gap: 6px; color: #B4C2D3;
  font-size: 12.5px; white-space: nowrap; }
.viewbar .sb-sp { flex: 1; }
.viewbar .sb-ctx { display: flex; align-items: center; gap: 7px; padding: 8px 15px; white-space: nowrap;
  border-radius: var(--ad-radius-pill); background: var(--ad-orange); color: var(--ad-navy-ink);
  font: 700 13px var(--ad-body); text-decoration: none; transition: background .15s; }
.viewbar .sb-ctx:hover { background: var(--ad-orange-hi); color: var(--ad-navy-ink); }
.viewbar .sb-ghost { display: flex; align-items: center; gap: 7px; padding: 7px 14px; white-space: nowrap;
  border-radius: var(--ad-radius-pill); background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.3); font: 600 13px var(--ad-body); text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s; }
.viewbar .sb-ghost:hover, .viewbar .sb-ghost[aria-expanded="true"] { background: #fff; color: var(--ad-navy-ink); border-color: #fff; }
.viewbar .sb-ghost[aria-expanded="true"] .sb-ico:last-child { transform: rotate(180deg); }

/* the two drop-down panels */
.viewbar .sb-panel { position: absolute; top: calc(100% + 10px); z-index: 95; display: flex;
  flex-direction: column; max-height: calc(100vh - 80px); background: #fff; color: var(--ad-ink);
  border-radius: var(--ad-radius); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(4,24,40,.07), 0 22px 48px rgba(4,24,40,.28); }
.viewbar [hidden] { display: none !important; }
.viewbar .sb-switch { left: 0; width: 384px; }
.viewbar .sb-tools { right: 0; width: 420px; }
.viewbar .sb-scroll { overflow-y: auto; overscroll-behavior: contain; padding-bottom: 6px; }
.viewbar .sb-grab, .viewbar .sb-warn-in { display: none; }
.viewbar .sb-search { display: flex; align-items: center; gap: 10px; margin: 14px; padding: 0 14px;
  height: 44px; border: 1.5px solid var(--ad-orange); border-radius: var(--ad-radius-pill);
  color: var(--ad-gray); flex: none; }
.viewbar .sb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 14.5px var(--ad-body); color: var(--ad-ink); padding: 0; box-shadow: none; }
.viewbar .sb-lab { margin: 0; padding: 8px 20px 6px; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ad-gray); }
.viewbar .sb-group + .sb-group { border-top: 1px solid #E6E2DA; margin-top: 6px; padding-top: 4px; }
.viewbar .sb-row { display: flex; align-items: center; gap: 12px; padding: 7px 20px; min-height: 44px;
  box-sizing: border-box; font-size: 14.5px; font-weight: 500; color: var(--ad-ink); text-decoration: none; }
.viewbar a.sb-row:hover, .viewbar a.sb-row:focus-visible { background: #F3F5F8; color: var(--ad-ink); outline: none; }
.viewbar .sb-row .sb-ini { background: #EEF1F5; color: var(--ad-navy); }
.viewbar .sb-row.is-cur { background: #FFF6EA; }
.viewbar .sb-row.is-cur .sb-ini { background: var(--ad-orange); color: var(--ad-navy-ink); }
.viewbar .sb-rn { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewbar .sb-now { margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #B45309; }
.viewbar .sb-none { margin: 0; padding: 14px 20px; color: var(--ad-gray); font-size: 14px; }
.viewbar .sb-foot { margin: 0; flex: none; border-top: 1px solid #E6E2DA; padding: 12px 20px;
  font-size: 12.5px; color: var(--ad-gray); }
.viewbar .sb-hd { flex: none; padding: 14px 0 10px; border-bottom: 1px solid #E6E2DA; }
.viewbar .sb-hd .sb-lab { padding-top: 0; padding-bottom: 2px; }
.viewbar .sb-hn { margin: 0; padding: 0 20px; font: 22px var(--ad-display); letter-spacing: .03em; color: var(--ad-navy); }
.viewbar .sb-it { display: flex; align-items: center; gap: 13px; padding: 10px 20px; color: var(--ad-ink); text-decoration: none; }
.viewbar .sb-it:hover, .viewbar .sb-it:focus-visible { background: #F3F5F8; color: var(--ad-ink); outline: none; }
.viewbar .sb-it.is-here { background: #FFF6EA; }
.viewbar .sb-ic { width: 34px; height: 34px; border-radius: var(--ad-radius-sm); flex: none; display: grid;
  place-items: center; background: #EEF1F5; color: var(--ad-navy); }
.viewbar .sb-it.is-here .sb-ic { background: var(--ad-orange); color: var(--ad-navy-ink); }
.viewbar .sb-tx { min-width: 0; display: flex; flex-direction: column; }
.viewbar .sb-t { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.viewbar .sb-d { font-size: 12.5px; color: var(--ad-gray); line-height: 1.3; margin-top: 2px; }
.viewbar .sb-pg { margin-left: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #B45309; }
.viewbar .sb-chip { margin-left: auto; flex: none; padding: 4px 9px; border-radius: var(--ad-radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.viewbar .sb-chip.is-ok { background: #E7F4EC; color: #1F6B44; }
.viewbar .sb-chip.is-todo { background: #FFF0DD; color: #9A3F07; }
.viewbar .sb-hr { display: block; height: 1px; background: #E6E2DA; margin: 4px 0; }
.viewbar .sb-scrim { display: none; }

@media (max-width: 1180px) { .viewbar .sb-warn { display: none; } }
@media (max-width: 900px) {
  .viewbar .sb-tools-btn .sb-lbl, .viewbar .sb-out .sb-lbl, .viewbar .sb-tools-btn .sb-ico:last-child { display: none; }
  .viewbar .sb-tools-btn, .viewbar .sb-out { padding: 0; width: 38px; height: 38px; justify-content: center; }
}

/* Phones: one row, and the panels come up from the bottom as sheets. */
@media (max-width: 760px) {
  .viewbar { height: 56px; gap: 8px; padding: 0 8px 0 14px; }
  .viewbar .sb-tag { font-size: 15px; gap: 7px; }
  .viewbar .sb-tag-long, .viewbar .sb-ctx { display: none; }
  .viewbar .sb-tag-short { display: inline; }
  .viewbar .sb-pop-who { flex: 1; }
  .viewbar .sb-who { width: 100%; max-width: none; height: 40px; }
  .viewbar .sb-who .sb-ini { width: 30px; height: 30px; }
  .viewbar .sb-who .sb-name { flex: 1; text-align: left; }
  .viewbar .sb-tools-btn, .viewbar .sb-out { width: 44px; height: 44px; border: 0; }
  .viewbar .sb-tools-btn .sb-ico, .viewbar .sb-out .sb-ico { width: 18px; height: 18px; }
  .viewbar .sb-sp { display: none; }
  .viewbar .sb-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto;
    max-height: 78vh; border-radius: 20px 20px 0 0; }
  .viewbar .sb-grab { display: block; flex: none; width: 40px; height: 4px; border-radius: 4px;
    background: #D5D9DF; margin: 10px auto 6px; }
  .viewbar .sb-warn-in { display: block; flex: none; margin: 6px 18px 0; padding: 10px 12px;
    border-radius: var(--ad-radius-sm); background: #FFF6EA; color: #9A3F07; font-size: 13px; font-weight: 500; }
  .viewbar .sb-search { margin: 12px 18px 8px; height: 46px; }
  .viewbar .sb-search input { font-size: 16px; }
  .viewbar .sb-row { min-height: 48px; font-size: 15px; }
  .viewbar .sb-foot { display: none; }
  .viewbar .sb-scrim { position: fixed; inset: 56px 0 0; z-index: 94; background: rgba(4,24,40,.55); }
  .viewbar .sb-scrim:not([hidden]) { display: block; }
}

/* staff bar, admin mode (2026-10-23): the same bar on admin pages, without the
   orange edge, which means "inside a client's account". */
.viewbar.is-admin { border-bottom: 1px solid var(--ad-navy-edge); }
.viewbar.is-admin .sb-tag { color: #fff; }
.viewbar.is-admin .sb-dot { background: #8FB3E0; box-shadow: none; }
.viewbar .navbtn { display: none; }
.viewbar .sb-find { width: 300px; max-width: 100%; padding: 0 14px; gap: 9px; background: #fff;
  border-color: #fff; color: var(--ad-gray); font-weight: 500; }
.viewbar .sb-find:hover { background: #fff; }
.viewbar .sb-find .sb-name { flex: 1; text-align: left; }
.viewbar .sb-find[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--ad-orange); color: var(--ad-gray); }
.viewbar .sb-find[aria-expanded="true"] .sb-ico { transform: none; }
.viewbar .sb-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; color: #B4C2D3;
  font-size: 13px; white-space: nowrap; }
.viewbar .sb-crumb b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.viewbar .sb-me { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; color: var(--ad-navy); font: 15px var(--ad-display); letter-spacing: .04em; margin-left: 4px; }
.viewbar .sb-switch.is-find { width: 440px; }
.viewbar .sb-row.has-acts { padding-right: 14px; }
.viewbar .sb-rowlink { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1;
  color: var(--ad-ink); text-decoration: none; }
.viewbar .sb-row.has-acts:hover { background: #F3F5F8; }
.viewbar .sb-acts { display: flex; gap: 6px; margin-left: auto; flex: none; }
.viewbar .sb-mini { display: flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--ad-radius-pill);
  border: 1px solid #D9DDE3; background: #fff; color: var(--ad-navy); font: 600 12px var(--ad-body); text-decoration: none; }
.viewbar .sb-mini .sb-ico { width: 13px; height: 13px; }
.viewbar .sb-mini:hover { border-color: var(--ad-navy); color: var(--ad-navy); }
.viewbar .sb-mini.is-o { background: var(--ad-orange); border-color: var(--ad-orange); color: var(--ad-navy-ink); }
.viewbar .sb-mini.is-o:hover { background: var(--ad-orange-hi); border-color: var(--ad-orange-hi); color: var(--ad-navy-ink); }
@media (max-width: 1180px) { .viewbar.is-admin .sb-crumb { display: none; } }
@media (max-width: 900px) {
  .viewbar .navbtn { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 -4px 0 -8px;
    color: #fff; background: none; border: 0; border-radius: var(--ad-radius-sm); }
  .viewbar .navbtn:hover { background: rgba(255,255,255,.12); }
  .viewbar.is-admin .sb-ctx.is-view .sb-lbl { display: none; }
  .viewbar.is-admin .sb-ctx.is-view { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
@media (max-width: 760px) {
  .viewbar.is-admin { padding-left: 12px; }
  .viewbar.is-admin .sb-ctx.is-view { display: flex; }
  .viewbar.is-admin .sb-tag-short { display: none; }
  .viewbar .sb-find { width: 100%; }
  .viewbar .sb-switch.is-find { width: auto; }
}

/* staff bar, admin mode, 2026-10-26: Admin label goes home, a breadcrumb of
   links, Add a client, Waiting on us, and the avatar's account menu. */
.viewbar a.sb-tag { text-decoration: none; border-radius: var(--ad-radius-pill); padding: 4px 8px; margin: 0 -8px; }
.viewbar a.sb-tag:hover { background: rgba(255,255,255,.1); color: #fff; }
.viewbar .sb-kbd { flex: none; min-width: 20px; height: 20px; box-sizing: border-box; padding: 0 6px; display: grid;
  place-items: center; border-radius: 5px; border: 1px solid #D9DDE3; background: #F3F5F8; color: var(--ad-gray);
  font: 600 11.5px var(--ad-body); }
.viewbar .sb-crumb { gap: 6px; }
.viewbar .sb-crumb .sb-ico { width: 14px; height: 14px; opacity: .7; }
.viewbar .sb-step { color: #B4C2D3; text-decoration: none; padding: 5px 9px; border-radius: var(--ad-radius-pill);
  margin: 0 -3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.viewbar a.sb-step:hover { background: rgba(255,255,255,.1); color: #fff; }
.viewbar .sb-step.is-cur { color: #fff; font-weight: 600; }
.viewbar .sb-round { position: relative; width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; cursor: pointer;
  transition: background .15s, color .15s; }
.viewbar .sb-round .sb-ico { width: 18px; height: 18px; }
.viewbar .sb-round:hover, .viewbar .sb-round[aria-expanded="true"] { background: #fff; color: var(--ad-navy-ink); border-color: #fff; }
.viewbar .sb-count { position: absolute; top: -5px; right: -6px; min-width: 19px; height: 19px; box-sizing: border-box;
  padding: 0 5px; display: grid; place-items: center; border-radius: var(--ad-radius-pill); background: var(--ad-orange);
  color: var(--ad-navy-ink); font: 700 11px var(--ad-body); box-shadow: 0 0 0 2px var(--ad-navy); }
.viewbar .sb-wait { right: 0; width: 400px; }
.viewbar .sb-wait .sb-scroll > .sb-lab { padding-top: 10px; }
.viewbar .sb-wait .sb-it .sb-ini { width: 34px; height: 34px; background: #EEF1F5; color: var(--ad-navy); font-size: 15px; }
.viewbar .sb-ic.is-o { background: #FFF0DD; color: #9A3F07; }
/* Partner logos in the bar's lists and the partner switcher (2026-10-26). */
.viewbar .sb-ini.has-img, .viewbar .sb-row .sb-ini.has-img, .viewbar .sb-row.is-cur .sb-ini.has-img {
  background: #fff; box-shadow: inset 0 0 0 1px #E6E2DA; overflow: hidden; padding: 3px; }
.viewbar .sb-ini.has-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }
.viewbar .sb-row.is-cur .sb-ini.has-img { box-shadow: 0 0 0 2px var(--ad-orange); }
.viewbar .sb-clear { display: flex; align-items: center; gap: 10px; margin: 14px 20px 10px; padding: 12px 14px;
  border-radius: var(--ad-radius-sm); background: #E7F4EC; color: #1F6B44; font-size: 14px; font-weight: 600; }
.viewbar .sb-footlink { display: block; color: var(--ad-navy); font-weight: 600; text-decoration: none; }
.viewbar .sb-footlink:hover { background: #F3F5F8; color: var(--ad-navy); }

.viewbar button.sb-me { border: 0; padding: 0; cursor: pointer; transition: box-shadow .15s; }
.viewbar button.sb-me:hover, .viewbar button.sb-me[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(255,255,255,.28); }
.viewbar button.sb-me[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--ad-orange); }
.viewbar .sb-mepanel { right: 0; width: 360px; }
.viewbar .sb-mehd { flex: none; display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--ad-navy); color: #fff; }
.viewbar .sb-mebig { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; color: var(--ad-navy); font: 24px var(--ad-display); letter-spacing: .04em;
  box-shadow: 0 0 0 3px var(--ad-orange); padding-top: 2px; box-sizing: border-box; }
.viewbar .sb-mename { font: 22px var(--ad-display); letter-spacing: .03em; line-height: 1.05; }
.viewbar .sb-memail { font-size: 13px; color: #B4C2D3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewbar .sb-merole { margin-top: 5px; align-self: flex-start; padding: 2px 9px; border-radius: var(--ad-radius-pill);
  background: rgba(255,255,255,.12); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.viewbar .sb-mev { display: flex; flex-direction: column; padding: 6px 0; overflow-y: auto; }
.viewbar button.sb-it { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.viewbar .sb-it .sb-go { margin-left: auto; color: #A0A9B5; }
.viewbar .sb-signout { margin: 6px 0 0; border-top: 1px solid #E6E2DA; padding: 6px 0 0; }
.viewbar .sb-signout button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 20px 12px 29px;
  border: 0; background: none; color: #B42318; font: 600 14.5px var(--ad-body); cursor: pointer; text-align: left; }
.viewbar .sb-signout button:hover { background: #FDF1F0; }
.viewbar .sb-form { padding: 8px 20px 18px; gap: 12px; }
.viewbar .sb-back { align-self: flex-start; display: flex; align-items: center; gap: 6px; margin: 2px 0 2px -8px;
  padding: 6px 10px 6px 6px; border: 0; border-radius: var(--ad-radius-pill); background: none; color: var(--ad-navy);
  font: 700 14.5px var(--ad-body); cursor: pointer; }
.viewbar .sb-back:hover { background: #F3F5F8; }
.viewbar .sb-field { display: flex; flex-direction: column; gap: 5px; }
.viewbar .sb-field span { font-size: 12.5px; font-weight: 600; color: var(--ad-gray); }
.viewbar .sb-field input { height: 42px; box-sizing: border-box; padding: 0 12px; border: 1px solid #D9DDE3;
  border-radius: var(--ad-radius-sm); font: 500 14.5px var(--ad-body); color: var(--ad-ink); background: #fff; }
.viewbar .sb-field input:focus { outline: none; border-color: var(--ad-navy); box-shadow: 0 0 0 3px rgba(2,40,88,.12); }
.viewbar .sb-save { margin-top: 4px; height: 42px; border: 0; border-radius: var(--ad-radius-pill); background: var(--ad-orange);
  color: var(--ad-navy-ink); font: 700 14px var(--ad-body); cursor: pointer; }
.viewbar .sb-save:hover { background: var(--ad-orange-hi); }
.viewbar .sb-note { margin: 4px 20px 6px; padding: 10px 12px; border-radius: var(--ad-radius-sm);
  background: #FDF1F0; color: #B42318; font-size: 13.5px; font-weight: 500; }
.viewbar .sb-form .sb-note { margin: 0; }
.viewbar .sb-note.is-ok { background: #E7F4EC; color: #1F6B44; }
/* The main sections, 2026-10-26: tabs on wide screens, one menu of them on
   narrower ones (sooner when a partner's name also sits in the bar), none on
   phones, where the drawer has them. */
.viewbar .sb-tabs { display: flex; align-items: center; gap: 2px; flex: none; }
.viewbar .sb-tab { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; box-sizing: border-box;
  border-radius: var(--ad-radius-pill); color: #B4C2D3; font: 600 13.5px var(--ad-body); text-decoration: none;
  white-space: nowrap; transition: background .15s, color .15s; }
.viewbar .sb-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.viewbar .sb-tab.is-on { background: #fff; color: var(--ad-navy-ink); }
.viewbar .sb-tabn { min-width: 19px; height: 19px; box-sizing: border-box; padding: 0 6px; display: inline-grid;
  place-items: center; border-radius: var(--ad-radius-pill); background: var(--ad-orange); color: var(--ad-navy-ink);
  font: 700 11px var(--ad-body); }
.viewbar .sb-pop-sect { display: none; flex: none; }
.viewbar .sb-sect { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 16px;
  border-radius: var(--ad-radius-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font: 600 14px var(--ad-body); cursor: pointer; white-space: nowrap; }
.viewbar .sb-sect:hover { background: rgba(255,255,255,.14); }
.viewbar .sb-sect[aria-expanded="true"] { background: #fff; color: var(--ad-navy-ink); }
.viewbar .sb-sect[aria-expanded="true"] .sb-ico { transform: rotate(180deg); }
.viewbar .sb-sects { left: 0; width: 320px; }
.viewbar .sb-sectdot { width: 8px; height: 8px; border-radius: 50%; background: var(--ad-orange); flex: none; }
.viewbar .sb-sects .sb-scroll { padding: 6px 0; }
.viewbar .sb-sects .sb-ic svg { width: 16px; height: 16px; }
/* Seven sections since Ads Checks (2026-10-27): Add a partner turns to its icon
   and the tabs fold into the one menu a little sooner than with six. */
@media (max-width: 1679px) {
  .viewbar .sb-add .sb-lbl { display: none; }
  .viewbar .sb-add { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
@media (max-width: 1599px) {
  .viewbar .sb-tabs { display: none; }
  .viewbar .sb-pop-sect { display: block; }
}
/* With a partner in the bar too, the tabs need more room: their name is
   shortened and View their dashboard and Staff tools become icons, then
   below 1860 (1360 before Ads Checks made seven) the tabs fold into the one menu. */
@media (max-width: 1599px) {
  .viewbar.is-admin:has(.sb-pop-who .sb-who:not(.sb-find)) .sb-who { max-width: 210px; }
  .viewbar.is-admin .sb-tools-btn .sb-lbl, .viewbar.is-admin .sb-tools-btn .sb-ico:last-child { display: none; }
  .viewbar.is-admin .sb-tools-btn { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
@media (max-width: 1599px) {
  .viewbar.is-admin .sb-ctx.is-view .sb-lbl { display: none; }
  .viewbar.is-admin .sb-ctx.is-view { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
@media (max-width: 1859px) {
  .viewbar.is-admin:has(.sb-pop-who .sb-who:not(.sb-find)) .sb-tabs { display: none; }
  .viewbar.is-admin:has(.sb-pop-who .sb-who:not(.sb-find)) .sb-pop-sect { display: block; }
}
@media (max-width: 900px) {
  .viewbar.is-admin .sb-pop-sect, .viewbar.is-admin:has(.sb-pop-who .sb-who:not(.sb-find)) .sb-pop-sect { display: none; }
}
/* More room, the logo, and Find a partner on the right with the actions
   (2026-10-26, Jeremy: "Things feel a little cramped ... The search bar also
   needs to be moved over to the right"). */
:root { --sb-h: 60px; }
@media (max-width: 760px) { :root { --sb-h: 56px; } }
.viewbar.is-admin { height: var(--sb-h); gap: 14px; padding: 0 20px 0 22px; }
.viewbar .sb-brand { gap: 10px; margin: 0 14px 0 -6px; padding: 4px 6px; border-radius: var(--ad-radius-sm); }
.viewbar .sb-brand:hover { background: rgba(255,255,255,.06); }
.viewbar .sb-logo { display: block; width: 166px; height: auto; }
.viewbar .sb-admin { padding: 3px 9px 2px; border-radius: var(--ad-radius-pill); border: 1px solid rgba(255,255,255,.28);
  font: 13px var(--ad-display); letter-spacing: .16em; color: #fff; }
.viewbar .sb-brand .sb-dot { display: none; }
.viewbar .sb-tabs { gap: 4px; }
.viewbar .sb-tab { padding: 0 14px; }
/* Find a partner sits with the actions on the right; its panel opens leftwards. */
.viewbar.is-admin .sb-pop-who { margin-left: auto; }
.viewbar.is-admin .sb-sp { display: none; }
.viewbar.is-admin .sb-switch { left: auto; right: 0; }
.viewbar.is-admin .sb-find { width: 260px; height: 40px; }
@media (min-width: 1500px) { .viewbar.is-admin .sb-find { width: 300px; } }
@media (max-width: 1359px) { .viewbar.is-admin .sb-logo { width: 136px; } .viewbar .sb-brand { margin-right: 6px; } }
@media (max-width: 760px) {
  .viewbar.is-admin { gap: 8px; padding: 0 8px 0 12px; }
  .viewbar .sb-brand { margin: 0; padding: 0; }
  .viewbar .sb-logo, .viewbar .sb-admin { display: none; }
  .viewbar .sb-brand .sb-dot { display: block; }
  .viewbar.is-admin .sb-switch { left: 0; right: 0; }
}
@media (max-width: 760px) {
  .viewbar.is-admin .sb-find { width: 100%; }
  /* On a partner's page the partner's name needs the room; the menu's own
     orange numbers stand in for the bell. */
  .viewbar.is-admin:has(.sb-pop-who .sb-who:not(.sb-find)) .sb-who { max-width: none; }
  .viewbar.is-admin:has(.sb-pop-who .sb-who:not(.sb-find)) .sb-pop:has(.sb-bell) { display: none; }
}

@media (max-width: 900px) {
  .viewbar .sb-add .sb-lbl { display: none; }
  .viewbar .sb-add { padding: 0; width: 38px; height: 38px; justify-content: center; }
  .viewbar .sb-kbd { display: none; }
}
@media (max-width: 760px) {
  .viewbar .sb-add { display: none; }
  .viewbar .sb-round { border: 0; width: 40px; height: 40px; }
  .viewbar .sb-count { top: 0; right: -2px; }
  .viewbar .sb-field input { font-size: 16px; }
}

/* ---------- admin menu on a phone (2026-10-23, Jeremy's OK'd mockup) ----------
   The partner side's drawer (see "navigation on a phone"), opened from the
   admin staff bar instead of a white top bar. It sits under the bar, so the
   partner switcher and the menu button stay in reach, and the button turns
   into an X while it is open. Behaviour in admin.js. */
@media (max-width: 900px) {
  /* The height too: the sidebar's own full-screen height otherwise wins and
     pins it to the top, under the bar. */
  .viewbar.is-admin ~ .portal .sidebar { top: var(--sb-h, 52px); height: calc(100vh - var(--sb-h, 52px)); }
  .viewbar.is-admin ~ .portal .navscrim { top: var(--sb-h, 52px); }
  .viewbar.is-admin ~ .portal .nav a { min-height: 44px; font-size: 15px; }
  body.nav-open .viewbar.is-admin .navbtn { background: rgba(255,255,255,.12); position: relative; }
  body.nav-open .viewbar.is-admin .navbtn svg { visibility: hidden; }
  body.nav-open .viewbar.is-admin .navbtn::before,
  body.nav-open .viewbar.is-admin .navbtn::after { content: ""; position: absolute; left: 50%; top: 50%;
    width: 20px; height: 2px; margin: -1px 0 0 -10px; border-radius: 2px; background: currentColor; }
  body.nav-open .viewbar.is-admin .navbtn::before { transform: rotate(45deg); }
  body.nav-open .viewbar.is-admin .navbtn::after { transform: rotate(-45deg); }
}

/* ---------- partner top bar: Need help? ticket button, account menu ----------
   The partner's version of the staff bar (2026-10-23, Jeremy's OK'd mockup):
   quick ways to reach us and their own account pages, from any page.
   views/partials/accountmenu.php; behaviour in portal.js. */
.acctbar { display: flex; align-items: center; gap: 8px; }
.acctbar .am-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.acctbar .am-q { display: flex; align-items: center; gap: 7px; height: 36px; box-sizing: border-box; padding: 0 14px;
  border-radius: var(--ad-radius-pill); border: 1px solid #D9DDE3; background: #fff; color: var(--ad-navy);
  font: 600 13px var(--ad-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color .15s, background .15s; }
.acctbar .am-q:hover { border-color: var(--ad-navy); color: var(--ad-navy); }
.acctbar .am-q.is-o { background: var(--ad-orange); border-color: var(--ad-orange); color: var(--ad-navy-ink); }
.acctbar .am-q.is-o:hover { background: var(--ad-orange-hi); border-color: var(--ad-orange-hi); color: var(--ad-navy-ink); }
.acctbar .am-help { font-size: 13px; font-weight: 500; color: var(--ad-gray); white-space: nowrap; margin-right: 2px; }
.acctbar .am-pop { position: relative; margin-left: 4px; }
.acctbar .am-me { display: flex; align-items: center; gap: 9px; height: 38px; box-sizing: border-box; max-width: 240px;
  padding: 3px 12px 3px 3px; border-radius: var(--ad-radius-pill); border: 1px solid var(--ad-navy);
  background: var(--ad-navy); color: #fff; font: 600 14px var(--ad-body); cursor: pointer; }
.acctbar .am-me:hover { background: #0A3670; }
.acctbar .am-me[aria-expanded="true"] .am-chev { transform: rotate(180deg); }
.acctbar .am-ini { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; color: var(--ad-navy); font: 15px var(--ad-display); letter-spacing: .04em; padding-top: 1px; box-sizing: border-box; }
.acctbar .am-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.acctbar [hidden] { display: none !important; }
.acctbar .am-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 320px;
  display: flex; flex-direction: column; max-height: calc(100vh - 80px); background: #fff; color: var(--ad-ink);
  border-radius: var(--ad-radius); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(4,24,40,.07), 0 22px 48px rgba(4,24,40,.22); }
.acctbar .am-grab { display: none; }
.acctbar .am-hd { padding: 16px 20px 12px; border-bottom: 1px solid #E6E2DA; flex: none; }
.acctbar .am-co { margin: 0; font: 22px var(--ad-display); letter-spacing: .03em; color: var(--ad-navy); line-height: 1.1; }
.acctbar .am-who { margin: 3px 0 0; font-size: 13px; color: var(--ad-gray); }
.acctbar .am-list { display: flex; flex-direction: column; padding: 4px 0; overflow-y: auto; }
.acctbar .am-it { display: flex; align-items: center; gap: 13px; padding: 9px 20px; color: var(--ad-ink);
  font-size: 14.5px; font-weight: 600; text-decoration: none; }
.acctbar .am-it:hover, .acctbar .am-it:focus-visible { background: #F3F5F8; color: var(--ad-ink); outline: none; }
.acctbar .am-it.is-here { background: #FFF6EA; }
.acctbar .am-ic { width: 32px; height: 32px; border-radius: var(--ad-radius-sm); flex: none; display: grid;
  place-items: center; background: #EEF1F5; color: var(--ad-navy); }
.acctbar .am-it.is-here .am-ic { background: var(--ad-orange); color: var(--ad-navy-ink); }
.acctbar .am-badge { margin-left: auto; padding: 4px 9px; border-radius: var(--ad-radius-pill);
  background: #FFF0DD; color: #9A3F07; font-size: 11px; font-weight: 700; }
.acctbar .am-out { margin: 0; border-top: 1px solid #E6E2DA; flex: none; }
.acctbar .am-out button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 20px 15px;
  border: 0; background: none; color: var(--ad-gray); font: 600 14px var(--ad-body); cursor: pointer; text-align: left; }
.acctbar .am-out button:hover { color: var(--ad-ink); background: #F3F5F8; }
.acctbar .am-scrim { display: none; }
@media (max-width: 1100px) { .acctbar .am-name { display: none; } .acctbar .am-me { padding-right: 10px; } }
@media (max-width: 900px) {
  .acctbar { gap: 4px; }
  .acctbar .am-help { display: none; }
  .acctbar .am-lbl { display: none; }
  .acctbar .am-q { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .acctbar .am-me { padding: 3px; border-radius: 50%; }
  .acctbar .am-me .am-chev { display: none; }
}
@media (max-width: 760px) {
  .acctbar .am-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 80vh;
    border-radius: 20px 20px 0 0; z-index: 96; }
  .acctbar .am-grab { display: block; flex: none; width: 40px; height: 4px; border-radius: 4px;
    background: #D5D9DF; margin: 10px auto 2px; }
  .acctbar .am-it { min-height: 48px; box-sizing: border-box; }
  .acctbar .am-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 95; background: rgba(4,24,40,.55); }
}

/* ---------- account switcher: one login, several accounts (2026-11-12) ----------
   In the partner top bar in place of the page name, only for a login that opens more than one
   location or business. views/partials/accountswitch.php; behaviour in portal.js. */
.asw { position: relative; min-width: 0; }
.asw [hidden] { display: none !important; }
.asw-btn { display: flex; align-items: center; gap: 10px; height: 42px; box-sizing: border-box; max-width: 340px;
  padding: 4px 12px 4px 4px; border-radius: var(--ad-radius-pill); border: 1px solid #D9DDE3; background: #fff;
  color: var(--ad-navy); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.asw-btn:hover { border-color: var(--ad-navy); }
.asw-btn:focus-visible { outline: none; box-shadow: var(--ad-ring); }
.asw-btn[aria-expanded="true"] { border-color: var(--ad-navy); }
.asw-btn[aria-expanded="true"] .asw-chev { transform: rotate(180deg); }
.asw-logo { width: 32px; height: 32px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 0 0 1px #E6E2DA; }
.asw-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.asw-logo.is-ini { background: var(--ad-navy); box-shadow: none; color: #fff; font: 14px var(--ad-display);
  letter-spacing: .04em; padding-top: 1px; box-sizing: border-box; }
.asw-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.asw-t b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asw-t small { font-size: 11.5px; font-weight: 600; color: #9A3F07; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asw-chev { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.asw-panel { position: absolute; left: 0; top: calc(100% + 10px); z-index: 60; width: 340px;
  display: flex; flex-direction: column; max-height: calc(100vh - 90px); background: #fff; color: var(--ad-ink);
  border-radius: var(--ad-radius); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(4,24,40,.07), 0 22px 48px rgba(4,24,40,.22); }
.asw-grab { display: none; }
.asw-hd { flex: none; padding: 16px 18px 12px; background: var(--ad-navy); color: #fff; border-bottom: 3px solid var(--ad-orange); }
.asw-h { margin: 0; font: 22px var(--ad-display); letter-spacing: .03em; line-height: 1.1; }
.asw-sub { margin: 3px 0 0; font-size: 12.5px; color: rgba(255,255,255,.72); }
.asw-find { display: flex; align-items: center; gap: 8px; margin-top: 12px; height: 36px; padding: 0 12px;
  border-radius: var(--ad-radius-pill); background: rgba(255,255,255,.12); }
.asw-find svg { width: 15px; height: 15px; flex: none; fill: none; stroke: rgba(255,255,255,.8); stroke-width: 2; stroke-linecap: round; }
.asw-find input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: 500 14px var(--ad-body); outline: none; }
.asw-find input::placeholder { color: rgba(255,255,255,.6); }
.asw-list { margin: 0; padding: 6px 0; overflow-y: auto; display: flex; flex-direction: column; }
.asw-it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 18px; border: 0; background: none;
  color: var(--ad-ink); font: 600 14.5px var(--ad-body); text-align: left; cursor: pointer; }
.asw-it:hover, .asw-it:focus-visible { background: #F3F5F8; outline: none; }
.asw-it.is-here { background: #FFF6EA; cursor: default; }
.asw-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asw-ok { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ad-orange); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; }
.asw-gh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0; padding: 12px 18px 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-navy); }
.asw-gh span { font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--ad-gray); white-space: nowrap; }
.asw-grp + .asw-grp { border-top: 1px solid #EFECE6; margin-top: 4px; padding-top: 2px; }
.asw-pin { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #EEF1F5; color: var(--ad-navy); }
.asw-pin svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.asw-it.is-here .asw-pin { background: var(--ad-orange); color: var(--ad-navy-ink); }
.asw-none { margin: 0; padding: 14px 18px; font-size: 13.5px; color: var(--ad-gray); }
.asw-scrim { display: none; }
/* An open menu or sheet rises above the page's own sticky bars, which otherwise sit over the top
   bar's stacking level (5); the account menu shares the fix. */
.topbar:has(.asw-panel:not([hidden])), .topbar:has(.am-panel:not([hidden])) { z-index: 97; }
@media (max-width: 1100px) { .asw-btn { max-width: 240px; } }
@media (max-width: 900px) {
  .asw { flex: none; }
  .asw-btn { padding: 3px 7px 3px 3px; gap: 4px; height: 40px; }
  .asw-t { display: none; }
}
@media (max-width: 760px) {
  .topbar:has(.asw) { gap: 10px; }
  .asw-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 80vh;
    border-radius: 20px 20px 0 0; z-index: 96; }
  .asw-grab { display: block; position: absolute; left: 50%; top: 8px; margin-left: -20px; width: 40px; height: 4px;
    border-radius: 4px; background: rgba(255,255,255,.4); }
  .asw-hd { padding-top: 22px; }
  .asw-it { min-height: 52px; box-sizing: border-box; }
  .asw-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 95; background: rgba(4,24,40,.55); }
}
/* The smallest phones (320 to 400px): the bar holds menu, logo, switcher, ticket and avatar only when
   each gives a little (checked in WebKit at 320 and 375). */
@media (max-width: 400px) {
  .topbar:has(.asw) { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .topbar:has(.asw) .topbrand img { height: 20px; }
  .asw-btn { padding: 3px; border-radius: 50%; }
  .asw-chev { display: none; }
}

/* ---------- Overview ---------- */
.ov-obhead { display: flex; align-items: flex-start; gap: 16px; }
.ov-pct { margin-left: auto; font-family: var(--ad-display); font-size: 32px; line-height: 1;
  color: var(--ad-orange); }
.ov-todo { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.ov-todo a { font-size: 13.5px; color: var(--ad-navy); text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 8px; }
.ov-todo a:before { content: "\2192"; color: var(--ad-orange); }
.ov-todo a:hover { text-decoration: underline; }

.ovstats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ad-line); }
.ovstats > div { padding: 14px 18px; border-left: 1px solid var(--ad-line); }
.ovstats > div:first-child { border-left: 0; }
.ovstats .l { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ad-gray); font-weight: 600; }
.ovstats .n { display: block; font-family: var(--ad-display); font-size: 28px; line-height: 1.05;
  margin-top: 4px; }
.ovstats .s { display: block; font-size: 11.5px; color: var(--ad-gray); margin-top: 2px; }
@media (max-width: 760px) { .ovstats { grid-template-columns: repeat(2, 1fr); }
  .ovstats > div:nth-child(3) { border-left: 0; }
  .ovstats > div:nth-child(n+3) { border-top: 1px solid var(--ad-line); } }

.ov-taste { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px;
  font-size: 12.5px; color: #55504B; }
.ov-taste b { color: var(--ad-ink); }

/* A partner seeing their own logo knows it arrived; a count tells them nothing. */
.ov-thumbs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ov-thumbs a { display: grid; place-items: center; width: 54px; height: 54px; overflow: hidden;
  border: 1px solid var(--ad-line); background: #F7F3EE; }
.ov-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.ov-thumbs span { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8C857E; }

.ov-also { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.ov-also span { display: inline-flex; align-items: center; gap: 7px; color: #55504B; }
.ov-also svg { color: #C3BCB4; }
svg.spark { width: 100%; height: 34px; display: block; }

/* ---------- Support ----------
   A banner and four tiles. The page offers four choices; making someone read
   four sentences to find them is what made it feel slow. The icon and the label
   should land before the line underneath is needed at all. */
.supbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px 22px; background: var(--ad-navy); color: #fff; margin-bottom: 22px; }
.supbar-ico { line-height: 0; color: var(--ad-orange); flex: none; }
.supbar-t { margin-right: auto; }
.supbar-t b { display: block; font-family: var(--ad-display); font-size: 22px;
  letter-spacing: .03em; text-transform: uppercase; }
.supbar-t span { display: block; font-size: 13.5px; color: #B9C2CC; margin-top: 2px; }
.supbar .btn.ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.supbar .btn.ghost:hover { background: #fff; color: var(--ad-navy); }

@media (max-width: 520px) { .supbar-t { margin-right: 0; width: 100%; } }

/* the Support message box */
.msgbox { background: #fff; border: 1px solid var(--ad-line); padding: 18px; margin-bottom: 22px; }
.msgbox-l { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--ad-gray); margin-bottom: 8px; }
.msgbox textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--ad-line);
  font: inherit; font-size: 14.5px; background: #fff; resize: vertical; }
.msgbox textarea:focus { outline: 2px solid var(--ad-orange); outline-offset: -2px; }
.msgbox-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.msgsent { margin-bottom: 22px; }

/* ---------- locked and included nav items ----------
   A service a partner does not buy is shown, not hidden: invisible means they
   never learn it exists. Dimmed and padlocked says "ask us" rather than
   pretending it is not for sale. */
.sidebar nav a.locked { color: #5A6773; }
.sidebar nav a.locked:hover { color: #99A5B1; background: rgba(255,255,255,.03); }
.sidebar nav a.locked svg:first-child { opacity: .3; }
.sidebar nav a.locked .lockicon { margin-left: auto; line-height: 0; opacity: .6; }

/* Owned, but nothing to chart. Not a link, because there is no page to go to —
   a nav item that dead-ends is worse than a line of text. */
.sidebar nav .navnote { display: flex; align-items: center; gap: 12px;
  padding: 10px 22px; color: #5C646D; font-size: 13.5px; cursor: default; }
.sidebar nav .navnote svg { opacity: .45; }
.sidebar nav .navnote .tiny { margin-left: auto; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: #4A525B; }

/* Sold, but nothing reports on it yet. Dimmed is the honest state — brighter
   would promise a page with nothing on it. */
.sidebar nav a.soon { color: #5A6773; }
.sidebar nav a.soon:hover { color: #99A5B1; background: rgba(255,255,255,.03); }
.sidebar nav a.soon svg:first-child { opacity: .3; }
/* The one place small caps still earn their keep in the rail: a status, glanced
   at rather than read. */
.sidebar nav a .tag { margin-left: auto; font-size: 8.5px; letter-spacing: .12em;
  text-transform: uppercase; color: #55616D; border: 1px solid #27323D; padding: 1px 5px; }

/* Files is not a service; the gap says so without a heading nobody needs. */
.sidebar nav .nav-sep { height: 1px; background: rgba(255,255,255,.06); margin: 10px 18px; }

/* ---------- AI Automation ----------
   The marketing page rebuilt inside the dashboard, measured off the live one
   rather than approximated: pills at 100px radius, 70px navy circles, the
   headline in Bebas at 45px and -1.8px tracking, everything centred.

   Note for anyone extending the design system: absolutelydominate.com DOES
   round its buttons and badges. --ad-radius: 0 was taken from its cards, which
   is right for cards, and wrong as a statement about everything. The pill
   shapes below are the site's real geometry, not an exception to it. */

/* Orange pill badge above a section headline. */
.pill {
  display: inline-block; background: var(--ad-orange); color: #fff;
  font-size: 13px; font-weight: 600; padding: 4px 15px; border-radius: 100px;
  margin-bottom: 14px;
}
.btn-pill {
  display: inline-flex; align-items: center; border: 0; cursor: pointer;
  background: var(--ad-orange); color: #fff;
  font-family: var(--ad-body); font-size: 15px; font-weight: 700;
  padding: 15px 30px; border-radius: 100px;
}
.btn-pill:hover { background: var(--ad-orange-hi); }

/* Bebas at the site's own size and tracking. */
.aih {
  font-family: var(--ad-display); font-weight: 400; text-transform: uppercase;
  font-size: 45px; letter-spacing: -1.8px; line-height: 1; margin: 0;
}
.aisub { margin: 14px auto 0; max-width: 56ch; font-size: 15px; color: var(--ad-gray); }

/* The banner. The live page runs a photograph behind this; until there is one
   to use, the navy carries it rather than a stock image nobody chose. */
.aitop {
  margin: -28px -30px 0; padding: 54px 30px; text-align: center;
  background: var(--ad-navy-ink);
}
.aitop-h {
  margin: 0 auto; max-width: 900px;
  font-family: var(--ad-display); font-weight: 700; font-size: 66px;
  letter-spacing: 1px; line-height: 1; text-transform: uppercase; color: #fff;
}
.aitop-h span { color: var(--ad-orange); }

/* Held to a column. Full width on a wide monitor put 130 characters on a
   line and stretched the serpentine until its bends were half a screen
   apart — a sales page is read, and reading needs a measure. */
.aisec { text-align: center; padding: 46px 30px 10px; max-width: 900px; margin: 0 auto; }
.aiend { padding-bottom: 48px; }

/* "EVERY" holds still, the orange phrase changes under it. */
.airot {
  margin: 0 0 2px; font-family: var(--ad-display); font-weight: 400;
  font-size: 45px; letter-spacing: -1.8px; line-height: 1;
  text-transform: uppercase; color: var(--ad-ink);
}
.airot b { font-weight: 400; color: var(--ad-orange); }
.airot b[hidden] { display: none; }

/* ---- the serpentine ---- */

.aiflow { max-width: 760px; margin: 26px auto 0; }
.aistep { display: flex; align-items: flex-start; gap: 22px; }
.aistep.r { flex-direction: row-reverse; text-align: right; }
/* 70px navy circle with the icon in orange — the site's exact geometry. */
.aistep .dot {
  flex: none; width: 70px; height: 70px; border-radius: 50%;
  background: var(--ad-navy-ink); color: var(--ad-orange);
  display: grid; place-items: center;
}
.aistep .tx { flex: 1; padding-top: 4px; }
.aistep .ch {
  display: block; font-size: 15px; font-weight: 700; color: var(--ad-orange);
}
.aistep .tx b {
  display: block; font-family: var(--ad-display); font-weight: 400;
  font-size: 34px; letter-spacing: -1px; line-height: 1.05;
  text-transform: uppercase; margin: 2px 0 8px;
}
.aistep .tx p { margin: 0; font-size: 15px; color: var(--ad-gray); }

/* The dashed bend between two steps: down one side, round the corner, across
   to where the next circle starts. */
.aibend {
  height: 58px; margin: 10px 35px;
  border-bottom: 2px dashed #C9C2BA;
}
.aibend.l { border-left: 2px dashed #C9C2BA; border-bottom-left-radius: 26px; }
.aibend.r { border-right: 2px dashed #C9C2BA; border-bottom-right-radius: 26px; }

/* ---- proof, on the navy ---- */

.aidark {
  margin: 44px -30px 0; padding: 48px 30px 52px; text-align: center;
  background: var(--ad-navy-ink); color: #fff;
}
.aidark .aih { color: #fff; }
.aidark .aisub { color: #93A0AC; }

.aistats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 940px; margin: 36px auto 0; padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.14);
}
/* Glyph in white, not near-black. Paired with the white figure below it, the
   icon reads as part of the same object instead of a separate orange one. */
.aistats .ic {
  display: grid; place-items: center; width: 54px; height: 54px; margin: -61px auto 0;
  border-radius: 50%; background: var(--ad-orange); color: #fff;
}
/* The figure carries the weight in white; the orange moves down to the label
   underneath it. Three orange numbers beside three orange circles had the
   band shouting one colour at itself. */
.aistats .n {
  display: block; margin-top: 18px;
  font-family: var(--ad-display); font-size: 52px; line-height: 1;
  letter-spacing: -1px; color: #fff;
}
.aistats .l {
  display: block; font-size: 16px; font-weight: 700; margin-top: 6px;
  color: var(--ad-orange);
}
.aistats .s { display: block; font-size: 14px; color: #93A0AC; margin-top: 8px; }

.aistate { margin: 20px 0 0; font-size: 15px; color: var(--ad-gray); }
.aistate b { color: var(--ad-ink); }
.aiend form { margin-top: 22px; }

@media (max-width: 860px) {
  .aitop { margin: -28px -30px 0; padding: 38px 26px; }
  .aitop-h { font-size: 42px; }
  .airot, .aih { font-size: 32px; letter-spacing: -.9px; }
  .aistep { gap: 16px; }
  .aistep .dot { width: 56px; height: 56px; }
  .aistep .tx b { font-size: 26px; }
  .aibend { margin: 8px 27px; height: 42px; }
  .aidark { margin: 34px -30px 0; padding: 38px 26px 42px; }
  .aistats { grid-template-columns: 1fr; gap: 44px; }
  .aistats .ic { margin-top: 0; }
  .aistats > div:first-child .ic { margin-top: -61px; }
}

/* ---------- Files & Uploads ----------
   Built around the files, because both jobs this page does — find the logo I
   sent you, hand you a new one — are visual. */

/* The library at a glance. Without it the page looks equally empty at one file
   and at two hundred. */
.libstat {
  display: flex; border: 1px solid var(--ad-line); background: #fff;
  margin-bottom: 20px;
}
.libstat > div { padding: 15px 22px; border-left: 1px solid var(--ad-line); min-width: 130px; }
.libstat > div:first-child { border-left: 0; }
.libstat .n {
  display: block; font-family: var(--ad-display); font-size: 27px; line-height: 1;
  letter-spacing: -.4px;
}
.libstat .l {
  display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ad-gray); font-weight: 700;
}

/* Pills in sentence case. These used to be uppercase with .1em tracking, which
   is the treatment the rest of the portal dropped. An empty category dims
   rather than vanishing: a partner should see there is a place for video
   before they have sent any. */
.libtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.libtabs a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 100px;
  border: 1px solid var(--ad-line); background: #fff;
  font-size: 13.5px; font-weight: 600; color: #55504B; text-decoration: none;
  transition: border-color .12s, background .12s, color .12s;
}
.libtabs a:hover { border-color: #C9C2BA; color: var(--ad-ink); }
.libtabs a .c {
  font-size: 11.5px; font-weight: 700; color: var(--ad-gray);
  font-variant-numeric: tabular-nums;
}
.libtabs a.none { color: #A9A39C; background: transparent; }
.libtabs a.on {
  background: var(--ad-navy-ink); border-color: var(--ad-navy-ink); color: #fff;
}
.libtabs a.on .c { color: var(--ad-orange); }

/* The only thing on this page a partner can DO, so it is allowed to look like
   it. Still short: an earlier version stacked a full-height zone per category
   and pushed the files off the bottom of the screen. */
.dropbar { margin-bottom: 22px; }
.dropbar .dropzone {
  display: flex; align-items: center; gap: 16px;
  flex-direction: row; text-align: left;
  padding: 20px 22px; cursor: pointer;
  border: 2px dashed #D8D1C8; background: #fff;
  transition: border-color .12s, background .12s;
}
.dropbar .dropzone:hover { border-color: var(--ad-orange); background: #FFFCF6; }
.dropbar .dropzone:focus-visible { outline: 2px solid var(--ad-orange); outline-offset: 2px; }
/* Dragging is worth showing loudly: the commonest upload failure is letting go
   two pixels outside the target. */
.dropbar .dropzone.is-over { border-color: var(--ad-orange); background: #FFF6E9; }
.dropbar .ico {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: #FFF1DC; color: var(--ad-orange); line-height: 0;
  transition: background .12s;
}
.dropbar .dropzone.is-over .ico { background: var(--ad-orange); color: #fff; }
.dropbar .txt b { display: block; font-size: 15px; font-weight: 600; color: var(--ad-ink); }
.dropbar .txt u { color: var(--ad-orange); text-decoration: none; border-bottom: 1px solid currentColor; }
.dropbar .txt span { display: block; font-size: 12.5px; color: var(--ad-gray); margin-top: 2px; }
@media (max-width: 620px) { .dropbar .dropzone { align-items: flex-start; } }

.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 16px; }
.fcard {
  display: block; border: 1px solid var(--ad-line); background: #fff;
  text-decoration: none; color: inherit;
  transition: border-color .12s, transform .12s, box-shadow .12s;
}
.fcard:hover {
  transform: translateY(-2px);
}

/* Square, and on a chequerboard. Most logos arrive as transparent PNGs, and a
   transparent logo on a cream card is how you end up staring at nothing. */
/* 4:3, not square. A logo is typically far wider than it is tall — the one in
   front of me is 1700x400 — and a square box spends the difference on empty
   space above and below it, which makes the logo look smaller than the card
   it is sitting in. The chequer is kept faint: it is there so a transparent
   PNG is not invisible, not so the card looks like an image editor. */
.fcard .thumb {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  border-bottom: 1px solid var(--ad-line);
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #F8F5F1 25%, transparent 25%, transparent 75%, #F8F5F1 75%),
    linear-gradient(45deg, #F8F5F1 25%, transparent 25%, transparent 75%, #F8F5F1 75%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
}
.fcard .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.fcard .thumb.is-doc { background-image: none; background-color: #FBF8F4; }
.fcard .thumb .ext {
  font-family: var(--ad-display); font-size: 19px; letter-spacing: .06em;
  color: #6E6862; border: 1px solid var(--ad-line); background: #fff; padding: 8px 14px;
}
/* Which shelf it sits on, without making the partner open the tab to find out. */
.fcard .thumb .kind {
  position: absolute; top: 9px; left: 9px;
  padding: 2px 8px; border-radius: 100px;
  background: rgba(4,24,40,.72); color: #fff;
  font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
/* Says what a click does. A card that is silently a link is a card people hover
   over and then leave alone. */
.fcard .thumb .open {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 0; background: rgba(4,24,40,.88); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  transform: translateY(100%); transition: transform .14s ease;
}
.fcard:hover .thumb .open { transform: translateY(0); }
.fcard .meta { display: block; padding: 11px 13px 13px; }
.fcard .meta b {
  display: block; font-weight: 600; font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fcard .meta .sub {
  display: block; font-size: 11.5px; color: var(--ad-gray); margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.libfoot { margin-top: 20px; font-size: 12.5px; color: var(--ad-gray); }

@media (max-width: 620px) {
  .libstat { flex-wrap: wrap; }
  .libstat > div { flex: 1 0 33%; min-width: 0; }
  .fgrid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
}

/* ---------- empty states ----------
   Used by Files & Uploads, Billing and any service page with nothing in it
   yet. Centred inside its own card, so "nothing here" still looks like a
   deliberate part of the page rather than a section that failed to load. */
.emptygrid {
  display: grid; place-items: center; gap: 8px;
  padding: 44px 20px; text-align: center;
  border: 1px solid var(--ad-line); background: #fff; color: var(--ad-gray);
}
.emptygrid p { margin: 0; font-size: 13.5px; }
.emptygrid p b { color: var(--ad-ink); font-size: 15px; }
.emptygrid svg { color: #D6CFC7; }
.emptygrid .btn { margin-top: 6px; }

/* ---------- upload previews and the progress panel ---------- */

/* Progress, over the page rather than inside it. It used to sit under the drop
   bar and push the file grid down as rows appeared, so the list you were
   looking at moved while you looked at it. */
.uptoast {
  position: fixed; right: 22px; bottom: 22px; z-index: 110;
  width: 360px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--ad-line);
}
.uptoast-hd {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 10px 12px 16px;
  background: var(--ad-navy-ink); color: #fff;
}
.uptoast-hd b { flex: 1; font-size: 13.5px; font-weight: 600; }
/* A thin orange rule under the header while anything is still in flight. */
.uptoast.is-busy .uptoast-hd { box-shadow: inset 0 -2px 0 var(--ad-orange); }
.uptoast-btn {
  display: grid; place-items: center; width: 26px; height: 26px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: #9FACB8; line-height: 0;
}
.uptoast-btn:hover { color: #fff; }
.uptoast-btn:focus-visible { outline: 2px solid var(--ad-orange); outline-offset: 1px; }
.uptoast [data-toast-toggle] svg { transition: transform .14s ease; }
.uptoast.is-shut [data-toast-toggle] svg { transform: rotate(180deg); }

.uptoast .uplist { max-height: 300px; overflow-y: auto; padding: 12px; }
.uptoast.is-shut .uplist { display: none; }
/* Inside the panel the rows are the whole content, so they drop the border
   they needed when they sat loose on the page. */
.uptoast .uprow { border: 0; padding: 8px 4px; margin-bottom: 0; }
.uptoast .uprow + .uprow { border-top: 1px solid #F0EBE5; }

@media (max-width: 620px) {
  .uptoast { right: 12px; left: 12px; bottom: 12px; width: auto; }
}

/* ============================================================
   Roundness
   ------------------------------------------------------------
   One layer rather than 138 edits, so the shape of the product
   lives in one place and can be tuned in one place.

   Measured, not chosen: absolutelydominate.com has 33 elements
   carrying a radius and not one square one, running 10px on
   cards up to 100px on buttons. The dashboard was built on a
   token that said the opposite, and inherited square corners
   everywhere — which is exactly the "boxed" feeling.

   Shadows go the other way. The site uses none; Linear uses
   hairline rings. Ours used four drop shadows I added, which
   is the one thing here that looked like a template.
   ============================================================ */

/* ---- pills: anything you press, and anything that counts ---- */
.btn, .btn-pill, .pill,
.libtabs a, .chip, .key.o,
.nav .badge, .sidebar nav a .tag,
.subtabs .mark, .stepsleft,
.bar, .bar > i, .btrack, .btrack i,
.uprow .track, .uprow .track i,
.meter, .minibar, .minibar i { border-radius: var(--ad-radius-pill); }

/* A square avatar with two letters in it is a placeholder; a round one is a
   person. */
.avatar { border-radius: 50%; }

/* ---- cards and panels ---- */
.card, .panel, .stepcard, .note, .drop, .gatebar, .warnband,
.emptygrid, .libstat, .fcard, .aiagent, .paper,
.upsell, .uptoast, .hours, .repeat,
.dropbar .dropzone, .upstage { border-radius: var(--ad-radius); }

/* A rounded card whose first child is a full-bleed image needs to clip it, or
   the image squares off the corners it sits in. */
.fcard, .stepcard, .uptoast, .upsell, .libstat { overflow: hidden; }

/* ---- small things ---- */
.fld input, .fld select, .fld textarea,
input[type="text"], input[type="email"], input[type="url"],
input[type="tel"], input[type="password"], input[type="time"],
select, textarea,
.upl .ic, .uprow .ext, .thumb, .fcard .thumb .ext,
.upstage-row .ext, .upstage-row .to select,
.step .tick, .subtabs .mark { border-radius: var(--ad-radius-sm); }

/* The sidebar's active item as a rounded block inset from the rail, which is
   how every modern sidebar signals "you are here". The orange bar stays: it is
   the brand's mark on the page, and the shape underneath it is what changed. */
/* Inset from the rail, but not so far that the longest service name wraps —
   "Web Hosting & Maintenance" on two lines is what this whole exercise
   started out fixing. */
.sidebar nav a {
  margin: 0 8px; padding: 8px 12px; gap: 11px;
  border-left: 0; border-radius: var(--ad-radius-sm);
}
.sidebar nav a.active {
  background: rgba(255,153,0,.13);
  box-shadow: inset 3px 0 0 var(--ad-orange);
}
.sidebar .nav-group { padding-left: 22px; }
.sidebar nav .nav-sep { margin: 12px 22px; }

/* ---- depth without drop shadows ---- */
.fcard:hover {
  box-shadow: var(--ad-lift);
  border-color: transparent;
}
.uptoast { box-shadow: var(--ad-lift), var(--ad-ring); }

/* ---- what stays square ----
   Full-bleed bands run edge to edge into the window, so a radius on them would
   round a corner against nothing. */
.aitop, .aidark, .aiband, .aicta,
.sidebar, .topbar, .viewbar { border-radius: 0; }

/* ---------- Overview hero ----------
   The page a partner lands on used to open with a heading on cream and then
   eleven white cards of equal weight. Nothing was louder than anything else,
   which is what made it read as generic — a designed page has one thing that
   dominates.

   Built the way the marketing site builds its own: a full-bleed dark band with
   the display face at size. .content pads 28/30/40, so the band pulls back
   through it. */
.hero {
  margin: -28px -30px 24px;
  padding: 46px 30px 0;
  background: var(--ad-navy-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* The brand's own navy-to-orange, at the angle the site uses it, bled off the
   corner. Texture, not decoration: it should register without being looked at. */
.hero::after {
  content: ''; position: absolute; right: -180px; top: -180px;
  width: 460px; height: 460px; border-radius: 50%;
  background: linear-gradient(160deg, rgba(255,130,9,.30), rgba(255,153,0,0) 62%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; max-width: 640px; }
.hero .eyebrow { color: var(--ad-orange); }
.hero-h {
  margin: 0; font-family: var(--ad-display); font-weight: 400;
  font-size: 64px; line-height: .92; letter-spacing: -1.4px;
  text-transform: uppercase;
}
.hero-sub { margin: 16px 0 0; font-size: 15.5px; color: #9FACB8; max-width: 46ch; }

/* The money, inside the band rather than in a card below it: it is the question
   the page exists to answer, so it should not need a scroll. */
.hero-figs {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 36px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-figs > div {
  flex: 1 1 160px; padding: 20px 26px 22px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.hero-figs > div:first-child { border-left: 0; padding-left: 0; }
.hero-figs .n {
  display: block; font-family: var(--ad-display); font-size: 40px; line-height: 1;
  letter-spacing: -.6px; color: #fff;
}
.hero-figs .l {
  display: block; margin-top: 7px; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ad-orange); font-weight: 700;
}
/* Without the figures the band would end flush against its own last line. */
.hero:not(:has(.hero-figs)) { padding-bottom: 46px; }

@media (max-width: 860px) {
  .hero { margin: -28px -30px 20px; padding: 34px 26px 0; }
  .hero-h { font-size: 42px; letter-spacing: -.8px; }
  .hero-figs > div { flex: 1 1 100%; border-left: 0; padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.10); }
  .hero-figs > div:first-child { border-top: 0; }
  .hero-figs .n { font-size: 32px; }
}

/* ---------- the drop target, inside the band ----------
   It used to be a large dashed rectangle sitting on cream in the middle of the
   page: the biggest thing on screen and the emptiest. Inside the band it is
   still the obvious way in, but it is part of the page's opening rather than a
   hole in the middle of it. */
.libdrop { position: relative; z-index: 1; margin-top: 26px; }
.libdrop .dropzone {
  display: flex; flex-direction: row; align-items: center; gap: 16px;
  text-align: left; padding: 18px 20px; cursor: pointer;
  border: 2px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  border-radius: var(--ad-radius);
  transition: border-color .12s, background .12s;
}
.libdrop .dropzone:hover { border-color: var(--ad-orange); background: rgba(255,153,0,.07); }
.libdrop .dropzone:focus-visible { outline: 2px solid var(--ad-orange); outline-offset: 2px; }
/* Dragging is worth showing loudly: the commonest upload failure is letting go
   two pixels outside the target. */
.libdrop .dropzone.is-over { border-color: var(--ad-orange); background: rgba(255,153,0,.14); }
.libdrop .ico {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: rgba(255,153,0,.16); color: var(--ad-orange);
  line-height: 0; transition: background .12s, color .12s;
}
.libdrop .dropzone.is-over .ico { background: var(--ad-orange); color: #fff; }
.libdrop .txt b { display: block; font-size: 15.5px; font-weight: 600; color: #fff; }
.libdrop .txt u { color: var(--ad-orange); text-decoration: none; border-bottom: 1px solid currentColor; }
.libdrop .txt span { display: block; font-size: 13px; color: #93A0AC; margin-top: 3px; }

/* The band's own figures sit under it, so they need the rule above them back. */
.libhero .hero-figs { margin-top: 30px; }

@media (max-width: 620px) {
  .libdrop .dropzone { align-items: flex-start; }
}

/* ---------- Users & Access ----------
   The people first: "who can get in?" should be answerable at a glance rather
   than after reading a form. */
.teamlist { list-style: none; margin: 0; padding: 0; }
.teamrow {
  display: grid; grid-template-columns: 42px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 16px 22px; border-top: 1px solid var(--ad-line);
}
.teamrow:first-child { border-top: 0; }
/* Somebody whose access is off stays on the list, greyed. Removing the row
   would answer "who used to have access?" with silence. */
.teamrow.is-off { background: #FBF9F6; }
.teamrow.is-off .av { background: #E4DFD9; color: #8A837B; }
.teamrow.is-off .who b { color: #8A837B; }

.teamrow .av {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ad-navy-ink); color: #fff;
  font-family: var(--ad-display); font-size: 16px; letter-spacing: .04em;
}
.teamrow .who { min-width: 0; }
.teamrow .who b {
  display: block; font-size: 14.5px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.teamrow .who .em {
  display: block; font-size: 12.5px; color: var(--ad-gray); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.teamrow .you {
  display: inline-block; margin-left: 7px; padding: 1px 7px; border-radius: var(--ad-radius-pill);
  background: #F2EDE7; color: #6B6560;
  font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  vertical-align: 1px;
}
.teamrow .state { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.teamrow .act form { margin: 0; }

/* Removing access is the one button here that takes something away, so it is
   the one button that does not look like the others until you reach for it. */
.btn.sm { font-size: 11.5px; padding: 7px 14px; }
.btn.ghost.danger { border-color: #E3CFC5; color: var(--ad-warn); }
.btn.ghost.danger:hover { background: var(--ad-warn); border-color: var(--ad-warn); color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--ad-orange); }

@media (max-width: 760px) {
  .teamrow { grid-template-columns: 42px 1fr; row-gap: 10px; }
  .teamrow .state, .teamrow .act { grid-column: 2; justify-self: start; }
}

/* What each person on the account can do, under their name. */
.teamrow .cando { display: block; font-size: 11.5px; color: #8A837B; margin-top: 3px; }
.teamrow.is-off .cando { color: #ADA69E; }

/* Two choices, each needing a sentence. A select would hide the sentence.
   .fld label is uppercase, tracked and block, which is right for a field
   label and wrong for a paragraph inside one, so these have to say so. */
.fld .pick {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
  border: 1px solid var(--ad-line); border-radius: var(--ad-radius-sm); background: #fff;
}
/* The three declarations that .fld label imposes and a sentence must not keep. */
.fld .pick, .fld .pick span, .fld .pick b {
  font-weight: 400; text-transform: none; letter-spacing: 0;
}
.fld .pick:hover { border-color: #C9C2BA; }
.fld .pick input { margin: 2px 0 0; flex: none; accent-color: var(--ad-orange); width: auto; }
.fld .pick:has(input:checked) { border-color: var(--ad-orange); background: #FFFCF6; }
.fld .pick span { font-size: 12.5px; color: #55504B; line-height: 1.45; margin: 0; }
.fld .pick span b { display: block; font-size: 13.5px; color: var(--ad-ink); margin-bottom: 2px; }

/* A form nobody may submit still has to look legible rather than broken. */
fieldset[disabled] { opacity: .72; }
fieldset[disabled] input, fieldset[disabled] select, fieldset[disabled] textarea {
  background: #FAF8F5; cursor: not-allowed;
}

/* Add a colleague and Your password sit side by side. A grid stretches both to
   the taller one, so when the left card is a single sentence it became a large
   empty box. They start at the top and end where their content does. */
.acctcols { align-items: start; }

/* ---------- Support ----------
   The way to reach us sits inside the band rather than in a strip under it. It
   is the reason the page exists, so it should not be the third thing on it. */
.supreach {
  position: relative; z-index: 1;
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
  margin-top: 28px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.supreach-alt { color: #9FACB8; font-size: 14px; text-decoration: none; }
.supreach-alt:hover { color: #fff; }

/* ---------- what else we do ----------
   Taken from the service pages on absolutelydominate.com rather than invented
   here: the orange name chip, the Bebas line that does the selling, the
   ticked list of what is included, and the torn edge where one band breaks
   into the next. A partner who clicks through to ask about one of these
   should not feel handed to a different company.

   Warm stone, not navy. The hero is already a dark band and a second one at
   the foot made the page read as the same thing twice. */
.supmore {
  margin: 44px -30px -40px; padding: 54px 30px 48px;
  background: #F3EDE5; position: relative;
}
/* The torn break the site uses between its bands, cut out of the top edge so
   the white above shows through the tear. */
.supmore::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px;
  background: var(--ad-paper);
  -webkit-mask-image: var(--torn); mask-image: var(--torn);
  -webkit-mask-size: 100% 22px; mask-size: 100% 22px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

.supmore-hd { max-width: 54ch; margin-bottom: 26px; }
.supmore-hd .eyebrow { color: var(--ad-orange); }
.supmore-hd h2.display { font-size: 34px; margin: 0; color: var(--ad-ink); }
.supmore-hd .lede { font-size: 14.5px; color: #6B655E; margin: 10px 0 0; }

.supmore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

/* One service, the way the site lays one out. */
.svc {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  width: 100%; font: inherit; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid #E4DCD1; border-radius: var(--ad-radius);
  padding: 20px 20px 18px;
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
.svc:hover { border-color: var(--ad-orange); box-shadow: var(--ad-lift); transform: translateY(-2px); }
.svc:focus-visible { outline: none; border-color: var(--ad-orange); box-shadow: var(--ad-ring); }

/* The orange pill the site puts above every service heading. */
.svc-chip {
  display: inline-block; padding: 5px 13px; border-radius: var(--ad-radius-pill);
  background: var(--ad-orange); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.svc-h {
  display: block; margin: 13px 0 0;
  font-family: var(--ad-display); font-weight: 400; font-size: 25px;
  line-height: 1.04; letter-spacing: -.3px; text-transform: uppercase; color: var(--ad-ink);
}

.svc-req { display: block; margin: 15px 0 0; width: 100%; }
.svc-req span {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.45; color: #6B655E; padding: 4px 0;
}
.svc-req i { font-style: normal; color: var(--ad-orange); font-weight: 700; flex: none; }

.svc-go {
  margin-top: 16px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ad-ink);
}
.svc-go i { font-style: normal; display: inline-block; transition: transform .12s; }
.svc:hover .svc-go { color: var(--ad-orange); }
.svc:hover .svc-go i { transform: translateX(4px); }

@media (max-width: 760px) {
  .supmore { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .supmore-hd h2.display { font-size: 26px; }
}

/* ---------- the ticket inbox ----------
   It was four columns of plain text that happened to be a link, which read as
   a log and did not look clickable at all. What makes a list feel like an
   inbox is not decoration: it is that each row answers "who, what, latest,
   when" on its own, and that it obviously opens. */
/* The list is a card. Without one, rows tinted a couple of percent apart
   from each other and from a cream page all read as the same wash. */
.inbox {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--ad-line); border-radius: var(--ad-radius);
  background: #fff; overflow: hidden;
}
.inbox li + li { border-top: 1px solid #EAE3DA; }

.inrow {
  display: grid; grid-template-columns: 10px 1fr auto 16px;
  gap: 0 14px; align-items: center;
  padding: 15px 18px;
  text-decoration: none; color: inherit;
  transition: background .12s;
  /* Open, until it is finished. Anything still live sits on the card's own
     white; only a closed ticket steps back. Dulling the open ones had it
     exactly backwards -- four live tickets looked disabled while the one
     already handled was the brightest thing on the page. */
  background: #fff;
}
.inrow:hover { background: #FBF7F1; }
.inrow:focus-visible { outline: none; box-shadow: var(--ad-ring); }

/* There is a reply waiting to be read. The brand colour down the edge and a
   filled dot: the one row on the page asking for a minute of their time. */
.inrow.is-newreply { box-shadow: inset 3px 0 0 var(--ad-orange); background: #FFFCF7; }
.inrow.is-newreply:hover { background: #FFF7EB; }

/* Finished. The only state that recedes, because it is the only one with
   nothing left to happen on it. */
.inrow.is-closed { background: #F4EFE8; }
.inrow.is-closed:hover { background: #EDE6DC; }

/* A dot, like a mailbox. Filled means there is something here. */
.inrow .dot { width: 8px; height: 8px; border-radius: 50%; justify-self: center; background: transparent; }
.inrow.is-newreply .dot { background: var(--ad-orange); box-shadow: 0 0 0 3px rgba(255,153,0,.18); }
.inrow.is-sent .dot { background: #CFC8BF; }
.inrow.is-closed   .dot { background: #E2DCD4; }

.inrow .main { min-width: 0; }
.inrow .top { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }

/* Weight and contrast carry it, not a wash of colour behind the text. A
   faint tint is invisible on one row and only reads as anything on eight of
   them; bold against grey reads on the first. */
.inrow .subj {
  font-size: 14.5px; font-weight: 600; color: var(--ad-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.inrow.is-newreply .subj { font-weight: 700; }
.inrow.is-closed .subj { font-weight: 500; color: #8A837B; }

/* The state is the one word on a row that has to carry across the page, so
   it is sized to be read rather than tucked in beside the subject. */
.inrow .st, .tkhero .st {
  flex: none; font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--ad-radius-pill);
  white-space: nowrap;
}

/* Loudness follows what the partner has to do, not how far along the
   ticket is. Answered is the only state holding something for them to
   read, so it wears the brand orange. Green was wrong twice over: it
   reads as finished, and against this palette it read as new. */
.st.newreply { background: var(--ad-orange); color: #2A1400; }
.st.sent     { background: #E3E9F0; color: #3A4854; }
.st.closed   { background: #ECE6DE; color: #6B655E; }
.st.none     { background: #ECE6DE; color: #6B655E; }

/* On the dark band a light chip is the thing that pops, so the quiet states
   get brighter there rather than dimmer. */
.tkhero .st.sent   { background: #DDE5EE; color: #22303D; }
.tkhero .st.closed { background: rgba(255,255,255,.16); color: #DCE3E9; }
/* The chip explains itself on hover, so it should look like it would. */
.st[title] { cursor: help; }

/* One line of the last thing said. Truncated rather than wrapped: a preview
   that grows to three lines stops being a preview. */
.inrow .prev {
  display: block; font-size: 13px; color: #6B655E; line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.inrow .prev b { color: #44403B; font-weight: 600; }
.inrow.is-newreply .prev { color: #44403B; }
.inrow.is-newreply .prev b { color: var(--ad-ink); font-weight: 700; }
.inrow.is-closed .prev { color: #938E88; }
.inrow.is-closed .prev b { color: #8A837B; }

/* When it last moved, and what is on it. */
.inrow .meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  white-space: nowrap;
}
.inrow .when { display: flex; align-items: baseline; gap: 6px; }
.inrow .when b { font-size: 13px; font-weight: 700; color: var(--ad-ink); }
.inrow .when span { font-size: 12.5px; color: #6B655E; }
.inrow.is-closed .when b { font-weight: 600; color: #8A837B; }
.inrow.is-closed .when span { color: #938E88; }

/* One row, everything on the same centre line, so the attachment pill stops
   sitting proud of the text beside it. */
.inrow .facts {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--ad-gray);
}
.inrow .facts > * { display: inline-flex; align-items: center; line-height: 1; }
.inrow .facts .clip {
  gap: 4px; padding: 3px 8px; border-radius: var(--ad-radius-pill);
  border: 1px solid var(--ad-line); background: #FDFCFA; font-weight: 700;
}
.inrow .facts .clip svg { color: var(--ad-gray); }
.inrow .facts .num { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: #6B655E; }

/* Pointing right, and it moves on hover. */
.inrow .go { line-height: 0; color: #C3BDB5; transform: rotate(-90deg); transition: color .12s, transform .12s; }
.inrow:hover .go { color: var(--ad-orange); transform: rotate(-90deg) translateY(3px); }

/* Stacked on a phone. The rule here still described the old three column
   row, so with four things in it the last one wrapped and the layout came
   apart. Each piece is placed explicitly now. */
@media (max-width: 680px) {
  .inrow { grid-template-columns: 10px 1fr 16px; row-gap: 7px; padding: 14px 14px 14px 10px; }
  .inrow .dot  { grid-column: 1; grid-row: 1; }
  .inrow .main { grid-column: 2; grid-row: 1; }
  .inrow .meta { grid-column: 2; grid-row: 2; align-items: flex-start; }
  .inrow .go   { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .inrow .facts { justify-content: flex-start; }
  /* Two lines of subject beats one line of guesswork: at this width a
     truncated subject is mostly ellipsis. */
  .inrow .top { flex-wrap: wrap; gap: 7px; }
  .inrow .subj { white-space: normal; overflow: visible; line-height: 1.25; }
}

.msgsent-none { padding-bottom: 4px; }

/* Attach a file to a ticket. Same affordance as the public support centre:
   drag onto it, or press it. The label IS the drop target, so there is one
   thing to aim at rather than a zone and a button that disagree. */
.msgfile {
  display: flex; align-items: center; gap: 13px;
  margin-top: 14px; padding: 14px 16px; cursor: pointer;
  border: 2px dashed #D8D1C8; border-radius: var(--ad-radius);
  background: #FDFCFA;
  transition: border-color .12s, background .12s;
}
.msgfile:hover { border-color: var(--ad-orange); background: #FFFCF6; }
.msgfile.is-over { border-color: var(--ad-orange); background: #FFF6E9; }
.msgfile.has-file { border-style: solid; border-color: var(--ad-ok); background: #F6FBF8; }
.msgfile svg { flex: none; color: var(--ad-orange); }
.msgfile .t b { display: block; font-size: 13.5px; }
.msgfile .t span { display: block; font-size: 12px; color: var(--ad-gray); margin-top: 1px; }

/* Visible to a screen reader, not on screen. For a label whose field is
   already obvious to anyone who can see it. */
.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;
}

/* Back to the list, from a page you arrived at by clicking a row. The only
   way out of a ticket, so it was far too quiet at 13px in grey: a link
   somebody has to hunt for is a link that failed. */
.backlink { margin: 0 0 18px; font-size: 15px; }
.backlink a {
  display: inline-flex; align-items: center; gap: 7px;
  color: #55504B; font-weight: 600; text-decoration: none;
  padding: 7px 13px 7px 11px; margin-left: -11px;
  border-radius: var(--ad-radius-pill);
  transition: background .12s, color .12s;
}
/* The arrow lives in its own disc, so the control has a shape instead of
   being a punctuation mark next to some words. */
.backlink .bk {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none;
  line-height: 0; border-radius: 50%; background: #EFE9E1; color: #55504B;
  transform: rotate(90deg);
  transition: background .12s, color .12s, transform .12s;
}
.backlink a:hover { color: var(--ad-ink); background: #F1ECE4; }
.backlink a:hover .bk { background: var(--ad-orange); color: #2A1400; transform: rotate(90deg) translateY(2px); }
.backlink a:focus-visible { outline: none; box-shadow: var(--ad-ring); }

/* ---------- a ticket, as a conversation ----------
   Read live from our support desk. Laid out as a thread because that is what it is:
   as a page -- heading, text, form -- it read as a document about a
   conversation, and one message sat marooned in half a screen of nothing.

   The panel is capped and centred for the same reason. Across a full-width
   dashboard a right-aligned bubble ends up on the far side of the monitor
   from the one it is answering. */
/* ---------- a ticket, laid out like a page on the site ----------
   A white card on a cream page is white on near-white: the panel edge
   disappears and the conversation has nothing to sit against. So the page
   takes the shape the service pages use -- a dark band to open, a torn edge,
   and warm stone underneath for the card to stand on. */
.tkpage {
  margin: -28px -30px -40px; padding-bottom: 54px;
  background: #F3EDE5; min-height: calc(100vh - 120px);
}

.tkhero {
  position: relative; padding: 20px 30px 52px;
  background: var(--ad-navy-ink); color: #fff; overflow: hidden;
}
/* The same soft corner glow the Support hero carries. */
.tkhero::before {
  content: ""; position: absolute; right: -140px; top: -180px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,.16), transparent 68%);
  pointer-events: none;
}
/* The stone tears into the navy. Same token as the band at the foot of
   Support, flipped so the torn edge faces up. */
.tkhero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
  background: #F3EDE5; transform: scaleY(-1);
  -webkit-mask-image: var(--torn); mask-image: var(--torn);
  -webkit-mask-size: 100% 22px; mask-size: 100% 22px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.tkhero-in { position: relative; z-index: 1; max-width: 820px; margin: 10px auto 0; }

/* On the band, the back link is the one light thing above the title. */
.tkhero .backlink { position: relative; z-index: 1; max-width: 820px; margin: 0 auto 14px; }
.tkhero .backlink a { color: #9FACB8; }
.tkhero .backlink a:hover { color: #fff; background: rgba(255,255,255,.08); }
.tkhero .backlink .bk { background: rgba(255,255,255,.1); color: #DCE3E9; }
.tkhero .backlink a:hover .bk { background: var(--ad-orange); color: #2A1400; }

.tk-hd-top { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.tk-no { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #8E9BA7; }
.tkhero .st { margin-left: auto; }
.tk-h {
  margin: 0; font-family: var(--ad-display); font-weight: 400; font-size: 38px;
  text-transform: uppercase; letter-spacing: -.5px; line-height: 1.04; color: #fff;
}
.tk-meta { margin: 10px 0 0; font-size: 13px; color: #8E9BA7; }

/* The conversation, lifted onto the stone. */
.tk {
  position: relative; z-index: 2;
  /* Clear of the tear rather than lifted over it: overlapping chopped the
     torn edge in half, which is the one detail borrowed from the site. */
  max-width: 820px; margin: 14px auto 0;
  border: 1px solid #E4DCD1; border-radius: var(--ad-radius);
  background: #fff; overflow: hidden;
  box-shadow: 0 10px 34px rgba(4,24,40,.07);
}

@media (max-width: 760px) {
  .tkpage { margin-left: -16px; margin-right: -16px; }
  .tkhero { padding-left: 16px; padding-right: 16px; }
  .tk { margin-left: 16px; margin-right: 16px; }
  .tk-h { font-size: 27px; }
}

.tk-chat { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }

/* The date once, above the messages it covers. */
.tk-day { display: flex; align-items: center; gap: 12px; margin: 2px 0; }
.tk-day::before, .tk-day::after { content: ""; flex: 1; height: 1px; background: var(--ad-line); }
.tk-day span {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ad-gray);
}

.cmsg { display: flex; align-items: flex-end; gap: 10px; max-width: 86%; }
/* Theirs on the right, with the avatar on the outside, so the two sides of
   the conversation are told apart by shape before anything is read. */
.cmsg.is-mine { flex-direction: row-reverse; margin-left: auto; }

.cmsg .av {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--ad-navy-ink); color: #fff;
  font-family: var(--ad-display); font-size: 12.5px; letter-spacing: .05em;
}
.cmsg.is-mine .av { background: var(--ad-orange); color: #2A1A00; }

.bub {
  min-width: 0; padding: 12px 15px 13px;
  background: #F6F4F1; border-radius: 14px 14px 14px 4px;
}
/* The corner that is squared off points at the avatar, which is what gives a
   bubble a side without drawing a tail. */
.cmsg.is-mine .bub { background: #FFF4E3; border-radius: 14px 14px 4px 14px; }

.bub-hd { display: flex; align-items: baseline; gap: 9px; margin-bottom: 4px; }
.bub-hd b { font-size: 12.5px; color: var(--ad-ink); }
.bub-hd span { font-size: 11px; color: var(--ad-gray); }
.bub-bd {
  margin: 0; font-size: 14px; line-height: 1.55; color: #33302C;
  overflow-wrap: anywhere;
}

.bub-files { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.bub-files a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; text-decoration: none;
  padding: 5px 10px; border-radius: var(--ad-radius-pill);
  background: #fff; border: 1px solid var(--ad-line); color: var(--ad-ink);
}
.bub-files a:hover { border-color: var(--ad-orange); color: var(--ad-orange); }
.bub-files svg { flex: none; color: var(--ad-orange); }

.tk-note {
  margin: 0; padding: 22px 24px; font-size: 13.5px; color: #55504B; line-height: 1.55;
}

/* The composer sits on the panel, so replying looks like carrying on rather
   than filling in a form underneath an article. */
.composer { padding: 16px 20px 18px; border-top: 1px solid var(--ad-line); background: #FDFCFA; }
.composer textarea {
  width: 100%; resize: vertical; font: inherit; font-size: 14px;
  padding: 12px 14px; border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius-sm); background: #fff;
}
.composer textarea:focus { outline: 2px solid var(--ad-orange); outline-offset: -2px; }
.composer-foot { display: flex; align-items: center; gap: 12px; margin-top: 11px; flex-wrap: wrap; }
.composer-foot .spacer { flex: 1; }
.composer-foot .hint { font-size: 11.5px; color: var(--ad-gray); }

/* A paperclip, not a drop zone the size of the message box. It is still the
   drop target -- the label is what the script listens to. */
.clip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: #55504B;
  padding: 7px 13px; border-radius: var(--ad-radius-pill);
  border: 1px dashed #CFC8BF; background: #fff;
  transition: border-color .12s, background .12s, color .12s;
  max-width: 260px;
}
.clip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip svg { flex: none; color: var(--ad-orange); }
.clip:hover, .clip.is-over { border-color: var(--ad-orange); background: #FFF8EC; color: var(--ad-ink); }
.clip.has-file { border-style: solid; border-color: var(--ad-ok); background: #F3FAF5; color: #2F6B45; }
.clip.has-file svg { color: var(--ad-ok); }

.composer-off p { margin: 0; font-size: 13.5px; color: #55504B; line-height: 1.55; }

@media (max-width: 640px) {
  .cmsg { max-width: 100%; }
  .tk-chat { padding: 18px 16px; }
  .tk-hd, .composer { padding-left: 16px; padding-right: 16px; }
}

/* ---------- answer it yourself, in the band ----------
   These four pages are what people most often raise a ticket about and could
   have done in a minute. They used to sit under the ticket list behind the
   line "Or do it yourself", which is past the point where anybody is still
   deciding. In the band they are read before the button is pressed, which is
   the only place deflection can actually work.

   Styled to belong to the dark band rather than to look like cards that have
   wandered into it. */
.supself {
  position: relative; z-index: 1;
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.supself-l {
  margin: 0 0 13px; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #7E8C99;
}
/* A utility strip, not cards. Boxed, these were the same object as the
   service cards at the foot of the page, and a page where every part looks
   the same gives a reader nothing to navigate by. Quick links: a rule
   between them, no border around them. */
.supself-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.supself-grid a {
  display: flex; align-items: center; gap: 11px;
  padding: 2px 18px; text-decoration: none; color: inherit;
  border-left: 1px solid rgba(255,255,255,.12);
}
.supself-grid a:first-child { padding-left: 0; border-left: 0; }
.supself-grid .ic {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  line-height: 0; color: var(--ad-orange); background: none;
  transition: transform .12s;
}
.supself-grid a:hover .ic { transform: translateY(-2px); }
.supself-grid .tx { min-width: 0; }
.supself-grid .tx b {
  display: block; font-size: 13.5px; font-weight: 600; color: #DCE3E9;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .12s;
}
.supself-grid a:hover .tx b { color: var(--ad-orange); }
.supself-grid .tx span {
  display: block; font-size: 11.5px; color: #76838F; margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Stacked, the rule between them has to move to the top of each row. Left
   borders on a single column drew a line down the side and indented every
   item after the first. */
@media (max-width: 900px) {
  .supself-grid { grid-template-columns: 1fr; gap: 0; }
  .supself-grid a {
    border-left: 0; padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .supself-grid a:first-child { border-top: 0; padding-top: 4px; }
}

/* On a short page the band ended partway down with a strip of page showing
   beneath it, which read as a block that had come loose rather than as the
   foot of the page. Letting it take the leftover height fixes that without
   pinning it, which would have left a gap above it instead.

   Scoped with :has so only a page carrying this band becomes a flex column.
   Making .content a flex container everywhere to solve one page's footer is
   the kind of change that quietly moves something on a page nobody reopens
   for a month. */
.content:has(> .supmore) { display: flex; flex-direction: column; }
.content:has(> .supmore) > .supmore { flex: 1 0 auto; }

/* Said on the ticket form while staff are viewing a client's dashboard,
   because opening one there emails the client. */
.msgbox-warn {
  margin: 14px 0 0; padding: 11px 14px; border-radius: var(--ad-radius-sm);
  background: #FFF4E3; border-left: 3px solid var(--ad-orange);
  font-size: 13px; color: #6B4A12; line-height: 1.5;
}

/* ---------- a dialog over the page ----------
   The ticket form expanded in place, which pushed everything below it down
   the screen: press the button and whatever you were reading moves. */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; }
/* display:flex above would otherwise beat the hidden attribute. */
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(4,24,40,.62); }

.modal-card {
  position: relative; margin: auto; z-index: 1;
  width: min(620px, calc(100% - 32px));
  /* Caps at the viewport and scrolls inside itself, so a long form on a short
     screen can still be reached rather than running off the bottom. */
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: var(--ad-radius);
  box-shadow: 0 24px 60px rgba(4,24,40,.3);
  padding: 0 22px 22px;
}
.modal-hd {
  display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 1;
  margin: 0 -22px 18px; padding: 18px 22px 15px;
  background: #fff; border-bottom: 1px solid var(--ad-line);
}
.modal-hd h2 {
  margin: 0; font-family: var(--ad-display); font-weight: 400; font-size: 24px;
  text-transform: uppercase; letter-spacing: -.2px; color: var(--ad-ink);
}
.modal-x {
  margin-left: auto; flex: none; width: 32px; height: 32px;
  display: grid; place-items: center; cursor: pointer;
  font: inherit; font-size: 24px; line-height: 1;
  border: 0; border-radius: 50%; background: none; color: var(--ad-gray);
  transition: background .12s, color .12s;
}
.modal-x:hover { background: #F4F1ED; color: var(--ad-ink); }
.modal-x:focus-visible { outline: none; box-shadow: var(--ad-ring); }

/* The page behind must not scroll with the dialog. */
body.has-modal { overflow: hidden; }

@media (max-width: 560px) {
  .modal-card { width: calc(100% - 20px); max-height: calc(100vh - 24px); }
}

/* ---------- flashes, out of the layout ----------
   These used to sit at the top of the content, so arriving pushed the header
   and everything under it down the page. */
.toasts {
  position: fixed; top: 16px; right: 18px; z-index: 80;
  display: flex; flex-direction: column; gap: 8px;
  max-width: min(420px, calc(100% - 36px));
  pointer-events: none;
}
.toast {
  pointer-events: auto; cursor: pointer;
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 15px; border-radius: var(--ad-radius);
  background: #fff; border-left: 3px solid var(--ad-gray);
  box-shadow: 0 10px 30px rgba(4,24,40,.16);
  font-size: 13.5px; line-height: 1.45; color: var(--ad-ink);
  animation: toast-in .22s ease-out;
}
.toast.is-ok    { border-left-color: var(--ad-ok); }
.toast.is-error { border-left-color: var(--ad-warn); }
.toast.is-going { opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .35s; }
@keyframes toast-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* The viewing-as bar sits at the very top, so a toast must clear it. */
.viewbar ~ .portal .toasts { top: 58px; }

@media (max-width: 560px) {
  .toasts { top: 12px; right: 12px; left: 12px; max-width: none; }
}

/* A button that has been pressed and is waiting on us. */
.btn.is-busy, .btn-pill.is-busy { opacity: .72; cursor: default; }
.btn:disabled, .btn-pill:disabled { opacity: .72; cursor: default; }

/* ---------- the rest of the ticket list ----------
   Five rows, then one press for the rest. */
.inbox li.x { display: none; }
.inbox.all li.x { display: block; }
.inbox-more {
  display: block; width: 100%; margin-top: 10px; padding: 11px 14px;
  font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ad-ink); cursor: pointer;
  background: #fff; border: 1px solid var(--ad-line); border-radius: var(--ad-radius);
  transition: border-color .12s, color .12s;
}
.inbox-more:hover { border-color: var(--ad-orange); color: var(--ad-orange); }
.inbox-more:focus-visible { outline: none; box-shadow: var(--ad-ring); }

/* ---------- the newest message in a thread ----------
   Lightly, and hardest on the one somebody came to read. On a thread with six
   messages, "where is the new bit" should not be a question you answer by
   reading timestamps. */
.cmsg.is-last .bub { box-shadow: 0 0 0 1px rgba(4,24,40,.07); }

/* The newest reply from us. Marked with one orange edge and nothing else.
   Tinting the whole bubble orange was wrong on two counts: orange already
   means the partner's own messages on this page, so our bubble wearing it
   erased the only thing telling the two sides apart -- and an orange panel
   under dark body text is muddy to read. */
.cmsg.is-last.is-reply .bub {
  background: #F4F2EF;
  box-shadow: inset 3px 0 0 var(--ad-orange), 0 4px 14px rgba(4,24,40,.06);
  padding-left: 18px;
}
/* The avatar keeps its navy. Orange is the partner's colour on this page,
   so tinting ours orange made both sides of the conversation look like the
   same person -- which is the one thing the avatars exist to prevent. */

/* Said as well as shown, because a colour on its own is not a label. Set in
   orange rather than on it: dark text on a solid orange pill, sitting
   beside a dark name, was the muddiest thing on the page. */
.newtag {
  flex: none; font-size: 9.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: #B36A00;
}

/* ---------- billing ----------
   One overview page under the dark band: Outstanding, Monthly statements,
   Payment methods. Section headings in the display face, the way the
   marketing site heads its own sections. */
.billsec { margin: 0 0 34px; scroll-margin-top: 80px; }
.billh {
  font-family: var(--ad-display); font-weight: 400; font-size: 30px; line-height: 1;
  text-transform: uppercase; letter-spacing: -.3px; margin: 0 0 14px;
}
.billsec .card { overflow: hidden; }
/* A table on a phone scrolls sideways inside its card rather than pushing the
   whole page wider than the screen. */
.billscroll { overflow-x: auto; }
.billtbl { min-width: 560px; }
.billtbl td { white-space: nowrap; }
.billtbl .r { text-align: right; }
.billtbl td .muted { margin-left: 6px; font-size: 12.5px; }
/* A plain sentence in a section, where a table would otherwise be empty. */
.billnote {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 20px; border-top: 1px solid #F0EBE5; font-size: 14px; color: #55504B;
}
.billnote:first-child { border-top: 0; }
.billnote svg { flex: none; color: var(--ad-orange); margin-top: 1px; }
.billfine { margin: 0; padding: 10px 20px 14px; font-size: 12px; color: var(--ad-gray); }
.billfilter { margin-bottom: 14px; }
/* A card-paid Google account: its statements live in Google Ads, said once
   above the list with the way in beside it. */
.billgoog {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin: 0 0 14px; padding: 16px 20px; background: #fff;
  border: 1px solid var(--ad-line); border-left: 3px solid var(--ad-orange);
  border-radius: var(--ad-radius);
}
.billgoog > div { flex: 1 1 320px; }
.billgoog p { margin: 4px 0 0; font-size: 13.5px; color: #55504B; }
/* The two cards side by side: one for our fees, one for ad spend. */
.billcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.billpm { padding: 22px; }
.billpm > p { margin: 0; font-size: 14px; color: #55504B; }
.billpm-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.billpm-hd svg {
  flex: none; width: 40px; height: 40px; padding: 10px; box-sizing: border-box;
  border-radius: 50%; background: rgba(255,153,0,.13); color: var(--ad-orange);
}
.billpm-hd b { display: block; font-size: 16px; }
.billpm-hd span { display: block; font-size: 12.5px; color: var(--ad-gray); }
.billpm-row { padding: 14px 0; border-top: 1px solid #F0EBE5; }
.billpm-row p { margin: 4px 0 0; font-size: 13.5px; color: #55504B; }
.billpm-row .btn { margin-top: 10px; }
.billpm .billfine { padding: 12px 0 0; border-top: 1px solid #F0EBE5; }
@media (max-width: 900px) {
  .billcards { grid-template-columns: 1fr; }
  .billh { font-size: 26px; }
}
.billmore {
  display: block; padding: 13px 20px; border-top: 1px solid var(--ad-line);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ad-navy); text-decoration: none; text-align: center;
}
.billmore:hover { color: var(--ad-orange); background: #FCFAF7; }
/* An account number is read as one thing; it must not break at its dashes. */
.billgoog p b, .billpm-row p b { white-space: nowrap; }

/* ---------- admin: ad statement import ---------- */
.stmtsteps { margin: 0 0 18px; padding-left: 20px; font-size: 14px; color: #443F3A; }
.stmtsteps li { margin: 0 0 8px; }
.stmtcheck { list-style: none; margin: 0; padding: 0; }
.stmtcheck li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid #F0EBE5; }
.stmtcheck li:first-child { border-top: 0; }
.stmtcheck .m { width: 16px; flex: none; color: var(--ad-gray); font-weight: 700; }
.stmtcheck li.is-in .m { color: var(--ad-ok); }
.stmtcheck b { font-size: 14px; margin-right: 6px; }

/* ---------- SEO / AIO: website traffic ----------
   Four figures, each saying what it means in a line, then two panels side by
   side the way Jeremy's Analytics report lays them out, then Analytics' own
   acquisition table. */
.tstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.tstat { background: #fff; border: 1px solid var(--ad-line); border-radius: var(--ad-radius); padding: 18px 20px; }
.tstat .l { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.tstat .n { display: block; margin-top: 8px; font-family: var(--ad-display); font-size: 38px; line-height: 1; }
.tstat p { margin: 10px 0 0; font-size: 12.5px; color: #6B655E; }
.tdelta { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; }
.tdelta.up { color: var(--ad-ok); }
.tdelta.down { color: var(--ad-warn); }
.tdelta.flat { color: var(--ad-gray); }
.tdelta.warn { color: var(--ad-warn); }
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; align-items: start; }
.tlegend { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; font-size: 12px; color: #55504B; margin-bottom: 4px; }
.tlegend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.tlegend i.ln { width: 16px; height: 3px; border-radius: 2px; vertical-align: 3px; }
.tchart { display: block; width: 100%; height: auto; }
.tchart .ax { font-size: 11px; fill: #8A847D; font-family: var(--ad-body); }
.tchart rect:hover, .tchart circle:hover { opacity: .75; }
.tdevs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.tdevs .nm { display: block; font-family: var(--ad-display); font-size: 26px; line-height: 1; }
.tdevs .pc { display: block; font-family: var(--ad-display); font-size: 32px; line-height: 1.1; margin-top: 4px; }
.tdevs .ct { display: block; font-size: 12px; color: var(--ad-gray); margin-top: 2px; }
.tdevbar { display: flex; height: 30px; border-radius: 4px; overflow: hidden; background: #EEE9E3; margin-bottom: 18px; }
.tdevbar i { display: block; height: 100%; }
.tacq { margin-bottom: 14px; }
.tacq .sub { padding: 4px 15px 8px; font-size: 12.5px; color: var(--ad-gray); }
.tacqtbl { min-width: 860px; }
.tacqtbl td { white-space: nowrap; }
.tacqtbl .r { text-align: right; }
.tacqtbl td .muted { font-size: 11.5px; }
.tacqtbl tr.tot td { font-weight: 700; background: #FBF8F4; }
.tfoot { font-size: 12px; color: var(--ad-gray); margin: 4px 0 0; }
@media (max-width: 1080px) { .tgrid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .tstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tstat .n { font-size: 30px; }
  .tdevs .nm { font-size: 20px; } .tdevs .pc { font-size: 24px; }
}
.tgrid { align-items: stretch; }
.tmonths { margin-bottom: 16px; }

/* ---------- Paid Advertising: the Conversion section ---------- */
.leadsec { margin: 0 0 18px; }
.leadhd { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.leadgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff;
  border: 1px solid var(--ad-line); border-radius: var(--ad-radius); }
.lead { padding: 16px 18px; border-left: 1px solid var(--ad-line); display: grid; gap: 6px; align-content: start; }
.lead:first-child { border-left: 0; }
.lead .l { display: flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.lead .l svg { color: #C3BCB4; }
.lead .n { font-family: var(--ad-display); font-size: 34px; line-height: 1; }
.lead .s { font-size: 12px; color: #6B655E; }
.lnot { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ad-gray); border: 1px solid var(--ad-line); background: #F5F1EC; padding: 3px 8px; justify-self: start; }
@media (max-width: 1080px) {
  .leadgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead { border-left: 0; border-top: 1px solid var(--ad-line); }
  .lead:nth-child(-n+2) { border-top: 0; }
  .lead:nth-child(even) { border-left: 1px solid var(--ad-line); }
}

/* Admin: the services we do for one client. */
.svcgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.svcopt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px;
  border: 1px solid var(--ad-line); border-radius: 10px; cursor: pointer; }
.svcopt input { margin-top: 3px; }
.svcopt span { display: flex; flex-direction: column; }

/* One of our invoices, drawn by the billing system, inside the dashboard. */
.invhead .eyebrow a { color: inherit; text-decoration: none; }
.invdoc { max-width: 760px; overflow-x: auto; }
.invfoot { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
@media print {
  .sidebar, .topbar, .viewbar, .navscrim, .invhead, .invfoot, .toasts { display: none !important; }
  .main, .content { margin: 0 !important; padding: 0 !important; }
  .invdoc { max-width: none; }
}
.stmtdoc { max-width: 900px; }
.stmtdoc iframe {
  display: block; width: 100%; height: 80vh; min-height: 520px;
  border: 1px solid var(--ad-line); border-radius: var(--ad-radius); background: #fff;
}
@media print { .backlink { display: none !important; } }

/* ---------- SEO / AIO: Google Maps rankings (test, 2026-10-08) ----------
   Shares the Traffic acquisition box; a top-3 position (Google's map box) is green. */
.rankbox { margin-top: 16px; }
.ranktbl .r { text-align: right; }
.ranktbl td { white-space: nowrap; }
.ranktbl .tdelta { margin-top: 0; }
.rankpos { font-family: var(--ad-display); font-size: 20px; line-height: 1; }
.rankpos.top { color: var(--ad-ok); }
@media (max-width: 760px) { .ranktbl th, .ranktbl td { white-space: normal; padding-left: 10px; padding-right: 10px; } }

/* ---------- Admin partner list: one card per partner (2026-10-08) ----------
   Every card the same height: the name, site, badges and services are one
   line each, and what sits behind a badge shows on hover. Badges appear only
   when something is waiting (blue messages, orange requests, red issues). */
.rhead2 { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; }
.rhead2 h3 { margin: 0; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; gap: 14px; min-width: 0; background: #fff;
  border: 1px solid var(--ad-line); border-radius: var(--ad-radius); padding: 18px 18px 0;
  transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--ad-lift); transform: translateY(-1px); }
.pcard.has-flags { border-top: 3px solid var(--ad-orange); padding-top: 16px; }
.phead { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pav { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ad-navy); color: #fff;
  display: grid; place-items: center; font-family: var(--ad-display); font-size: 19px; letter-spacing: .04em; }
.pid { min-width: 0; }
.pname { display: block; font-weight: 700; font-size: 15.5px; color: var(--ad-ink); text-decoration: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pname:hover { color: var(--ad-navy); text-decoration: underline; }
.psite, .psvc { font-size: 12px; color: var(--ad-gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pflags { display: flex; gap: 6px; height: 24px; align-items: center; overflow: hidden; }
.pflag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: #fff; cursor: help; white-space: nowrap; }
.pflag.messages { background: var(--ad-info); }
.pflag.requests { background: var(--ad-orange); color: #3B2600; }
.pflag.issues   { background: var(--ad-warn); }
.pclear { font-size: 12px; font-weight: 600; color: var(--ad-ok); }
.pprog-l { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ad-gray); font-weight: 700; margin-bottom: 6px; }
.pprog-l b { color: var(--ad-ink); letter-spacing: 0; font-size: 12.5px; }
.pprog .bar { height: 6px; }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -4px; }
.psvc { margin-top: -8px; }
.pacts { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto -18px 0; border-top: 1px solid var(--ad-line); }
.pacts a { padding: 11px 0; text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ad-navy); text-decoration: none; }
.pacts a + a { border-left: 1px solid var(--ad-line); }
.pacts a:hover { background: #F7F3EE; }
.pacts a:last-child { border-bottom-right-radius: var(--ad-radius); }
.pacts a:first-child { border-bottom-left-radius: var(--ad-radius); }
.pcard[hidden] { display: none; }
/* Roster, truthful counts (2026-10-23): who can get in, the demo tag, and
   issues that belong to no one partner (billing). Cool grey, not beige. */
.pchips { display: inline-flex; gap: 6px; align-items: center; }
.prow .chip.todo { color: #4A5361; border-color: #DCE1E8; background: #F1F3F6; }
.chip.pdemo { color: var(--ad-navy); border-color: #C9D3E1; background: #fff; }
.rsys { display: grid; gap: 6px; margin: 0 0 16px; padding: 12px 16px; background: #fff; border: 1px solid #E6E2DA;
  border-left: 4px solid var(--ad-warn); border-radius: var(--ad-radius-sm); }
.rsys p { margin: 0; font-size: 13.5px; color: var(--ad-ink); }
.rsys b { margin-right: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-warn); }
/* The top: the navy band the partner pages open with, holding the title, Add
   partner and the search; then the overall figures as tiles that read as
   buttons (icon, number, what it counts, "Show these"), each one a filter. */
.rhero { padding-bottom: 26px; }
.rhero-in { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; }
.rhero .hero-sub { margin-top: 10px; }
.rhero-add { font-size: 14px; padding: 14px 24px; box-shadow: 0 6px 18px rgba(255,153,0,.35); }
.rhero-add:hover { transform: translateY(-1px); }
.psearch { position: relative; z-index: 1; display: block; margin-top: 24px; max-width: 640px; }
.psearch-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ad-navy); display: flex; }
.psearch input { width: 100%; height: 52px; padding: 0 18px 0 50px; font: inherit; font-size: 16px; color: var(--ad-ink);
  background: #fff; border: 2px solid transparent; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.psearch input::placeholder { color: #8A847D; }
.psearch input:focus { outline: none; border-color: var(--ad-orange); }
.rstats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.rstat { --tone: var(--ad-gray); --tint: #F5F1EC; position: relative; display: flex; flex-direction: column;
  align-items: flex-start; text-align: left; font: inherit; color: inherit; cursor: pointer; background: #fff;
  border: 1px solid var(--ad-line); border-radius: var(--ad-radius); padding: 16px 16px 14px;
  transition: box-shadow .15s, transform .15s, border-color .15s; }
.rstat:hover { box-shadow: var(--ad-lift); transform: translateY(-2px); border-color: var(--tone); }
.rstat:focus-visible { outline: 3px solid rgba(255,153,0,.5); outline-offset: 2px; }
.rstat-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.rstat-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--tint); color: var(--tone); }
.rstat .n { font-family: var(--ad-display); font-size: 38px; line-height: 1; color: var(--ad-ink); }
.rstat .l { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--ad-ink); }
.rstat .h { margin-top: 2px; font-size: 12px; color: var(--ad-gray); }
.rstat .go { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ad-navy); }
.rstat.all            { --tone: var(--ad-navy); --tint: #E8EDF4; }
.rstat.attention.hot  { --tone: #B86E00;        --tint: #FDF1DC; }
.rstat.messages.hot   { --tone: var(--ad-info); --tint: #E7EFF9; }
.rstat.requests.hot   { --tone: #B86E00;        --tint: #FDF1DC; }
.rstat.issues.hot     { --tone: var(--ad-warn); --tint: #FCEAE0; }
.rstat.hot .n { color: var(--tone); }
.rstat.is-on { background: var(--ad-navy); border-color: var(--ad-navy); }
.rstat.is-on .n, .rstat.is-on .l, .rstat.is-on .go { color: #fff; }
.rstat.is-on .h { color: #B9C4D0; }
.rstat.is-on .rstat-ic { background: rgba(255,255,255,.14); color: #fff; }
.rhead2 { align-items: baseline; }
.pnone { margin: 0 0 14px; }
@media (max-width: 1180px) { .rstats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .rstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rstat .n { font-size: 30px; }
  .rstat .h { display: none; }
  .rhero-add { width: 100%; justify-content: center; }
}

/* ---------- Reputation Manager (2026-10-08) ----------
   Google reviews with replies, and the Business Profile's figures. Stars are
   one row of grey with a gold row clipped to the rating on top. Sample data
   (before Google connects) is dimmed slightly under the Preview banner. */
.repprev { background: #EDF3FA; border-left-color: var(--ad-info); }
.is-sample { opacity: .82; }
.revstars { position: relative; display: inline-block; color: #E2DCD5; letter-spacing: 2px; line-height: 1; white-space: nowrap; font-size: 14px; }
.revstars .on { position: absolute; left: 0; top: 0; overflow: hidden; color: #E8A317; }
.repstarbig { margin-top: 6px; }
.repstarbig .revstars { font-size: 18px; }
.represbox { margin-bottom: 16px; }
.rephd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 15px 0; }
.rephd h4 { margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); }
.rephd .seg { display: flex; border: 1px solid var(--ad-line); background: #fff; margin-left: auto; }
.rephd .seg a { padding: 7px 13px; font-size: 12.5px; text-decoration: none; color: #55504B; border-left: 1px solid var(--ad-line); }
.rephd .seg a:first-child { border-left: 0; }
.rephd .seg a.on { background: var(--ad-navy); color: #fff; font-weight: 600; }
.repcount { display: inline-block; min-width: 18px; padding: 1px 6px; margin-left: 4px; border-radius: 9px;
  background: var(--ad-orange); color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.rev { padding: 14px 0; border-top: 1px solid var(--ad-line); }
.rev:first-child { border-top: 0; }
.revtop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rev > p { margin: 8px 0 6px; font-size: 14px; line-height: 1.55; }
.revreply { margin: 8px 0 6px 18px; padding: 10px 14px; background: #FBF8F4; border-left: 3px solid var(--ad-line); }
.revreply p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; }
.revedit { margin-top: 6px; }
.revedit > summary { list-style: none; display: inline-block; cursor: pointer; }
.revedit > summary::-webkit-details-marker { display: none; }
.revedit[open] > summary { display: none; }
.revedit .composer { margin-top: 8px; border: 1px solid var(--ad-line); }
.revdel { margin-top: 8px; }
.repperf { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #F0EBE5; }
.repperf:first-of-type { border-top: 0; }
.repperf > div:first-child { flex: 1; }
.repperf .r { text-align: right; white-space: nowrap; }
.repperf .tdelta { display: block; margin-top: 2px; }
.repterms .r { text-align: right; }
.replocs { display: grid; gap: 8px; }
.reploc { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--ad-line); cursor: pointer; }
.reploc input { margin-top: 3px; accent-color: var(--ad-orange); }
.reploc .tiny { display: block; }
@media (max-width: 760px) { .rephd .seg { margin-left: 0; } .revreply { margin-left: 0; } }

/* ---------- Google Business Profile page, SEO / AIO tabs, citations (2026-10-08) ---------- */
.seotabs { margin: 0 0 18px; }
.citetbl td { vertical-align: top; }
.citetbl .tdelta { margin-top: 0; }
.gbpcard .gbpname { font-family: var(--ad-display); font-size: 26px; line-height: 1.1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gbprow { display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid #F0EBE5; font-size: 13.5px; }
.gbprow:first-of-type { margin-top: 10px; }
.gbprow > span { width: 78px; flex: none; color: var(--ad-gray); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.gbprow > b { font-weight: 600; }
.gbphours { display: grid; grid-template-columns: 1fr; gap: 2px; font-size: 13px; }
.gbphours div { display: flex; gap: 10px; }
.gbphours span { width: 34px; color: var(--ad-gray); }
.gbphours b { font-weight: 600; }
.gbpscore { margin: 0 0 8px; font-size: 13px; color: var(--ad-gray); }
.gbpscore .rankpos { font-size: 26px; margin-right: 6px; color: var(--ad-ink); }
.gbpscore .rankpos.top { color: var(--ad-ok); }
.gbpcheck { display: flex; gap: 11px; padding: 8px 0; border-top: 1px solid #F0EBE5; font-size: 13.5px; }
.gbpcheck:first-of-type { border-top: 0; }
.gbpm { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.gbpm.ok { background: #EDF7F1; color: var(--ad-ok); }
.gbpm.no { background: #FDF0E8; color: var(--ad-warn); }
.gbpm.na { background: #F5F1EC; color: var(--ad-gray); }
.gbpins { margin-bottom: 16px; }
.gbptiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.gbptiles > div { border: 1px solid var(--ad-line); padding: 12px 14px; }
.gbptiles .l { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; margin-bottom: 6px; }
.gbptiles .rankpos { font-size: 26px; display: block; }
.gbpcharts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gbpbars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin: 8px 0; }
.gbpbars .col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.gbpbars .stack { width: 100%; max-width: 42px; display: flex; flex-direction: column; border-radius: 3px 3px 0 0; overflow: hidden; }
.gbpbars .stack i { display: block; }
.gbpbars i.s { background: #2F5DA8; } .gbpbars i.m { background: #5E9E6E; } .gbpbars i.c { background: #D97F00; }
.gbpbars span { font-size: 11px; color: var(--ad-gray); }
.gbpcomp tr.you td { background: #FBF8F4; }
.gbpcomp .r { text-align: right; }
.gbpcomp td { vertical-align: top; }
@media (max-width: 760px) {
  .gbptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gbpcharts { grid-template-columns: 1fr; }
  .citetbl { min-width: 560px; }
  .gbpcomp { min-width: 520px; }
}

/* ---------- Reputation Manager: Google and Facebook together (2026-10-08) ---------- */
.rephd .seg.repsrc { margin-left: auto; }
.rephd .seg.repsrc + .seg { margin-left: 0; }
.repsite { display: inline-block; padding: 2px 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 3px; }
.repsite.g { background: #EDF3FA; color: #2F5DA8; }
.repsite.fb { background: #EEF0FB; color: #3B4FA0; }
@media (max-width: 760px) { .rephd .seg.repsrc { margin-left: 0; } }

/* ---------- SEO / AIO › Google Analytics: trends, channels, pages, cities (2026-10-09) ---------- */
.tstats.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gatrend { margin-bottom: 16px; }
.gahd { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 15px 0; }
.gahd h4 { margin: 0 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); }
.gahd .tdelta { margin: 0 0 0 4px; }
.gahd .tlegend { margin: 0; }
.gachbar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #EEE9E3; margin: 2px 0 14px; }
.gachbar i { display: block; height: 100%; }
.gach { display: grid; grid-template-columns: 12px 130px 1fr 70px 52px; align-items: center; gap: 10px; padding: 7px 0;
  border-top: 1px solid #F0EBE5; font-size: 13.5px; }
.gach:first-of-type { border-top: 0; }
.gach .dot { width: 10px; height: 10px; border-radius: 50%; }
.gach .bar { height: 8px; background: #F3EFEA; border-radius: 4px; overflow: hidden; }
.gach .bar i { display: block; height: 100%; border-radius: 4px; }
.gach .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.gach .pc { text-align: right; color: var(--ad-gray); font-size: 12px; font-variant-numeric: tabular-nums; }
.garow { padding: 8px 0; border-top: 1px solid #F0EBE5; }
.garow:first-of-type { border-top: 0; }
.garow .t { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.garow .pg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.garow .num { font-variant-numeric: tabular-nums; font-weight: 600; flex: none; }
.garow .bar { height: 6px; background: #F3EFEA; border-radius: 3px; overflow: hidden; margin: 5px 0 3px; }
.garow .bar i { display: block; height: 100%; background: #2F5DA8; border-radius: 3px; }
.garow .bar.city i { background: #0E8C74; }
@media (max-width: 1280px) { .tstats.five { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .tstats.five .tstat .n { font-size: 32px; } }
@media (max-width: 760px) {
  .tstats.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gach { grid-template-columns: 12px 1fr 60px 46px; }
  .gach .bar { display: none; }
  .rhead .seg { flex-wrap: wrap; }
  .rhead .seg a { flex: 1 0 auto; text-align: center; }
}

/* ---------- SEO / AIO › Citations: Citation Builder (2026-10-09) ---------- */
.cbbox .rephd { justify-content: space-between; }
.cbstaff { color: var(--ad-gray); }
.cbstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.cbstats > div { border: 1px solid var(--ad-line); padding: 10px 14px; }
.cbstats .l { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; margin-bottom: 6px; }
.cbstats .rankpos { font-size: 26px; display: block; }
.cborder { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid #F0EBE5; font-size: 13.5px; }
@media (max-width: 760px) { .cbstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Citations: paid add-on request (2026-10-09) ---------- */
.cbmore { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 0 15px 15px; padding: 14px 16px; background: #FDF6E7; border: 1px solid #F0D9A6; border-radius: var(--ad-radius-sm); }
.cbmore > div { flex: 1 1 320px; }
.cbmorehd { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cbmore p { margin: 6px 0 0; font-size: 13px; color: #55504B; }

/* ---------- SEO / AIO › Citations, redesigned (2026-10-09) ----------
   Figures with an icon, a tone (good / ok / bad) and an ⓘ explanation; the
   paid add-on banner; every listing as a card with name, address and phone
   each ticked or crossed against the client's correct details. */
.citkpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.citkpi { background: #fff; border: 1px solid var(--ad-line); border-radius: var(--ad-radius); padding: 16px 18px; border-top: 3px solid var(--ad-line); }
.citkpi.good { border-top-color: var(--ad-ok); } .citkpi.ok { border-top-color: #D9A21B; } .citkpi.bad { border-top-color: var(--ad-warn); }
.citkpi .hd { display: flex; align-items: center; gap: 8px; }
.citkpi .ic, .citmore .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: #F5F1EC; }
.citkpi.good .ic { background: #EDF7F1; color: var(--ad-ok); } .citkpi.ok .ic { background: #FDF6E7; color: #B07F0B; } .citkpi.bad .ic { background: #FDF0E8; color: var(--ad-warn); }
.citkpi .ic svg, .citmore .ic svg, .fi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.citkpi .l { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; flex: 1; }
.citkpi .n { display: block; margin-top: 10px; font-family: var(--ad-display); font-size: 38px; line-height: 1; }
.citkpi p { margin: 8px 0 0; font-size: 12.5px; color: #6B655E; }
.pill { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.good { background: #EDF7F1; color: var(--ad-ok); } .pill.ok { background: #FDF6E7; color: #9A6D06; } .pill.bad { background: #FDF0E8; color: var(--ad-warn); }
.citip { position: relative; width: 17px; height: 17px; border-radius: 50%; border: 1px solid #C9C2BA; color: #8A847D;
  font-size: 10.5px; font-weight: 700; font-style: italic; display: grid; place-items: center; cursor: help; flex: none; }
.citip:hover::after, .citip:focus::after { content: attr(data-tip); position: absolute; right: -6px; top: 24px; z-index: 20; width: 240px;
  padding: 10px 12px; background: var(--ad-navy); color: #fff; font-size: 12px; font-style: normal; font-weight: 400; line-height: 1.45;
  border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.citbar { height: 8px; background: #EEE9E3; border-radius: 4px; overflow: hidden; margin-top: 10px; }
.citbar i { display: block; height: 100%; border-radius: 4px; background: var(--ad-ok); }
.citbar.ok i { background: #D9A21B; } .citbar.bad i { background: var(--ad-warn); }
.citscore { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.citscore p { margin: 6px 0 0; }
.citring { width: 72px; height: 72px; flex: none; }
.citring circle { fill: none; stroke-width: 7; }
.citring .bg { stroke: #EEE9E3; }
.citring .fg { stroke: var(--ad-ok); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.citring.ok .fg { stroke: #D9A21B; } .citring.bad .fg { stroke: var(--ad-warn); }
.citring text { font-family: var(--ad-display); font-size: 20px; fill: var(--ad-ink); }
.citmore { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; padding: 18px 20px;
  background: linear-gradient(100deg, #FFF4E0, #FDF6E7); border: 1px solid #F0D9A6; border-left: 4px solid var(--ad-orange); border-radius: var(--ad-radius); }
.citmore .ic { width: 44px; height: 44px; background: #fff; color: var(--ad-orange); border-radius: 12px; }
.citmore .ic svg { width: 24px; height: 24px; }
.citmore .txt { flex: 1 1 320px; }
.citmore .hd { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.citmore .big { margin-top: 4px; font-family: var(--ad-display); font-size: 34px; line-height: 1.05; color: var(--ad-ink); }
.citmore .big span { font-family: var(--ad-body); font-size: 14px; font-weight: 600; color: #55504B; }
.citmore p { margin: 4px 0 0; font-size: 13px; color: #55504B; }
.citmore .btn { white-space: nowrap; }
.citbox { margin-bottom: 0; }
.citwhat { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: #4A453F; }
.citref { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 12px 14px; margin-bottom: 14px;
  background: #EDF7F1; border: 1px solid #B6DCC6; border-radius: var(--ad-radius-sm); font-size: 13.5px; font-weight: 600; }
.citref .l { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-ok); font-weight: 700; margin-right: 4px; }
.citref > span { display: inline-flex; align-items: center; gap: 6px; }
.fi { display: inline-grid; place-items: center; color: #8A847D; }
.fi svg { width: 14px; height: 14px; }
.citfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.citfilters a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--ad-line); border-radius: 999px;
  background: #fff; font-size: 12.5px; font-weight: 600; color: #4A453F; text-decoration: none; }
.citfilters a .ct { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #F3EFEA; font-size: 11px; text-align: center; }
.citfilters a.warn .ct { background: #FDF0E8; color: var(--ad-warn); }
.citfilters a.on { background: var(--ad-navy); border-color: var(--ad-navy); color: #fff; }
.citfilters a.on .ct { background: rgba(255,255,255,.18); color: #fff; }
.citlegend { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ad-gray); margin-bottom: 10px; }
.citlegend > span { display: inline-flex; align-items: center; gap: 6px; }
.mk { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.mk.ok { background: #EDF7F1; color: var(--ad-ok); } .mk.no { background: #FDF0E8; color: var(--ad-warn); } .mk.na { background: #F3EFEA; color: #9A948D; }
.citlist { border-top: 1px solid var(--ad-line); }
.citrow { display: grid; grid-template-columns: 220px minmax(0, 1fr) 130px; gap: 16px; align-items: center; padding: 12px 4px;
  border-bottom: 1px solid #F0EBE5; }
.citrow.bad { background: linear-gradient(90deg, #FFF8F3, transparent 40%); }
.citrow .site { display: flex; align-items: center; gap: 10px; min-width: 0; }
.citrow .site b { word-break: break-all; }
.citwrap .badge, .citaggc .badge { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; background: #F3EFEA;
  color: #55504B; font-weight: 700; font-size: 14px; }
.citrow.bad .badge { background: #FDF0E8; color: var(--ad-warn); } .citrow.good .badge { background: #EDF7F1; color: var(--ad-ok); }
.citrow .fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.citrow .fld { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 8px; align-items: start; font-size: 13px; }
.citrow .fl { grid-column: 2; display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.citrow .fv { grid-column: 2; color: #4A453F; overflow-wrap: anywhere; }
.citrow .fld .mk { grid-row: 1 / span 2; margin-top: 2px; }
.citrow .fld:has(.mk.no) .fv { color: var(--ad-warn); font-weight: 600; }
.citrow .fld:has(.mk.na) .fv { color: #9A948D; }
.citrow .act { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.citrow .act .pill { margin-top: 0; }
.cittop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 4px 15px 15px; }
.citt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--ad-line); border-radius: var(--ad-radius-sm); background: #fff; }
.citt > div { flex: 1; min-width: 0; } .citt b { word-break: break-all; }
.citt .pill { margin-top: 0; white-space: nowrap; }
.citt.good .badge { background: #EDF7F1; color: var(--ad-ok); } .citt.bad .badge { background: #FDF0E8; color: var(--ad-warn); }
@media (max-width: 1080px) {
  .citkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citrow { grid-template-columns: 1fr; gap: 10px; }
  .citrow .act { flex-direction: row; align-items: center; justify-content: space-between; }
  .cittop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .citkpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .citkpi { padding: 12px 14px; } .citkpi .n { font-size: 30px; }
  .citip:hover::after, .citip:focus::after { right: auto; left: -120px; width: 220px; }
  .citrow .fields { grid-template-columns: 1fr; }
  .citmore .btn { width: 100%; justify-content: center; }
  .cittop { grid-template-columns: 1fr; }
}

/* ---------- Citations: key directories, NAP breakdown, growth, aggregators, competitor gap, search (2026-10-09) ---------- */
.citkey, .citgrowth, .citagg, .citgap { margin-bottom: 16px; }
.citbox { margin-bottom: 16px; }
.citkeygrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 16px; }
.citdonutwrap { text-align: center; }
.citdonutwrap .tiny { margin-top: 6px; color: #55504B; }
.citdonutwrap .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #EEE9E3; vertical-align: -1px; margin-right: 4px; }
.citdonutwrap .sw.on { background: #0E8C74; }
.citdonut { width: 170px; height: 170px; }
.citdonut circle { fill: none; stroke-width: 16; }
.citdonut .bg { stroke: #EEE9E3; }
.citdonut .fg { stroke: #0E8C74; transform: rotate(-90deg); transform-origin: 50% 50%; }
.citdonut text { font-family: var(--ad-display); font-size: 30px; fill: var(--ad-ink); }
.citsum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.citsum > div { border-radius: var(--ad-radius-sm); padding: 10px 12px; color: #fff; text-align: center; }
.citsum .n { display: block; font-family: var(--ad-display); font-size: 30px; line-height: 1; }
.citsum .l { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 600; opacity: .92; }
.citsum .s1 { background: var(--ad-navy); } .citsum .s2 { background: #8A847D; } .citsum .s3 { background: var(--ad-ok); } .citsum .s4 { background: var(--ad-warn); }
.citnap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.citnap b { font-size: 13px; }
.napbar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #EEE9E3; margin: 6px 0; }
.napbar i { display: block; height: 100%; }
.napbar i.ok { background: var(--ad-ok); } .napbar i.no { background: var(--ad-warn); }
.citnap .tiny { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; color: #55504B; }
.citkey .cittop { padding: 0; }
.citaggs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.citaggc { border: 1px solid var(--ad-line); border-radius: var(--ad-radius-sm); padding: 14px; text-align: center; background: #fff; border-top: 3px solid var(--ad-line); }
.citaggc.good { border-top-color: var(--ad-ok); } .citaggc.ok { border-top-color: #D9A21B; } .citaggc.bad { border-top-color: var(--ad-warn); }
.citaggc .badge { margin: 0 auto 8px; }
.citaggc b { display: block; font-size: 14px; }
.citaggc .pill { margin: 8px 0 6px; }
.citsearch { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.citsearch form { display: flex; align-items: center; gap: 8px; }
.citsearch input[type="search"] { padding: 7px 12px; border: 1px solid var(--ad-line); border-radius: 999px; font: inherit; font-size: 13px; min-width: 200px; background: #fff; }
.citsort { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.citsort a { padding: 4px 9px; border-radius: 999px; color: #55504B; text-decoration: none; }
.citsort a.on { background: #F3EFEA; color: var(--ad-ink); font-weight: 700; }
.citmeta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; color: #8A847D; }
.citgaplist { border-top: 1px solid var(--ad-line); }
.citgaprow { display: grid; grid-template-columns: 32px minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #F0EBE5; font-size: 13px; }
.citgaprow .g1 b { word-break: break-all; }
.citgaprow .g2 .l { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.citgapfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.citmore p a { margin-left: 6px; font-weight: 600; }
@media (max-width: 1080px) {
  .citkeygrid { grid-template-columns: 1fr; }
  .citnap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citaggs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .citgaprow { grid-template-columns: 32px minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
  .citgaprow .g2:nth-of-type(4) { display: none; }
}
@media (max-width: 760px) {
  .citsum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citnap { grid-template-columns: 1fr; }
  .citaggs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citsearch input[type="search"] { min-width: 0; width: 100%; }
  .citsearch form { width: 100%; }
  .citgaprow { grid-template-columns: 32px minmax(0, 1fr); row-gap: 2px; }
  .citgaprow .badge { grid-row: span 5; align-self: start; }
  .citgaprow .g2 { grid-column: 2; display: flex; gap: 8px; }
  .citgaprow .g2 .l { display: inline; }
  .citgaprow .g2:nth-of-type(4) { display: flex; }
}

/* ---------- SEO / AIO › Citations: one header, sticky sub-tabs, in-place switching (2026-10-09) ----------
   Jeremy: "this page is too long", "it shakes the screen", "feels boxy",
   "make better use of the header area". One header (who we check against,
   the four figures as filters, the add-on button) with the sub-tabs as its
   bottom edge; the tab bar sticks on scroll. citations.js swaps content in
   place. Soft white panels and tints, no outlines or coloured top bars. */
:root { --citsh: 0 1px 2px rgba(4, 24, 40, .04), 0 6px 20px rgba(4, 24, 40, .05); --citstick: 0px; }
.lic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.citwrap a:focus { outline: none; }
.citwrap a:focus-visible, .citwrap button:focus-visible, .citwrap input:focus-visible { outline: 2px solid var(--ad-orange); outline-offset: 2px; border-radius: 8px; }
/* Header */
.cithead { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: center; gap: 18px 26px; padding: 18px 22px;
  background: #fff; border-radius: var(--ad-radius) var(--ad-radius) 0 0; box-shadow: var(--citsh); }
.citid { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; color: #55504B; }
.citid .l { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.citid b { font-size: 15px; color: var(--ad-ink); }
.citid .nap, .citid .when { display: inline-flex; align-items: center; gap: 6px; }
.citid .when { margin-top: 3px; font-size: 12px; color: var(--ad-gray); }
.citid .when .lic { width: 13px; height: 13px; }
.citkpis { display: flex; align-items: stretch; gap: 4px; margin: 0; }
a.citkpi { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 128px; padding: 8px 16px; margin: 0;
  background: transparent; border: 0; border-radius: 12px; color: inherit; text-decoration: none; transition: background .15s; }
a.citkpi + a.citkpi { box-shadow: -1px 0 0 #EEE9E3; }
a.citkpi:hover { background: #FAF7F3; }
a.citkpi.on { background: #FFF4E2; box-shadow: inset 0 -2px 0 var(--ad-orange); }
a.citkpi.on + a.citkpi { box-shadow: none; }
.citkpi .hd { display: flex; align-items: center; gap: 6px; }
.citkpi .hd .l { flex: 1; font-size: 10.5px; letter-spacing: .1em; }
.citkpi .citip { width: 15px; height: 15px; font-size: 9.5px; }
.citkpi .mid { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 0; }
.citkpi .mid .n { margin: 0; font-size: 30px; }
.citkpi .mid .pill { margin: 0; }
.citkpi .citring { width: 40px; height: 40px; }
.citkpi .citring circle { stroke-width: 6; }
.citkpi .citring text { font-size: 21px; }
.citreq { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.citreq .btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; white-space: nowrap; }
.citreq .btn .lic { width: 15px; height: 15px; }
.citreq .tiny { color: var(--ad-gray); }
/* Sub-tabs: the header's bottom edge, stuck on scroll */
.citsub { position: sticky; top: var(--citstick); z-index: 40; display: flex; gap: 2px; margin: 0 0 6px; padding: 0 12px;
  background: #fff; border-top: 1px solid #F1ECE6; border-bottom: 0; border-radius: 0 0 var(--ad-radius) var(--ad-radius);
  box-shadow: var(--citsh); overflow-x: auto; scrollbar-width: none; }
.citsub::-webkit-scrollbar { display: none; }
.citsub a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 12px 13px; white-space: nowrap; font-size: 13px; font-weight: 600;
  color: #6B655E; text-decoration: none; border-bottom: 2px solid transparent; }
.citsub a .lic { width: 16px; height: 16px; color: #A8A19A; }
.citsub a:hover { color: var(--ad-ink); }
.citsub a.on { color: var(--ad-navy); border-bottom-color: var(--ad-orange); }
.citsub a.on .lic { color: var(--ad-orange); }
.citsub .ct { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #F3EFEA; color: #6B655E; font-size: 11px; text-align: center; }
.citsub a.on .ct { background: var(--ad-navy); color: #fff; }
.citsub .ct.warn { background: #FDF0E8; color: var(--ad-warn); }
.citsub a.on .ct.warn { background: var(--ad-warn); color: #fff; }
.citlead { margin: 18px 2px 14px; font-size: 14px; color: #6B655E; line-height: 1.5; }
/* Switching: a quick fade, never a jump */
.citpane { min-height: 50vh; animation: citin .18s ease-out; }
@keyframes citin { from { opacity: .35; } to { opacity: 1; } }
.citwrap.is-loading .citpane { opacity: .4; transition: opacity .1s; pointer-events: none; }
/* Panels: white, soft shadow, no outlines */
.citpane .box, .citpane .citgrowth, .citpane .citkey { border: 0; border-radius: var(--ad-radius); box-shadow: var(--citsh); background: #fff; margin-bottom: 16px; }
.citpane .rephd { border-bottom-color: #F1ECE6; }
.citpane .rephd h4, .citgrowth h4 { display: inline-flex; align-items: center; gap: 8px; }
.citpane .rephd h4 .lic, .citgrowth h4 .lic { width: 16px; height: 16px; color: var(--ad-orange); }
.cith5, .citgrp h5 { display: flex; align-items: center; gap: 8px; margin: 24px 2px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.citgrp h5 .lic { width: 16px; height: 16px; }
.citgrp h5 .ct { padding: 1px 7px; border-radius: 999px; background: #F3EFEA; color: #55504B; letter-spacing: 0; }
.citgrp.na h5 { color: #9A6D06; } .citgrp.bad h5 { color: var(--ad-warn); } .citgrp.good h5 { color: var(--ad-ok); }
.citmore.slim { gap: 12px; padding: 12px 16px; margin: 16px 0 0; background: #FFF7EA; border: 0; border-radius: var(--ad-radius); }
.citmore.slim .ic { width: 32px; height: 32px; border-radius: 10px; background: #fff; color: var(--ad-orange); }
.citmore.slim .ic .lic { width: 18px; height: 18px; }
.citmore.slim .txt { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; }
.citmore.slim .msg { color: #55504B; }
.citmore.slim .msg strong { font-family: var(--ad-display); font-size: 20px; font-weight: 400; color: var(--ad-ink); vertical-align: -1px; }
/* Overview */
.citsummary { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 0; border-radius: var(--ad-radius); box-shadow: var(--citsh); }
.citsummary .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #EAF0F8; color: var(--ad-navy); }
.citsummary .ic .lic { width: 21px; height: 21px; }
.citsummary h4 { margin: 0 0 6px; font-family: var(--ad-display); font-size: 22px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ad-ink); }
.citsummary p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3F3A35; }
.citactions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.citact { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; background: #fff; border: 0;
  border-radius: var(--ad-radius); box-shadow: var(--citsh); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.citact:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(4, 24, 40, .05), 0 10px 26px rgba(4, 24, 40, .08); }
.citact .num { position: absolute; top: 14px; right: 16px; font-family: var(--ad-display); font-size: 20px; color: #E2DCD5; }
.citact .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #FDF6E7; color: #9A6D06; }
.citact.bad .ic { background: #FDF0E8; color: var(--ad-warn); }
.citact b { font-size: 15px; line-height: 1.3; padding-right: 18px; }
.citact p { margin: 0; font-size: 13px; color: #6B655E; line-height: 1.45; flex: 1; }
.citact .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--ad-navy); }
.citact .go .lic { width: 15px; height: 15px; transition: transform .15s; }
.citact:hover .go .lic { transform: translateX(3px); }
/* Site icons */
.siteic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #F3EFEA; color: #6B655E; }
.siteic .lic { width: 17px; height: 17px; }
.citrow.good .siteic, .citt.good .siteic { background: #EDF7F1; color: var(--ad-ok); }
.citrow.bad .siteic, .citt.bad .siteic { background: #FDF0E8; color: var(--ad-warn); }
.citt.na .siteic { background: #FDF6E7; color: #9A6D06; }
.citopen { display: inline-flex; align-items: center; gap: 4px; color: var(--ad-gray); }
.citopen .lic { width: 14px; height: 14px; }
.citopen:hover { color: var(--ad-navy); }
/* Key directories */
.citkey .bd { padding: 20px 22px; }
.citkeygrid { margin-bottom: 0; }
.citsum > div { background: #F7F4F0; color: var(--ad-ink); border: 0; text-align: left; padding: 12px 14px; }
.citsum .l { color: #6B655E; opacity: 1; }
.citsum .s1 { background: #EEF2F8; } .citsum .s1 .n { color: var(--ad-navy); }
.citsum .s2 { background: #FDF6E7; } .citsum .s2 .n { color: #9A6D06; }
.citsum .s3 { background: #EDF7F1; } .citsum .s3 .n { color: var(--ad-ok); }
.citsum .s4 { background: #FDF0E8; } .citsum .s4 .n { color: var(--ad-warn); }
.citdonut .fg { stroke: var(--ad-ok); } .citdonutwrap .sw.on { background: var(--ad-ok); }
.cittop { gap: 8px; padding: 0; }
.citt { padding: 10px 12px; border: 0; background: #fff; box-shadow: 0 1px 2px rgba(4, 24, 40, .05); border-radius: 12px; }
.citt.na { background: #FFFBF3; box-shadow: none; }
/* Listings */
.cittools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 12px; }
.cittools .citfilters { margin: 0; gap: 6px; }
.citfilters a { border: 0; background: #fff; box-shadow: 0 1px 2px rgba(4, 24, 40, .06); }
.citsort { display: inline-flex; gap: 2px; padding: 3px; background: #F1EDE8; border-radius: 999px; font-size: 12px; }
.citsort a { padding: 5px 10px; border-radius: 999px; color: #6B655E; text-decoration: none; font-weight: 600; }
.citsort a.on { background: #fff; color: var(--ad-ink); box-shadow: 0 1px 2px rgba(4, 24, 40, .08); }
.cittools .citsearch { position: relative; display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; }
.cittools .citsearch .sic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #9A948D; display: grid; }
.cittools .citsearch .sic .lic { width: 15px; height: 15px; }
.cittools .citsearch input[type="search"] { padding: 8px 12px 8px 32px; min-width: 200px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(4, 24, 40, .06); font: inherit; font-size: 13px; }
.cittools .citlegend { margin: 0; flex-basis: 100%; justify-content: flex-end; }
.citlist { border: 0; border-radius: var(--ad-radius); overflow: hidden; background: #fff; box-shadow: var(--citsh); }
.citlist:empty { display: none; }
.citrow { padding: 14px 18px; background: #fff; border-bottom: 1px solid #F3EFEA; }
.citrow:last-child { border-bottom: 0; }
.citrow.bad { background: linear-gradient(90deg, #FFF9F5, #fff 45%); }
@media (min-width: 1281px) { .citrow { grid-template-columns: 240px minmax(0, 1fr) 120px; } }
.citrow .act .pill { white-space: nowrap; }
.citmeta .imp { font-weight: 700; color: #55504B; }
.citmeta .imp.vveryhigh { color: var(--ad-navy); }
.citempty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 20px; text-align: center; color: #6B655E;
  background: #fff; border: 0; border-radius: var(--ad-radius); box-shadow: var(--citsh); }
.citempty .lic { width: 30px; height: 30px; color: var(--ad-ok); }
.citempty p { margin: 0; max-width: 460px; line-height: 1.5; }
.citempty.big { padding: 44px 20px; }
.citempty.big .lic { color: var(--ad-orange); }
.citnote { display: flex; align-items: center; gap: 8px; margin: 14px 2px 0; font-size: 13px; color: #6B655E; }
.citnote .lic { width: 16px; height: 16px; color: var(--ad-gray); }
/* Competitor gap */
.citcomps { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.citcomps .l { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; margin-right: 4px; }
.citcomps .chip { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12px; border: 0; background: #F3EFEA; color: #4A453F; }
.citgap .bd { padding: 18px 20px; }
.citgaplist { border-top: 0; }
.citgaprow { border-bottom-color: #F3EFEA; }
.citgaphd { display: grid; grid-template-columns: 34px minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 4px 8px; border-bottom: 1px solid #F3EFEA;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.citgaphd span:first-child { grid-column: 1 / span 2; }
@media (min-width: 1081px) {
  .citgaprow { grid-template-columns: 34px minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
  .citgaprow .g2 .l { display: none; }
}
.citgaprow .siteic { width: 32px; height: 32px; }
.cdots { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 4px; }
.cdots i { width: 8px; height: 8px; border-radius: 50%; background: #E9E3DC; }
.cdots i.on { background: var(--ad-warn); }
/* Listings we're building */
.cbstats { gap: 12px; margin-bottom: 16px; }
.cbstats > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; background: #fff; border: 0; border-radius: var(--ad-radius); padding: 14px 16px; box-shadow: var(--citsh); }
.cbstats .ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #F3EFEA; color: #6B655E; }
.cbstats .good .ic { background: #EDF7F1; color: var(--ad-ok); }
.cbstats .l { margin: 0; }
.cbstats .v { font-family: var(--ad-display); font-size: 26px; line-height: 1; }
.cbstats .good .v { color: var(--ad-ok); }
.cblive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 4px 18px 14px; }
.cblive .citt { background: #FAF8F5; box-shadow: none; }
.cblive .citt > div { flex: 1; min-width: 0; }
.citaggc { border: 0; border-top: 0; background: #FAF8F5; border-radius: 12px; }
.citaggc .siteic { margin: 0 auto 8px; background: #EEF2F8; color: var(--ad-navy); }
@media (max-width: 1180px) {
  .cithead { grid-template-columns: minmax(0, 1fr); }
  a.citkpi { flex: 1; min-width: 0; }
}
@media (max-width: 1080px) {
  .citactions { grid-template-columns: 1fr; }
  .citgaphd { display: none; }
  .cblive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cithead { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .citid .nap, .citid .when { font-size: 12px; }
  .cithead .citkpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; order: 2; }
  a.citkpi, a.citkpi + a.citkpi { box-shadow: none; background: #FAF7F3; padding: 10px 12px; }
  a.citkpi.on { background: #FFF4E2; box-shadow: inset 0 -2px 0 var(--ad-orange); }
  .citkpi .mid { flex-wrap: wrap; gap: 6px; }
  .citkpi .mid .n { font-size: 26px; }
  .citreq { order: 3; align-items: stretch; }
  .citreq .btn { justify-content: center; }
  .citsub { margin: 0 0 6px; }
  .citsummary { padding: 16px; } .citsummary .ic { display: none; }
  .cittools .citsearch, .cittools .citsearch input[type="search"] { width: 100%; min-width: 0; margin: 0; }
  .cittools .citlegend { justify-content: flex-start; }
  .citrow { padding: 12px 14px; }
  .cblive { grid-template-columns: 1fr; }
  .citgaprow { grid-template-columns: 32px minmax(0, 1fr); row-gap: 2px; }
  .citgaprow .g2 .l { display: inline; }
  .citgaprow .siteic { grid-row: span 5; align-self: start; }
}

/* ---------- Citations: request popup, top-row button, ⓘ layer, no vendor names (2026-10-09) ----------
   Jeremy: "move the buy more citations to the top", "a pop up form ... explain
   what they do and how it works", "when I hover over the ? icon it cuts the
   text off". The ⓘ text is drawn by citations.js in one fixed layer. */
.seotabs { align-items: center; margin: 32px 0 26px; }
.citbuybtn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; white-space: nowrap; }
.citbuybtn .lic { width: 16px; height: 16px; }
.tabs a.citbuybtn { align-self: center; margin: 6px 0 8px auto; padding: 9px 18px; color: #16110B; border: 1px solid transparent; font-size: 11.5px; line-height: 1; }
.tabs a.citbuybtn:hover { color: #16110B; background: var(--ad-orange-hi); }
.js-tips .citip:hover::after, .js-tips .citip:focus::after { display: none; }
.citpop { position: fixed; z-index: 1000; max-width: 270px; padding: 10px 12px; background: var(--ad-navy); color: #fff; font-size: 12.5px;
  line-height: 1.45; border-radius: 8px; box-shadow: 0 8px 24px rgba(4, 24, 40, .22); pointer-events: none; }
.cbstaff { display: inline-flex; align-items: center; gap: 4px; }
.cbstaff .lic { width: 13px; height: 13px; }
/* The popup */
.citmodal { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 20px;
  background: #fff; color: var(--ad-ink); box-shadow: 0 30px 80px rgba(4, 24, 40, .35); overflow: hidden; }
.citmodal[open] { display: grid; grid-template-columns: 340px minmax(0, 1fr); animation: cmin .22s ease-out; }
.citmodal::backdrop { background: rgba(4, 24, 40, .55); backdrop-filter: blur(3px); }
@keyframes cmin { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.cm-art { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 34px; padding: 28px 24px 26px;
  background: radial-gradient(circle at 30% 20%, #0E3D73, var(--ad-navy) 55%, var(--ad-navy-ink)); color: #fff; }
.cm-ill { width: 100%; height: auto; }
.cm-artcopy .chip { background: rgba(255, 255, 255, .12); color: #FFD08A; border-color: rgba(255, 255, 255, .2); }
.cm-artcopy h3 { margin: 12px 0 6px; font-family: var(--ad-display); font-size: 30px; line-height: 1.05; font-weight: 400; }
.cm-artcopy p { margin: 0; font-size: 13.5px; color: #C9D3E0; }
.cm-body { position: relative; padding: 30px 32px 26px; overflow-y: auto; max-height: calc(100vh - 40px); }
.cm-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F3EFEA; color: #55504B;
  display: grid; place-items: center; cursor: pointer; }
.cm-x:hover { background: #EAE4DD; }
.cm-body .eyebrow { margin: 0 0 6px; color: var(--ad-orange); }
.cm-body h2 { margin: 0 40px 10px 0; font-family: var(--ad-display); font-size: 32px; line-height: 1.05; font-weight: 400; }
.cm-lead { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: #4A453F; }
.cm-h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); }
.cm-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.cm-steps li { display: flex; gap: 12px; align-items: flex-start; }
.cm-steps b { font-size: 14px; }
.cm-steps p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.45; color: #6B655E; }
.cm-sic { position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FFF4E2; color: var(--ad-orange-hi); }
.cm-sic i { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--ad-navy); color: #fff;
  font-size: 10.5px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.cm-form { padding: 18px; background: #FAF7F3; border-radius: 14px; }
.cm-form fieldset { margin: 0 0 14px; padding: 0; border: 0; }
.cm-form legend, .cm-field > span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ad-ink); }
.cm-field em { font-style: normal; font-weight: 400; color: var(--ad-gray); }
.cm-goals { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-goals label, .cm-seg { cursor: pointer; }
.cm-goals input, .cm-seg input { position: absolute; opacity: 0; pointer-events: none; }
.cm-goals span, .cm-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(4, 24, 40, .08); font-size: 13px; font-weight: 600; color: #4A453F; transition: background .12s, color .12s; }
.cm-seg span .lic { width: 15px; height: 15px; }
.cm-goals input:checked + span, .cm-seg input:checked + span { background: var(--ad-navy); color: #fff; }
.cm-goals input:focus-visible + span, .cm-seg input:focus-visible + span { outline: 2px solid var(--ad-orange); outline-offset: 2px; }
.cm-field { display: block; margin-bottom: 14px; }
.cm-field textarea, .cm-reach input[type="text"] { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--ad-line); border-radius: 10px;
  background: #fff; font: inherit; font-size: 13.5px; resize: vertical; }
.cm-reach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cm-reach input[type="text"] { flex: 1 1 220px; width: auto; }
.cm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.cm-actions .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
.cm-actions .btn .lic { width: 16px; height: 16px; }
.cm-err { margin: 10px 0 0; color: var(--ad-warn); font-size: 13px; }
.cm-done { display: none; padding: 6px 0 0; }
.citmodal.done .cm-ask { display: none; }
.citmodal.done .cm-done { display: block; animation: cmin .25s ease-out; }
.cm-donehd { display: flex; align-items: center; gap: 20px; margin: 0 40px 24px 0; }
.cm-check { width: 92px; height: 92px; flex: none; }
.cm-donehd h2 { margin: 0 0 6px; }
.cm-donehd .cm-lead { margin: 0; }
.cm-track { list-style: none; margin: 0 0 22px; padding: 0; }
.cm-track li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 0 0 18px; }
.cm-track li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 2px; width: 2px; background: #EEE9E3; border-radius: 2px; }
.cm-track li.is-done::before { background: #B6DCC6; }
.cm-dot { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #F3EFEA; color: #8A847D; }
.cm-dot .lic { width: 20px; height: 20px; }
.cm-track li.is-done .cm-dot { background: #1F8A54; color: #fff; }
.cm-track li.is-next .cm-dot { background: #FFF4E2; color: var(--ad-orange-hi); box-shadow: 0 0 0 4px #FFF9EF; }
.cm-track b { display: block; margin-top: 2px; font-size: 15px; }
.cm-track p { margin: 3px 0 0; font-size: 13px; line-height: 1.5; color: #6B655E; }
.cm-track li:not(.is-done):not(.is-next) b { color: #55504B; }
.cm-asked { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cm-asked[hidden] { display: none; }
.cm-asked span { padding: 4px 10px; border-radius: 999px; background: #EEF2F8; color: var(--ad-navy); font-size: 12px; font-weight: 600; }
.cm-tag { margin-top: 4px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.cm-tag.good { background: #EDF7F1; color: var(--ad-ok); }
.cm-tag.next { background: #FFF4E2; color: #9A6D06; }
.cm-doneft { align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid #F1ECE6; }
.cm-goals span .lic { width: 0; height: 15px; opacity: 0; transition: width .12s, opacity .12s; }
.cm-goals input:checked + span .lic { width: 15px; opacity: 1; }
.cm-form legend em { font-style: normal; font-weight: 400; color: var(--ad-gray); margin-left: 4px; }
@media (max-width: 860px) {
  .citmodal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .citmodal[open] { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .cm-art { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
  .cm-ill { width: 92px; flex: none; }
  .cm-artcopy h3 { font-size: 20px; margin: 6px 0 2px; }
  .cm-artcopy p { font-size: 12px; }
  .cm-body { padding: 22px 18px 24px; max-height: none; }
  .cm-body h2 { font-size: 26px; }
  .cm-steps { grid-template-columns: 1fr; }
  .cm-donehd { flex-direction: column; align-items: flex-start; gap: 12px; margin-right: 0; }
  .cm-check { width: 64px; height: 64px; }
  .cm-doneft { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .cm-x { top: 10px; right: 10px; }
  .cm-actions { position: sticky; bottom: -24px; padding: 12px 0; background: #FAF7F3; }
  .cm-actions .btn { flex: 1; justify-content: center; white-space: nowrap; letter-spacing: .06em; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 760px) {
  .seotabs { flex-wrap: wrap; }
  .citbuybtn { order: 9; margin: 10px 0 12px; width: 100%; justify-content: center; }
}

/* ---------- Citations: data aggregators and networks, with logos and status (2026-10-09) ----------
   Jeremy: "lacks color ... use these companies' actual logos and be more
   clear which are enabled". Logo files go in public/assets/img/networks/;
   until then a mark in the network's colour. */
.citaggs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.netcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; background: #fff; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(4, 24, 40, .06), 0 4px 14px rgba(4, 24, 40, .05); overflow: hidden; }
.netcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand); }
.netcard.none { background: #FAF8F5; box-shadow: none; opacity: .75; }
.netcard.none::before { background: #E4DFD9; }
.nettop { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.netlogo { height: 44px; display: flex; align-items: center; }
.netlogo img { height: 40px; width: auto; max-width: 118px; object-fit: contain; object-position: left center; }
.netmark { min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .02em; box-sizing: border-box; }
.netcard.none .netmark { filter: grayscale(1); opacity: .6; }
.netpill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.netpill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.netpill.good { background: #EDF7F1; color: var(--ad-ok); }
.netpill.ok { background: #FFF4E2; color: #9A6D06; }
.netpill.bad { background: #FDF0E8; color: var(--ad-warn); }
.netpill.none, .netpill.unknown { background: #F1EDE8; color: #8A847D; }
.netname { font-size: 15px; }
.netwhen { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #6B655E; }
.netwhen .lic { width: 13px; height: 13px; }
.netcard.ok .netwhen { color: #9A6D06; font-weight: 600; }
.netcard.bad .netwhen { color: var(--ad-warn); font-weight: 600; }
.netfeeds { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-top: 10px; border-top: 1px solid #F3EFEA; }
.netfeeds .l { flex-basis: 100%; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; margin-bottom: 2px; }
.netfeeds .feed { padding: 2px 8px; border-radius: 999px; background: #F3EFEA; color: #6B655E; font-size: 11.5px; white-space: nowrap; }
.netfeeds .feed.on { background: #EDF7F1; color: var(--ad-ok); }
@media (max-width: 1280px) { .citaggs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .citaggs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .citaggs { grid-template-columns: 1fr; } }

/* Request popup: data networks (2026-10-09) */
.cm-nets .l { display: block; margin-bottom: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #A9B8CC; font-weight: 700; }
.cm-nets > div { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-net { display: grid; place-items: center; height: 34px; padding: 0 4px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.cm-net .netmark { min-width: 30px; height: 26px; padding: 0 6px; border-radius: 7px; font-size: 11px; }
.cm-net:has(img) { background: #fff; padding: 0 9px; }
.cm-net img { height: 20px; width: auto; max-width: 76px; object-fit: contain; }

.cm-goals .cm-hint { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #FFF4E2; color: #9A6D06; font-size: 10.5px; font-style: normal; font-weight: 700; }
.cm-goals input:checked + span .cm-hint { background: rgba(255, 255, 255, .18); color: #FFD08A; }
@media (max-width: 860px) { .cm-nets { display: none; } }

/* Data networks: "Learn more" popups with a hub diagram (2026-10-09) */
.netmore { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 12px 0 0; border: 0; background: none;
  color: var(--ad-navy); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.netcard .netfeeds { margin-bottom: 4px; }
.netmore .lic { width: 14px; height: 14px; transition: transform .15s; }
.netmore:hover .lic { transform: translateX(3px); }
.netmodal { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 28px 30px 22px; border: 0; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(4, 24, 40, .35); color: var(--ad-ink); overflow-y: auto; border-top: 6px solid var(--brand); }
.netmodal[open] { animation: cmin .22s ease-out; }
.netmodal::backdrop { background: rgba(4, 24, 40, .55); backdrop-filter: blur(3px); }
.nm-hd { display: flex; align-items: center; gap: 14px; margin: 0 40px 14px 0; }
.nm-hd .netlogo { height: 52px; }
.nm-hd .netlogo img { height: 52px; }
.nm-hd .netlogo .netmark { min-width: 52px; height: 52px; }
.nm-hd h3 { margin: 0 0 6px; font-family: var(--ad-display); font-size: 30px; font-weight: 400; line-height: 1; }
.netmodal p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: #3F3A35; }
.netmodal .cm-h4 { margin: 16px 0 8px; }
.nethub { display: block; width: 100%; height: auto; font-family: var(--ad-body); }
.nm-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #F1ECE6; }
.nm-ft .btn { border-radius: 999px; }
@media (max-width: 760px) {
  .netmodal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; padding: 22px 18px; }
  .nm-hd h3 { font-size: 24px; }
  .nethub { min-width: 0; }
}

/* Data network legend; SEO / AIO tab icons (2026-10-09) */
.netlegend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.netlegend .feed { padding: 2px 9px; border-radius: 999px; background: #F3EFEA; color: #6B655E; font-size: 11.5px; }
.netlegend .feed.on { background: #EDF7F1; color: var(--ad-ok); }
.seotabs a:not(.citbuybtn) { display: inline-flex; align-items: center; gap: 8px; }
.seotabs a:not(.citbuybtn) .lic { width: 17px; height: 17px; }
@media (max-width: 760px) {
  .seotabs a:not(.citbuybtn) { padding: 12px 8px; gap: 6px; letter-spacing: .04em; white-space: nowrap; }
  .seotabs a:not(.citbuybtn) .lic { width: 15px; height: 15px; }
  .seotabs .tabpre { display: none; }
}

/* Citations listings toolbar, one row (2026-10-09, Jeremy: "a bit messy") */
.cittools { gap: 10px; margin-bottom: 10px; }
.citseg { display: inline-flex; gap: 2px; padding: 3px; height: 40px; box-sizing: border-box; background: #EFEBE6; border-radius: 999px; }
.citseg a { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #55504B; text-decoration: none; white-space: nowrap; }
.citseg a .ct { min-width: 20px; padding: 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .06); font-size: 11px; text-align: center; }
.citseg a.warn .ct { background: #FDF0E8; color: var(--ad-warn); }
.citseg a.on { background: #fff; color: var(--ad-ink); box-shadow: 0 1px 3px rgba(4, 24, 40, .12); }
.citdd { position: relative; }
.citdd summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; box-sizing: border-box; padding: 0 14px; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 2px rgba(4, 24, 40, .08); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; white-space: nowrap; }
.citdd summary::-webkit-details-marker { display: none; }
.citdd summary .lic { width: 15px; height: 15px; transition: transform .15s; }
.citdd[open] summary .lic { transform: rotate(180deg); }
.citddmenu { position: absolute; z-index: 30; top: 46px; left: 0; min-width: 180px; padding: 6px; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(4, 24, 40, .16); }
.citddmenu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px; color: #3F3A35; text-decoration: none; }
.citddmenu a:hover { background: #F6F3EF; }
.citddmenu a.on { font-weight: 700; color: var(--ad-navy); background: #EEF2F8; }
.cittools .citsearch input[type="search"] { height: 40px; box-sizing: border-box; }
.citlisthd { display: none; }
@media (min-width: 1281px) {
  .citlisthd { display: grid; grid-template-columns: 240px minmax(0, 1fr) 120px; gap: 16px; padding: 0 18px 8px; font-size: 10.5px;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
  .citlisthd span:last-child { text-align: right; }
  .citlisthd .citip { display: inline-grid; vertical-align: -3px; margin-left: 4px; text-transform: none; letter-spacing: 0; }
}
.citpane .citlead + .cittools, .citlead { margin-bottom: 12px; }
@media (max-width: 760px) {
  .citseg { width: 100%; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .citseg::-webkit-scrollbar { display: none; }
  .citseg a { flex: 1 0 auto; justify-content: center; padding: 0 10px; font-size: 12px; }
  .citdd { flex: none; }
  .cittools .citsearch { flex: 1; width: auto; min-width: 0; margin: 0; }
  .cittools .citsearch input[type="search"] { width: 100%; }
}

/* Citations header card: request button top right, KPI strip as its own even row (2026-10-09) */
.cithead { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.cithead .citbuybtn { align-self: start; margin: 0; height: 40px; padding: 0 18px; box-sizing: border-box; border-radius: 999px; font-size: 11.5px; }
.cithead .citkpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 4px;
  background: #FAF8F5; border-radius: 14px; }
.cithead a.citkpi, .cithead a.citkpi + a.citkpi { min-width: 0; justify-content: flex-start; padding: 12px 16px; border-radius: 10px; box-shadow: none; position: relative; }
.cithead a.citkpi + a.citkpi::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: #E8E2DB; }
.cithead a.citkpi.on::before, .cithead a.citkpi.on + a.citkpi::before { display: none; }
.cithead a.citkpi:hover { background: #F3EFEA; }
.cithead a.citkpi.on { background: #fff; box-shadow: 0 1px 3px rgba(4, 24, 40, .1), inset 0 -2px 0 var(--ad-orange); }
.cithead .citkpi .hd { min-height: 17px; }
.cithead .citkpi .mid { min-height: 44px; margin-top: 4px; }
@media (max-width: 760px) {
  .cithead { grid-template-columns: 1fr; }
  .cithead .citbuybtn { order: 2; width: 100%; justify-content: center; }
  .cithead .citkpis { order: 3; grid-template-columns: 1fr 1fr; gap: 4px; }
  .cithead a.citkpi + a.citkpi::before { display: none; }
}

/* Citations header, take 3 (Jeremy's markup, 2026-10-09): button in its own row between the tabs and the card,
   figures back beside the business details, a dark selected figure. */
.citbuyrow { display: flex; justify-content: flex-end; margin: -6px 0 20px; }
.citbuyrow .citbuybtn { margin: 0; height: 40px; padding: 0 18px; box-sizing: border-box; border-radius: 999px; font-size: 11.5px; }
.cithead { grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr); align-items: center; }
.cithead .citkpis { grid-column: auto; }
.cithead a.citkpi.on { background: var(--ad-navy); box-shadow: 0 2px 8px rgba(2, 40, 88, .25), inset 0 -3px 0 var(--ad-orange); }
.cithead a.citkpi.on .l, .cithead a.citkpi.on .n { color: #fff; }
.cithead a.citkpi.on .citip { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cithead a.citkpi.on .citring .bg { stroke: rgba(255, 255, 255, .18); }
.cithead a.citkpi.on .citring text { fill: #fff; }
.cithead a.citkpi.on:hover { background: var(--ad-navy); }
@media (max-width: 1180px) {
  .cithead { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .citbuyrow { margin: 0 0 12px; }
  .citbuyrow .citbuybtn { width: 100%; justify-content: center; }
}
@media (min-width: 1081px) and (max-width: 1280px) { .citrow { grid-template-columns: 1fr; } .citrow .act { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Citations: readability pass (2026-10-09, Jeremy: "the white and off white overall on the page might be
   hard to read", "the blue is conflicting", "why is there a yellow bar"). Darker secondary text inside the
   tab, a hairline edge on every white panel, a clearer figure strip, and an orange (not navy) selected
   figure with no underline bar. */
.citwrap .muted, .citwrap .tiny.muted { color: #645E57; }
.citlead { color: #47423C; }
.citwrap .cithead, .citwrap .citsub, .citpane .box, .citpane .citgrowth, .citpane .citkey, .citsummary, .citact, .citlist,
.citempty, .cbstats > div, .netcard, .citt { border: 1px solid #E6DFD6; }
.citwrap .cithead { border-bottom: 0; }
.citwrap .citsub { border-top: 1px solid #EEE8E1; }
.cithead .citkpis { background: #F3EFE9; }
.cithead a.citkpi + a.citkpi::before { background: #DCD4CA; }
.cithead a.citkpi.on, .cithead a.citkpi.on:hover { background: #FFF3E0; box-shadow: inset 0 0 0 2px var(--ad-orange); }
.cithead a.citkpi.on .l { color: #8A5300; }
.cithead a.citkpi.on .n { color: var(--ad-ink); }
.cithead a.citkpi.on .citip { color: #8A5300; border-color: #E2B36B; }
.cithead a.citkpi.on .citring .bg { stroke: #F1DFC4; }
.cithead a.citkpi.on .citring text { fill: var(--ad-ink); }
.citrow .fl, .citlisthd, .citgaphd, .cm-h4 { color: #6E6862; }
.citmeta { color: #6B655E; }
.citrow .fld:has(.mk.na) .fv { color: #7A746D; }

/* ---------- Citations › Overview, the showpiece (2026-10-09, Jeremy: "This need to look the best!") ---------- */
.ov { display: grid; gap: 18px; margin-top: 18px; }
.ovin { animation: ovup .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }
@keyframes ovup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ovin, .citpane, .citmodal[open], .netmodal[open] { animation: none; } }
.ovhero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 32px 36px;
  border: 1px solid #E6DFD6; border-radius: 18px; overflow: hidden; box-shadow: var(--citsh);
  background: radial-gradient(circle at 95% 0%, rgba(255, 153, 0, .18), transparent 42%), radial-gradient(circle at 75% 130%, rgba(2, 40, 88, .09), transparent 50%), #fff; }
.ovhero::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 46%; pointer-events: none; opacity: .5;
  background-image: radial-gradient(#E9DFD2 1.2px, transparent 1.3px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.ovhero > * { position: relative; z-index: 1; }
.ovhero .eyebrow { margin: 0 0 8px; color: var(--ad-orange-hi); }
.ovhero h2 { margin: 0 0 12px; font-family: var(--ad-display); font-size: 42px; line-height: 1.02; font-weight: 400; color: var(--ad-navy); max-width: 720px; }
.ovhero h2 .hl { box-shadow: inset 0 -12px 0 rgba(255, 153, 0, .28); }
.ovverdict { margin: 0; max-width: 640px; font-size: 15.5px; line-height: 1.6; color: #3F3A35; }
.ovchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ovchip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff;
  border: 1px solid #E2DACF; color: var(--ad-navy); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ovchip .lic { width: 16px; height: 16px; }
.ovchip .lic:last-child { width: 14px; height: 14px; transition: transform .15s; }
.ovchip:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(4, 24, 40, .1); }
.ovchip:hover .lic:last-child { transform: translateX(3px); }
.ovchip.hot { background: var(--ad-orange); border-color: var(--ad-orange); color: #16110B; }
.ovhero-viz { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ovdonutwrap { position: relative; width: 190px; height: 190px; }
.ovdonut { width: 100%; height: 100%; transform: rotate(-90deg); }
.ovdonut circle { fill: none; stroke-width: 18; }
.ovdonut .bg { stroke: #F1ECE5; }
.ovdonut .ok { stroke: var(--ad-ok); }
.ovdonut .no { stroke: var(--ad-warn); }
.ovdonutc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ovdonutc b { font-family: var(--ad-display); font-size: 44px; font-weight: 400; line-height: 1; color: var(--ad-ink); }
.ovdonutc span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.ovlegend { display: flex; gap: 14px; font-size: 12.5px; color: #4A453F; }
.ovlegend span { display: inline-flex; align-items: center; gap: 6px; }
.ovlegend i { width: 10px; height: 10px; border-radius: 3px; }
.ovlegend i.ok { background: var(--ad-ok); } .ovlegend i.no { background: var(--ad-warn); }
.ovgrid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ovgrid2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ovstack { display: grid; gap: 18px; }
.ovcard { padding: 20px 22px; background: #fff; border: 1px solid #E6DFD6; border-radius: 16px; box-shadow: var(--citsh); }
.ovhd { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ovhd h4 { margin: 0; flex: 1; font-size: 15px; font-weight: 700; color: var(--ad-navy); letter-spacing: 0; text-transform: none; }
.ovic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #FFF3E0; color: var(--ad-orange-hi); flex: none; }
.ovic.hot { background: #FDF0E8; color: var(--ad-warn); }
.ovic .lic { width: 18px; height: 18px; }
.ovmore { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ad-navy); text-decoration: none; }
.ovmore .lic { width: 14px; height: 14px; }
.ovbig { margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ovbig b { font-family: var(--ad-display); font-size: 38px; font-weight: 400; line-height: 1; color: var(--ad-ink); }
.ovbig span { font-size: 13.5px; color: #55504B; }
.ovarea { display: block; width: 100%; height: auto; }
.ovarea .ax { font-size: 10px; fill: var(--ad-gray); font-family: var(--ad-body); }
.ovfoot { margin: 10px 0 0; font-size: 12.5px; color: #55504B; line-height: 1.5; }
.ovfoot .amber { color: #8A5300; }
.ovbar { height: 10px; border-radius: 6px; background: #F1ECE5; overflow: hidden; margin-bottom: 12px; }
.ovbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2FA36A, var(--ad-ok)); }
.ovnote { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.ovnote .lic { width: 15px; height: 15px; }
.ovnote.warn { color: var(--ad-warn); } .ovnote.good { color: var(--ad-ok); }
.ovsub { margin: 0 0 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.ovsites { display: flex; flex-wrap: wrap; gap: 6px; }
.ovsite { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: #FFFBF3; border: 1px dashed #E8D3AC; font-size: 12.5px; font-weight: 600; color: #3F3A35; }
.ovsite .siteic { width: 24px; height: 24px; border-radius: 50%; background: #FDF6E7; color: #9A6D06; }
.ovsite .siteic .lic { width: 13px; height: 13px; }
.ovsite.more { padding: 3px 10px; color: var(--ad-gray); }
.ovcmp { display: grid; gap: 8px; }
.ovcmp > div { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 36px; align-items: center; gap: 10px; font-size: 12.5px; color: #4A453F; }
.ovcmp .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ovcmp .bar { height: 10px; border-radius: 6px; background: #F3EFEA; overflow: hidden; }
.ovcmp .bar i { display: block; height: 100%; border-radius: 6px; background: #CFC5B8; }
.ovcmp b { text-align: right; font-variant-numeric: tabular-nums; }
.ovcmp .me { font-weight: 700; color: var(--ad-ink); }
.ovcmp .me .bar i { background: linear-gradient(90deg, #FFB547, var(--ad-orange-hi)); }
.ovsubtle { margin: -6px 0 12px; font-size: 13px; color: #55504B; }
.ovprio { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ovprio a { display: grid; grid-template-columns: 26px 36px minmax(0, 1fr) auto 16px; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 12px; background: #FBF9F6; color: inherit; text-decoration: none; transition: background .15s; }
.ovprio a:hover { background: #F5F0EA; }
.ovprio a > .lic { width: 16px; height: 16px; color: var(--ad-gray); transition: transform .15s; }
.ovprio a:hover > .lic { transform: translateX(3px); }
.ovprio .rank { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ad-navy); color: #fff; font-size: 12px; font-weight: 700; }
.ovprio .siteic { background: #FDF0E8; color: var(--ad-warn); }
.ovprio .who { display: flex; flex-direction: column; min-width: 0; }
.ovprio .who b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ovprio .who span { font-size: 12.5px; color: var(--ad-warn); font-weight: 600; }
.ovprio .imp { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; font-weight: 700; color: var(--ad-navy); white-space: nowrap; }
.ovprio .imp em { font-style: normal; font-weight: 400; color: var(--ad-gray); }
.ovempty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 10px; text-align: center; color: #55504B; }
.ovempty .lic { width: 30px; height: 30px; color: var(--ad-ok); }
.ovnets { display: flex; flex-wrap: wrap; gap: 10px; }
.ovnet { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #FBF9F6; border: 1px solid #EEE8E1; }
.ovnet img { width: 32px; height: 32px; border-radius: 6px; }
.ovnet .netmark { min-width: 32px; height: 32px; font-size: 11px; border-radius: 8px; }
.ovnet i { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; background: #C9C2BA; }
.ovnet.good i { background: var(--ad-ok); } .ovnet.ok i { background: #E0A100; } .ovnet.bad i { background: var(--ad-warn); }
.ovnet.none { opacity: .5; }
.ovtime { list-style: none; margin: 0; padding: 0; }
.ovtime li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.ovtime li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: #EEE8E1; }
.ovtime .dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #EDF7F1; color: var(--ad-ok); }
.ovtime .dot .lic { width: 16px; height: 16px; }
.ovtime li.now .dot { background: #EEF2F8; color: var(--ad-navy); }
.ovtime li.next .dot { background: #FFF4E2; color: #9A6D06; }
.ovtime li.late .dot { background: #FDF0E8; color: var(--ad-warn); }
.ovtime b { display: block; font-size: 13.5px; margin-top: 2px; }
.ovtime div span { font-size: 12px; color: var(--ad-gray); }
@media (max-width: 1280px) {
  .ovgrid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ovgrid3 > :last-child { grid-column: 1 / -1; }
  .ovgrid2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ovhero { grid-template-columns: 1fr; padding: 24px 22px; }
  .ovhero h2 { font-size: 32px; }
  .ovhero-viz { flex-direction: row; justify-content: flex-start; gap: 18px; }
  .ovdonutwrap { width: 130px; height: 130px; }
  .ovdonutc b { font-size: 32px; }
  .ovlegend { flex-direction: column; gap: 6px; }
  .ovgrid3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ovchip { flex: 1 1 100%; justify-content: space-between; }
  .ovprio a { grid-template-columns: 22px 32px minmax(0, 1fr) 14px; gap: 10px; }
  .ovprio .imp { display: none; }
}

/* ---------- Citations: one surface, one flow (2026-10-09, Jeremy: "not loving the cream and white",
   "these tabs and filters ... just doesn't flow") ----------
   Near-white page again; white cards with a crisp edge; no beige tints. Every sub-tab is one "list card":
   title and intro, a toolbar (text-tab filters with a navy underline, sort and search on a light grey),
   column headings, then divided rows. */
:root { --citedge: #E6E2DA; }
.citwrap .cithead, .citwrap .citsub, .citpane .box, .citpane .citgrowth, .citpane .citkey, .citsummary, .citact, .citlist,
.citempty, .cbstats > div, .netcard, .citt, .ovhero, .ovcard { border-color: var(--citedge); }
/* Header figures: plain white, thin dividers; selected = white, orange outline, orange label */
.cithead .citkpis { background: #fff; padding: 0; border: 1px solid var(--citedge); border-radius: 14px; }
.cithead a.citkpi:hover { background: #FAF9F7; }
.cithead a.citkpi.on, .cithead a.citkpi.on:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ad-orange); }
.cithead a.citkpi.on .l { color: var(--ad-orange-hi); }
.cithead a.citkpi.on .citip { color: var(--ad-orange-hi); border-color: #F5C77E; }
.cithead a.citkpi.on .citring .bg { stroke: #EEE9E3; }
/* The list card */
.citpanel { background: #fff; border: 1px solid var(--citedge); border-radius: 16px; box-shadow: var(--citsh); overflow: hidden; margin-top: 18px; }
.citpanel.box { margin-bottom: 16px; }
.citpanel-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 6px; }
.citpanel-hd h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--ad-navy); letter-spacing: 0; text-transform: none; font-family: var(--ad-body); }
.citpanel-hd p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #55504B; max-width: 720px; }
.citpanel-hd .chip { flex: none; margin-top: 2px; }
.citpanel .cittools { display: flex; align-items: flex-end; gap: 10px 16px; flex-wrap: wrap; margin: 0; padding: 8px 22px 0; border-bottom: 1px solid var(--citedge); }
.citpanel .citseg { height: auto; padding: 0; background: none; border-radius: 0; gap: 4px; overflow: visible; }
.citpanel .citseg a { height: 40px; padding: 0 10px; border-radius: 0; box-shadow: none; border-bottom: 2px solid transparent; margin-bottom: -1px; color: #55504B; background: none; }
.citpanel .citseg a:hover { color: var(--ad-ink); }
.citpanel .citseg a.on { color: var(--ad-navy); border-bottom-color: var(--ad-navy); background: none; box-shadow: none; }
.citpanel .citseg a .ct { background: #F1EEEA; color: #55504B; }
.citpanel .citseg a.on .ct { background: var(--ad-navy); color: #fff; }
.citpanel .citseg a.warn .ct { background: #FDF0E8; color: var(--ad-warn); }
.citpanel .citseg a.warn.on .ct { background: var(--ad-warn); color: #fff; }
.citpanel .citdd { margin: 0 0 7px auto; }
.citpanel .citdd summary { height: 34px; background: #F4F2EF; box-shadow: none; border-radius: 10px; font-size: 12.5px; }
.citpanel-hd .citsearch { position: relative; display: flex; align-items: center; gap: 8px; margin: 0; flex: none; }
.citpanel-hd .citsearch .sic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #8A847D; display: grid; }
.citpanel-hd .citsearch .sic .lic { width: 15px; height: 15px; }
.citpanel-hd .citsearch input[type="search"] { height: 36px; box-sizing: border-box; width: 240px; padding: 0 12px 0 32px; border: 0; border-radius: 10px;
  background: #F4F2EF; font: inherit; font-size: 13px; box-shadow: none; }
.citpanel-hd .citsearch input[type="search"]:focus { outline: 2px solid var(--ad-orange); outline-offset: 1px; background: #fff; }
.citpanel .citlisthd { padding: 10px 22px; margin: 0; background: #FAF9F7; border-bottom: 1px solid var(--citedge); }
.citpanel .citlist { border: 0; border-radius: 0; box-shadow: none; }
.citpanel .citrow { padding: 14px 22px; background: #fff; border-bottom: 1px solid #EFEBE6; transition: background .12s; }
.citpanel .citrow.bad { background: #fff; }
.citpanel .citrow:hover { background: #FBFAF8; }
.citpanel .citrow:last-child { border-bottom: 0; }
.citpanel .citempty { border: 0; box-shadow: none; border-radius: 0; }
.citpanel-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--citedge); background: #FAF9F7; }
.citpanel-ft .citnote { margin: 0; }
.citpanel-ft .btn { margin-left: auto; }
/* Key directories and competitor gap use the same card */
.citpanel.citkey .bd { padding-top: 10px; }
.citpanel.citgap .bd { padding-top: 8px; }
.citpane > .citpanel:first-child, .citpane > .citempty:first-child { margin-top: 18px; }
@media (max-width: 1280px) { .citpanel .citlisthd { display: none; } }
@media (max-width: 760px) {
  .citpanel-hd { flex-direction: column; padding: 16px 16px 4px; }
  .citpanel-hd .citsearch, .citpanel-hd .citsearch input[type="search"] { width: 100%; }
  .citpanel .cittools { padding: 6px 16px 0; }
  .citpanel .citseg { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .citpanel .citseg a { flex: none; padding: 0 8px; }
  .citpanel .citdd { margin: 6px 0 8px; }
  .citpanel .citrow { padding: 12px 16px; }
}

/* ---------- Admin › Service Requests (2026-10-09) ---------- */
.srq { background: #fff; border: 1px solid #E6E2DA; border-radius: 16px; box-shadow: 0 1px 2px rgba(4, 24, 40, .04), 0 6px 20px rgba(4, 24, 40, .05); overflow: hidden; }
.srqtabs { display: flex; gap: 4px; padding: 6px 18px 0; border-bottom: 1px solid #E6E2DA; overflow-x: auto; }
.srqtabs a { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: #55504B; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.srqtabs a.on { color: var(--ad-navy); border-bottom-color: var(--ad-navy); }
.srqtabs .ct { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #F1EEEA; font-size: 11px; text-align: center; }
.srqtabs a.on .ct { background: var(--ad-navy); color: #fff; }
.srqrow { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) auto; gap: 18px; align-items: start; padding: 16px 20px; border-bottom: 1px solid #EFEBE6; }
.srqrow:last-child { border-bottom: 0; }
.srqrow:hover { background: #FBFAF8; }
.srqrow .who { display: flex; flex-direction: column; gap: 3px; }
.srqrow .who a { color: var(--ad-navy); text-decoration: none; }
.srqrow .what b { font-size: 14px; }
.srqrow .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.srqrow .tags span { padding: 3px 10px; border-radius: 999px; background: #EEF2F8; color: var(--ad-navy); font-size: 12px; font-weight: 600; }
.srqrow .srqnote { margin: 8px 0 0; font-size: 13.5px; color: #3F3A35; font-style: italic; }
.srqrow .state { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.srqrow .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.srqrow .acts .btn { border-radius: 999px; }
.srqreopen { border: 0; background: none; color: var(--ad-gray); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.srqempty { padding: 40px 20px; text-align: center; color: #55504B; }
@media (max-width: 860px) {
  .srqrow { grid-template-columns: 1fr; gap: 10px; }
  .srqrow .state { align-items: flex-start; }
  .srqrow .acts { justify-content: flex-start; }
}

/* Citations: "your request is in progress" (2026-10-09) */
.citbuyrow { align-items: center; gap: 14px; }
.citreqst { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-right: auto; padding: 8px 14px; border-radius: 12px;
  background: #fff; border: 1px solid #E6E2DA; font-size: 13px; color: #3F3A35; }
.citreqst i { width: 8px; height: 8px; border-radius: 50%; background: #E0A100; box-shadow: 0 0 0 4px #FFF4E2; }
.citreqst.contacted i { background: var(--ad-ok); box-shadow: 0 0 0 4px #EDF7F1; }
.citreqst .muted { font-size: 12px; }
.citbuyrow .citbuybtn.ghost { background: #fff; color: var(--ad-navy); border: 1px solid var(--ad-navy); }
@media (max-width: 760px) { .citbuyrow { flex-direction: column; align-items: stretch; } .citreqst { margin-right: 0; } }
/* Service Requests as a read-only inbox (2026-10-09) */
.srqrow { grid-template-columns: minmax(180px, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr); }
.srqrow .l { display: block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.srqrow .tags { margin-top: 0; }
.srqrow .srqnote, .srqrow .srqplain { margin: 0; font-size: 13.5px; color: #3F3A35; }
.srqrow .srqplain { font-weight: 600; }
.srqkind { align-self: flex-start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: #FFF4E2; color: #8A5300; font-size: 11px; font-weight: 700; }
@media (max-width: 860px) { .srqrow { grid-template-columns: 1fr; } }

/* Service requests as conversations (2026-10-09) */
a.srqrow { color: inherit; text-decoration: none; cursor: pointer; }
.srqrow.unread { background: #FFFCF6; }
.srqrow.unread .who b { color: var(--ad-ink); }
.srqdot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--ad-orange); vertical-align: 2px; }
.srqkind.addons { background: #EEF2F8; color: var(--ad-navy); }
.srqthr { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--ad-gray); }
.srqd { max-width: 900px; }
.srqcard { background: #fff; border: 1px solid #E6E2DA; border-radius: 16px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(4, 24, 40, .04), 0 6px 20px rgba(4, 24, 40, .05); margin-bottom: 16px; }
.srqreq { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #EFEBE6; }
.srqreq .l, .srqreply .l { display: block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.srqreq .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.srqreq .tags span { padding: 3px 10px; border-radius: 999px; background: #EEF2F8; color: var(--ad-navy); font-size: 12px; font-weight: 600; }
.srqreq .srqnote, .srqreq .srqplain { margin: 0; font-size: 14px; color: #3F3A35; }
.srqh { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ad-navy); font-family: var(--ad-body); letter-spacing: 0; text-transform: none; }
.srqthread { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.srqthread li { padding: 12px 14px; border-radius: 12px; background: #F6F4F1; max-width: 85%; }
.srqthread li.staff { background: #EEF2F8; margin-left: auto; }
.srqthread .hd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; font-size: 13px; }
.srqthread .bd { font-size: 14px; line-height: 1.55; color: #2A2622; }
.srqwarn { padding: 1px 8px; border-radius: 999px; background: #FDF0E8; color: var(--ad-warn); font-size: 11px; font-weight: 700; }
.srqreply textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #E2DCD3; border-radius: 12px; font: inherit; font-size: 14px; resize: vertical; background: #fff; }
.srqreply textarea:focus { outline: 2px solid var(--ad-orange); outline-offset: 1px; }
.srqreply .ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.srqreply .btn { border-radius: 999px; }
.srqnew { margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--ad-orange); color: #16110B; font-size: 11px; font-weight: 700; }
.myreqs { max-width: 900px; }
.myreqhd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.myreqhd > div { display: flex; flex-direction: column; gap: 2px; }
.myreqhd b { font-size: 16px; color: var(--ad-navy); }
.citmyreq { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ad-navy); text-decoration: none; }
.citmyreq .lic { width: 16px; height: 16px; }
.citbuyrow .citmyreq + .citbuybtn { margin-left: 0; }
@media (max-width: 760px) { .srqreq { grid-template-columns: 1fr; } .srqthread li { max-width: 100%; } .citmyreq { margin-left: 0; } }

/* Service requests: where each stands (2026-10-23). Status tabs first, type
   as small pills beside them; a chip on each row; a segmented control on the
   request itself. Staff only. */
.srqbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid #E6E2DA; padding-right: 18px; flex-wrap: wrap; }
.srqbar .srqtabs { border-bottom: 0; max-width: 100%; scrollbar-width: none; }
.srqtypes { display: flex; gap: 6px; padding: 8px 0; }
.srqtypes a { padding: 5px 12px; border-radius: 999px; border: 1px solid #E6E2DA; font-size: 12px; font-weight: 700; color: var(--ad-gray); text-decoration: none; white-space: nowrap; }
.srqtypes a span { margin-left: 2px; font-weight: 600; opacity: .75; }
.srqtypes a.on { background: var(--ad-navy); border-color: var(--ad-navy); color: #fff; }
.srqst { align-self: flex-start; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.srqst.open     { background: #FDF1DC; color: #8A5300; }
.srqst.answered { background: #EDF3FA; color: var(--ad-info); }
.srqst.won      { background: #EDF7F1; color: var(--ad-ok); }
.srqst.declined { background: #F1F3F6; color: #4A5361; }
.srqstate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; padding: 12px 16px; background: #fff;
  border: 1px solid #E6E2DA; border-radius: 16px; box-shadow: 0 1px 2px rgba(4, 24, 40, .04); }
.srqstate .l { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.srqseg { display: inline-flex; padding: 3px; border-radius: 999px; background: #F1F3F6; gap: 2px; }
.srqseg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; color: #4A5361; cursor: pointer; }
.srqseg button:hover { background: #fff; }
.srqseg button.on { background: var(--ad-navy); color: #fff; }
.srqseg button.on.won { background: var(--ad-ok); }
.srqseg button.on.open { background: var(--ad-orange); color: #3B2600; }
@media (max-width: 560px) { .srqbar { padding: 0 12px; } .srqtypes { padding-top: 0; } .srqseg { flex-wrap: wrap; } }

/* Sidebar count badges ("5 left") never wrap (2026-10-09) */
.nav .badge { white-space: nowrap; }

/* Support page: Your requests; sidebar dot for a new reply (2026-10-09) */
.supreqs { margin-top: 18px; }
.supreqlist { display: grid; gap: 8px; }
.supreq { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 14px; padding: 12px 14px;
  border: 1px solid #E6E2DA; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; transition: background .12s; }
.supreq:hover { background: #FBFAF8; }
.supreq.new { border-color: #F5C77E; background: #FFFCF6; }
.supreq .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.supreq .t b { color: var(--ad-navy); }
.supreq .last { font-size: 13px; color: #3F3A35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.supreq .srqkind { margin: 0; white-space: nowrap; }
.navdot { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--ad-orange); vertical-align: 2px; }
.myreqback { margin: 0 0 12px; font-size: 13px; }
@media (max-width: 760px) { .supreq { grid-template-columns: 1fr; gap: 6px; } .supreq .last { white-space: normal; } }

/* Citations figures: the selected state is the same in every position (2026-10-13). A figure after the
   first matched ".cithead a.citkpi + a.citkpi", which cleared its outline. */
.cithead a.citkpi.on, .cithead a.citkpi + a.citkpi.on, .cithead a.citkpi.on:hover, .cithead a.citkpi + a.citkpi.on:hover {
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--ad-orange); }
.cithead a.citkpi + a.citkpi.on::before { display: none; }

/* ---------- SEO / AIO › Google Analytics and SEO Reporting, redesigned (2026-10-13) ----------
   Jeremy: "make the SEO google analytics sections look better now and function ... custom date range".
   Same pattern as Citations: a date control, a header card with the figures, sticky sub-tabs, cards. */
.gawrap { position: relative; }
/* Date control */
.garangebar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; margin: -6px 0 16px; }
.garange { position: relative; }
.garange summary { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff;
  border: 1px solid #E6E2DA; box-shadow: 0 1px 2px rgba(4, 24, 40, .05); cursor: pointer; list-style: none; font-size: 13px; color: var(--ad-ink); }
.garange summary::-webkit-details-marker { display: none; }
.garange summary .lic { width: 16px; height: 16px; color: var(--ad-orange-hi); }
.garange summary .chev { color: var(--ad-gray); transition: transform .15s; }
.garange[open] summary .chev { transform: rotate(180deg); }
.garange summary .dates { color: #55504B; }
.garpop { position: absolute; right: 0; top: 48px; z-index: 60; display: flex; background: #fff; border: 1px solid #E6E2DA; border-radius: 16px;
  box-shadow: 0 18px 50px rgba(4, 24, 40, .18); overflow: hidden; }
.garpresets { display: flex; flex-direction: column; min-width: 180px; padding: 8px; border-right: 1px solid #EFEBE6; }
.garpresets a, .garpresets button { display: block; padding: 9px 12px; border: 0; border-radius: 10px; background: none; text-align: left;
  font: inherit; font-size: 13.5px; color: #3F3A35; text-decoration: none; cursor: pointer; }
.garpresets a:hover, .garpresets button:hover { background: #F6F3EF; }
.garpresets .on { background: #FFF3E0; color: #8A5300; font-weight: 700; }
.garcustom { display: none; padding: 14px 16px; width: 560px; box-sizing: border-box; }
.garpop.custom .garcustom { display: block; }
.calnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.calnav button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #F3EFEA; font-size: 18px; cursor: pointer; color: var(--ad-ink); }
.calhint { font-size: 12px; color: var(--ad-gray); }
.calms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calt { margin-bottom: 6px; font-weight: 700; font-size: 13.5px; text-align: center; color: var(--ad-navy); }
.calg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.calg .dow { font-size: 10.5px; text-align: center; color: var(--ad-gray); font-weight: 700; padding-bottom: 4px; }
.calg button { height: 32px; border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--ad-ink); cursor: pointer; border-radius: 0; }
.calg button:hover:not([disabled]) { background: #F3EFEA; border-radius: 8px; }
.calg button[disabled] { color: #CFC9C2; cursor: default; }
.calg button.in { background: #FFF1DC; }
.calg button.s, .calg button.e { background: var(--ad-orange); color: #16110B; font-weight: 700; border-radius: 8px; }
.garfields { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #EFEBE6; }
.garfields label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; color: var(--ad-gray); text-transform: uppercase; letter-spacing: .08em; }
.garfields input { height: 36px; padding: 0 10px; border: 1px solid #E2DCD3; border-radius: 10px; font: inherit; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ad-ink); }
.garfields .btn { margin-left: auto; height: 36px; border-radius: 999px; }
.garnote { margin: 8px 0 0; }
.garangebar { gap: 10px; }
/* Compare to anytime (2026-10-13): a second button beside the dates, same style. */
.garpresets small { display: block; margin-top: 1px; font-size: 11.5px; font-weight: 500; color: var(--ad-gray); }
.garpresets .on small { color: #A0702A; }
.garcmpd .garpresets { min-width: 230px; }
.garcmpd.off summary b { color: #55504B; font-weight: 600; }
.garcmpd.off summary .lic:not(.chev) { color: var(--ad-gray); }
.garange summary b, .garange summary .dates { white-space: nowrap; }
/* Phone: the comparison dates are already in the "vs" line under the header. */
@media (max-width: 760px) { .garcmpd summary .dates { display: none; } }
/* Header card */
.gahead { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3.4fr); align-items: center; gap: 18px 24px; padding: 18px 22px;
  background: #fff; border: 1px solid #E6E2DA; border-bottom: 0; border-radius: var(--ad-radius) var(--ad-radius) 0 0; box-shadow: var(--citsh); }
.gawrap > .gahead:last-of-type + .citpane, .gawrap .gahead + .citpane { margin-top: 16px; }
.gawrap .gahead:not(:has(+ .citsub)) { border-bottom: 1px solid #E6E2DA; border-radius: var(--ad-radius); }
.gaid { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #55504B; }
.gaid .l { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.gaid b { font-size: 16px; color: var(--ad-ink); }
.gaid .when { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px; color: var(--ad-gray); }
.gaid .when .lic { width: 13px; height: 13px; }
.gastale { margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: #FDF6E7; color: #8A5300; font-size: 11.5px; font-weight: 600; align-self: flex-start; }
.gakpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border: 1px solid #E6E2DA; border-radius: 14px; overflow: hidden; }
.gakpi { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; }
.gakpi + .gakpi::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: #DCD4CA; }
.gakpi .hd { display: flex; align-items: center; gap: 6px; }
.gakpi .hd .l { flex: 1; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; }
.gakpi .citip { width: 15px; height: 15px; font-size: 9.5px; }
.gakpi .n { font-family: var(--ad-display); font-size: 30px; line-height: 1; color: var(--ad-ink); }
.gadelta { align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.gadelta.up { background: #EDF7F1; color: var(--ad-ok); }
.gadelta.down { background: #FDF0E8; color: var(--ad-warn); }
.gadelta.flat { background: #F3EFEA; color: #6B655E; }
.gawrap .citsub { margin-bottom: 6px; }
/* Cards */
.gapane { display: grid; gap: 16px; margin-top: 16px; }
.gasum { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid #E6E2DA; border-radius: var(--ad-radius); box-shadow: var(--citsh);
  background-image: radial-gradient(circle at 100% 0%, rgba(255, 153, 0, .10), transparent 40%); }
.gasum .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #FFF3E0; color: var(--ad-orange-hi); }
.gasum .ic .lic { width: 21px; height: 21px; }
.gasum h3 { margin: 0 0 4px; font-family: var(--ad-display); font-size: 24px; line-height: 1.15; font-weight: 400; color: var(--ad-navy); letter-spacing: 0; text-transform: none; }
.gasum p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3F3A35; }
.gacard { padding: 18px 20px; background: #fff; border: 1px solid #E6E2DA; border-radius: var(--ad-radius); box-shadow: var(--citsh); min-width: 0; }
.gacardhd { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.gacardhd h4 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; color: var(--ad-navy); letter-spacing: 0; text-transform: none; font-family: var(--ad-body); }
.gacardhd h4 .lic { width: 17px; height: 17px; color: var(--ad-orange-hi); }
.galegend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: #4A453F; }
.galegend span { display: inline-flex; align-items: center; gap: 6px; }
.galegend i { width: 14px; height: 3px; border-radius: 2px; }
.gagrid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gagrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
/* Charts */
.gachart { position: relative; }
.gasvg { display: block; width: 100%; height: var(--h, 260px); overflow: visible; }
.gasvg .grid { stroke: #EEEAE5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.gasvg .ax { font-size: 11px; fill: #6B655E; font-family: var(--ad-body); }
.gasvg path { vector-effect: non-scaling-stroke; }
.gasvg .xhair { stroke: #8A847D; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.gatip { position: absolute; top: 8px; z-index: 5; min-width: 160px; padding: 10px 12px; border-radius: 10px; background: var(--ad-navy); color: #fff; font-size: 12.5px;
  box-shadow: 0 8px 24px rgba(4, 24, 40, .22); pointer-events: none; }
.gatip b { display: block; margin-bottom: 4px; }
.gatip span { display: flex; align-items: center; gap: 6px; }
.gatip span i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .6); }
.gatip em { margin-left: auto; padding-left: 12px; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
/* Bars and lists */
.gastack { display: flex; gap: 2px; height: 10px; margin-bottom: 14px; border-radius: 6px; overflow: hidden; background: #F1EEEA; }
.gastack.tall { height: 14px; }
.gastack i { display: block; height: 100%; }
.gabars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gabars li { display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; align-items: center; gap: 10px; font-size: 13.5px; }
.gabars .sh { text-align: right; color: var(--ad-gray); font-size: 12.5px; }
.nm { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.nm i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.gadev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gadev > div { display: flex; flex-direction: column; gap: 2px; }
.gadev b { font-family: var(--ad-display); font-size: 26px; font-weight: 400; line-height: 1.1; color: var(--ad-ink); }
.gadev.big b { font-size: 32px; }
.gapages { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gapages li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 13.5px; }
.gapages .pth { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gapages b { text-align: right; font-variant-numeric: tabular-nums; }
.gapages .bar { grid-column: 1 / -1; }
.bar { display: block; height: 6px; border-radius: 4px; background: #F1EEEA; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: #2a78d6; }
/* Tables */
.gatable { margin-top: 0; }
.gatscroll { overflow-x: auto; }
.gatable table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gatable th { padding: 10px 14px; background: #FAF9F7; border-top: 1px solid #E6E2DA; border-bottom: 1px solid #E6E2DA; text-align: left;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-gray); font-weight: 700; white-space: nowrap; }
.gatable td { padding: 11px 14px; border-bottom: 1px solid #EFEBE6; color: #2A2622; }
.gatable tr:last-child td { border-bottom: 0; }
.gatable tr:hover td { background: #FBFAF8; }
.gatable .r { text-align: right; }
.gatable .num { font-variant-numeric: tabular-nums; }
.gatable .sharecol { min-width: 140px; }
.gatable .sharecol .bar { display: inline-block; width: 90px; vertical-align: middle; margin-right: 8px; }
.gatable .pth { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* SEO Reporting */
.garank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.garank li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #FBFAF8; }
.garank .pos { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--ad-display); font-size: 20px; }
.garank .pos.top { background: #EDF7F1; color: var(--ad-ok); }
.garank .pos.mid { background: #FFF4E2; color: #8A5300; }
.garank .pos.low { background: #F3EFEA; color: #6B655E; }
.garank .kw { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.garank .kw b { font-size: 14px; }
.garank .cov { display: block; height: 5px; border-radius: 3px; background: #EAE5DF; overflow: hidden; max-width: 220px; }
.garank .cov i { display: block; height: 100%; background: var(--ad-ok); }
.garank .chg { font-size: 12px; font-weight: 700; white-space: nowrap; }
.garank .chg.up { color: var(--ad-ok); } .garank .chg.down { color: var(--ad-warn); } .garank .chg.flat { color: var(--ad-gray); }
.gacites { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gacites > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #FBFAF8; }
.gacites b { font-family: var(--ad-display); font-size: 28px; font-weight: 400; line-height: 1.1; color: var(--ad-ink); }
.gacites span { font-size: 12.5px; color: #55504B; }
.gacites .warn b { color: var(--ad-warn); }
/* Loading */
.galoading { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: var(--ad-navy); color: #fff; font-size: 13px; box-shadow: 0 10px 30px rgba(4, 24, 40, .25); }
.galoading .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: gaspin .8s linear infinite; }
@keyframes gaspin { to { transform: rotate(360deg); } }
.gawrap.is-loading .gapane, .gawrap.is-loading .gahead { opacity: .5; transition: opacity .15s; }
.gaempty { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .galoading .spin { animation: none; } }
@media (max-width: 1280px) {
  .gahead { grid-template-columns: 1fr; }
  .gagrid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gagrid3 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .gagrid2, .gagrid3 { grid-template-columns: 1fr; }
  .gacites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garpop { position: fixed; left: 8px; right: 8px; top: auto; bottom: 8px; flex-direction: column; max-height: 85vh; overflow-y: auto; }
  .garpresets { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid #EFEBE6; }
  .garcustom { width: auto; }
  .calms { grid-template-columns: 1fr; }
  .calms .calm:first-child { display: none; }
}
@media (max-width: 760px) {
  .garangebar { justify-content: stretch; margin: 0 0 12px; }
  .garange, .garange summary { width: 100%; }
  .garange summary { justify-content: flex-start; }
  .garange summary .chev { margin-left: auto; }
  .gahead { padding: 14px; }
  .gakpis { grid-template-columns: 1fr 1fr; }
  .gakpi + .gakpi::before { display: none; }
  .gakpi { border-bottom: 1px solid #EFEBE6; }
  .gakpi .n { font-size: 26px; }
  .gasum { padding: 16px; } .gasum .ic { display: none; } .gasum h3 { font-size: 20px; }
  .gadev { grid-template-columns: 1fr 1fr 1fr; }
  .garfields { flex-wrap: wrap; }
  .garfields label { flex: 1 1 40%; }
  .garfields .btn { width: 100%; }
}

/* SEO Reporting: coming soon until its connector is in (2026-10-13) */
.seosoon { max-width: 760px; margin: 6px auto 0; padding: 34px 36px 30px; text-align: center; background: #fff; border: 1px solid #E6E2DA;
  border-radius: 18px; box-shadow: var(--citsh); background-image: radial-gradient(circle at 50% -20%, rgba(255, 153, 0, .14), transparent 55%); }
.seosoon .ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: #FFF3E0; color: var(--ad-orange-hi); }
.seosoon .ic .lic { width: 26px; height: 26px; }
.seosoon .eyebrow { margin: 0 0 6px; color: var(--ad-orange-hi); }
.seosoon h2 { margin: 0 0 10px; font-family: var(--ad-display); font-size: 36px; font-weight: 400; line-height: 1; color: var(--ad-navy); }
.seosoon .seosoonlead { margin: 0 auto 22px; max-width: 540px; font-size: 15px; line-height: 1.6; color: #3F3A35; }
.seosoonlist { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.seosoonlist li { display: flex; gap: 10px; padding: 14px; border-radius: 14px; background: #FBFAF8; border: 1px solid #EFEBE6; }
.seosoonlist .lic { width: 20px; height: 20px; flex: none; color: var(--ad-orange-hi); margin-top: 2px; }
.seosoonlist b { display: block; font-size: 14px; color: var(--ad-ink); }
.seosoonlist span { font-size: 12.5px; line-height: 1.45; color: #55504B; }
.seosoonnow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; font-size: 13px; color: #55504B; }
.seosoonnow a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #E2DACF;
  color: var(--ad-navy); font-weight: 700; text-decoration: none; }
.seosoonnow a .lic { width: 15px; height: 15px; color: var(--ad-orange-hi); }
.seosoonstaff { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed #E6E2DA; font-size: 12.5px; color: var(--ad-gray); }
.seopreview { margin: -6px 0 14px; padding: 10px 14px; border-radius: 12px; background: #EEF2F8; color: var(--ad-navy); font-size: 13px; font-weight: 600; }
.seopreview a { margin-left: 8px; }
@media (max-width: 760px) {
  .seosoon { padding: 24px 18px; }
  .seosoon h2 { font-size: 30px; }
  .seosoonlist { grid-template-columns: 1fr; }
}

/* ---------- SEO / AIO main tabs, easier to spot (2026-10-13) ----------
   Jeremy liked the underlined tabs but "it wasn't totally apparent to the user
   that they were there"; the tinted bubble on hover/active then "looks messed
   up". Default is a segmented switch: one grey track, the open tab a raised
   white button. Two other styles are kept ready, set by one class on the nav:
   .seotabs-line (navy text + thick orange underline) and .seotabs-pill (solid
   navy pill). Sub-tabs stay small and underlined. */
.tabs.seotabs { position: relative; display: flex; width: fit-content; gap: 2px; margin: 28px 0 32px; padding: 4px; background: #EEF0F3; border: 0;
  border-radius: 12px; max-width: 100%; box-sizing: border-box; }
.tabs.seotabs a:not(.citbuybtn) { position: relative; z-index: 1; gap: 9px; margin: 0; padding: 11px 18px; font-size: 14.5px; letter-spacing: .08em;
  color: color-mix(in srgb, var(--ad-navy) 72%, #fff); border: 0; border-radius: 9px; background: transparent; cursor: pointer; white-space: nowrap;
  transition: color .15s, background .15s; }
.tabs.seotabs a:not(.citbuybtn) .lic { width: 18px; height: 18px; color: var(--ad-orange-hi); }
.tabs.seotabs a:not(.citbuybtn):hover { color: var(--ad-navy); background: rgba(255, 255, 255, .55); }
.tabs.seotabs a:not(.citbuybtn):focus-visible { outline: 3px solid var(--ad-orange); outline-offset: 1px; }
.tabs.seotabs a.on:not(.citbuybtn) { color: var(--ad-navy); background: #fff; box-shadow: 0 1px 2px rgba(4, 24, 40, .08), 0 3px 10px rgba(4, 24, 40, .08); }
/* Option 2: clean underline. */
.tabs.seotabs.seotabs-line { display: flex; width: auto; gap: 10px; padding: 0 4px; background: none; border-bottom: 2px solid #E2DCD3; border-radius: 0; }
.tabs.seotabs-line a:not(.citbuybtn) { margin-bottom: -2px; padding: 16px 14px 13px; border-radius: 0; border-bottom: 4px solid transparent; }
.tabs.seotabs-line a:not(.citbuybtn):hover { background: none; border-bottom-color: #F2C894; }
.tabs.seotabs-line a.on:not(.citbuybtn) { background: none; box-shadow: none; border-bottom-color: var(--ad-orange); }
/* Option 3: solid navy pill. */
.tabs.seotabs.seotabs-pill { gap: 8px; padding: 0; background: none; }
.tabs.seotabs-pill a:not(.citbuybtn) { border-radius: 999px; box-shadow: inset 0 0 0 1px #DCD6CE; background: #fff; }
.tabs.seotabs-pill a:not(.citbuybtn):hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ad-navy); }
.tabs.seotabs-pill a.on:not(.citbuybtn) { color: #fff; background: var(--ad-navy); box-shadow: 0 4px 12px rgba(4, 24, 40, .2); }
@media (prefers-reduced-motion: reduce) { .tabs.seotabs a { transition: none; } }
@media (max-width: 760px) {
  .tabs.seotabs { display: flex; width: 100%; margin: 18px 0 28px; flex-wrap: nowrap; }
  .tabs.seotabs a:not(.citbuybtn) { flex: 1 1 0; justify-content: center; padding: 11px 4px; font-size: 12.5px; letter-spacing: .04em; gap: 6px; }
  .tabs.seotabs a:not(.citbuybtn) .lic { width: 16px; height: 16px; }
}

/* ---------- Google Business Profile in the SEO / AIO look (2026-10-13) ----------
   Header figure strip (the picked figure is a white box with an orange
   outline, as on Citations), sub-tabs, cards, the shared date range and
   Compare controls. Everything here is scoped to .gbpwrap so SEO / AIO and
   other pages using the shared pieces do not change. */
.gbpwrap .gbpnote { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px;
  background: #FFF8EC; border: 1px solid #F3DDB8; color: #5C4422; font-size: 13.5px; line-height: 1.5; }
.gbpwrap .gbpnote .lic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #B26B00; }
.gbpwrap .gbpnote b { display: block; color: #3F2C10; }
.gbpwrap .gaid .dates { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.gbpwrap .gbpok, .gbpwrap .gbpwarn { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.gbpwrap .gbpok { background: #EDF7F1; color: var(--ad-ok); }
.gbpwrap .gbpok .lic { width: 12px; height: 12px; }
.gbpwrap .gbpwarn { background: #FDF0E8; color: var(--ad-warn); }
.gbpwrap .gbpkpis { padding: 4px; gap: 0; background: #FAF8F5; border: 0; }
.gbpwrap a.gakpi { border-radius: 10px; color: inherit; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; }
.gbpwrap a.gakpi:hover { background: #F3EFEA; }
.gbpwrap a.gakpi.on, .gbpwrap a.gakpi.on:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ad-orange); }
.gbpwrap a.gakpi.on .hd .l { color: var(--ad-orange-hi); }
.gbpwrap a.gakpi.on::before, .gbpwrap a.gakpi.on + a.gakpi::before { display: none; }
.gbpwrap a.gakpi:focus-visible { outline: 3px solid var(--ad-orange); outline-offset: -1px; }
.gbpwrap .gakpi .n small { font-size: 18px; color: var(--ad-gray); }
.gbpwrap .gasample { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #F3EFEA; color: #6B655E; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; }
.gbpwrap .gbpmeter { height: 8px; border-radius: 6px; background: #F1EEEA; overflow: hidden; }
.gbpwrap .gbpmeter span { display: block; height: 100%; border-radius: 6px; background: var(--ad-ok); }
.gbpwrap .gbpcheck:first-of-type { border-top: 0; }
.gbpwrap .gbprow:first-of-type { margin-top: 0; border-top: 0; }
.gbpwrap .gbpweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; }
.gbpwrap .gbpweek > div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--ad-gray); }
.gbpwrap .gbpweek .col { display: flex; align-items: flex-end; width: 100%; max-width: 40px; height: 120px; }
.gbpwrap .gbpweek .col i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: #eb6834; }
.gbpwrap .gbpweek b { font-size: 13px; color: var(--ad-ink); font-variant-numeric: tabular-nums; }
.gbpwrap .gatable tr.gbpyou td { background: #FFF8EC; }
@media (prefers-reduced-motion: reduce) { .gbpwrap a.gakpi { transition: none; } }
@media (max-width: 760px) {
  .gbpwrap .gbpkpis { grid-template-columns: 1fr 1fr; gap: 4px; }
  .gbpwrap .gakpi + .gakpi::before { display: none; }
  .gbpwrap a.gakpi { background: #fff; }
}

/* Google Business Profile, its own look (2026-10-13): the header reads like the client's listing on
   Google (name, gold stars, Open today, round action buttons carrying the figures), Google-blue tabs,
   Maps pins for rankings, and local-results cards for nearby businesses. Scoped to .gbpwrap. */
.gbpwrap { --gb: #1A73E8; --gbsoft: #E8F0FE; --gstar: #FBBC04; --ggreen: #188038; --gred: #D93025; }
.gbpwrap .gbpkp { background: #fff; border: 1px solid var(--ad-line); border-radius: 18px; padding: 22px 24px 18px; margin: 0 0 6px;
  box-shadow: 0 1px 2px rgba(60,64,67,.08), 0 2px 8px rgba(60,64,67,.06); }
.gbpwrap .gbpkp-top { display: flex; gap: 18px; align-items: flex-start; }
.gbpwrap .gbpkp-av { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 22px;
  color: #fff; background: linear-gradient(135deg, var(--gb), #4F8DF5); letter-spacing: .02em; }
.gbpwrap .gbpkp-av.pic { background: #fff; border: 1px solid #DADCE0; overflow: hidden; }
.gbpwrap .gbpkp-av.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gbpwrap .gbpkp-id { flex: 1; min-width: 0; }
.gbpwrap .gbpkp-id > .l { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ad-gray); }
.gbpwrap .gbpkp-id h2 { margin: 2px 0 4px; font-size: 24px; line-height: 1.2; font-weight: 600; color: #202124; letter-spacing: 0; text-transform: none; font-family: inherit; }
.gbpwrap .gbpkp-rate { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #202124; }
.gbpwrap .gbpkp-rate b { font-weight: 600; }
.gbpwrap .gbpkp-rate a { color: var(--gb); text-decoration: none; }
.gbpwrap .gbpkp-rate a:hover { text-decoration: underline; }
.gbpwrap .gbpkp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; font-size: 13.5px; color: #3C4043; }
.gbpwrap .gbpkp-meta.muted { color: #5F6368; }
.gbpwrap .gbpkp-meta b.open { color: var(--ggreen); font-weight: 600; }
.gbpwrap .gbpkp-meta b.shut { color: var(--gred); font-weight: 600; }
.gbpwrap .gbpkp-when { flex: none; display: inline-flex; align-items: flex-start; gap: 6px; font-size: 12.5px; color: #5F6368; text-align: right; line-height: 1.5; }
.gbpwrap .gbpkp-when .lic { width: 14px; height: 14px; margin-top: 3px; }
.gbpwrap .gbpkp-when .vs { color: #80868B; }
.gbpwrap .gbpstars { position: relative; display: inline-block; width: 74px; height: 14px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 14'%3E%3Cpath fill='%23DADCE0' d='M7.5 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5L3 13.6l1-5L.3 5.2l5-.6z'/%3E%3C/svg%3E") 0 0 / 14.8px 14px repeat-x; }
.gbpwrap .gbpstars span { position: absolute; inset: 0 auto 0 0; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 14'%3E%3Cpath fill='%23FBBC04' d='M7.5 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5L3 13.6l1-5L.3 5.2l5-.6z'/%3E%3C/svg%3E") 0 0 / 14.8px 14px repeat-x; }

/* Google's round action buttons, each with its figure; the picked one fills blue. */
.gbpwrap .gbpacts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ECEDEF; }
.gbpwrap a.gbpact { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px 12px; border-radius: 14px; text-align: center;
  color: inherit; text-decoration: none; transition: background .15s; }
.gbpwrap a.gbpact:hover { background: #F6F8FC; }
.gbpwrap a.gbpact.on { background: var(--gbsoft); }
.gbpwrap .gbpact .ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #DADCE0; color: var(--gb);
  background: #fff; margin-bottom: 4px; transition: background .15s, color .15s, border-color .15s; }
.gbpwrap .gbpact .ring .lic { width: 20px; height: 20px; }
.gbpwrap .gbpact.on .ring { background: var(--gb); border-color: var(--gb); color: #fff; }
.gbpwrap .gbpact .n { font-size: 24px; font-weight: 700; line-height: 1.1; color: #202124; font-variant-numeric: tabular-nums; }
.gbpwrap .gbpact .n small { font-size: 15px; color: #80868B; font-weight: 600; }
.gbpwrap .gbpact .hd { display: inline-flex; align-items: center; gap: 4px; }
.gbpwrap .gbpact .hd .l { font-size: 12.5px; font-weight: 600; color: var(--gb); }
.gbpwrap .gbpact .gadelta { margin-top: 2px; align-self: center; }
/* Wide screens: the action buttons sit beside the listing instead of stretched under it (Jeremy, 2026-10-13). */
@media (min-width: 1240px) {
  .gbpwrap .gbpkp { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; }
  .gbpwrap .gbpkp-top { flex-wrap: wrap; }
  .gbpwrap .gbpkp-when { flex-basis: 100%; padding-left: 82px; text-align: left; }
  .gbpwrap .gbpkp-when br { display: none; }
  .gbpwrap .gbpkp-when .vs { margin-left: 6px; }
  .gbpwrap .gbpacts { grid-template-columns: repeat(5, 116px); gap: 2px; margin-top: 0; padding: 0 0 0 20px; border-top: 0; border-left: 1px solid #ECEDEF; }
  .gbpwrap .gbpact .n { font-size: 22px; }
  .gbpwrap .gbpact .hd .l { font-size: 12px; white-space: nowrap; }
}
.gbpwrap a.gbpact:focus-visible { outline: 3px solid var(--gb); outline-offset: -1px; }

/* Google-style tabs: plain words, blue underline. They sit on top of the listing card and read as one
   card with it, each half's shadow clipped where they meet (as on Paid Advertising, 2026-10-13). */
.gbpwrap .gbptabs { margin: 0; border-top: 0; border-bottom: 1px solid #ECEDEF; border-radius: 18px 18px 0 0; clip-path: inset(-30px -30px 0 -30px); }
.gbpwrap .gbptabs + .gbpkp { margin: 0 0 16px; border-top: 0; border-radius: 0 0 18px 18px; padding-top: 26px; clip-path: inset(0 -30px -30px -30px); }
.gbpwrap .gbptabs + .gbpkp + .citpane { margin-top: 0; }
.gbpwrap .gbptabs a { font-size: 14px; font-weight: 500; color: #5F6368; padding: 13px 14px; }
.gbpwrap .gbptabs a.on { color: var(--gb); border-bottom-color: var(--gb); border-bottom-width: 3px; }
.gbpwrap .gbptabs a.on .lic { color: var(--gb); }

/* Google Maps pins for rankings. */
.gbpwrap .gbpranks li { align-items: center; }
.gbpwrap .gbppin { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #80868B; box-shadow: 0 2px 4px rgba(0,0,0,.18); margin: 0 6px 0 2px; }
.gbpwrap .gbppin b { transform: rotate(45deg); color: #fff; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gbpwrap .gbppin.top { background: var(--ggreen); }
.gbpwrap .gbppin.mid { background: #F29900; }
.gbpwrap .gbpranks .cov i { background: var(--gb); }

/* Nearby businesses as Google's local results. */
.gbpwrap .gbplead { margin: 6px 0 14px; }
.gbpwrap .gbppacks { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.gbpwrap .gbppack { padding: 0; overflow: hidden; }
.gbpwrap .gbpq { display: flex; align-items: center; gap: 10px; margin: 14px 14px 12px; padding: 10px 16px; border-radius: 999px; border: 1px solid #DFE1E5;
  box-shadow: 0 1px 4px rgba(32,33,36,.12); font-size: 14.5px; color: #202124; }
.gbpwrap .gbpq .lic { width: 16px; height: 16px; color: #9AA0A6; }
.gbpwrap .gbpmap { position: relative; height: 110px; border-top: 1px solid #ECEDEF; border-bottom: 1px solid #ECEDEF;
  background: linear-gradient(115deg, transparent 47%, #fff 47%, #fff 51%, transparent 51%), linear-gradient(20deg, transparent 60%, #FCE8B2 60%, #FCE8B2 63%, transparent 63%),
    linear-gradient(0deg, transparent 30%, #fff 30%, #fff 33%, transparent 33%), radial-gradient(circle at 80% 20%, #CEEAD6 0 18%, transparent 19%), #EEF1F3; }
.gbpwrap .gbpmap i { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: translate(-50%, -100%) rotate(-45deg);
  background: #EA4335; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.gbpwrap .gbpmap i.you { background: var(--gb); width: 24px; height: 24px; z-index: 1; }
.gbpwrap .gbplist { list-style: none; margin: 0; padding: 4px 0; }
.gbpwrap .gbplist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 16px; border-top: 1px solid #F1F3F4; }
.gbpwrap .gbplist li:first-child { border-top: 0; }
.gbpwrap .gbplist li b { font-size: 14.5px; font-weight: 500; color: #1A0DAB; min-width: 0; overflow-wrap: anywhere; }
.gbpwrap .gbplist li .r { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 13px; color: #3C4043; }
.gbpwrap .gbplist li .muted { color: #70757A; }
.gbpwrap .gbplist li.you { background: var(--gbsoft); box-shadow: inset 3px 0 0 var(--gb); }
.gbpwrap .gbplist li.gap { border-top: 1px dashed #DADCE0; }
.gbpwrap .gbplist .tag { align-self: start; padding: 2px 9px; border-radius: 999px; background: var(--gb); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* Your profile, laid out like the listing's About panel. */
.gbpwrap .gbppanel .gbpcat { font-size: 13.5px; color: #5F6368; margin: 2px 0 8px; }
.gbpwrap .gbpline { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #F1F3F4; font-size: 14px; color: #202124; }
.gbpwrap .gbpline > .lic { flex: none; width: 18px; height: 18px; color: var(--gb); margin-top: 1px; }
.gbpwrap .gbpline .lnk { color: var(--gb); }
.gbpwrap .gbppanel .gbphours div { gap: 14px; }
.gbpwrap .gbppanel .gbphours span { width: 92px; color: #3C4043; }
.gbpwrap .gbppanel .gbphours b { font-weight: 400; }
.gbpwrap .gbppanel .gbphours .today span, .gbpwrap .gbppanel .gbphours .today b { font-weight: 700; color: #202124; }
.gbpwrap .gacardhd h4 .lic, .gbpwrap .gasum .ic .lic { color: var(--gb); }
.gbpwrap .gasum .ic { background: var(--gbsoft); }
.gbpwrap .gbpterm { display: inline-flex; align-items: center; gap: 8px; }
.gbpwrap .gbpterm .lic { width: 14px; height: 14px; color: #9AA0A6; flex: none; }
/* Overview shake-up (2026-10-13): phone preview, the seen-to-contact journey, busiest day, search chips, health ring. */
.gbpwrap .gbpact .ring.prog { position: relative; border: 0; background: conic-gradient(var(--ggreen) calc(var(--p) * 1%), #E8EAED 0); color: var(--ggreen); }
.gbpwrap .gbpact .ring.prog::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.gbpwrap .gbpact .ring.prog .lic { position: relative; z-index: 1; }
.gbpwrap .gbpact.on .ring.prog::after { background: var(--gbsoft); }
.gbpwrap .gbphero { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.gbpwrap .gbphero > .gacard { margin: 0; }
.gbpwrap .gbpphonecard { display: flex; flex-direction: column; background: linear-gradient(180deg, #F3F7FE, #fff 70%); }
.gbpwrap .gbpphone { position: relative; align-self: center; width: 100%; max-width: 262px; margin: 0 auto; padding: 9px; border-radius: 42px;
  background: #1F2023; box-shadow: 0 18px 40px rgba(32,33,36,.22), inset 0 0 0 2px #3C4043; }
.gbpwrap .gbpphone .scr { position: relative; border-radius: 34px; overflow: hidden; background: #fff; }
.gbpwrap .gbpphone .sb { display: flex; justify-content: space-between; align-items: center; padding: 9px 20px 2px; font-size: 11px; color: #202124; }
.gbpwrap .gbpphone .sb b { font-weight: 600; }
.gbpwrap .gbpphone .sb span { display: flex; gap: 3px; }
.gbpwrap .gbpphone .sb i { width: 4px; height: 8px; border-radius: 1px; background: #202124; }
.gbpwrap .gbpphone .sb i:nth-child(2) { height: 10px; } .gbpwrap .gbpphone .sb i:nth-child(3) { width: 14px; height: 8px; border-radius: 2px; }
.gbpwrap .gbpphone .home { width: 84px; height: 4px; margin: 8px auto 1px; border-radius: 4px; background: #5F6368; }
.gbpwrap .gbpphone .more { padding: 4px 14px 16px; display: grid; gap: 8px; }
.gbpwrap .gbpphone .more span { display: block; height: 30px; border-radius: 8px; background: linear-gradient(90deg, #F1F3F4 0 22%, transparent 22% 26%, #F6F7F8 26%); }
.gbpwrap .gbpseen { align-self: center; display: inline-flex; align-items: center; gap: 7px; margin: 0 auto 14px; padding: 7px 14px; border-radius: 999px;
  background: #fff; color: #202124; font-size: 12.5px; box-shadow: 0 3px 12px rgba(32,33,36,.14); }
.gbpwrap .gbpseen .lic { width: 15px; height: 15px; color: var(--gb); }
.gbpwrap .gbpseen b { font-size: 14px; }
.gbpwrap .gbpphone .gq { display: flex; align-items: center; gap: 8px; margin: 10px 10px 8px; padding: 8px 12px; border-radius: 999px; box-shadow: 0 1px 4px rgba(32,33,36,.18);
  font-size: 12.5px; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbpwrap .gbpphone .gq span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gbpwrap .gbpphone .gq .lic { width: 13px; height: 13px; color: #9AA0A6; flex: none; }
.gbpwrap .gbpphone .mapstrip { position: relative; height: 104px; margin-top: 2px; background:
    linear-gradient(90deg, transparent 31%, #fff 31% 33.5%, transparent 33.5% 68%, #fff 68% 70%, transparent 70%),
    linear-gradient(0deg, transparent 28%, #fff 28% 31%, transparent 31% 66%, #FDE7A9 66% 70%, transparent 70%),
    linear-gradient(135deg, transparent 54%, #fff 54% 57%, transparent 57%),
    radial-gradient(ellipse 22% 30% at 14% 76%, #CEEAD6 98%, transparent 100%),
    radial-gradient(ellipse 16% 22% at 88% 12%, #CDE3F9 98%, transparent 100%), #EEF1F4; }
.gbpwrap .gbpphone .mapstrip i { position: absolute; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%; background: #9AA0A6; box-shadow: 0 0 0 2px #fff; }
.gbpwrap .gbpphone .mapstrip i.you { left: 50%; top: 52%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: translate(-50%, -100%) rotate(-45deg);
  background: #EA4335; box-shadow: 0 2px 5px rgba(0,0,0,.28); }
.gbpwrap .gbpphone .mapstrip i.you::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.gbpwrap .gbpphone .lst { padding: 12px 12px 14px; }
.gbpwrap .gbpphone .top { display: flex; gap: 10px; align-items: flex-start; }
.gbpwrap .gbpphone .av { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--gb), #4F8DF5); overflow: hidden; }
.gbpwrap .gbpphone .av.pic { background: #fff; border: 1px solid #DADCE0; }
.gbpwrap .gbpphone .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gbpwrap .gbpphone .top b { display: block; font-size: 15px; font-weight: 600; color: #202124; line-height: 1.25; }
.gbpwrap .gbpphone .top > div > span { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #3C4043; margin-top: 2px; }
.gbpwrap .gbpphone .top .gbpstars { width: 60px; height: 11px; background-size: 12px 11px; }
.gbpwrap .gbpphone .top .gbpstars span { background-size: 12px 11px; }
.gbpwrap .gbpphone .top .open { color: var(--ggreen); font-weight: 600; }
.gbpwrap .gbpphone .top .shut { color: var(--gred); font-weight: 600; }
.gbpwrap .gbpphone .btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.gbpwrap .gbpphone .b { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; color: var(--gb); font-weight: 500; }
.gbpwrap .gbpphone .b .c { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gbsoft); color: var(--gb); }
.gbpwrap .gbpphone .b .c .lic { width: 18px; height: 18px; }
.gbpwrap .gbpphone .b em { position: absolute; top: -8px; right: -16px; min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--gb); color: #fff;
  font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.3; box-shadow: 0 0 0 2px #fff; font-variant-numeric: tabular-nums; }
.gbpwrap .gbpcap { margin: 14px 0 0; text-align: center; }
.gbpwrap .gbpjourney { display: flex; flex-direction: column; }
.gbpwrap .gbpbig { display: flex; align-items: baseline; gap: 14px; margin: 2px 0 16px; }
.gbpwrap .gbpbig > b { font-family: var(--ad-display); font-size: 52px; line-height: 1; color: var(--gb); font-weight: 400; }
.gbpwrap .gbpbig > span { font-size: 14px; color: #3C4043; line-height: 1.45; max-width: 420px; }
.gbpwrap .gbpsteps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.gbpwrap .gbpsteps li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 10px; }
.gbpwrap .gbpsteps .lab { font-size: 13.5px; font-weight: 600; color: #202124; }
.gbpwrap .gbpsteps .num { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: #202124; }
.gbpwrap .gbpsteps .bar { grid-column: 1 / -1; display: flex; height: 14px; border-radius: 8px; background: #F1F3F4; overflow: hidden; }
.gbpwrap .gbpsteps .bar i { display: block; height: 100%; }
.gbpwrap .gbpsteps .bar i.s, .gbpwrap .gbpsteps .dot.s { background: var(--gb); }
.gbpwrap .gbpsteps .bar i.m, .gbpwrap .gbpsteps .dot.m { background: #34A853; }
.gbpwrap .gbpsteps .bar i.a { background: #F29900; border-radius: 8px; }
.gbpwrap .gbpsteps .tiny { grid-column: 1 / -1; }
.gbpwrap .gbpsteps .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.gbpwrap .gbpways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.gbpwrap .gbpways .w { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 14px; border: 1px solid #ECEDEF; background: #FBFCFE; color: inherit;
  text-decoration: none; transition: border-color .15s, background .15s; }
.gbpwrap .gbpways .w:hover { border-color: var(--gb); background: #fff; }
.gbpwrap .gbpways .c { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gbsoft); color: var(--gb); margin-bottom: 4px; }
.gbpwrap .gbpways .c .lic { width: 17px; height: 17px; }
.gbpwrap .gbpways b { font-size: 22px; font-weight: 700; color: #202124; font-variant-numeric: tabular-nums; }
.gbpwrap .gbpways > a > span:not(.c) { font-size: 12.5px; color: #3C4043; }
.gbpwrap .gbpways .gadelta { align-self: flex-start; margin-top: 4px; }
.gbpwrap .gbpbusy { padding: 3px 10px; border-radius: 999px; background: var(--gbsoft); color: var(--gb); font-size: 12px; font-weight: 700; }
.gbpwrap .gbpweek2 .col i { background: #C6DAFC; }
.gbpwrap .gbpweek2 .pk .col i { background: var(--gb); }
.gbpwrap .gbpweek2 .pk b, .gbpwrap .gbpweek2 .pk > span:last-child { color: var(--gb); font-weight: 700; }
.gbpwrap .gbpchips { display: flex; flex-wrap: wrap; gap: 8px; }
.gbpwrap .gbpchips .ch { display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 12px; border-radius: 999px; border: 1px solid #DADCE0; background: #fff;
  font-size: 13px; color: #202124; }
.gbpwrap .gbpchips .ch .lic { width: 13px; height: 13px; color: #9AA0A6; }
.gbpwrap .gbpchips .ch b { padding: 1px 8px; border-radius: 999px; background: #F1F3F4; font-size: 11.5px; color: #3C4043; font-variant-numeric: tabular-nums; }
.gbpwrap .gbpchips .ch.top { border-color: var(--gb); background: var(--gbsoft); }
.gbpwrap .gbpchips .ch.top b { background: var(--gb); color: #fff; }
.gbpwrap .gbphealth { display: flex; gap: 18px; align-items: flex-start; }
.gbpwrap .gbpring { flex: none; position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--ggreen) calc(var(--p) * 1%), #E8EAED 0); }
.gbpwrap .gbpring::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.gbpwrap .gbpring b { position: relative; z-index: 1; font-size: 22px; font-weight: 700; color: #202124; }
.gbpwrap .gbphealth .gbpcheck:first-of-type { border-top: 1px solid #F0EBE5; }
@media (max-width: 980px) { .gbpwrap .gbphero { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .gbpwrap .gbpbig > b { font-size: 40px; }
  .gbpwrap .gbpways { grid-template-columns: 1fr; }
  .gbpwrap .gbpways .w { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 2px 10px; }
  .gbpwrap .gbpways .c { grid-row: span 2; margin: 0; }
  }
@media (prefers-reduced-motion: reduce) { .gbpwrap a.gbpact, .gbpwrap .gbpact .ring { transition: none; } }
@media (max-width: 760px) {
  .gbpwrap .gbpkp, .gbpwrap .gbptabs + .gbpkp { padding: 20px 16px 14px; }
  .gbpwrap .gbpkp-top { flex-wrap: wrap; gap: 14px; }
  .gbpwrap .gbpkp-av { width: 52px; height: 52px; font-size: 18px; border-radius: 14px; }
  .gbpwrap .gbpkp-id { flex-basis: calc(100% - 66px); }
  .gbpwrap .gbpkp-id h2 { font-size: 20px; }
  .gbpwrap .gbpkp-when { text-align: left; }
  .gbpwrap .gbpacts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .gbpwrap .gbpact .n { font-size: 20px; }
  .gbpwrap .gbppacks { grid-template-columns: 1fr; }
}

/* ---------- Reputation Manager, the SEO / AIO look with its own content (2026-10-13) ----------
   Jeremy: "the aesthetic needs to match but the things we show don't ... more user friendly".
   Same header, sub-tabs and cards as SEO / AIO (.gahead, .citsub, .gacard); everything new is
   scoped to .repwrap so the other pages are untouched. */
.repwrap { --rgold: #F2A516; --rgreen: #2E8B57; --rred: #C2410C; }
.repwrap .repnote { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px;
  background: #FFF6E6; border: 1px solid #F5DDB0; font-size: 13.5px; line-height: 1.5; color: #5A4520; }
.repwrap .repnote .lic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #B26B00; }
.repwrap .repnote b { display: block; color: #3F2C10; }
.repwrap .gasample { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #F3EFEA; color: #6B655E; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
/* Stars: gold, drawn as one strip so part-stars show. */
.repwrap .repstars { position: relative; display: inline-block; width: 74px; height: 14px; vertical-align: -1px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 14'%3E%3Cpath fill='%23E4DED6' d='M7.5 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5L3 13.6l1-5L.3 5.2l5-.6z'/%3E%3C/svg%3E") 0 0 / 14.8px 14px repeat-x; }
.repwrap .repstars span { position: absolute; inset: 0 auto 0 0; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 14'%3E%3Cpath fill='%23F2A516' d='M7.5 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5L3 13.6l1-5L.3 5.2l5-.6z'/%3E%3C/svg%3E") 0 0 / 14.8px 14px repeat-x; }
.repwrap .repstars.big { width: 116px; height: 22px; background-size: 23.2px 22px; }
.repwrap .repstars.big span { background-size: 23.2px 22px; }
/* Header: the score on the left, the figures on the right. */
.repwrap .rephead { margin-bottom: 0; }
.repwrap .repscore { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; }
.repwrap .repscore b { font-family: var(--ad-display); font-size: 46px; line-height: 1; font-weight: 400; color: var(--ad-navy); }
.repwrap .rephead .gakpi .tiny { font-size: 11.5px; }
.repwrap .repmeter { display: block; height: 6px; border-radius: 4px; background: #F1EEEA; overflow: hidden; }
.repwrap .repmeter i { display: block; height: 100%; border-radius: 4px; background: var(--rgreen); }
.repwrap a.repwait { color: inherit; text-decoration: none; transition: background .15s; }
.repwrap a.repwait:hover { background: #FAF6F1; }
.repwrap a.repwait.due { background: #FFF8EF; }
.repwrap a.repwait.due:hover { background: #FFF1DE; }
.repwrap a.repwait.due .n { color: var(--ad-warn); }
.repwrap .citsub .ct { margin-left: 2px; }
.repwrap .gasum .ic { background: #FFF3E0; }
/* Overview: star split. */
.repwrap .repgrid { align-items: stretch; }
.repwrap .repsplit { display: flex; gap: 22px; align-items: center; }
.repwrap .repsplit .big { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 110px; }
.repwrap .repsplit .big b { font-family: var(--ad-display); font-size: 54px; line-height: 1; font-weight: 400; color: var(--ad-navy); }
.repwrap .repbars { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.repwrap .repbars a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 38px; align-items: center; gap: 10px; padding: 3px 6px; border-radius: 8px;
  color: inherit; text-decoration: none; font-size: 13px; }
.repwrap .repbars a:hover { background: #FAF6F1; }
.repwrap .repbars .k { font-weight: 700; color: #3F3A35; white-space: nowrap; }
.repwrap .repbars .k span { color: var(--rgold); }
.repwrap .repbars .bar { height: 10px; border-radius: 6px; background: #F1EEEA; }
.repwrap .repbars .bar i { border-radius: 6px; background: var(--rgold); }
.repwrap .repbars .bar.s2 i, .repwrap .repbars .bar.s1 i { background: #E0874A; }
.repwrap .repbars .c { text-align: right; font-variant-numeric: tabular-nums; color: #55504B; }
.repwrap .repfb { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #F0EBE5; }
.repwrap .repfb .ring { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--rgreen) calc(var(--p) * 1%), #ECE7E1 0); }
.repwrap .repfb .ring b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12.5px; color: var(--ad-ink); }
.repwrap .repfb > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
/* Overview: the reply queue. */
.repwrap .repqueue { list-style: none; margin: 0; padding: 0; }
.repwrap .repqueue li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid #F0EBE5; }
.repwrap .repqueue li:first-child { border-top: 0; padding-top: 2px; }
.repwrap .repqueue .rq { flex: 1; min-width: 0; }
.repwrap .repqueue .rqtop { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.repwrap .repqueue .rqtop b { font-size: 14px; color: var(--ad-ink); }
.repwrap .repqueue p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: #4A453F; }
.repwrap .repqueue .btn { flex: none; align-self: center; border-radius: 999px; }
.repwrap .citempty { border: 0; box-shadow: none; padding: 22px 16px; }
/* Overview: month by month. */
.repwrap .replegend { display: flex; gap: 14px; font-size: 12.5px; color: #4A453F; }
.repwrap .replegend span { display: inline-flex; align-items: center; gap: 6px; }
.repwrap .replegend i { width: 10px; height: 10px; border-radius: 3px; }
.repwrap .replegend i.g, .repwrap .repmonths i.g { background: var(--ad-navy); }
.repwrap .replegend i.f, .repwrap .repmonths i.f { background: var(--ad-orange); }
.repwrap .repmonths { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: end; }
.repwrap .repmonths .mo { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.repwrap .repmonths .v { font-size: 12.5px; font-weight: 700; color: var(--ad-ink); font-variant-numeric: tabular-nums; min-height: 16px; }
.repwrap .repmonths .col { display: flex; flex-direction: column-reverse; width: 100%; max-width: 38px; height: 140px; border-radius: 6px 6px 0 0; overflow: hidden; }
.repwrap .repmonths .col i { display: block; width: 100%; }
.repwrap .repmonths .lb { font-size: 12px; color: #6B655E; }
.repwrap .repmonths .av { font-size: 11px; color: #B26B00; white-space: nowrap; }
/* Overview: tips. */
.repwrap .reptipgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.repwrap .reptipgrid > div { padding: 14px 16px; border-radius: 12px; background: #FAF7F3; }
.repwrap .reptipgrid .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-bottom: 8px;
  background: var(--ad-navy); color: #fff; font-size: 12px; font-weight: 700; }
.repwrap .reptipgrid b { display: block; font-size: 14px; color: var(--ad-ink); }
.repwrap .reptipgrid p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #55504B; }
/* Reviews: filters as rounded pills. */
.repwrap .repfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid #F0EBE5; }
.repwrap .reppills { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: #F3EFEA; }
.repwrap .reppills a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #6B655E; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.repwrap .reppills a:hover { color: var(--ad-ink); }
.repwrap .reppills a.on { background: var(--ad-navy); color: #fff; }
.repwrap .reppills .ct { min-width: 18px; padding: 1px 6px; border-radius: 999px; background: #FDF0E8; color: var(--ad-warn); font-size: 11px; text-align: center; }
.repwrap .reppills a.on .ct { background: var(--ad-orange); color: #fff; }
/* Reviews: each one. */
.repwrap .replist { display: grid; }
.repwrap .represt { padding: 16px 0; border-top: 1px solid #F0EBE5; scroll-margin-top: 90px; }
.repwrap .represt:first-child { border-top: 0; }
.repwrap .represt.lit { animation: replit 2.2s ease-out; }
@keyframes replit { 0%, 40% { background: #FFF3E0; } 100% { background: transparent; } }
.repwrap .represt-hd { display: flex; align-items: flex-start; gap: 12px; }
.repwrap .repav { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px; }
.repwrap .represt .who { flex: 1; min-width: 0; }
.repwrap .represt .who > b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ad-ink); overflow-wrap: anywhere; }
.repwrap .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; font-size: 12.5px; color: #6B655E; }
.repwrap .repsite { padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.repwrap .repsite.g { background: #EEF2F8; color: #2F4F7F; }
.repwrap .repsite.fb { background: #F0EEF8; color: #4A3F8C; }
.repwrap .reprec { font-size: 12.5px; font-weight: 700; }
.repwrap .reprec.yes { color: var(--rgreen); }
.repwrap .reprec.no { color: var(--rred); }
.repwrap .repneed { flex: none; }
.repwrap .represt .txt { margin: 10px 0 0 52px; font-size: 14.5px; line-height: 1.6; color: #3F3A35; }
.repwrap .repreply { margin: 12px 0 0 52px; padding: 12px 14px; border-radius: 12px; background: #FAF7F3; border-left: 3px solid var(--ad-orange); }
.repwrap .repreply .l { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A5300; }
.repwrap .repreply p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #3F3A35; }
.repwrap .revedit { margin: 12px 0 0 52px; }
.repwrap .revedit > summary.btn { border-radius: 999px; }
.repwrap .revedit .composer { margin-top: 10px; padding: 14px; border: 1px solid #E6E2DA; border-radius: 12px; }
.repwrap .revedit .composer textarea { border-radius: 10px; }
.repwrap .revedit .composer .btn, .repwrap .revdel .btn { border-radius: 999px; }
.repwrap .revdel { margin-top: 8px; }
.repwrap .repstart { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.repwrap .repchip { padding: 5px 11px; border-radius: 999px; border: 1px solid #E6DFD6; background: #fff; font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--ad-navy); cursor: pointer; }
.repwrap .repchip:hover { border-color: var(--ad-orange); background: #FFF8EF; }
.repwrap fieldset:disabled .repchip { opacity: .5; cursor: default; }
/* Profile on Google. */
.repwrap .repperfs { list-style: none; margin: 0; padding: 0; }
.repwrap .repperfs li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #F0EBE5; }
.repwrap .repperfs li:first-child { border-top: 0; padding-top: 2px; }
.repwrap .repperfs .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #FFF3E0; color: var(--ad-orange-hi); }
.repwrap .repperfs .ic .lic { width: 17px; height: 17px; }
.repwrap .repperfs .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.repwrap .repperfs .nm b { font-size: 14px; color: var(--ad-ink); }
.repwrap .repperfs .v { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.repwrap .repperfs .v b { font-family: var(--ad-display); font-size: 26px; font-weight: 400; line-height: 1; color: var(--ad-ink); }
.repwrap .gapages .bar { height: 6px; border-radius: 4px; background: #F1EEEA; }
.repwrap .gapages .bar i { border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .repwrap .reppills a, .repwrap a.repwait { transition: none; } .repwrap .represt.lit { animation: none; } }
@media (max-width: 1280px) { .repwrap .reptipgrid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .repwrap .repscore b { font-size: 38px; }
  .repwrap .repsplit { flex-direction: column; align-items: stretch; gap: 14px; }
  .repwrap .repmonths { gap: 3px; }
  .repwrap .repmonths .av { display: none; }
  .repwrap .repmonths .v, .repwrap .repmonths .lb { font-size: 10.5px; }
  .repwrap .repqueue li { flex-wrap: wrap; }
  .repwrap .repqueue .rq { flex-basis: calc(100% - 52px); }
  .repwrap .repqueue .btn { margin-left: 52px; align-self: flex-start; }
  .repwrap .repfilters, .repwrap .reppills { width: 100%; }
  .repwrap .reppills a { flex: 1 1 auto; justify-content: center; padding: 7px 8px; }
  .repwrap .represt-hd { flex-wrap: wrap; row-gap: 8px; }
  .repwrap .represt .who { flex-basis: calc(100% - 52px); }
  .repwrap .repneed { order: 3; margin-left: 52px; }
  .repwrap .represt .txt, .repwrap .repreply, .repwrap .revedit { margin-left: 0; }
}
/* Reputation Manager, livelier front (2026-10-13, Jeremy: "more vibrant and social like"):
   a bold score card with the review sites' marks and the newest reviewers' faces, and a wall of
   the latest reviews as quote cards. Still scoped to .repwrap. */
.repwrap .rephero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch;
  padding: 26px 26px 24px; color: #fff; border-radius: var(--ad-radius) var(--ad-radius) 0 0; overflow: hidden; box-shadow: var(--citsh);
  background: radial-gradient(circle at 92% 8%, rgba(242,165,22,.45), transparent 42%), radial-gradient(circle at 4% 120%, rgba(232,104,52,.40), transparent 48%),
    linear-gradient(135deg, #0B2A45 0%, #123A60 60%, #0B2A45 100%); }
.repwrap .rephero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%); mask-image: linear-gradient(100deg, transparent 35%, #000 100%); }
.repwrap .rephero > * { position: relative; z-index: 1; }
.repwrap .rephero .l { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #F7C46C; }
.repwrap .rephero .gasample { background: rgba(255,255,255,.14); color: #fff; }
.repwrap .rh-score .big { display: flex; align-items: center; gap: 16px; margin: 8px 0 14px; }
.repwrap .rh-score .big > b { font-family: var(--ad-display); font-size: 84px; line-height: .9; font-weight: 400; color: #fff; text-shadow: 0 4px 24px rgba(242,165,22,.35); }
.repwrap .rh-score .big > div { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255,255,255,.75); }
.repwrap .rh-score .repstars.big { width: 140px; height: 26px; background-size: 28px 26px; filter: drop-shadow(0 2px 6px rgba(242,165,22,.45)); }
.repwrap .rh-score .repstars.big span { background-size: 28px 26px; }
.repwrap .rh-score .rh-yes { font-size: 18px; font-weight: 700; color: #7EE2A8; }
.repwrap .rh-faces { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.8); }
.repwrap .rh-faces b { color: #fff; }
.repwrap .rh-faces .stack { display: flex; }
.repwrap .rh-faces .repav { width: 34px; height: 34px; font-size: 14px; border: 2px solid #123A60; margin-left: -9px; }
.repwrap .rh-faces .repav:first-child { margin-left: 0; }
.repwrap .rh-sites { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.repwrap .rh-site { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: background .15s, transform .15s; }
.repwrap .rh-site:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.repwrap .rh-site .lg { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.repwrap .rh-site .lg svg { width: 22px; height: 22px; }
.repwrap .rh-site .t { display: flex; flex-direction: column; gap: 1px; }
.repwrap .rh-site .t b { font-size: 18px; color: #fff; }
.repwrap .rh-site .t span { font-size: 12.5px; color: rgba(255,255,255,.72); }
.repwrap .rh-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.repwrap .rh-stat { position: relative; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.repwrap .rh-stat .l { color: rgba(255,255,255,.7); letter-spacing: .1em; }
.repwrap .rh-stat b { display: block; margin-top: 4px; font-family: var(--ad-display); font-size: 32px; font-weight: 400; line-height: 1; color: #fff; }
.repwrap .rh-stat .citip { position: absolute; top: 10px; right: 10px; width: 15px; height: 15px; font-size: 9.5px; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.4); }
.repwrap .rh-stat .repmeter { margin-top: 8px; background: rgba(255,255,255,.18); }
.repwrap .rh-stat .repmeter i { background: #7EE2A8; }
.repwrap .rh-cta { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(126,226,168,.16); border: 1px solid rgba(126,226,168,.35); color: #fff; text-decoration: none; font-size: 13.5px; transition: transform .15s, box-shadow .15s; }
.repwrap .rh-cta b { font-family: var(--ad-display); font-size: 32px; font-weight: 400; line-height: 1; }
.repwrap .rh-cta.due { background: linear-gradient(135deg, #F2A516, #E8743A); border-color: transparent; box-shadow: 0 8px 22px rgba(232,116,58,.35); }
.repwrap .rh-cta.due:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(232,116,58,.45); }
.repwrap .rh-cta .go { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: #fff; color: #B24A12; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.repwrap .rh-cta .go .lic { width: 14px; height: 14px; }
.repwrap .rh-when { position: absolute; right: 18px; bottom: 6px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,.55); }
.repwrap .rh-when .lic { width: 12px; height: 12px; }
.repwrap .rephero + .citsub { border-top: 0; }
/* The review sites' marks, small. */
.repwrap .replogo { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #ECE7E1; flex: none; }
.repwrap .replogo svg { width: 13px; height: 13px; }
.repwrap .replogo .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* The wall of latest reviews. */
.repwrap .repwallwrap { padding: 0; }
.repwrap .repwallwrap > .gacardhd { margin-bottom: 12px; }
.repwrap .repwall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.repwrap .repq { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 16px; border-radius: 18px; background: #fff;
  border: 1px solid #EEE7DE; box-shadow: 0 1px 2px rgba(4,24,40,.04), 0 10px 28px rgba(4,24,40,.07); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.repwrap .repq:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(4,24,40,.05), 0 16px 36px rgba(4,24,40,.11); }
.repwrap .repq::before { content: "\201C"; position: absolute; right: 46px; top: -14px; font-family: Georgia, serif; font-size: 110px; line-height: 1; color: var(--tint); opacity: .12; }
.repwrap .repq::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--tint); }
.repwrap .repq .qhd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.repwrap .repq .qtx { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.6; color: #2E2A26; }
.repwrap .repq .qft { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid #F3EEE8; }
.repwrap .repq .qft .repav { width: 34px; height: 34px; font-size: 14px; }
.repwrap .repq .qwho { text-align: left; align-items: flex-start; flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12px; color: #6B655E; }
.repwrap .repq .qwho b { font-size: 13.5px; color: var(--ad-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repwrap .repq .qreply { padding: 6px 14px; border-radius: 999px; background: var(--ad-orange); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.repwrap .repq .qreply:hover { background: #E07A00; }
.repwrap .repq .qdone { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--rgreen); }
.repwrap .repq .qdone .lic { width: 14px; height: 14px; }
.repwrap .repq.lead { grid-column: span 2; padding: 26px 28px 20px; color: #fff; border: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.22), transparent 45%), linear-gradient(140deg, #F2A516 0%, #E8743A 100%); }
.repwrap .repq.lead::after { display: none; }
.repwrap .repq.lead::before { color: #fff; opacity: .25; font-size: 180px; top: -24px; right: 56px; }
.repwrap .repq.lead .qtx { font-size: 21px; line-height: 1.5; font-weight: 500; color: #fff; }
.repwrap .repq.lead .repstars { width: 116px; height: 22px; background-size: 23.2px 22px; filter: brightness(0) invert(1) opacity(.35); }
.repwrap .repq.lead .repstars span { background-size: 23.2px 22px; filter: brightness(0) invert(1); }
.repwrap .repq.lead .reprec.yes { color: #fff; }
.repwrap .repq.lead .qft { border-top-color: rgba(255,255,255,.3); }
.repwrap .repq.lead .qwho, .repwrap .repq.lead .qwho b { color: #fff; }
.repwrap .repq.lead .qft .repav { box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.repwrap .repq.lead .qreply { background: #fff; color: #B24A12; }
.repwrap .repq.lead .qdone { color: #fff; }
.repwrap .repq.lead .qhd .replogo { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .repwrap .repq, .repwrap .rh-site, .repwrap .rh-cta { transition: none; } }
@media (max-width: 1280px) {
  .repwrap .rephero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .repwrap .rh-stats { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 2fr; }
  .repwrap .rh-cta { grid-column: auto; }
  .repwrap .repwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .repwrap .rephero { grid-template-columns: 1fr; padding: 20px 16px 26px; gap: 16px; }
  .repwrap .rh-score .big > b { font-size: 64px; }
  .repwrap .rh-stats { grid-template-columns: 1fr 1fr; }
  .repwrap .rh-cta { grid-column: 1 / -1; grid-template-columns: auto 1fr; }
  .repwrap .rh-cta .go { grid-column: 1 / -1; justify-self: start; }
  .repwrap .repwall { grid-template-columns: 1fr; }
  .repwrap .repq.lead { grid-column: auto; padding: 22px 20px 18px; }
  .repwrap .repq.lead .qtx { font-size: 17px; }
}

/* ---------- Chart axis labels at their real size (2026-10-13) ----------
   Jeremy: the side numbers and bottom dates were stretched wide and pale. On
   .gachart.is-ax (from _ga_charts.php's $line and $axes) the labels are HTML:
   figures in a fixed 48px margin, dates placed by percentage under the plot.
   Charts without .is-ax are unchanged. */
.gachart.is-ax { padding-left: 48px; }
.gachart.is-ax .gaax { position: absolute; top: 0; right: 0; bottom: 0; left: 48px; height: var(--h, 260px); pointer-events: none; }
.gaax span { position: absolute; font: 500 12px/1 var(--ad-body); color: #5B6472; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gaax .y { right: 100%; margin-right: 8px; transform: translateY(-50%); }
.gaax .x { bottom: 6px; transform: translateX(-50%); }
.gaax .x.start { transform: none; }
.gaax .x.end { transform: translateX(-100%); }
.gaax .x.close { display: none; }
@media (max-width: 760px) {
  .gachart.is-ax { padding-left: 40px; }
  .gachart.is-ax .gaax { left: 40px; }
  .gaax span { font-size: 11px; }
  .gaax .x.alt:not(.end) { display: none; }
  .gaax .x.near { display: none; }
}


/* ---------- Sub-tabs on top of the header card: shared .citsub.subtop (2026-10-13) ----------
   Jeremy (Paid Advertising thread): "do this across the board". The sub-tabs
   sit above the date label and figures, and the two read as one card: the
   tabs have the rounded top and a light line under them, the header (.gahead
   or .cithead) the rounded bottom; each half's shadow is clipped where they
   meet; the figures get more room above them. Still sticky. Same result as
   Paid Advertising's .adsx .citsub.adssubtop (report.css), which is unchanged.
   Use: <nav class="citsub subtop"> directly before the header. */
.citwrap .citsub.subtop { margin: 0; border: 1px solid var(--citedge, #E6E2DA); border-bottom: 1px solid #F1ECE6;
  border-radius: var(--ad-radius) var(--ad-radius) 0 0; clip-path: inset(-30px -30px 0 -30px); }
.citwrap .citsub.subtop + .gahead, .citwrap .citsub.subtop + .cithead { margin-top: 0; margin-bottom: 16px; padding-top: 28px;
  border: 1px solid var(--citedge, #E6E2DA); border-top: 0; border-radius: 0 0 var(--ad-radius) var(--ad-radius); clip-path: inset(0 -30px -30px -30px); }
.citwrap .citsub.subtop + .gahead + .citpane, .citwrap .citsub.subtop + .cithead + .citpane { margin-top: 0; }
@media (max-width: 760px) {
  .citwrap .citsub.subtop + .gahead, .citwrap .citsub.subtop + .cithead { padding-top: 20px; }
}
/* Reputation Manager, clearer order (2026-10-14, Jeremy: "kinda don't know what to do ... feels messy"):
   the header shows the score and three figures; the Overview runs to-do first, then the latest
   reviews, the ratings per site, and the trend, each under a plain heading. */
.repwrap .rephero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; }
.repwrap .rh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.repwrap .rh-stat { padding: 16px 16px 14px; }
.repwrap .rh-stat b { font-size: 40px; margin-top: 6px; }
.repwrap .rh-stat .sub { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.repwrap .rh-stat .sub .replogo { width: 18px; height: 18px; box-shadow: none; }
.repwrap .rh-stat .sub .replogo + * , .repwrap .rh-stat .sub .replogo ~ .replogo { margin-left: 4px; }
.repwrap .rh-stat .repmeter { margin-top: 12px; }
/* 1. To-do. */
.repwrap .reptodo { padding: 20px 22px; border-radius: var(--ad-radius); background: #fff; border: 1px solid #F3D9B5; box-shadow: var(--citsh);
  border-left: 5px solid var(--ad-orange); }
.repwrap .reptodo .hd { display: flex; align-items: center; gap: 16px; }
.repwrap .reptodo .hd > div { flex: 1; min-width: 0; }
.repwrap .reptodo .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #FFF3E0; color: var(--ad-orange-hi); }
.repwrap .reptodo .ic .lic { width: 22px; height: 22px; }
.repwrap .reptodo h3, .repwrap .repsechd h3 { margin: 0; font-family: var(--ad-display); font-size: 26px; line-height: 1.15; font-weight: 400; color: var(--ad-navy);
  letter-spacing: 0; text-transform: none; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.repwrap .reptodo p, .repwrap .repsechd p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #55504B; }
.repwrap .reptodo .hd .btn { flex: none; border-radius: 999px; }
.repwrap .reptodo .repqueue { margin-top: 16px; padding-top: 4px; border-top: 1px solid #F3EEE8; }
.repwrap .reptodo .repqueue li:first-child { padding-top: 12px; }
.repwrap .reptodo.done { border-color: #CFE8D9; border-left-color: var(--rgreen); }
.repwrap .reptodo.done .ic { background: #EDF7F1; color: var(--rgreen); }
/* Section headings. */
.repwrap .repsec { display: grid; gap: 12px; }
.repwrap .repsechd { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 6px 2px 0; }
.repwrap .repsechd h3 { font-size: 22px; }
.repwrap .repwall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.repwrap .gacardhd h4 .replogo { width: 24px; height: 24px; }
.repwrap .gacardhd h4 .replogo svg { width: 15px; height: 15px; }
.repwrap a.repfb { margin: 0; padding: 4px 0 0; border-top: 0; color: inherit; text-decoration: none; }
.repwrap a.repfb .ring { width: 96px; height: 96px; }
.repwrap a.repfb .ring b { width: 76px; height: 76px; font-family: var(--ad-display); font-size: 28px; font-weight: 400; }
.repwrap a.repfb > div b { font-size: 18px; color: var(--ad-ink); }
.repwrap a.repfb:hover > div b { color: var(--ad-orange-hi); }
.repwrap .repsplit .big { min-width: 120px; }
@media (max-width: 1280px) {
  .repwrap .rephero { grid-template-columns: 1fr; }
  .repwrap .rh-stats { grid-column: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .repwrap .repwall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) { .repwrap .repwall { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .repwrap .rh-stats { grid-template-columns: 1fr 1fr; }
  .repwrap .rh-stat:first-child { grid-column: 1 / -1; }
  .repwrap .rh-stat b { font-size: 32px; }
  .repwrap .reptodo { padding: 16px; }
  .repwrap .reptodo .hd { flex-wrap: wrap; }
  .repwrap .reptodo .ic { display: none; }
  .repwrap .reptodo .hd .btn { width: 100%; text-align: center; }
  .repwrap .reptodo h3 { font-size: 22px; }
}
/* Reputation Manager: a Facebook "recommends" whose words read as a complaint (2026-10-14). */
.repwrap .reprec.warn { color: #B26B00; }
.repwrap .repq.lead .reprec.warn { color: #fff; }

/* ---------- Onboarding: the call on top, a head start below (2026-10-16) ----------
   The first thing a new partner sees of the dashboard, drawn to the standard of
   Reputation and Billing. The hero band IS the call (date and countdown, or a
   way to book); under it, with no scrolling, four things to get ahead on. Not
   steps: no numbers, no ticks in a row. Before the call only Onboarding and
   Support open (CallGate). */
.nav.prelaunch > a:not(.open) { opacity: .4; }
.nav-prelaunch {
  margin: 4px 14px 14px; padding: 10px 12px; font-size: 12px; line-height: 1.45;
  color: #C9D1D9; border: 1px solid rgba(255,255,255,.12); border-radius: var(--ad-radius-sm);
}
.ob-page { --obsh: var(--citsh, 0 1px 2px rgba(4,24,40,.04), 0 6px 20px rgba(4,24,40,.05)); }

/* the band: a short welcome, so the call card and the cards sit high */
.ob-hub { padding-bottom: 30px; }
.ob-hub .hero-h { font-size: 52px; }

/* the call, in the score-card style from Reputation */
.ob-step1 {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px; align-items: center; padding: 30px 32px; margin-bottom: 30px; color: #fff;
  border-radius: var(--ad-radius); box-shadow: var(--obsh);
  background: radial-gradient(circle at 92% 8%, rgba(242,165,22,.45), transparent 42%),
    radial-gradient(circle at 4% 120%, rgba(232,104,52,.40), transparent 48%),
    linear-gradient(135deg, #0B2A45 0%, #123A60 60%, #0B2A45 100%);
}
.ob-step1.is-solo { grid-template-columns: 1fr; }
.ob-step1::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%); mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
}
.ob-step1 > * { position: relative; z-index: 1; }
.ob-k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F7C46C; }
.ob-step1 h2 {
  margin: 10px 0 10px; font-family: var(--ad-display); font-weight: 400; font-size: 48px;
  line-height: .95; letter-spacing: -.6px; text-transform: uppercase;
}
.ob-lead { margin: 0 0 20px; font-size: 15px; color: rgba(255,255,255,.78); max-width: 46ch; }
.ob-step1.is-solo .ob-lead { margin-bottom: 0; }
.ob-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-acts form { margin: 0; }
.ob-step1 .btn { display: inline-flex; align-items: center; gap: 8px; }
.ob-step1 .btn.ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.ob-step1 .btn.ghost:hover { background: #fff; color: var(--ad-navy); }
.ob-count { display: grid; grid-template-columns: repeat(3, minmax(0, 104px)); gap: 10px; }
.ob-count > div { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.ob-count b {
  display: block; font-family: var(--ad-display); font-weight: 400; font-size: 46px; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 4px 24px rgba(242,165,22,.35);
}
.ob-count span { display: block; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ob-step1-side { padding: 20px 22px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.ob-step1-side ul { list-style: none; margin: 10px 0 0; padding: 0; }
.ob-step1-side li { padding: 10px 0; }
.ob-step1-side li + li { border-top: 1px solid rgba(255,255,255,.12); }
.ob-step1-side b { display: block; font-size: 14px; }
.ob-step1-side li span { display: block; font-size: 13px; color: rgba(255,255,255,.7); margin-top: 2px; }

/* the stage, built as the Overview's (overview.css), with no dock under it */
.obwrap .hmstage { padding-bottom: 24px; }
.obwrap .hmlights { margin-top: 26px; }
.ob-stageacts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.ob-stageacts .hmneedpill { margin-top: 0; text-decoration: none; }
.ob-stageacts form { margin: 0; }
.ob-ghostpill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; transition: background .15s ease;
}
.ob-ghostpill:hover { background: rgba(255,255,255,.16); }
.hmwrap .ob-ghostpill { animation: hmrise .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
.hmwrap.hmseen .ob-ghostpill { animation: none; }
/* the stage's buttons: the dashboard's standard .btn, evenly padded (Jeremy, 2026-10-16) */
.ob-stageacts .btn.ob-stagebtn { margin: 0; padding: 12px 20px; gap: 10px; }
.ob-stageacts .ob-stagebtn .lic { width: 15px; height: 15px; margin: 0; }
.ob-stageacts .btn.ob-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.ob-stageacts .btn.ob-ghost:hover { background: #fff; color: var(--ad-navy); }
.ob-stageacts .btn.is-clear { background: transparent; border-color: rgba(47,213,146,.4); color: #7BEDBE; }
.hmwrap .ob-stagebtn { animation: hmrise .8s .24s cubic-bezier(.2, .7, .2, 1) both; }
.hmwrap.hmseen .ob-stagebtn { animation: none; }

/* the countdown as a clock: one strip, orange colons, seconds ticking (Jeremy, 2026-10-16: "could look better") */
.ob-clock {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; padding: 18px 20px 16px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(circle at 50% 0%, rgba(255,153,0,.16), transparent 70%), rgba(255,255,255,.04);
}
.ob-clock > div { flex: 1; text-align: center; }
.ob-clock b {
  display: block; font-family: var(--ad-display); font-weight: 400; font-size: 64px; line-height: .9; color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 6px 30px rgba(255,153,0,.28);
}
.ob-clock span { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB0C2; }
.ob-clock i { font-style: normal; font-family: var(--ad-display); font-size: 48px; line-height: 1.1; color: var(--ad-orange); opacity: .85; }
.ob-clock-when { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13.5px; font-weight: 600; color: #DCE3EA; }
.ob-clock-when .lic { width: 16px; height: 16px; color: var(--ad-orange); }
.ob-clock-when a { margin-left: auto; color: #F7C46C; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ob-clock-when a:hover { color: #fff; }
.ob-clock-when { flex-wrap: wrap; }
@media (max-width: 520px) {
  .ob-clock { padding: 14px 10px 12px; }
  .ob-clock b { font-size: 44px; }
  .ob-clock i { font-size: 34px; }
  .ob-clock span { font-size: 9.5px; letter-spacing: .08em; }
}

/* where you are: bigger (Jeremy, 2026-10-16: "font looks small") */
.hmwrap.obwrap .hmlightshd { font-size: 12px; }
.hmwrap.obwrap .hmlight, .hmwrap.obwrap .hmlight.on { font-size: 16.5px; gap: 10px; }
.hmwrap.obwrap .hmlight small { font-size: 12px; }
.hmwrap.obwrap .hmlight .dot { width: 10px; height: 10px; }
.hmwrap.obwrap .hmlightrow { gap: 14px 40px; }

/* what we'll need: a card per area, a row per item, colour and real logos (Jeremy, 2026-10-16) */
.ob-needgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.ob-ncard {
  --hue: var(--ad-orange-hi); --tint: #FFF3E0;
  padding: 20px 22px 18px; background: #fff; border: 1px solid var(--citedge, #E6E2DA); border-radius: 16px;
  box-shadow: var(--citsh); border-top: 3px solid var(--hue);
}
.ob-ncard.hue-green  { --hue: #1F9D63; --tint: #E3F5EC; }
.ob-ncard.hue-blue   { --hue: #2D6FE0; --tint: #E7EFFD; }
.ob-ncard.hue-orange { --hue: #E07C00; --tint: #FFF1DC; }
.ob-ncard.hue-purple { --hue: #7552D9; --tint: #EFEAFC; }
.ob-nhd { display: flex; align-items: center; gap: 12px; }
.ob-nhd h3 { flex: 1; margin: 0; font-size: 16px; font-weight: 700; color: var(--ad-navy); letter-spacing: 0; text-transform: none; font-family: var(--ad-body); }
.ob-nic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--hue); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--hue) 30%, transparent); }
.ob-nic .lic { width: 20px; height: 20px; }
.ob-nmore { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ad-navy); text-decoration: none; white-space: nowrap; }
.ob-nmore .lic { width: 14px; height: 14px; transition: transform .15s; }
.ob-nmore:hover .lic { transform: translateX(3px); }
.ob-nline { margin: 10px 0 12px; font-size: 13.5px; color: #55606C; }
.ob-nrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ob-nrows a {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 16px; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 12px; background: #F7F8FA; color: var(--ad-ink); text-decoration: none; transition: background .15s;
}
.ob-nrows a:hover { background: var(--tint); }
.ob-nrows a > .lic { width: 16px; height: 16px; color: #8A93A0; transition: transform .15s; }
.ob-nrows a:hover > .lic { transform: translateX(3px); color: var(--hue); }
.ob-nri { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--tint); color: var(--hue); }
.ob-nri .lic { width: 18px; height: 18px; }
.ob-nri .brandic { width: 22px; height: 22px; display: block; }
.ob-nri:has(.brandic) { background: #fff; border: 1px solid #E6E2DA; }
.ob-nri .duo { position: relative; width: 26px; height: 26px; }
.ob-nri .duo .brandic { position: absolute; width: 19px; height: 19px; }
.ob-nri .duo .brandic:first-child { left: 0; top: 0; }
.ob-nri .duo .brandic.ig { right: 0; bottom: 0; box-shadow: 0 0 0 2px #fff; border-radius: 6px; }
.ob-nwho { display: flex; flex-direction: column; min-width: 0; }
.ob-nwho b { font-size: 14px; color: var(--ad-navy); }
.ob-nwho span { font-size: 12.5px; color: #6B7480; }
.ob-npill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #EAEEF3; color: #4A5562; white-space: nowrap; }
.ob-npill.is-add { background: var(--tint); color: var(--hue); }
.ob-npill.is-ok { background: #E3F5EC; color: #1F9D63; }
@media (max-width: 980px) { .ob-needgrid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .ob-ncard { padding: 18px 16px 16px; }
  .ob-nrows a { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 9px 10px; }
  .ob-nrows a > .lic { display: none; }
  .ob-nri { width: 34px; height: 34px; }
}
.obwrap .ob-panel { padding: 22px; }
.ob-panel-k { display: block; margin-bottom: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F7C46C; }
.ob-panel .ob-count { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ob-panel .ob-count b { font-size: 56px; }
.ob-panel-cal { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.ob-panel-cal b { display: block; font-size: 17px; color: #fff; }
.ob-panel-cal span { display: block; font-size: 13px; color: #B7C3CF; margin-top: 2px; }
.ob-panel-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,153,0,.16); color: var(--ad-orange); }
.ob-panel-ic .lic { width: 22px; height: 22px; }
.ob-expect { list-style: none; margin: 16px 0 0; padding: 0; }
.ob-expect li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.10); }
.ob-expect b { display: block; font-size: 14px; color: #fff; }
.ob-expect span { display: block; margin-top: 2px; font-size: 13px; color: #B7C3CF; }

/* what we'll need, under the stage */
.ob-need { margin-top: 34px; scroll-margin-top: 80px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ob-chips span { padding: 3px 9px; border-radius: 999px; background: #F6F2ED; color: #6B645A; font-size: 11.5px; font-weight: 600; }
.ob-tile-go { display: inline-flex; align-items: center; gap: 6px; }
.ob-tile-go .lic { width: 14px; height: 14px; transition: transform .15s ease; }
.ob-tile:hover .ob-tile-go .lic { transform: translateX(3px); }

/* a head start while you wait */
.ob-wait-hd { margin: 0 0 16px; }
.ob-wait-hd h2 {
  margin: 0 0 6px; font-family: var(--ad-display); font-weight: 400; font-size: 30px;
  line-height: 1; letter-spacing: -.3px; text-transform: uppercase;
}
.ob-wait-hd p { margin: 0; font-size: 14.5px; color: #55504B; max-width: 66ch; }
.ob-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.ob-tile {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; min-width: 0;
  background: #fff; border: 1px solid var(--citedge, #E6E2DA); border-radius: var(--ad-radius);
  box-shadow: var(--obsh); text-decoration: none; color: var(--ad-ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ob-tile:hover { transform: translateY(-2px); border-color: #F2C98A; box-shadow: 0 10px 28px rgba(4,24,40,.10); }
.ob-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ob-tile b { font-family: var(--ad-display); font-weight: 400; font-size: 22px; line-height: 1; text-transform: uppercase; }
.ob-tile-p { flex: 1; font-size: 13.5px; color: #55504B; }
.ob-tile-go { margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-orange-hi); }
.ob-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  padding: 4px 9px; border-radius: var(--ad-radius-pill); background: #F3EFEA; color: #6B645A;
}
.ob-tile.is-part .ob-tag { background: #FFF3E0; color: #B25E00; }
.ob-tile.is-done .ob-tag { background: #E7F4EC; color: var(--ad-ok); }
.ob-ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #FFF3E0, #FFE6C2); color: var(--ad-orange-hi);
}

/* the way back, on Business Details and Files & Uploads before the call */
.content:has(> .ob-return) { position: relative; }
.ob-return {
  position: absolute; z-index: 3; top: 22px; right: 30px; display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 8px 14px; border-radius: var(--ad-radius-pill); background: #fff; border: 1px solid var(--citedge, #E6E2DA);
  box-shadow: var(--citsh); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ad-navy); text-decoration: none;
}
.ob-return:hover { border-color: var(--ad-orange); }
@media (max-width: 640px) { .ob-return { top: 12px; right: 16px; } }

/* Payment Details and Connect Your Accounts, in the Billing and Citations parts */
.ob-bill .billcc.ob-cc {
  background: linear-gradient(135deg, #0B2A45 0%, #123A60 60%, #23517F 100%);
  box-shadow: 0 12px 30px rgba(4,24,40,.25);
}
.ob-bill .billcc.ob-cc .brand { font-size: 18px; letter-spacing: .08em; opacity: .9; }
.ob-cit .citrow { grid-template-columns: 240px minmax(0, 1fr) 130px; padding: 18px 6px; align-items: start; }
.ob-cit .citrow .site { align-items: flex-start; }
.ob-cit .citrow .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ob-cit .citmeta span { display: block; white-space: normal; }
@media (max-width: 760px) {
  .ob-cit .citrow { grid-template-columns: 1fr; }
  .ob-cit .citrow .fields { grid-template-columns: 1fr; }
}

/* a page opened from a card */
.ob-hero { padding-bottom: 40px; }
.ob-back { display: inline-block; margin-bottom: 14px; font-size: 13px; color: #9FACB8; text-decoration: none; }
.ob-back:hover { color: #fff; }
.ob-backbar {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 12px 20px;
  border-radius: var(--ad-radius-pill); background: var(--ad-navy); color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ob-backbar:hover { background: var(--ad-navy-ink); }
.ob-book {
  margin: 0 0 22px; padding: 8px; background: #fff; border: 1px solid var(--citedge, #E6E2DA);
  border-radius: var(--ad-radius); box-shadow: var(--obsh);
}

.ob-prep { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 20px; }
.ob-card {
  padding: 22px 22px 18px; background: #fff; border: 1px solid var(--citedge, #E6E2DA);
  border-radius: var(--ad-radius); box-shadow: var(--obsh);
}
.ob-card-hd { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ob-card-hd h3 { flex: 1; margin: 0; font-family: var(--ad-display); font-weight: 400; font-size: 22px; line-height: 1; text-transform: uppercase; }
.ob-note { margin: 0 0 12px; font-size: 13.5px; color: #55504B; }
.ob-checks { list-style: none; margin: 0; padding: 0; }
.ob-checks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid #F1ECE6; font-size: 13.5px; }
.ob-checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--ad-ok); background: #E7F4EC;
}
.ob-checks b { font-weight: 600; }
.ob-checks li span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ad-gray); }

.ob-ready {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  padding: 18px 22px; margin-bottom: 20px; background: #fff; border: 1px solid var(--citedge, #E6E2DA);
  border-radius: var(--ad-radius); box-shadow: var(--obsh);
}
.ob-ready b { display: block; font-size: 15px; }
.ob-ready div span { display: block; font-size: 13.5px; color: var(--ad-gray); margin-top: 2px; }
.ob-ready form { margin: 0; }
.ob-ready.is-ready { justify-content: flex-start; background: #F3FAF6; border-color: #CFE9DA; }
.ob-ready-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ad-ok); color: #fff; font-weight: 700; }

/* Connect your accounts, in the onboarding cards' style (Jeremy, 2026-10-16: "styled poorly") */
.ob-ncard.hue-fb     { --hue: #1877F2; --tint: #E8F1FE; }
.ob-ncard.hue-google { --hue: #1A73E8; --tint: #E8F0FD; }
.ob-acc { display: grid; gap: 18px; margin-bottom: 22px; }
.ob-acc-intro { margin: 0; font-size: 14.5px; color: #55606C; }
.ob-acchd { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ob-acclogo { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid #E6E2DA; color: var(--hue); }
.ob-acclogo .brandic { width: 28px; height: 28px; display: block; }
.ob-acclogo .lic { width: 24px; height: 24px; }
.ob-acclogo .duo { position: relative; width: 32px; height: 32px; }
.ob-acclogo .duo .brandic { position: absolute; width: 23px; height: 23px; }
.ob-acclogo .duo .brandic:first-child { left: 0; top: 0; }
.ob-acclogo .duo .brandic.ig { right: 0; bottom: 0; box-shadow: 0 0 0 2px #fff; border-radius: 7px; }
.ob-acct { flex: 1; min-width: 0; }
.ob-acct h3 { margin: 0; font-family: var(--ad-body); font-size: 17px; font-weight: 700; color: var(--ad-navy); letter-spacing: 0; text-transform: none; }
.ob-acct p { margin: 3px 0 0; font-size: 13.5px; color: #55606C; }
.ob-acchd .ob-npill { background: var(--tint); color: var(--hue); }
.ob-accitems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ob-accitems li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #F7F8FA; }
.ob-acc-tip { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid #E6E2DA; font-size: 14px; color: var(--ad-navy); }
.ob-acc-tip .lic { flex: none; width: 18px; height: 18px; color: var(--ad-orange-hi); }
@media (max-width: 760px) {
  .ob-accitems { grid-template-columns: 1fr; }
  .ob-acchd { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 6px 12px; }
  .ob-acclogo { width: 44px; height: 44px; }
  .ob-acchd .ob-npill { grid-column: 2; justify-self: start; }
}

/* "Got it, I'll have these ready": a navy accent card, as the call card */
.ob-ready {
  color: #fff; border: 0; padding: 22px 26px;
  background: radial-gradient(circle at 92% 0%, rgba(242,165,22,.30), transparent 45%), linear-gradient(135deg, #0B2A45 0%, #123A60 70%, #0B2A45 100%);
  box-shadow: 0 14px 34px rgba(4,24,40,.22);
}
.ob-ready b { font-size: 16px; color: #fff; }
.ob-ready div span { color: #B7C3CF; }
.ob-ready.is-ready { background: linear-gradient(135deg, #0F5A3B, #1F9D63); }
.ob-ready.is-ready div span { color: #D5F1E3; }
.ob-ready-ic { background: #fff; color: #1F9D63; }

.ob-page .stepcard { border: 1px solid var(--citedge, #E6E2DA); border-radius: var(--ad-radius); box-shadow: var(--obsh); overflow: hidden; margin-bottom: 20px; }
.ob-page .stepcard > .hd { padding: 22px 24px 0; }
.ob-page .stepcard > .hd .t h3 { font-size: 22px; font-weight: 400; }
.ob-page .stepcard > .bd { padding: 18px 24px 24px; }

.ob-help { font-size: 13.5px; color: var(--ad-gray); }
.ob-staff {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 10px 14px; margin-top: 28px; font-size: 12.5px;
  border: 1px dashed #C9C1B6; border-radius: var(--ad-radius-sm); background: #fff;
}
.ob-staff-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-gray); }
.ob-staff-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ob-staff-row label { color: var(--ad-gray); }
.ob-staff-row input { padding: 6px 8px; border: 1px solid var(--ad-line); border-radius: 6px; font: inherit; }

@media (max-width: 1180px) {
  .ob-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ob-hub .hero-h { font-size: 40px; }
  .ob-step1 { grid-template-columns: 1fr; padding: 26px 22px; }
  .ob-step1 h2 { font-size: 36px; }
}
@media (max-width: 640px) {
  .ob-tiles { grid-template-columns: 1fr; }
  .ob-count { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .ob-count b { font-size: 38px; }
}

/* ==========================================================================
   Service page bands (design audit #5 and #6, Jeremy OK'd the mockup 2026-10-16:
   https://claude.ai/artifact/X46Pd7c9djTVRP1qRSGpBQ). Each page opens on its own
   data inside the navy band, laid out for that data; none uses Overview's layout.
   ========================================================================== */
/* The tabs cut into the bottom of the band: the open one is the page colour, so it
   reads as the front of a folder. The glow is a background here, not ::after, so the
   band need not clip (the date pop-up hangs out of it). */
.svband { overflow: visible; padding-bottom: 0;
  background: radial-gradient(circle at calc(100% + 40px) -40px, rgba(255,130,9,.28), rgba(255,153,0,0) 340px), var(--ad-navy-ink); }
.svband::after { display: none; }
.hero.svband:not(:has(.hero-figs)) { padding-bottom: 0; }
.tabs.seotabs.svtabs { position: relative; z-index: 1; width: auto; margin: 30px 0 0; padding: 0; gap: 4px; background: none; border: 0; border-radius: 0; }
.tabs.seotabs.svtabs a:not(.citbuybtn) { padding: 13px 20px 14px; border-radius: 14px 14px 0 0; color: #C9D3DD; background: none; box-shadow: none; }
.tabs.seotabs.svtabs a:not(.citbuybtn):hover { color: #fff; background: rgba(255,255,255,.06); }
.tabs.seotabs.svtabs a.on:not(.citbuybtn) { color: var(--ad-navy); background: var(--ad-paper); box-shadow: none; }
.svband + .seopreview, .svband + .warnband { margin-top: 0; }

/* SEO / AIO › Google Analytics: title and dates on one line, then the five figures. */
.svrow { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 28px; }
.svrow .hero-in { max-width: none; }
.svrow .garangebar { margin: 0; }
.svband .garange summary { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.svband .garange summary .dates, .svband .garange summary .chev { color: #C9D3DD; }
.svband .garange summary:hover { background: rgba(255,255,255,.10); }
.svband .garpop { color: var(--ad-ink); }
.seopulse { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.seopulse .sp { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 18px 20px 4px; border-left: 1px solid rgba(255,255,255,.12); }
.seopulse .sp:first-child { border-left: 0; padding-left: 0; }
.seopulse .hd { display: inline-flex; align-items: center; gap: 6px; }
.seopulse .l { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FACB8; }
.seopulse .citip { border-color: rgba(255,255,255,.28); color: #9FACB8; }
.seopulse .n { font-family: var(--ad-display); font-size: 42px; line-height: .95; letter-spacing: -.5px; color: #fff; }
.seopulse .none { margin-top: 10px; font-size: 15px; font-weight: 600; color: #9FACB8; }
.seopulse .was { font-size: 12.5px; color: #9FACB8; }
.svband .sp .gadelta.up { background: rgba(124,217,165,.14); color: #8FE3B4; }
.svband .sp .gadelta.down { background: rgba(255,176,138,.14); color: #FFB894; }
.svband .sp .gadelta.flat { background: rgba(255,255,255,.08); color: #C9D3DD; }
.svspark { display: block; width: 100%; height: 30px; overflow: visible; }
.svspark polyline { fill: none; stroke: var(--ad-orange); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.svspark circle { fill: var(--ad-orange); }
.svwhen { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 0; font-size: 12.5px; color: #9FACB8; }
.svwhen .lic { width: 14px; height: 14px; }
.svwhen .gastale { margin: 0; }
/* The sub-views under the band: a row of pills, still sticky, still switching in place. */
.citwrap .citsub.svsub { margin: 22px 0 16px; padding: 12px 14px; gap: 8px; border: 0; border-radius: 18px; background: var(--ad-paper); }  /* 2026-10-26: room around the pills (Jeremy: "Almost touches") */
.citwrap .citsub.svsub { flex-wrap: wrap; overflow: visible; }
.citsub.svsub a { padding: 8px 15px; border: 1px solid #E6E2DA; border-radius: 999px; background: #fff; color: #55504B; }
.citsub.svsub a:hover { border-color: #CFC8BF; }
.citsub.svsub a.on { background: var(--ad-navy-ink); border-color: var(--ad-navy-ink); color: #fff; }
.citsub.svsub a.on .lic { color: var(--ad-orange); }
.citsub.svsub + .citpane { margin-top: 0; }

@media (max-width: 1100px) {
  .seopulse { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seopulse .sp:nth-child(4) { border-left: 0; padding-left: 0; }
  .seopulse .sp:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 860px) {
  .svband { padding-bottom: 0; }
  .tabs.seotabs.svtabs { margin-top: 22px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs.seotabs.svtabs a:not(.citbuybtn) { padding: 12px 12px 13px; }
}
@media (max-width: 640px) {
  .seopulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seopulse .sp, .seopulse .sp:nth-child(4) { border-left: 0; padding: 14px 14px 4px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .seopulse .sp:nth-child(-n+2) { border-top: 0; }
  .seopulse .sp:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.08); }
  .seopulse .n { font-size: 34px; }
  .svrow .garangebar { width: 100%; justify-content: flex-start; }
}

/* Business Profile: a band with a faint street-map pattern, and the listing card docked on
   its bottom edge, so the page opens on the listing as Google shows it. */
.hero.svband.gbpband:not(:has(.hero-figs)) { padding-bottom: 104px; }
.svband.gbpband {
  background:
    linear-gradient(28deg, transparent 47%, rgba(255,255,255,.045) 47.5% 48.6%, transparent 49%) 0 0 / 340px 210px,
    linear-gradient(-58deg, transparent 47%, rgba(255,255,255,.035) 47.5% 49%, transparent 49.5%) 40px 0 / 280px 190px,
    linear-gradient(90deg, transparent 0 87px, rgba(255,255,255,.03) 87px 88px) 0 0 / 88px 88px,
    linear-gradient(0deg, transparent 0 87px, rgba(255,255,255,.03) 87px 88px) 0 0 / 88px 88px,
    radial-gradient(circle at calc(100% + 40px) -40px, rgba(255,130,9,.26), rgba(255,153,0,0) 340px),
    var(--ad-navy-ink); }
.gbpwrap .gbpkp.svdock { position: relative; z-index: 3; margin: -84px 24px 0; border-color: #E6E2DA; box-shadow: 0 16px 36px rgba(4,24,40,.14); }
.gbpwrap .citsub.svsub.gbptabs { margin: 22px 0 16px; border: 0; border-radius: 18px; clip-path: none; }
.gbpwrap .citsub.svsub.gbptabs a { padding: 8px 15px; border: 1px solid #E6E2DA; border-radius: 999px; font-size: 13px; font-weight: 600; color: #55504B; }
.gbpwrap .citsub.svsub.gbptabs a.on { color: #fff; background: var(--ad-navy-ink); border-color: var(--ad-navy-ink); border-bottom-width: 1px; }
.gbpwrap .citsub.svsub.gbptabs a.on .lic { color: var(--ad-orange); }
.gbpwrap .citsub.svsub + .seopreview, .gbpwrap .citsub.svsub + .gbpnote { margin-top: 0; }
@media (max-width: 860px) {
  .hero.svband.gbpband:not(:has(.hero-figs)) { padding-bottom: 92px; }
  .gbpwrap .gbpkp.svdock { margin: -72px 0 0; }
  .gbpwrap .gbpkp.svdock .gbpacts { overflow-x: auto; grid-template-columns: repeat(5, minmax(76px, 1fr)); scrollbar-width: none; }
}

/* Warm greys out (audit #6) on SEO / AIO › Google Analytics and SEO Reporting, Business
   Profile and Reputation: chips, bar tracks and buttons take a cool light grey, and the
   cream sample note becomes white with the crisp edge Citations uses. Citations itself is
   left as it is (Jeremy's reference page). */
.gawrap .gadelta.flat, .repwrap .gadelta.flat, .gawrap .gasample, .repwrap .gasample,
.gawrap .gach .bar, .gawrap .garow .bar, .gawrap .bar, .gawrap .gastack, .gawrap .garank .pos.low,
.gawrap .calnav button, .gawrap .gbpm.na, .gbpwrap .gbpmeter, .repwrap .repmeter, .repwrap .repbars .bar,
.repwrap .gapages .bar, .repwrap .reppills, .gawrap .citsub .ct, .repwrap .citsub .ct { background: #EEF1F5; }
.gawrap .calg button:hover:not([disabled]), .gbpwrap a.gakpi:hover { background: #EEF1F5; }
.gbpwrap .gbpnote { background: #fff; border-color: #E6E2DA; color: #3F3A35; }
.gbpwrap .gbpnote b { color: var(--ad-navy-ink); }
.gbpwrap .gatable tr.gbpyou td { background: #F2F6FC; }
/* Titles in these bands sit beside the dates, so they run a size down. */
.svband .svrow .hero-h { font-size: 54px; }
@media (max-width: 860px) { .svband .svrow .hero-h { font-size: 40px; } }

/* Reputation: the score card is the band (no plain title band above it). It keeps the look
   Jeremy liked: the gradient, the dots, the big score, the three figure tiles. */
.repwrap .rephero.svrep { margin: -28px -30px 22px; padding: 26px 30px 0; border-radius: 0; box-shadow: none; row-gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.repwrap .svrep .rh-title { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-right: 200px; }
.repwrap .svrep .rh-title .eyebrow { margin: 0; color: var(--ad-orange); }
.repwrap .svrep .rh-title h1 { margin: 0; font-family: var(--ad-display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -.2px; color: #fff; text-transform: uppercase; }
.repwrap .svrep .rh-score .big > b { font-size: 104px; }
.repwrap .svrep .rh-when { top: 30px; right: 30px; bottom: auto; }
.repwrap .reptabs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; padding: 12px 0 16px; border-top: 1px solid rgba(255,255,255,.12); }
.repwrap .reptabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,.82); text-decoration: none; transition: background .15s, color .15s; }
.repwrap .reptabs a .lic { width: 16px; height: 16px; color: rgba(255,255,255,.6); }
.repwrap .reptabs a:hover { background: rgba(255,255,255,.08); color: #fff; }
.repwrap .reptabs a.on { background: #fff; color: var(--ad-navy-ink); }
.repwrap .reptabs a.on .lic { color: var(--ad-orange-hi); }
.repwrap .reptabs a:focus-visible { outline: 2px solid var(--ad-orange); outline-offset: 2px; }
.repwrap .reptabs .ct { min-width: 20px; padding: 1px 7px; border-radius: 999px; font-size: 11px; text-align: center; background: var(--ad-orange-hi); color: #fff; }
.repwrap .rephero.svrep + .repnote { margin-top: 0; }
@media (max-width: 1280px) { .repwrap .rephero.svrep { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .repwrap .rephero.svrep { margin: -28px -30px 20px; padding: 24px 26px 0; }
  .repwrap .svrep .rh-title { padding-right: 0; }
  .repwrap .svrep .rh-title h1 { font-size: 30px; }
  .repwrap .svrep .rh-when { position: static; }
  .repwrap .svrep .rh-score .big > b { font-size: 84px; }
}
.repwrap .repnote { background: #fff; border-color: #E6E2DA; color: #3F3A35; }
.repwrap .repnote b { color: var(--ad-navy-ink); }

/* ---------- Call picker (2026-10-16) ----------
   Our own day-and-time picker for booking a call (Support and Onboarding),
   in the dashboard's card style: white panel, crisp edge, navy and orange. */
.cpick {
  margin: 0 0 22px; padding: 22px 24px 20px; background: #fff; border: 1px solid var(--citedge, #E6E2DA);
  border-radius: 16px; box-shadow: var(--citsh, 0 1px 2px rgba(4,24,40,.04), 0 6px 20px rgba(4,24,40,.05));
}
.cpick-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #EEF0F3; }
.cpick-k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ad-orange-hi); }
.cpick-hd h2 { margin: 6px 0 4px; font-family: var(--ad-display); font-weight: 400; font-size: 32px; line-height: 1; text-transform: uppercase; color: var(--ad-navy); }
.cpick-hd p { margin: 0; font-size: 14px; color: #55606C; max-width: 56ch; }
.cpick-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cpick-facts li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #F3F5F8; font-size: 12.5px; font-weight: 600; color: var(--ad-navy); }
.cpick-facts li.is-next { background: #E3F5EC; color: #1F9D63; }
.cpick-facts .lic { width: 15px; height: 15px; }
.cpick-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 18px 0 6px; }
.cpick-cal { max-width: 420px; }
.cpick-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cpick-month b { font-size: 15px; color: var(--ad-navy); }
.cpick-month button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E6E2DA; background: #fff; font-size: 18px; line-height: 1; color: var(--ad-navy); cursor: pointer; }
.cpick-month button:disabled { opacity: .35; cursor: default; }
.cpick-dow, .cpick-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 2px; text-align: center; max-width: 420px; }
.cpick-dow span { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #8A93A0; padding: 4px 0; }
.cpick-days { transition: opacity .15s; }
.cpick-days.is-loading { opacity: .4; }
.cpick-days button { justify-self: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font: inherit; font-size: 14px; color: #B5BCC6; }
.cpick-days button.on { background: #FFF3E0; color: var(--ad-navy); font-weight: 700; cursor: pointer; }
.cpick-days button.on:hover { background: #FFE3B8; }
.cpick-days button.sel { background: var(--ad-orange); color: #16110B; }
.cpick-days button.today { box-shadow: inset 0 0 0 1px #C9D1D9; }
.cpick-times > b { display: block; font-size: 15px; color: var(--ad-navy); }
.cpick-tz { display: block; margin: 2px 0 12px; font-size: 12.5px; color: #6B7480; }
.cpick-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 280px; overflow-y: auto; }
.cpick-slots button { padding: 11px 10px; border-radius: 12px; border: 1px solid #E6E2DA; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ad-navy); cursor: pointer; }
.cpick-slots button:hover { border-color: var(--ad-orange); }
.cpick-slots button.sel { background: var(--ad-navy); border-color: var(--ad-navy); color: #fff; }
.cpick-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 0 4px; border-top: 1px solid #EEF0F3; margin-top: 12px; }
.cpick-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ad-navy); }
.cpick-form label.wide { grid-column: 1 / -1; }
.cpick-form em { font-style: normal; font-weight: 400; color: #8A93A0; }
.cpick-form input, .cpick-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #DCE0E6; border-radius: 10px; font: inherit; font-size: 14px; color: var(--ad-ink); background: #fff; }
.cpick-form input:focus, .cpick-form textarea:focus { outline: 2px solid rgba(255,153,0,.35); border-color: var(--ad-orange); }
.cpick-ft { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; }
.cpick-chosen { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ad-navy); }
.cpick-chosen .lic { width: 18px; height: 18px; color: var(--ad-orange-hi); }
.cpick-ft .btn:disabled { opacity: .45; }
.cpick-msg { margin: 10px 0 0; font-size: 13.5px; color: #55606C; min-height: 0; }
.cpick-msg:empty { display: none; }
.cpick-msg.is-bad { color: #B3261E; }
@media (max-width: 860px) {
  .cpick { padding: 18px 16px; }
  .cpick-body { grid-template-columns: 1fr; gap: 18px; }
  .cpick-form { grid-template-columns: 1fr; }
  .cpick-ft { flex-direction: column; align-items: stretch; }
  .cpick-ft .btn { justify-content: center; }
  .cpick-hd h2 { font-size: 26px; }
}
/* the picker as a dialog, behind "Book a call" on Support (Jeremy, 2026-10-16) */
.cpick-modal .modal-card { width: min(860px, calc(100% - 32px)); padding: 0; border-radius: 18px; }
.cpick-modal .cpick { margin: 0; border: 0; box-shadow: none; border-radius: 18px; }
.cpick-modal .cpick-hd { position: relative; padding-right: 44px; }
.cpick-modal .cpick-x { position: absolute; top: -6px; right: -8px; }
.suphero button.supcall { font: inherit; color: #fff; background: none; cursor: pointer; text-align: left; }
@media (max-width: 560px) { .cpick-modal .modal-card { width: calc(100% - 20px); } }

/* ---------- Onboarding v3 (Jeremy OK'd the mockup, 2026-10-16) ----------
   Motion in the header (drifting light, a sweep along its edge, a track that
   fills up to today), kinder wording, tighter spacing, and two panels in place
   of the four cards: "Get ahead now" and "Have these handy for the call". */
.obwrap .hmstage { padding-bottom: 30px; }
.ob-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ob-aura i { position: absolute; border-radius: 50%; filter: blur(80px); }
.ob-aura i:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -220px; background: #FF8209; opacity: .26; animation: obdrift 16s ease-in-out infinite alternate; }
.ob-aura i:nth-child(2) { width: 600px; height: 600px; right: -200px; top: -120px; background: #1E5BB8; opacity: .38; animation: obdrift 20s ease-in-out -6s infinite alternate-reverse; }
.ob-aura i:nth-child(3) { width: 300px; height: 300px; left: 42%; top: 40%; background: #FF9900; opacity: .12; animation: obdrift 24s ease-in-out -10s infinite alternate; }
@keyframes obdrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.12); } 100% { transform: translate(-40px, 20px) scale(.92); } }
.ob-sweep { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; background: rgba(255,255,255,.06); }
.ob-sweep::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, #FF9900, transparent); animation: obsweep 4.5s ease-in-out infinite; }
@keyframes obsweep { from { left: -30%; } to { left: 100%; } }

.obwrap .hmmain { gap: 40px; align-items: center; }
.obwrap .hmhello h1 { margin: 2px 0 14px; }
.obwrap .ob-stageacts { margin-top: 20px; }
.obwrap .ob-panel { padding: 20px 22px 16px; }
.obwrap .ob-clock { padding: 16px 18px 14px; }
.ob-clock b.tick { animation: obtick .5s ease-out; }
@keyframes obtick { from { opacity: .35; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.obwrap .ob-clock-when { margin-top: 10px; }
.obwrap .ob-expect { margin-top: 12px; }
.obwrap .ob-expect li { padding: 9px 0; }

.ob-track { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.ob-track-k { display: block; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ad-orange); }
.ob-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ob-steps::before { content: ""; position: absolute; left: 9px; right: 25%; top: 9px; height: 2px; background: rgba(255,255,255,.14); }
.ob-fill { position: absolute; left: 9px; top: 9px; height: 2px; width: calc(var(--at, 1) * 25%); background: linear-gradient(90deg, #2FD592, #FF9900); overflow: hidden; }
.ob-fill::after { content: ""; position: absolute; top: -2px; bottom: -2px; width: 40px; background: radial-gradient(closest-side, #fff, transparent); animation: obrun 2.4s linear infinite; }
@keyframes obrun { from { left: -40px; } to { left: 100%; } }
.ob-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding-right: 16px; }
.ob-step i { width: 20px; height: 20px; margin-bottom: 8px; border-radius: 50%; background: #0B1C2E; border: 2px solid rgba(255,255,255,.3); }
.ob-step.done i { background: #2FD592; border-color: #2FD592; }
.ob-step.now i { background: #FF9900; border-color: #FF9900; animation: obping 2s ease-out infinite; }
@keyframes obping { 0% { box-shadow: 0 0 0 0 rgba(255,153,0,.55); } 100% { box-shadow: 0 0 0 14px rgba(255,153,0,0); } }
.ob-step b { font-size: 16px; font-weight: 600; color: #fff; }
.ob-step small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7F8FA3; }
.ob-step.done small { color: #2FD592; }
.ob-step.now small { color: #FF9900; }

.obwrap .ob-need { margin-top: 30px; }
.obwrap .ob-wait-hd h2 { font-size: 32px; }
.obwrap .ob-wait-hd p { margin-bottom: 18px; font-size: 15px; max-width: none; }
.ob-panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 22px; }
.ob-panels:has(> .ob-pnl:only-child) { grid-template-columns: minmax(0, 1fr); }
.ob-pnl { padding: 22px 24px; border-radius: 18px; }
.ob-pnl.light { background: #fff; border: 1px solid #E6E2DA; box-shadow: var(--citsh); }
.ob-pnl.dark { color: #fff; background: radial-gradient(circle at 95% 0%, rgba(242,165,22,.28), transparent 42%), linear-gradient(140deg, #0B2A45 0%, #123A60 65%, #0E3152 100%); box-shadow: 0 16px 36px rgba(4,24,40,.22); }
.ob-pnlhd { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ob-pnlhd .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ob-pnl.light .ob-pnlhd .ic { background: #FF9900; color: #fff; box-shadow: 0 6px 16px rgba(255,153,0,.3); }
.ob-pnl.dark .ob-pnlhd .ic { background: rgba(255,255,255,.12); color: #F7C46C; }
.ob-pnlhd .ic .lic { width: 21px; height: 21px; }
.ob-pnlhd h3 { margin: 0; font-family: var(--ad-body); font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.ob-pnl.light .ob-pnlhd h3 { color: var(--ad-navy); }
.ob-pnl.dark .ob-pnlhd h3 { color: #fff; }
.ob-pnlhd .tag { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ob-pnl.light .tag { background: #FFF1DC; color: #B25E00; }
.ob-pnl.dark .tag { background: rgba(255,255,255,.12); color: #F7C46C; }
.ob-pnlsub { margin: 4px 0 14px 54px; font-size: 13.5px; color: #6B7480; }
.ob-pnl.dark .ob-pnlsub { color: #B7C3CF; }
.ob-pgroup { margin-top: 14px; }
.ob-pgroup > span { display: block; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A93A0; }
.ob-prows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ob-prows li > * { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.ob-pnl.light .ob-prows li > * { background: #F7F8FA; color: var(--ad-ink); transition: background .15s; }
.ob-pnl.light .ob-prows a:hover { background: #FFF3E0; }
.ob-pnl.dark .ob-prows li > * { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.ob-pri { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.ob-pnl.light .ob-pri { background: #FFF1DC; color: #E07C00; }
.ob-pnl.dark .ob-pri { background: #fff; color: #0B2A45; }
.ob-pri .lic { width: 18px; height: 18px; }
.ob-pri .brandic { width: 22px; height: 22px; display: block; }
.ob-pri .duo { position: relative; width: 26px; height: 26px; }
.ob-pri .duo .brandic { position: absolute; width: 19px; height: 19px; }
.ob-pri .duo .brandic:first-child { left: 0; top: 0; }
.ob-pri .duo .brandic.ig { right: 0; bottom: 0; box-shadow: 0 0 0 2px #fff; border-radius: 6px; }
.ob-pwho { display: flex; flex-direction: column; min-width: 0; }
.ob-pwho b { font-size: 14.5px; }
.ob-pnl.light .ob-pwho b { color: var(--ad-navy); }
.ob-pwho span { font-size: 12.5px; color: #6B7480; }
.ob-pnl.dark .ob-pwho span { color: #B7C3CF; }
.ob-ppill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ob-ppill.is-add { background: #FFF1DC; color: #B25E00; }
.ob-ppill.is-ok { background: #E3F5EC; color: #1F9D63; }
.ob-pnote { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #DCE3EA; }
.ob-pnote .lic { flex: none; width: 18px; height: 18px; color: #F7C46C; }
@media (max-width: 1100px) { .ob-panels { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ob-steps { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .ob-steps::before, .ob-fill { display: none; }
  .ob-pnlsub { margin-left: 0; }
  .ob-pnl { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-aura i, .ob-sweep::after, .ob-fill::after, .ob-step.now i, .ob-clock b.tick { animation: none; }
}

/* The countdown card's top (Jeremy, 2026-10-16: "I love 2 but ... the logo circle in the left corner ... and have the orange spinning") */
.obwrap .ob-strip {
  display: flex; align-items: center; gap: 14px; margin: -20px -22px 16px; padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,.1); border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  background: linear-gradient(90deg, rgba(255,153,0,.16), rgba(255,153,0,0) 70%);
}
.ob-strip > div { min-width: 0; }
.ob-strip b { display: block; font-size: 15px; color: #fff; }
.ob-strip > div span { display: block; font-size: 12.5px; color: #B7C3CF; }
.ob-badge {
  position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #163B60, #0A1F35); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.ob-badge::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent;
  border-top-color: #FF9900; border-right-color: rgba(255,153,0,.35); animation: obspin 3.5s linear infinite;
}
@keyframes obspin { to { transform: rotate(360deg); } }
/* The logo's mark only: the left part of the full logo. */
.ob-mark { display: block; width: 48px; height: 26px; overflow: hidden; }
.ob-mark img { display: block; height: 26px; width: auto; max-width: none; margin-left: -6.8px; }
.ob-booked { margin-left: auto; margin-right: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: #5BE3AA; background: rgba(47,213,146,.14); border: 1px solid rgba(47,213,146,.3); }
.ob-booked::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ob-booked.is-open { color: #F7C46C; background: rgba(247,196,108,.12); border-color: rgba(247,196,108,.3); }
@media (max-width: 520px) { .ob-booked { margin-right: 0; padding: 5px 10px; font-size: 11.5px; } }
/* numbers closer together */
.obwrap .ob-clock { justify-content: center; gap: 2px; }
.obwrap .ob-clock > div { flex: 0 0 auto; min-width: 82px; }
.obwrap .ob-clock i { margin: 0 2px; }
@media (max-width: 860px) {
  .hmwrap.obwrap .ob-panel { padding: 18px 16px 14px; }
  .hmwrap.obwrap .ob-strip { margin: -18px -16px 14px; padding: 12px 16px; }
}
@media (max-width: 520px) { .obwrap .ob-clock > div { min-width: 56px; } .ob-strip { gap: 10px; } .ob-badge { width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .ob-badge::before { animation: none; } }
/* The booking window, compact (Jeremy, 2026-10-16: "too big and gets cut off"):
   calendar, times and details side by side, the button always in view. */
.cpick-modal .modal-card { width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: hidden; display: flex; }
.cpick-modal .cpick { display: grid; grid-template-columns: 300px minmax(0, 210px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto;
  column-gap: 24px; padding: 18px 22px 16px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; }
.cpick-modal .cpick-hd { grid-column: 1 / -1; padding-bottom: 12px; align-items: center; }
.cpick-modal .cpick-hd h2 { font-size: 26px; margin: 4px 0 2px; }
.cpick-modal .cpick-hd p { font-size: 13px; }
.cpick-modal .cpick-facts { margin-right: 28px; }
.cpick-modal .cpick-facts li { padding: 5px 10px; font-size: 12px; }
.cpick-modal .cpick-body { display: contents; }
.cpick-modal .cpick-cal { grid-column: 1; padding-top: 14px; }
.cpick-modal .cpick-days button { width: 36px; height: 36px; font-size: 13px; }
.cpick-modal .cpick-dow, .cpick-modal .cpick-days { gap: 2px; }
.cpick-modal .cpick-times { grid-column: 2; padding-top: 14px; min-width: 0; }
.cpick-modal .cpick-slots { grid-template-columns: 1fr; max-height: 300px; gap: 6px; }
.cpick-modal .cpick-slots button { padding: 9px 10px; }
.cpick-modal .cpick-form { grid-column: 3; grid-row: 2; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 0; padding: 14px 0 0 24px; border-top: 0; border-left: 1px solid #EEF0F3; align-content: start; }
.cpick-modal .cpick-form label:first-child { grid-column: 1 / -1; }
.cpick-modal .cpick-form input, .cpick-modal .cpick-form textarea { padding: 8px 10px; font-size: 13.5px; }
.cpick-modal .cpick-form em { display: block; font-size: 11.5px; margin-top: 1px; }
.cpick-modal .cpick-form textarea { min-height: 54px; }
.cpick-modal .cpick-ft { grid-column: 1 / -1; position: sticky; bottom: -16px; margin: 12px -22px -16px; padding: 12px 22px 14px; background: #fff; border-top: 1px solid #EEF0F3; }
.cpick-modal .cpick-msg { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .cpick-modal .cpick { grid-template-columns: 1fr; grid-template-rows: none; }
  .cpick-modal .cpick-cal, .cpick-modal .cpick-times, .cpick-modal .cpick-form { grid-column: 1; grid-row: auto; }
  .cpick-modal .cpick-form { border-left: 0; padding-left: 0; border-top: 1px solid #EEF0F3; margin-top: 14px; }
  .cpick-modal .cpick-slots { grid-template-columns: repeat(2, 1fr); max-height: none; }
  .cpick-modal .cpick-cal { max-width: 360px; }
}
@media (max-width: 560px) { .cpick-modal .cpick-form { grid-template-columns: 1fr; } .cpick-modal .modal-card { max-height: calc(100vh - 20px); } }

/* 2026-10-26: an open date or compare menu in a page band sits above the card docked on the band's
   edge (.svdock, z-index 3) and the sticky tab row under it (.svsub, z-index 40), so none of its
   options are hidden. */
.svrow:has(details[open]) { z-index: 45; }

/* Demo industry picker (2026-11-10): staff bar, while viewing the sales demo. */
.viewbar .sb-demo { left: 0; width: 360px; }
.viewbar .sb-demo .sb-hn { font-size: 20px; }
.viewbar .sb-demo button.sb-row { width: 100%; border: 0; background: transparent; font: 500 14.5px var(--ad-body);
  text-align: left; cursor: pointer; }
.viewbar .sb-demo button.sb-row:hover, .viewbar .sb-demo button.sb-row:focus-visible { background: #F3F5F8; outline: none; }
@media (max-width: 900px) {
  .viewbar .sb-demo-btn .sb-lbl, .viewbar .sb-demo-btn .sb-ico:last-child { display: none; }
  .viewbar .sb-demo-btn { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
@media (max-width: 760px) {
  .viewbar .sb-demo-btn { width: 44px; height: 44px; border: 0; }
  .viewbar .sb-demo { width: auto; }
}

/* The sales demo's "Demo" tag in the staff bar's partner lists (2026-11-10): its name changes with the industry. */
.viewbar .sb-demotag { flex: none; margin-left: -4px; padding: 1px 7px; border-radius: 999px; background: #FFF1DC;
  color: #B45309; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Hiding the staff bar on the sales demo (2026-11-10). The way back is a pill at the top middle of the
   page, invisible until pointed at or tabbed to; it shows for a moment right after hiding, so staff
   learn where it is. */
.viewbar.is-hidden { display: none; }
.viewbar.is-hidden ~ .portal .toasts { top: 16px; }
.sb-reveal { display: none; }
.viewbar.is-hidden + .sb-reveal { display: block; position: fixed; top: 0; left: 50%; z-index: 95;
  transform: translateX(-50%); padding: 6px 16px 7px; border: 0; border-radius: 0 0 10px 10px;
  background: var(--ad-navy); box-shadow: inset 0 -2px 0 var(--ad-orange); color: #fff;
  font: 600 12.5px var(--ad-body); cursor: pointer; opacity: 0; transition: opacity .2s; }
.viewbar.is-hidden + .sb-reveal:hover, .viewbar.is-hidden + .sb-reveal:focus-visible,
.viewbar.is-hidden + .sb-reveal.is-hint { opacity: 1; outline: none; }
@media (max-width: 1280px) { .viewbar .sb-hide-btn .sb-lbl { display: none; } }

/* ==========================================================================
   One tab system (2026-11-11). Jeremy counted seven tab looks across the partner
   pages. Now there are two:
   1. Page tabs: the main sections of a page sit on the bottom edge of the navy
      band (.hero.svband > .tabs.seotabs.svtabs). The open tab is the page colour,
      so it reads as the front of a folder joined to what is under it. Paid
      Advertising's platform tabs are the same thing with the spend under each name.
   2. Sub-tabs: switches inside a page tab are the underlined row (.citsub): navy
      text, orange underline and icon on the open one, small count chips.
   Overview keeps its floating dock (its own unique piece, 16 Oct rule).
   Filters (an ad platform, a kind of file, unanswered reviews) are chips, not tabs.
   ========================================================================== */
.hero.svband:has(> .tabs.svtabs) { padding-bottom: 0; }
.tabs.seotabs.svtabs a .ct, .tabs.seotabs.svtabs a .fneedct { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px;
  border-radius: 999px; background: var(--ad-orange); color: #16110B; font-size: 11px; font-weight: 800; letter-spacing: 0; }
/* Reputation: its score card is the band, so the page tabs sit on that card's bottom edge. */
.repwrap .rephero > .tabs.svtabs { grid-column: 1 / -1; margin-top: 6px; padding: 0; border-top: 0; flex-wrap: nowrap; }
.repwrap .rephero > .tabs.svtabs a { border-radius: 14px 14px 0 0; font-size: 14.5px; font-weight: 700; }
.repwrap .rephero > .tabs.svtabs a .lic { color: var(--ad-orange-hi); }
.repwrap .rephero > .tabs.svtabs a:hover { background: rgba(255,255,255,.06); }
.repwrap .rephero > .tabs.svtabs a.on { background: var(--ad-paper); color: var(--ad-navy); }
/* Google Business Profile: the listing card now sits inside the band, with the page tabs under it. */
.hero.svband.gbpband:has(> .tabs.svtabs) { padding-bottom: 0; }
.gbpwrap .gbpband > .gbpkp.svdock { margin: 26px 0 0; box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.gbpwrap .gbpband > .tabs.svtabs { margin-top: 26px; }
.gbpwrap .gbpband + .seopreview, .gbpwrap .gbpband + .gbpnote, .gbpwrap .gbpband + .citpane { margin-top: 22px; }
@media (max-width: 860px) { .gbpwrap .gbpband > .gbpkp.svdock { margin: 20px 0 0; } }
/* SEO / AIO › Google Analytics: its sub-tabs were pills; now the one sub-tab style, the
   underlined row on a white strip (the same as Users & Access › Team and Billing › Invoices). */
.citwrap .citsub.svsub { margin: 22px 0 16px; padding: 0 12px; gap: 2px; flex-wrap: nowrap; overflow-x: auto; background: #fff;
  border: 1px solid #E6E2DA; border-radius: var(--ad-radius); }
.citsub.svsub a { padding: 14px 12px 13px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: #6B655E; }
.citsub.svsub a:hover { border-color: transparent; color: var(--ad-ink); }
.citsub.svsub a.on { background: none; border-bottom-color: var(--ad-orange); color: var(--ad-navy); }
