/* hub screens. Owned by the hub module; loaded after app.css on every page. */

/* Sign-in cards */
.hub-auth { width: min(480px, 100%); margin: 24px auto 0; }
.hub-auth h1 { font-size: 30px; }
.hub-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sand); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.hub-narrow { max-width: 680px; width: 100%; }

/* Header: business name and sign out */
.hub-top { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; justify-content: flex-end; }
.hub-biz { font-weight: 700; display: inline-flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.hub-top form { margin: 0; }

/* Hub header band: navy, with the reversed logo and the business name. */
.pub-top.hub-band { background: var(--navy); border-bottom: 0; color: var(--on-navy); }
.hub-band .inner { min-height: 64px; }
.hub-band .logo { color: var(--on-navy); gap: 12px; }
.hub-label { font-size: 14px; font-weight: 600; color: #D6DCDF; }
.hub-band .hub-biz { color: var(--on-navy); }
.hub-band .hub-biz a { color: var(--on-navy); }

/* Section menu: underline tabs; on narrow screens they scroll sideways instead of stacking. */
/* White bar running the full width of the window under the navy band, without widening the page. */
.hub-nav { position: relative; background: var(--white); box-shadow: 0 0 0 100vmax var(--white), 0 1px 0 100vmax var(--line); clip-path: inset(0 -100vmax -1px -100vmax); }
.pub-main > .hub-nav:first-child { margin-top: -32px; }
.hub-nav ul { list-style: none; margin: 0 -10px; padding: 0; display: flex; gap: 2px; white-space: nowrap; overflow-x: auto; position: relative; z-index: 1; }
.hub-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.hub-nav a:hover { color: var(--line-dark); border-bottom-color: var(--line); }
.hub-nav a[aria-current="page"] { font-weight: 800; border-bottom-color: var(--gold); }
.hub-nav a svg { opacity: .75; }
.hub-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; }

.hub-head { display: flex; flex-direction: column; gap: 6px; }
.hub-project-title { font-weight: 700; }

/* Project stages: a row of bars that wraps at any width. Done is navy with a tick, now is gold. */
.hub-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 84px), 1fr)); gap: 14px 8px; }
.hub-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 6px; row-gap: 8px; }
.hub-steps li::before { content: ""; grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--line); }
.hub-steps li.done::before { background: var(--navy); }
.hub-steps li.current::before { background: var(--gold); }
.hub-steps .dot { display: none; }
.hub-steps li.done .dot { display: inline-flex; color: var(--ok); }
.hub-steps .lbl { grid-column: 2; font-size: 14px; line-height: 1.3; color: var(--muted); }
.hub-steps li:not(.done) .lbl { grid-column: 1 / -1; }
.hub-steps li.done .lbl { color: var(--body); }
.hub-steps li.current .lbl { color: var(--ink); font-weight: 800; }

/* Next step: the one thing to do, as a navy panel. */
.hub-next { background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.hub-next h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #E9B85F; }
.hub-next p { color: #E4E9EB; font-size: 17px; }
.hub-next .btn:not(.gold) { background: transparent; border-color: var(--on-navy); color: var(--on-navy); }
.hub-next .btn.gold { background: #E9B85F; border-color: #E9B85F; }

.hub-eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--gold-ink); }
.hub-save { font-size: 14px; color: var(--muted); }

/* Simple lists inside cards */
.hub-list { list-style: none; margin: 0; padding: 0; }
.hub-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line2); }
.hub-list li:first-child { border-top: 0; padding-top: 0; }
.hub-list li > div { min-width: 0; overflow-wrap: anywhere; }

/* Enquiry fields */
.hub-fields { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.hub-fields dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hub-fields dd { margin: 0 0 12px; font-size: 16px; overflow-wrap: anywhere; }

.hub-pager { padding-top: 4px; }

/* Tables: keep visually-hidden labels inside the scrolling box (else they widen the page on phones). */
.hub-table { position: relative; }
.hub-ref { white-space: nowrap; }
.hub-back { display: inline-flex; align-items: center; gap: 6px; }
.hub-status fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* Phase 4: the growth line draws itself once; reduced-motion visitors see it finished. */
.growth { width: 100%; max-width: 420px; height: auto; display: block; }
.grow-line { stroke-dasharray: 400; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .grow-line { stroke-dashoffset: 400; animation: grow-draw 2.4s ease-out forwards; }
}
@keyframes grow-draw { to { stroke-dashoffset: 0; } }

/* Start form: the two ways to answer, then the upload and details steps */
.hub-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.hub-choice { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hub-choice:hover { border-color: var(--ink); }
.hub-choice strong { font-family: var(--serif); font-size: 21px; }
.hub-choice span { color: var(--body); }
.hub-upload { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; align-items: end; padding: 16px; border-radius: 12px; background: var(--ivory); }
#details h3 { margin-top: 8px; }

/* Delivery: build clock, delays, mini steps, preview frame, hosting choice */
.hub-clock { width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden; background: #2C4A57; accent-color: #E9B85F; }
.hub-clock::-webkit-progress-bar { background: #2C4A57; border-radius: 999px; }
.hub-clock::-webkit-progress-value { background: #E9B85F; border-radius: 999px; }
.hub-clock::-moz-progress-bar { background: #E9B85F; border-radius: 999px; }
.hub-delays { margin: 0; padding-left: 18px; color: #E4E9EB; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.hub-mini-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: #D6DCDF; font-size: 14px; }
.hub-mini-steps li::before { content: "○ "; }
.hub-mini-steps li.done { color: var(--on-navy); font-weight: 700; }
.hub-mini-steps li.done::before { content: "✓ "; color: #E9B85F; }
.hub-preview-frame { width: 100%; height: min(78vh, 900px); border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.gl-offer { border-color: var(--gold); }
.gl-price { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.gl-fields { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line2); }
@supports selector(:has(*)) {
  .gl-form:not(:has(#h-own:checked)) .gl-own { display: none; }
  .gl-fields { display: none; }
  .gl-own:has(#prov-cpanel:checked) .gl-fields[data-for="cpanel"], .gl-own:has(#prov-server:checked) .gl-fields[data-for="server"],
  .gl-own:has(#prov-platform:checked) .gl-fields[data-for="platform"], .gl-own:has(#prov-other:checked) .gl-fields[data-for="other"] { display: grid; }
}
.recorder { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.recorder .rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); display: none; }
.recorder.on .rec-dot { display: inline-block; }

/* ================================================================================================
   Hub 2.0: navy band (logo, Ask JMSSI, the person), a rail with "Your account" and "Your businesses",
   one working column. Phones swap the rail for a bottom bar and a row of section chips.
   ================================================================================================ */
.h2-body { --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; --chart: #18303A; --chart-soft: rgba(24, 48, 58, .12); --grid: #ECE5D8; }
.h2-mono, .h2-label { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.h2-band { background: var(--navy); color: var(--on-navy); position: sticky; top: 0; z-index: 20; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.h2-band-in { max-width: 1400px; margin: 0 auto; min-height: 64px; display: flex; align-items: center; gap: 12px 20px; }
.h2-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--on-navy); text-decoration: none; flex: none; }
.h2-logo span { font-size: 14px; font-weight: 600; color: #C9D3D7; }
.h2-ask { flex: 1; max-width: 520px; margin: 0 0 0 auto; position: relative; }
.h2-ask input { width: 100%; min-height: 42px; border-radius: 999px; border: 1px solid #2C4A57; background: rgba(255, 255, 255, .06); color: var(--on-navy); padding: 0 16px 0 42px; font: 500 15px var(--sans); }
.h2-ask input::placeholder { color: #AEBBC0; }
.h2-ask svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #E9B85F; pointer-events: none; }
.h2-me { display: flex; align-items: center; gap: 10px; flex: none; font-weight: 700; font-size: 15px; }
.h2-me form { margin: 0; }
.h2-avatar { width: 36px; height: 36px; border-radius: 50%; background: #E9B85F; color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.h2-out { border: 0; background: none; color: #C9D3D7; font: 600 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 2px; }
.h2-out:hover { color: var(--on-navy); }
@media (max-width: 760px) { .h2-who, .h2-logo span { display: none; } .h2-ask input { font-size: 14px; } }
@media (max-width: 520px) { .h2-out { display: none; } }

.h2-shell { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 272px minmax(0, 1fr); padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.h2-rail { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow-y: auto; padding: 24px 20px 32px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.h2-rail .h2-label { margin: 0 0 6px 10px; }
.h2-nav, .h2-sub { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.h2-nav a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.h2-nav a:hover { background: var(--sand); }
.h2-nav a[aria-current="page"] { background: var(--white); box-shadow: inset 3px 0 0 var(--gold), 0 0 0 1px var(--line); font-weight: 800; }
.h2-nav a svg { color: var(--muted); flex: none; }
.h2-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #E9B85F; color: var(--navy); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.h2-tile { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 800 12px var(--sans); flex: none; background: var(--navy); color: var(--on-navy); }
.h2-tile-lg { width: 48px; height: 48px; border-radius: 12px; font-size: 16px; }
.h2-biz-t { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.h2-biz-t small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.h2-dot { width: 9px; height: 9px; border-radius: 50%; margin-left: auto; flex: none; background: var(--line); }
.h2-dot-ok { background: var(--ok); } .h2-dot-warn { background: var(--warn); }
.h2-open > .h2-biz { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.h2-sub { margin: 6px 0 8px 24px; padding-left: 12px; border-left: 1px solid var(--line); gap: 1px; }
.h2-grp { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 2px; }
.h2-sub a { display: flex; align-items: center; gap: 8px; min-height: 33px; padding: 0 10px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--body); text-decoration: none; }
.h2-sub a:hover { background: var(--sand); }
.h2-sub a[aria-current="page"] { color: var(--ink); font-weight: 800; background: var(--sand); }
.h2-lock { margin-left: auto; font: 500 11px var(--mono); color: var(--gold-ink); }
.h2-pad { padding: 0 10px; }
.h2-rail-foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }

.h2-main { min-width: 0; padding: 28px 0 80px 32px; display: flex; flex-direction: column; gap: 22px; }
.h2-main > * { max-width: 1040px; width: 100%; }
.h2-main:focus { outline: none; }
.h2-foot { padding: 20px max(16px, env(safe-area-inset-left, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.h2-foot a { color: var(--muted); }
.h2-bottom, .h2-chips { display: none; }
@media (max-width: 1000px) {
  .h2-shell { grid-template-columns: minmax(0, 1fr); }
  .h2-rail { display: none; }
  .h2-main { padding: 20px 0 32px; }
  .h2-chips { display: flex; }
  .h2-foot { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .h2-bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--white); border-top: 1px solid var(--line);
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
  .h2-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; border-radius: 10px; }
  .h2-bottom a[aria-current="page"] { color: var(--ink); background: var(--sand); }
}

/* Business header with section chips on phones */
.h2-chips { gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; list-style: none; margin: 0; padding-left: 0; }
.h2-chips::-webkit-scrollbar { display: none; }
.h2-chips a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.h2-chips a[aria-current="page"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.h2-chips a[aria-current="page"] .h2-lock { color: #E9B85F; }
.h2-head { display: flex; flex-direction: column; gap: 6px; }
.h2-head h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -.01em; }
.h2-head p { max-width: 66ch; }
.h2-bizhead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.h2-bizhead > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h2-crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.h2-crumbs a { color: var(--muted); }

/* The week's summary: navy panel */
.h2-brief { background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: 24px 26px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.h2-brief::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(245, 243, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 243, 235, .05) 1px, transparent 1px);
  background-size: 36px 36px; -webkit-mask-image: linear-gradient(120deg, transparent 40%, #000); mask-image: linear-gradient(120deg, transparent 40%, #000); }
.h2-brief > * { position: relative; z-index: 1; }
.h2-brief .h2-label { color: #E9B85F; }
.h2-brief .h2-lead { font: 600 clamp(19px, 2.2vw, 23px)/1.45 var(--serif); color: var(--on-navy); max-width: 64ch; }
.h2-brief .small { color: #C9D3D7; }
.h2-brief .btn { background: transparent; color: var(--on-navy); border-color: #AEBBC0; }
.h2-brief .btn.gold { background: #E9B85F; border-color: #E9B85F; color: var(--navy); }

/* "Needs you": one line per thing, with its button */
.h2-inbox { list-style: none; margin: 0; padding: 0; }
.h2-inbox li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line2); }
.h2-inbox li:first-child { border-top: 0; padding-top: 2px; }
.h2-inbox li > span { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .h2-inbox li { grid-template-columns: minmax(0, 1fr); } .h2-inbox li > .btn { justify-self: start; } }

/* Business cards and vitals */
.h2-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.h2-bizcard { border: 1px solid var(--line); background: var(--white); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.h2-bizcard .h2-top { display: flex; gap: 12px; align-items: center; }
.h2-bizcard .h2-top > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.h2-bizcard h3 { font: 600 19px/1.2 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.h2-bizcard h3 a { color: inherit; text-decoration: none; }
.h2-bizcard h3 a:hover { text-decoration: underline; }
.h2-vit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 96px), 1fr)); gap: 10px; }
.h2-vit a { display: flex; flex-direction: column; gap: 4px; min-width: 0; height: 100%; padding: 12px 10px 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-decoration: none; color: var(--body); position: relative; overflow: hidden; }
.h2-vit a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line); }
.h2-vit .s-ok::before { background: var(--ok); } .h2-vit .s-warn::before { background: var(--warn); } .h2-vit .s-bad::before { background: var(--bad); }
.h2-vit a:hover { border-color: var(--ink); }
.h2-vit b { font: 600 clamp(21px, 2.6vw, 26px)/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.h2-vit .h2-mono { font-size: 11px; }
.h2-vit small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }

/* Logbook: the work done, set like a till roll */
.h2-log ol { list-style: none; margin: 0; padding: 0; font: 400 13.5px/1.5 var(--mono); }
.h2-log li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-top: 1px dashed var(--line); }
.h2-log li:first-child { border-top: 0; }
.h2-log time { color: var(--muted); }
.h2-log li span { color: var(--body); overflow-wrap: anywhere; }
.h2-log .h2-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-top: 2px solid var(--ink); padding-top: 12px; font: 500 14px var(--mono); color: var(--ink); }
@media (max-width: 480px) { .h2-log li { grid-template-columns: 1fr; } }

/* Grids, numbers and charts */
.h2-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.h2-big { font: 600 44px/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.h2-up { color: var(--ok); font-weight: 700; } .h2-down { color: var(--bad); font-weight: 700; }
.h2-chart { width: 100%; height: auto; display: block; overflow: visible; }
.h2-chart text { fill: var(--muted); font: 500 11px var(--mono); }
.h2-chart .g { stroke: var(--grid); stroke-width: 1; }
.h2-chart .bar { fill: var(--chart); }
.h2-chart .bar-soft { fill: var(--chart-soft); }
.h2-chart .bar-gold { fill: var(--gold); }
.h2-chart .ln { fill: none; stroke: var(--chart); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.h2-chart .dotp { fill: var(--chart); stroke: var(--white); stroke-width: 2; }
.h2-chart .v { fill: var(--ink); font: 700 12px var(--sans); }
.h2-chart rect:hover { opacity: .8; }
.h2-hbars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.h2-hbars li { display: grid; grid-template-columns: minmax(90px, 170px) minmax(0, 1fr) 52px; gap: 10px; align-items: center; font-size: 14px; }
.h2-hbars li > span:first-child { overflow-wrap: anywhere; }
.h2-hbars b { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.h2-meter { width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: var(--line2); accent-color: var(--navy); }
.h2-meter::-webkit-progress-bar { background: var(--line2); border-radius: 999px; }
.h2-meter::-webkit-progress-value { background: var(--navy); border-radius: 999px; }
.h2-meter::-moz-progress-bar { background: var(--navy); border-radius: 999px; }
.h2-meter.ai::-webkit-progress-value { background: var(--gold); } .h2-meter.ai::-moz-progress-bar { background: var(--gold); }
.h2-tag { display: inline-flex; padding: 1px 7px; margin-left: 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 11px var(--sans); vertical-align: middle; }

/* Checks: pass, warn, fail */
.h2-checks { list-style: none; margin: 0; padding: 0; }
.h2-checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line2); }
.h2-checks li:first-child { border-top: 0; padding-top: 0; }
.h2-mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); font: 800 13px var(--sans); }
.h2-mark.warn, .h2-mark.info { background: var(--warn-bg); color: var(--warn); } .h2-mark.fail { background: var(--bad-bg); color: var(--bad); }
.h2-mark.info { background: var(--sand); color: var(--muted); }
.h2-checks b { color: var(--ink); display: block; }
.h2-checks p { font-size: 15px; }
.h2-checks .h2-fixit { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Priced fixes */
.h2-fixes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.h2-fix { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; }
.h2-fix > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.h2-fix b { color: var(--ink); font-size: 16.5px; }
.h2-price { font: 600 22px/1 var(--serif); color: var(--ink); text-align: right; white-space: nowrap; }
.h2-fix form, .h2-fix .h2-act { grid-column: 1 / -1; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 480px) { .h2-fix { grid-template-columns: minmax(0, 1fr); } .h2-price { text-align: left; } }

/* Plans and the Grow offer */
.h2-plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.h2-plan { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.h2-plan.is-current { border-color: var(--navy); box-shadow: inset 0 3px 0 var(--gold); }
.h2-plan .h2-price { text-align: left; font-size: 28px; }
.h2-plan form { margin-top: auto; }
.h2-offer { border: 1px solid var(--gold); border-radius: 16px; padding: 24px; background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.h2-offer h2 { font-size: 22px; }

/* Blog ideas pipeline */
.h2-pipe { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); align-items: start; }
.h2-pipe > section { background: var(--sand); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.h2-pipe h3 { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.h2-idea { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.h2-idea b { color: var(--ink); font: 600 16px/1.3 var(--serif); overflow-wrap: anywhere; }
.h2-idea form { margin: 0; }
.h2-post { max-width: 72ch; font-size: 17px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }

/* Requests */
.h2-reqs { list-style: none; margin: 0; padding: 0; }
.h2-reqs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line2); }
.h2-reqs li:first-child { border-top: 0; padding-top: 0; }
.h2-reqs a { font-weight: 700; overflow-wrap: anywhere; }
.h2-kinds { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border: 0; padding: 0; margin: 0; }
.h2-kinds legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.h2-kind { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; }
.h2-kind input { margin-top: 4px; accent-color: var(--navy); width: 18px; height: 18px; }
.h2-kind b { color: var(--ink); }
.h2-kind span { grid-column: 2; font-size: 14px; color: var(--muted); }
@supports selector(:has(*)) { .h2-kind:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); } }
.h2-steps-est { list-style: none; margin: 0; padding: 0; }
.h2-steps-est li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); }
.h2-steps-est li:first-child { border-top: 0; }
.h2-answer { font: 500 19px/1.55 var(--serif); color: var(--ink); max-width: 66ch; }
.h2-shots { display: flex; flex-wrap: wrap; gap: 10px; }
.h2-shots img { width: 160px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.h2-main .grow { flex: 1; min-width: min(100%, 220px); }
@media (min-width: 1001px) { .h2-chipnav { display: none; } }
.h2-brief .h2-big { color: #E9B85F; }
.h2-main form.row { align-items: flex-end; }

/* Google Analytics at a glance (0.12.3), shared by the hub and the admin */
.ga-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; margin: 4px 0 18px; }
.ga-kpis div { border-top: 2px solid var(--ink, #18303A); padding-top: 10px; min-width: 0; }
.ga-kpis dt { font-size: 13px; color: var(--muted, #5A6273); }
.ga-kpis dd { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ga-kpis b { font-size: 28px; line-height: 1.1; color: var(--ink, #18303A); font-weight: 600; }
.ga-delta { font-size: 13px; font-weight: 700; color: var(--muted, #5A6273); }
.ga-delta.up { color: var(--ok, #24622A); } .ga-delta.down { color: var(--bad, #9A2B1F); }
.ga-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px 28px; margin-bottom: 12px; }
.ga-cols h3 { font-size: 15px; margin: 0 0 10px; }
.ga-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ga-bars li { display: grid; grid-template-columns: minmax(70px, 120px) minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 14px; }
.ga-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.ga-bars progress, .ga-two { width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: #E9ECEF; accent-color: #18303A; }
.ga-bars progress::-webkit-progress-bar, .ga-two::-webkit-progress-bar { background: #E9ECEF; border-radius: 999px; }
.ga-bars progress::-webkit-progress-value, .ga-two::-webkit-progress-value { background: #18303A; border-radius: 999px; }
.ga-two::-webkit-progress-value { background: #BD852E; }
.ga-split { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 14px; }
.ga-split b { font-size: 22px; display: block; }

/* ===== 0.13 hub ========================================================================================== */
html.dark .h2-body { --chart: #E9B85F; --chart-soft: rgba(233, 184, 95, .18); --grid: #22363E; }
html.dark .ga-bars progress, html.dark .ga-two { background: var(--track); }
html.dark .ga-bars progress::-webkit-progress-bar, html.dark .ga-two::-webkit-progress-bar { background: var(--track); }
html.dark .ga-bars progress::-webkit-progress-value { background: #E9B85F; }
html.dark .h2-chips a[aria-current="page"], html.dark .h2-nav a[aria-current="page"] { color: var(--on-navy); }
.h2-me { gap: 6px; }
/* The bell */
.bell { position: relative; }
.bell-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #E9B85F; color: #10202A; font: 800 11px/18px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--navy); }
.bell-pop { position: absolute; right: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 24px)); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 30; overflow: hidden; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line2); }
.bell-pop ul { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow: auto; }
.bell-pop li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.bell-pop li a:hover { background: var(--sand); }
.bell-pop li.unread a { box-shadow: inset 3px 0 0 var(--gold); }
.bell-pop li.muted { padding: 12px; }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-list a { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 6px; border-top: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.nt-list li:first-child a { border-top: 0; }
.nt-list li.unread .nt-t { font-weight: 800; }
.nt-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sand); }
.nt-list li.unread .nt-ic { background: var(--gold); color: #10202A; }
/* Welcome tour */
.tour { background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: 24px; position: relative; overflow: hidden; }
.tour::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 184, 95, .35), transparent); }
.tour h2 { font-size: 24px; margin: 4px 0 14px; } .tour .h2-label { color: #E9B85F; }
.tour-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: t; }
.tour-steps li { counter-increment: t; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #D6DCDF; font-size: 14px; transition: background .2s, transform .2s; }
.tour-steps li b { color: var(--on-navy); font-size: 15px; } .tour-steps li b::before { content: counter(t) ". "; color: #E9B85F; }
.tour.stepped .tour-steps li { opacity: .55; } .tour.stepped .tour-steps li.on { opacity: 1; background: rgba(233, 184, 95, .14); border-color: #E9B85F; transform: translateY(-2px); }
.tour .btn.ghost { color: var(--on-navy); }
.tour-hl { outline: 3px solid #E9B85F; outline-offset: 4px; border-radius: 12px; transition: outline-color .3s; }
/* Upgrade moment */
.upgrade-card { border-color: var(--gold); background: linear-gradient(135deg, var(--white), var(--white) 60%, rgba(233, 184, 95, .14)); }
.upgrade-card h2 { display: flex; gap: 8px; align-items: center; }
/* Live visitors */
.live-card h2 { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #2FA14A; box-shadow: 0 0 0 0 rgba(47, 161, 74, .6); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 10px rgba(47, 161, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 161, 74, 0); } }
.live-card.bump .h2-big { animation: bump .5s ease; } @keyframes bump { 40% { transform: scale(1.12); color: var(--gold-ink); } }
.h2-big { display: inline-block; }
/* Enquiry taps */
.tap-kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tap-kinds li { display: flex; flex-direction: column; padding: 12px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line2); }
.tap-kinds b { font: 600 24px/1.1 var(--serif); }
.tap-kinds span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .tap-kinds { grid-template-columns: repeat(2, 1fr); } }
/* Domain health */
.dh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.dh { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); border-left: 4px solid var(--line); }
.dh dt { font-size: 13px; color: var(--muted); } .dh dd { margin: 2px 0 0; font-weight: 700; display: flex; flex-direction: column; }
.dh-ok { border-left-color: var(--ok); } .dh-warn { border-left-color: #D99A1E; } .dh-bad { border-left-color: var(--bad); }
/* Reviews */
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rv-list li { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--ivory); }
.rv-list blockquote, .rv-msg { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.45; }
.rv-stars { color: #C98A12; letter-spacing: 2px; } html.dark .rv-stars { color: #E9B85F; }
.rv-msg { padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--ivory); border-radius: 0 12px 12px 0; }
.rv-add summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
/* Help guide */
.kb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kb-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line2); }
.kb-list li:first-child { border-top: 0; }
.kb-list a { font-weight: 700; }
.kb-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kb-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid var(--line2); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s, transform .15s; }
.kb-grid a:hover { border-color: var(--gold); transform: translateY(-1px); }
.kb-grid span { display: flex; flex-direction: column; gap: 4px; } .kb-grid small { color: var(--muted); font-size: 13px; }
.kb-body { font-size: 17px; line-height: 1.65; } .kb-body ul, .kb-body ol { padding-left: 22px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kb-suggest { border-color: var(--gold); } .kb-suggest h2 { display: flex; gap: 8px; align-items: center; }
.voice-card { border-color: var(--line); background: linear-gradient(180deg, var(--white), var(--ivory)); }
.voice-card h2 { display: flex; align-items: center; gap: 8px; }
/* Reports */
.rp-tiles span { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ok); color: var(--ink); }
.rp-tiles .s-warn { border-top-color: #D99A1E; } .rp-tiles .s-none { border-top-color: var(--line); }
.rp-tiles b { font: 600 30px/1.1 var(--serif); } .rp-tiles small { color: var(--muted); }
.wrap { flex-wrap: wrap; }
/* Launch kit */
.launch-steps { margin: 0; padding: 18px 18px 18px 40px; border-radius: 16px; background: var(--navy); color: #D6DCDF; display: flex; flex-direction: column; gap: 8px; }
.launch-steps b { color: var(--on-navy); } .launch-steps a { color: #E9B85F; }
.launch-imgs { display: grid; gap: 16px; grid-template-columns: 2fr 1fr; align-items: start; }
.launch-imgs img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.launch-imgs figure { margin: 0; display: flex; flex-direction: column; gap: 8px; } .launch-imgs figcaption { font-size: 14px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 700px) { .launch-imgs { grid-template-columns: 1fr; } }
/* Before and after (the same slider as the case studies) */
.cs-ba { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--sand); aspect-ratio: 1350 / 940; }
.cs-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cs-ba .ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0); }
.cs-ba .ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 3px; margin-left: -1.5px; background: #E9B85F; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none; }
.cs-ba .ba-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #E9B85F; color: #10202A; display: grid; place-items: center; font-weight: 800; }
.cs-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cs-ba input[type=range]:focus-visible ~ .ba-handle, .cs-ba:focus-within .ba-handle { outline: 3px solid var(--ink); }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(16, 32, 40, .78); color: #FFF; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ba-tag.l { left: 12px; } .ba-tag.r { right: 12px; }
/* Click-to-comment */
.pin-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pin-bar[hidden] { display: none; }
.pin-bar [aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #10202A; }
.pin-stage { position: relative; max-height: 80vh; overflow: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.pin-stage .hub-preview-frame { display: block; border: 0; border-radius: 0; }
.pin-stage.sized .hub-preview-frame { height: auto; }
.pin-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pin-stage.commenting .pin-layer { pointer-events: auto; cursor: crosshair; background: rgba(233, 184, 95, .05); }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, calc(-100% - 8px)); width: 30px; height: 30px; border-radius: 50%; background: #E9B85F; color: #10202A; display: grid; place-items: center; font: 800 13px var(--sans); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); border: 2px solid #10202A; animation: pin-drop .3s cubic-bezier(.2, 1.4, .4, 1); }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); border: 6px solid transparent; border-top: 6px solid #10202A; }
@keyframes pin-drop { from { opacity: 0; translate: 0 -12px; } }
.pin-pop { position: absolute; left: min(var(--x), calc(100% - 320px)); top: var(--y); width: 300px; z-index: 3; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pin-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.pin-where { font-weight: 700; }
.error-text { color: var(--bad); }
.inline { display: inline; }
.h-sm { font-family: var(--sans); font-size: 15px; font-weight: 800; display: flex; gap: 6px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; margin: 0; }
.seg label { position: relative; } .seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; min-height: 36px; align-items: center; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg input:checked + span { background: var(--navy); color: var(--on-navy); } html.dark .seg input:checked + span { background: var(--gold); color: #10202A; }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }
.tour .btn.primary, .tour .btn.primary:hover { background: #E9B85F; border-color: #E9B85F; color: #10202A; }
.tour .btn.ghost { border-color: rgba(255, 255, 255, .2); }

/* 0.15: Grow › Website assistant and Competitor watch */
.h2-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.h2-kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.h2-kpis b { display: block; font-size: 24px; line-height: 1.1; }
.h2-kpis span { font-size: 13px; color: var(--muted); }
.h2-code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); user-select: all; }
.h2-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.h2-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.h2-move { padding: 12px 14px; border-left: 4px solid var(--gold); border-radius: 8px; background: rgba(189, 133, 46, .08); }
.h2-you th, .h2-you td { font-weight: 800; }
.h2-gap { padding: 12px 0; border-bottom: 1px solid var(--line); }
.h2-gap:last-of-type { border-bottom: 0; }

/* ==== 0.17 hub menu: by what an owner wants to do ======================================================== */
.h2-rail { gap: 16px; padding-top: 18px; }
.h2-rail .h2-label { margin: 0 0 4px 10px; font-size: 11px; }
.h2-nav a { min-height: 38px; font-size: 15px; }
.h2-current { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.h2-current .h2-biz-t { font-weight: 800; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.h2-current .h2-biz-t small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.h2-current .h2-switch { grid-column: 2 / -1; font-size: 13px; font-weight: 700; }
.h2-lock { padding: 2px 8px; border-radius: 999px; background: var(--sand); font: 700 10.5px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); }
.h2-menu summary { width: 44px; height: 44px; }
.h2-menu .h2-avatar { width: 36px; height: 36px; }
.reply-done { justify-content: flex-end; gap: 10px; margin: 0 0 10px; }
@media (max-width: 760px) { .h2-menu { margin-left: 0; } }
/* 0.17 Home */
.h2-home-head h1 { margin-bottom: 4px; }
.h2-home-sub { font-size: 17px; color: var(--muted); margin: 0; }
.h2-needs { border: 2px solid #E9B85F; }
.h2-holiday { display: grid; gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); }
.h2-holiday fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.h2-holiday legend { display: grid; gap: 2px; margin-bottom: 8px; }
.h2-hol-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.h2-hol-opts .choice span { display: grid; gap: 6px; font-weight: 700; }
.h2-hol-opts input[type="text"] { font-weight: 400; min-height: 38px; }
.h2-holiday .btn { justify-self: start; }
.h2-plan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.h2-plan-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; height: 100%; }
.h2-plan-list a:hover { border-color: var(--gold); }
.pv-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sand); color: var(--navy); }
.pv-t { display: grid; gap: 2px; } .pv-t b { font-size: 14.5px; } .pv-t small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.pv-st { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 800; font-size: 14px; }
.pv-ok .pv-st { background: var(--ok-bg); color: var(--ok); }
.pv-warn .pv-st { background: #FCEBC8; color: #8A5A00; }
.pv-warn .pv-ic { background: #FCEBC8; }
.pv-locked a { background: var(--ivory); border-style: dashed; }
.pv-locked .pv-ic { background: transparent; border: 1px dashed var(--line); color: var(--gold-ink); }
/* Site tidy */
.tidy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tidy-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.tidy-list li p { margin: 0 0 2px; }
.tidy-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sand); color: var(--navy); }
.tidy-broken .tidy-ic { background: var(--bad-bg); color: var(--bad); }
.tidy-stale .tidy-ic { background: #FCEBC8; color: #8A5A00; }
@media (max-width: 600px) { .tidy-list li { grid-template-columns: auto minmax(0, 1fr); } .tidy-list li form, .tidy-list li .pill { grid-column: 2; } }
.due-by { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.h2-hol-opts .choice { align-items: flex-start; }
.h2-hol-opts .choice > span { flex: 1; min-width: 0; }
.h2-hol-opts .choice input[type="text"] { width: 100%; height: auto; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; accent-color: auto; }
.h2-rail { gap: 12px; }
.h2-nav a { min-height: 36px; }
@media (max-width: 520px) { .h2-ask { flex: 1 1 auto; min-width: 0; } .h2-ask input::placeholder { color: transparent; } .h2-me .h2-iconbtn { width: 38px; } }
/* 0.18 simple view */
.h2-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.h2-qa { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-height: 150px; }
.h2-qa:hover { border-color: var(--gold); }
.h2-qa b { font-size: 18px; } .h2-qa > span:last-of-type { color: var(--muted); font-size: 15px; }
.h2-qa-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sand); color: var(--navy); margin-bottom: 4px; }
.h2-qa-ok .h2-qa-ic { background: var(--ok-bg); color: var(--ok); } .h2-qa-warn .h2-qa-ic { background: #FCEBC8; color: #8A5A00; }
.h2-qa-n { position: absolute; top: 16px; right: 16px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: #E9B85F; color: var(--navy); font: 800 14px var(--sans); display: grid; place-items: center; font-style: normal; }
.h2-plan-simple p { margin: 0; }
.h2-more summary { cursor: pointer; list-style: none; padding: 8px 10px; border-radius: 10px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; }
.h2-more summary::-webkit-details-marker { display: none; }
.h2-more summary::after { content: "+"; font-weight: 800; } .h2-more[open] summary::after { content: "−"; }
.h2-more summary:hover { background: var(--sand); }
.h2-viewtoggle { padding: 0 10px; } .h2-viewtoggle .linkbtn { color: var(--muted); }
@media (max-width: 760px) { .h2-quick { grid-template-columns: 1fr; } .h2-qa { min-height: 0; grid-template-columns: auto 1fr; } .h2-qa-ic { grid-row: span 2; margin: 0; } }

/* 0.20 Your website (JMS Sites) */
.ws-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 16px; }
.ws-tabs > a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.ws-tabs > a:hover { background: var(--sand); }
.ws-tabs > a[aria-current] { background: var(--navy); color: var(--on-navy); }
.ws-tabs-end { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ws-pending { margin: 6px 0; padding-left: 18px; }
.ws-pages li { align-items: center; }
.ws-addpage { align-items: flex-end; }
.ws-addpage .field { flex: 1 1 260px; }
.ws-sec details > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
.ws-sec details > summary::-webkit-details-marker { display: none; }
.ws-sec .ws-edit { font-weight: 700; font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.ws-sec details[open] .ws-edit { background: var(--sand); }
.ws-sec details[open] > summary { margin-bottom: 14px; }
.ws-sec.is-hidden { opacity: .7; border-style: dashed; }
.ws-sec-tools { border-top: 1px solid var(--line); padding-top: 12px; }
.ws-form fieldset, .ws-list, .ws-link { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; min-width: 0; }
.ws-form legend { font-weight: 700; padding: 0 6px; }
.ws-item { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.ws-item:first-of-type { border-top: 0; margin-top: 0; }
.ws-item.ws-new { background: var(--sand); border-radius: 10px; padding: 10px 12px; border-top: 0; }
.ws-item-h { margin: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ws-link .row > .field { flex: 1 1 200px; }
.ws-image .row { align-items: center; }
.ws-image select { flex: 1 1 220px; }
.ws-thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.ws-price { max-width: 220px; }
.ws-hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ws-photos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ws-photos li { display: flex; flex-direction: column; gap: 8px; }
.ws-photos img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.ws-danger { margin-top: 12px; }
/* 0.22 */
.rv-bars { margin: 4px 0 0; }
.rv-bars-in { display: block; width: 100%; height: 72px; }
.rv-bars-in rect { fill: var(--gold); }
.rv-bars-in rect:last-child { fill: var(--navy); }
:root[data-theme="dark"] .rv-bars-in rect:last-child { fill: var(--gold-light, #E9B85F); }
.meter { display: grid; gap: 6px; }
.meter-svg { display: block; width: 100%; height: 10px; }
.meter-svg .mt-bg { fill: var(--line); } .meter-svg .mt-fg { fill: var(--gold); }
.meter-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.jm-month { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 4px; }
.jm-month div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.jm-month b { display: block; font-size: 22px; }
.jm-month span { font-size: 13.5px; color: var(--muted); }
.idea-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.idea-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; background: var(--white); }
.idea-chips a[aria-current] { border-color: var(--gold); background: var(--gold-bg, rgba(189,133,46,.12)); }
.rd-text { width: 100%; font: inherit; line-height: 1.5; }
.rd-card h2 { display: flex; gap: 8px; align-items: center; }
/* 0.32: phone cards whose first cell is the row's name */
@media (max-width: 760px) { table.cardable td[data-label=""] { grid-template-columns: 1fr; } }
/* 0.37: the progress bar for checks and JMSSI (public/assets/progress.js). */
.jp { --jp: var(--chart, #18303A); }
/* 0.37: Your JMS tools */
.tools-grid { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; gap: 10px; } .tool-card form, .tool-card > .btn { margin-top: auto; align-self: flex-start; }
.tool-top { display: flex; gap: 12px; align-items: center; } .tool-top h2 { font-size: 18px; margin: 0 0 4px; } .tool-top img { border-radius: 10px; flex: none; }
/* 0.38: stopping a plan fairly. */
.stop-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stop-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.stop-list li { display: flex; gap: 10px; align-items: flex-start; }
.stop-list svg { flex: none; margin-top: 2px; color: var(--navy); }
.stop-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.stop-offer { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.stop-offer h3 { margin: 0; font-size: 17px; }
.stop-offer form { margin-top: auto; }
@media (max-width: 760px) { .stop-split { grid-template-columns: 1fr; } }
.stop-points { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
/* 0.39: the first 30 days on a plan. */
.wl-bar { appearance: none; -webkit-appearance: none; width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, currentColor 12%, transparent); margin: 4px 0 14px; }
.wl-bar::-webkit-progress-bar { background: transparent; }
.wl-bar::-webkit-progress-value { background: var(--gold); border-radius: 999px; }
.wl-bar::-moz-progress-bar { background: var(--gold); border-radius: 999px; }
.wl-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.wl-steps li { display: flex; gap: 10px; align-items: flex-start; }
.wl-tick { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); margin-top: 1px; }
.wl-steps .is-done .wl-tick { background: var(--ok, #2E7D4F); border-color: var(--ok, #2E7D4F); color: #fff; }
.wl-steps .is-done b { color: var(--muted); text-decoration: line-through; font-weight: 600; }
/* 0.46: Social posts */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 10px 0 14px; }
.social-ch { display: grid; gap: 6px; align-content: start; }
.social-ch textarea { width: 100%; font: inherit; font-size: 14px; line-height: 1.5; }
.social-ch .btn { justify-self: start; }
/* 0.48: Bookings */
input[type=time] { min-height: 44px; padding: 8px 10px; border: 1px solid var(--field); border-radius: 10px; font: inherit; background: var(--white); color: var(--ink); }
.bk-svc-set, .bk-hours { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.bk-svc-set legend, .bk-hours legend { font-weight: 700; margin-bottom: 6px; }
.bk-svc-row { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 10px; }
.bk-hour-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bk-hour-row .check { min-width: 130px; }
.bk-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-list li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
@media (max-width: 720px) { .bk-svc-row { grid-template-columns: 1fr 1fr; } .bk-svc-row .field:first-child { grid-column: 1 / -1; } .bk-three { grid-template-columns: 1fr; } }
/* 0.60: how often the report comes */
.rp-every fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.rp-every legend { padding: 0; margin-bottom: 4px; }

/* 0.61 JMS Sites v3: the rich-text editor and the page tree */
.rte{border:1px solid var(--line,#d9d9d9);border-radius:10px;background:#fff}
.rte-bar{display:flex;flex-wrap:wrap;gap:4px;padding:6px;border-bottom:1px solid var(--line,#d9d9d9);background:#f7f7f7;border-radius:10px 10px 0 0}
.rte-area{min-height:220px;max-height:70vh;overflow:auto;padding:12px 14px;outline:none;line-height:1.6}
.rte-area:focus{box-shadow:inset 0 0 0 2px var(--accent,#2f6f5e)}
.rte-area table{border-collapse:collapse}.rte-area td,.rte-area th{border:1px solid #ccc;padding:4px 8px}
.rte-area img{max-width:100%;height:auto}
.rte .ws-rich-src{width:100%;min-height:220px;font-family:ui-monospace,monospace;font-size:13px;border:0;padding:12px}
.ws-tree details{margin-bottom:6px}
