/* ACRQR: one stylesheet for the marketing site, sign-in pages and the app. */
:root {
  --ink: #0d1726; --ink-2: #2b3648; --muted: #5d687a; --line: #e3e6ec; --line-2: #d3d8e1;
  --bg: #f7f7f3; --surface: #ffffff; --surface-2: #f3f5f8; --surface-3: #eaeef4;
  --brand: #2547f4; --brand-ink: #1a34c4; --brand-soft: #e8ecfe;
  --navy: #0d1b33; --lime: #c8f04a; --lime-ink: #2f4a00;
  --ok: #157a3f; --ok-bg: #e7f6ec; --warn: #9a5b00; --warn-bg: #fff4e0; --err: #b42318; --err-bg: #fdecea;
  --radius: 14px; --shadow: 0 1px 2px rgba(13,23,38,.05), 0 8px 24px rgba(13,23,38,.06);
  --font: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Space Grotesk", Inter, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, canvas, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; }
h4 { font-size: 15px; font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons and fields ---------- */
.btn, button { font: 600 15px/1 var(--font); border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer; background: var(--brand); color: #fff;
               display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap;
               transition: background .15s, box-shadow .15s, transform .05s; }
.btn:hover, button:hover { background: var(--brand-ink); }
.btn:active, button:active { transform: translateY(1px); }
button:disabled, .btn[aria-disabled=true] { opacity: .5; cursor: not-allowed; }
.btn.ghost, button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover, button.ghost:hover { background: var(--surface-2); }
.btn.dark, button.dark { background: var(--navy); } .btn.dark:hover, button.dark:hover { background: #1b2c4f; }
.btn.lime { background: var(--lime); color: var(--navy); } .btn.lime:hover { background: #b6e02f; }
.btn.big { padding: 16px 26px; font-size: 16.5px; }
.btn.sm, button.sm { padding: 7px 13px; font-size: 13.5px; }
button.link { background: none; color: var(--brand); padding: 4px 6px; border-radius: 6px; }
button.link:hover { background: var(--brand-soft); }
button.danger { background: var(--err); } button.danger:hover { background: #8f1c13; }
button.danger-link { background: none; color: var(--err); padding: 4px 6px; border-radius: 6px; }
button.danger-link:hover { background: var(--err-bg); }
label.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
label.field .hint { font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=search], input:not([type]), select, textarea {
  font: 15px/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
input.invalid, textarea.invalid { border-color: var(--err); }
textarea { resize: vertical; }
.check { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.hint { font-size: 13.5px; color: var(--muted); margin: 0; }
.notice { border-radius: 10px; padding: 11px 14px; font-size: 14px; margin: 12px 0; display: none; }
.notice.show { display: block; }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.err { background: var(--err-bg); color: var(--err); }
.notice a { color: inherit; font-weight: 600; }

/* ---------- Site header and footer ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(247,247,243,.86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 21px/1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.site-head nav { display: flex; gap: 4px; margin-left: 8px; }
.site-head nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.site-head nav a:hover { background: var(--surface-3); }
.site-head .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-2); text-decoration: none; } .site-foot a:hover { text-decoration: underline; }
@media (max-width: 760px) { .site-head nav { display: none; } .site-head .actions .btn.ghost { display: none; } }

/* ---------- Marketing ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--navy); }
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero p.lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); max-width: 540px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero .proof { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero .proof span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.phones { position: relative; height: 560px; }
.phones .ph { position: absolute; width: 230px; }
.phones .ph:nth-child(1) { left: 2%; top: 60px; transform: rotate(-7deg); }
.phones .ph:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; width: 250px; }
.phones .ph:nth-child(3) { right: 2%; top: 60px; transform: rotate(7deg); }
.device { position: relative; border-radius: 13% / 6%; border: 9px solid #0b0f14; background: #0b0f14; overflow: hidden; box-shadow: 0 30px 60px rgba(13,23,38,.25), 0 6px 14px rgba(13,23,38,.12); container-type: inline-size; }
.device canvas { display: block; width: 100%; height: auto; }
.device .lock { position: absolute; inset: 0; pointer-events: none; color: rgba(255,255,255,.92); font-family: -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif; text-shadow: 0 1px 8px rgba(0,0,0,.18); }
.lock .island { position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%); width: 33%; height: 3.9%; background: #000; border-radius: 99px; }
.lock .date { position: absolute; top: 11.5%; width: 100%; text-align: center; font-size: 6.5cqw; font-weight: 600; }
.lock .time { position: absolute; top: 13.5%; width: 100%; text-align: center; font-size: 27cqw; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.lock .btnL, .lock .btnR { position: absolute; bottom: 5%; width: 13.5cqw; height: 13.5cqw; border-radius: 50%; background: rgba(20,20,20,.32); backdrop-filter: blur(6px); }
.lock .btnL { left: 11%; } .lock .btnR { right: 11%; }
.lock .bar { position: absolute; bottom: 1.2%; left: 50%; transform: translateX(-50%); width: 36%; height: .55%; border-radius: 9px; background: rgba(255,255,255,.85); }
.logos-row { display: flex; gap: 10px 26px; flex-wrap: wrap; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; padding: 14px 0 6px; }
section.band { padding: 80px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band.dark { background: var(--navy); color: #dfe6f3; }
section.band.dark h2, section.band.dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { font-size: 18px; color: var(--muted); }
.dark .section-head p { color: #b8c3d6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--lime); font: 700 15px var(--display); margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--lime); color: var(--navy); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ic svg { width: 22px; height: 22px; fill: currentColor; }
.feature p { margin: 0; color: #b8c3d6; font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%230d1b33'/%3E%3C/svg%3E") center / 13px no-repeat; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.demo .fields { display: grid; gap: 14px; }
.demo .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatch-row label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
input[type=color] { width: 42px; height: 34px; padding: 0; border: 1.5px solid var(--line-2); border-radius: 8px; background: none; cursor: pointer; }
.drop { border: 2px dashed var(--line-2); border-radius: 12px; padding: 16px; display: flex; gap: 14px; align-items: center; cursor: pointer; background: var(--surface-2); }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop img { max-height: 44px; max-width: 140px; object-fit: contain; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.hl { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.hl::before { content: "Most popular"; position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.plan .price { font: 700 42px/1 var(--display); letter-spacing: -.03em; }
.plan .price small { font: 500 15px var(--font); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); flex: 1; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }
.cta-band { background: var(--navy); border-radius: 26px; padding: 54px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: #fff; }
.cta-band h2 { color: #fff; margin: 0; }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0; }
.legal h1 { font-size: 40px; } .legal h2 { font-size: 22px; margin-top: 32px; } .legal p, .legal li { color: var(--ink-2); }
@media (max-width: 960px) {
  .hero .wrap, .split, .demo { grid-template-columns: minmax(0, 1fr); }
  .phones { height: 470px; } .phones .ph { width: 190px; } .phones .ph:nth-child(2) { width: 210px; }
  .steps, .features, .pricing { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .demo .preview { order: -1; }
}
@media (max-width: 520px) {
  .phones { height: 400px; } .phones .ph { width: 150px; } .phones .ph:nth-child(2) { width: 180px; }
  .cta-band { padding: 32px; } section.band { padding: 56px 0; } .demo { padding: 20px; }
}

/* ---------- Sign-in pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth .side { background: var(--navy); color: #cfd8e8; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth .side .logo { color: #fff; }
.auth .side blockquote { margin: 0; font: 600 24px/1.35 var(--display); color: #fff; max-width: 440px; }
.auth .main { display: grid; place-items: center; padding: 40px 20px; }
.auth form, .auth .panel { width: min(420px, 100%); display: grid; gap: 16px; }
.auth h1 { font-size: 32px; margin-bottom: 0; }
.auth .alt { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth .side { display: none; } }

/* ---------- App ---------- */
.app-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.app-head .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.app-head .org { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-left: 6px; min-width: 0; }
.app-head .org select { width: auto; max-width: 220px; padding: 6px 10px; font-weight: 600; }
.app-head .right { margin-left: auto; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--surface); }
.tabs .wrap { display: flex; gap: 2px; }
.tabs button { background: none; color: var(--muted); border-radius: 0; padding: 14px 14px 12px; font-size: 14.5px; border-bottom: 2.5px solid transparent; }
.tabs button:hover { background: var(--surface-2); color: var(--ink); }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--brand); }
.page { padding: 28px 0 80px; }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { font-size: 28px; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 16px; }
.banner { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 14.5px; }
.banner.info { background: var(--brand-soft); color: #1d2f8a; } .banner.warn { background: var(--warn-bg); color: var(--warn); }
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.checklist a { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-size: 14px; }
.checklist a:hover { border-color: var(--brand); }
.checklist .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-weight: 700; font-size: 13px; }
.checklist .done .n { background: var(--ok); color: #fff; }
.checklist b { display: block; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar input[type=search] { max-width: 300px; }
.people { display: grid; gap: 10px; }
.person { display: grid; grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.person canvas { width: 56px; border-radius: 8px; border: 3px solid #0b0f14; background: #0b0f14; display: block; cursor: pointer; }
.person .nm { font-weight: 650; } .person .sub { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .stats { font-size: 13px; color: var(--muted); }
.person .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
/* Dim a turned-off row's details but not its buttons: opacity on the whole row would also make its
   More menu see-through and let the rows below show through it. */
.person.off > :not(.acts) { opacity: .55; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--surface-3); color: var(--muted); vertical-align: 2px; margin-left: 6px; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.off { background: var(--err-bg); color: var(--err); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.menu { position: relative; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 210px; z-index: 40; display: grid; }
.menu-list button { background: none; color: var(--ink); justify-content: flex-start; border-radius: 8px; padding: 9px 12px; font-weight: 500; font-size: 14px; }
.menu-list button:hover { background: var(--surface-2); }
.menu-list button.danger-item { color: var(--err); }
.modal-bg { position: fixed; inset: 0; background: rgba(13,23,38,.5); display: none; align-items: flex-start; justify-content: center; z-index: 50; padding: 6vh 16px; overflow: auto; }
.modal-bg.show { display: flex; }
.modal { background: var(--surface); border-radius: 18px; padding: 26px; width: min(720px, 100%); box-shadow: 0 30px 80px rgba(13,23,38,.3); }
.modal h3 { font-size: 22px; }
.ask .modal { width: min(460px, 100%); }
.ask p { margin: 10px 0 0; line-height: 1.5; }
.ask-input { width: 100%; margin-top: 14px; }
.modal .btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.modal .two { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 22px; align-items: start; }
.mini-phone { width: 160px; border-radius: 22px; border: 6px solid #0b0f14; background: #0b0f14; display: block; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14.5px; opacity: 0; transition: .2s; z-index: 60; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
table.simple { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.simple th, table.simple td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.simple th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.logo-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.logo-prev { width: 180px; height: 80px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; background: repeating-conic-gradient(#eef1f5 0% 25%, #fff 0% 50%) 50% / 14px 14px; }
.logo-prev img { display: block; max-width: 156px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.ppv { width: 200px; height: 380px; border: 7px solid #0b0f14; border-radius: 28px; background: #edf1f6; overflow: hidden; position: relative; display: flex; flex-direction: column; align-items: center; color: #14213d; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.ppv-top { position: absolute; top: 0; left: 0; right: 0; height: 74px; }
.ppv-plate { position: relative; margin-top: 34px; width: 66px; height: 66px; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.55); background-clip: padding-box; box-shadow: 0 4px 10px rgba(4,20,60,.2); }
.ppv-plate img { width: 79%; max-height: 79%; object-fit: contain; }
.ppv-plate.rounded { border-radius: 22%; } .ppv-plate.wide { width: 132px; border-radius: 12px; } .ppv-plate.wide img { width: 86%; max-height: 74%; }
.ppv-plate.none { background: transparent; border: 0; box-shadow: none; width: 140px; } .ppv-plate.none img { width: 100%; max-height: 100%; }
.ppv-plate .ini { font-weight: 800; font-size: 20px; color: #1b2a4a; }
.ppv-name { margin-top: 8px; font-weight: 750; font-size: 15px; } .ppv-role { font-size: 11px; color: #5d6b82; }
.ppv-org { display: flex; gap: 5px; align-items: center; font-size: 10px; font-weight: 600; margin-top: 3px; } .ppv-org i { width: 6px; height: 6px; border-radius: 50%; }
.ppv-rows { margin-top: 12px; width: 168px; background: #fff; border-radius: 12px; padding: 7px; display: grid; gap: 7px; }
.ppv-rows span { height: 16px; border-radius: 5px; background: #e9effb; }
.ppv-save { margin-top: auto; margin-bottom: 14px; width: 168px; height: 32px; border-radius: 16px; color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
@media (max-width: 860px) {
  .person { grid-template-columns: 48px minmax(0, 1fr); } .person .stats { display: none; } .person .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .person canvas { width: 48px; }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .social-grid, .brand-grid, .modal .two { grid-template-columns: minmax(0, 1fr); }
  .modal .two .mini-phone, .brand-grid .ppv { margin: 0 auto; }
}

/* ---------- Card designer ---------- */
.wp { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.wp-controls { display: grid; gap: 14px; min-width: 0; }
.wp-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--surface); display: grid; gap: 12px; min-width: 0; }
.wp-box h4 { margin: 0; }
.wp label.f { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.wp .seg { display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; justify-self: start; max-width: 100%; background: var(--surface-2); padding: 3px; gap: 2px; }
.wp .seg button { background: transparent; color: var(--ink-2); padding: 7px 14px; font-size: 13.5px; }
.wp .seg button:hover { background: var(--surface-3); }
.wp .seg button[aria-pressed=true] { background: var(--navy); color: #fff; }
.wp .wrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wp .slider { display: grid; gap: 3px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.wp .slider .top { display: flex; justify-content: space-between; }
.wp .slider output { font: 12.5px ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }
.wp input[type=range] { width: 100%; accent-color: var(--brand); }
.wp .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.wp .stack { display: grid; gap: 10px; }
.wp .crow { display: grid; grid-template-columns: 150px auto minmax(0, 1fr); gap: 10px; align-items: center; }
.wp .crow span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.wp .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wp .chip { width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(0,0,0,.15); padding: 0; cursor: pointer; }
.wp .cbar { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 10px; background: var(--surface-2); }
.wp .cbar .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wp details summary { cursor: pointer; font-weight: 650; font-size: 14.5px; }
.wp details[open] summary { margin-bottom: 10px; }
.wp .status { font-size: 13.5px; color: var(--muted); min-height: 1.2em; margin: 0; }
.wp .status.err { color: var(--warn); } .wp .status.ok { color: var(--ok); }
.wp .applies { background: var(--surface-2); border-radius: 8px; padding: 8px 11px; font-size: 13.5px; color: var(--ink-2); margin: 0; }
.wp-proof { position: sticky; top: 80px; display: grid; gap: 12px; justify-items: center; }
.wp-proof .device { width: 100%; max-width: 280px; }
.wp-proof canvas.grab { cursor: grab; } .wp-proof canvas.resize { cursor: ns-resize; } .wp-proof canvas.dragging { cursor: grabbing; }
.wp-proof canvas { touch-action: none; }
.wp-save { display: grid; gap: 8px; width: 100%; max-width: 280px; }
@media (max-width: 860px) { .wp { grid-template-columns: minmax(0, 1fr); } .wp-proof { position: static; order: -1; } .wp .crow { grid-template-columns: 110px auto minmax(0, 1fr); } }
#viewer { position: fixed; inset: 0; background: rgba(8,12,18,.9); display: grid; place-items: center; z-index: 70; padding: 16px; }
#viewer .box { display: grid; gap: 12px; justify-items: center; max-height: 100%; }
#viewer img { max-height: 76vh; width: auto; border-radius: 14px; }
#viewer p { color: #e7ecf2; margin: 0; text-align: center; max-width: 40ch; }

/* ---------- Your card page ---------- */
.yc { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px 40px; }
.yc .inner { width: min(420px, 100%); display: grid; gap: 18px; justify-items: center; text-align: center; }
.yc .device { width: min(300px, 82vw); }
.yc img.wall { display: block; width: 100%; height: auto; }
.yc ol { text-align: left; color: var(--ink-2); font-size: 15px; padding-left: 22px; margin: 0; display: grid; gap: 6px; }
.logo svg { flex: none; }
@media (max-width: 600px) { #whoName { display: none; } .app-head .org select { max-width: 150px; } }

.photo { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 24px 60px rgba(13,23,38,.18), 0 4px 12px rgba(13,23,38,.08); }
.auth .side .photo { max-width: 420px; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.bg-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.bg-picks button { padding: 0; border-radius: 10px; overflow: hidden; background: none; aspect-ratio: 9 / 16; border: 2px solid transparent; }
.bg-picks button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-picks button[aria-pressed=true] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }

/* ---------- Account menu link ---------- */
.menu-list a { color: var(--ink); text-decoration: none; border-radius: 8px; padding: 9px 12px; font-weight: 500; font-size: 14px; }
.menu-list a:hover { background: var(--surface-2); }

/* ---------- Site admin (/admin) ---------- */
.adm-head .tag { font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; background: var(--lime); color: var(--navy); padding: 4px 8px; border-radius: 99px; margin-left: 4px; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.adm-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.adm-stat b { display: block; font: 700 28px/1.1 var(--display); letter-spacing: -.02em; }
.adm-stat span { font-size: 13px; color: var(--muted); }
.adm-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 18px; }
.adm-bars div { flex: 1; background: var(--brand); border-radius: 6px 6px 0 0; position: relative; min-height: 2px; }
.adm-bars div i { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 600 11.5px/1 var(--font); font-style: normal; color: var(--ink-2); }
.adm-bars-x { display: flex; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 6px; }
.adm-bars-x span { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; }
.adm-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.adm-filter input { flex: 1 1 220px; }
.adm-filter select { flex: 0 0 auto; }
.adm-list { display: grid; gap: 8px; }
.adm-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; text-align: left; width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 400 14.5px/1.4 var(--font); }
.adm-row:hover { background: var(--surface-2); }
.adm-row .t { font-weight: 650; overflow-wrap: anywhere; }
.adm-row .s { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row .r { text-align: right; font-size: 13px; color: var(--muted); grid-row: span 2; }
.adm-row .r b { display: block; color: var(--ink); font-size: 15px; }
.pill.trial { background: var(--brand-soft); color: #1d2f8a; } .pill.pro { background: var(--ok-bg); color: var(--ok); }
.pill.comp { background: #f0e8ff; color: #5b2aa8; } .pill.paused { background: var(--warn-bg); color: var(--warn); }
.pill:first-child { margin-left: 0; }
.adm-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 16px; margin: 14px 0 6px; font-size: 14px; }
.adm-facts div span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.adm-facts div b { font-weight: 600; word-break: break-word; }
.adm-section { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.adm-section h4 { margin-bottom: 10px; }
.adm-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-sub { display: grid; gap: 6px; }
.adm-sub > div { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.adm-sub > div:last-child { border-bottom: 0; }
.adm-log { font-size: 13.5px; }
.adm-log > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.adm-log time { color: var(--muted); font-size: 12.5px; margin-right: 6px; }
#orgModal .modal, #userModal .modal { width: min(820px, 100%); }
.adm-note { width: 100%; min-height: 70px; font: 14px/1.45 var(--font); }
@media (max-width: 640px) {
  #orgModal.modal-bg, #userModal.modal-bg { padding: 0; }
  #orgModal .modal, #userModal .modal { border-radius: 0; min-height: 100%; padding: 18px 16px 30px; }
  .adm-stat b { font-size: 24px; }
}

/* Billing tab plan cards: side by side on wide screens, stacked on phones. */
.billing-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
@media (max-width: 640px) {
  .billing-plans { grid-template-columns: 1fr; }
  .billing-plans .plan { padding: 22px; }
}

/* Small tables (team, invites) become stacked rows on phones instead of running off the side. */
@media (max-width: 640px) {
  table.simple thead { display: none; }
  table.simple, table.simple tbody { display: block; }
  table.simple tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.simple td { border: 0; padding: 0; min-width: 0; overflow-wrap: anywhere; }
  table.simple td:first-child { flex: 1 1 auto; font-weight: 600; }
  table.simple td:last-child { margin-left: auto; text-align: right; }
  #teamRows td:nth-child(2) { order: 5; flex-basis: 100%; color: var(--muted); font-size: 13.5px; font-weight: 400; }
}

/* ---------- Card designer (tabs, preview, checks) ---------- */
.wp-head { align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.wp-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wp-dsel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.wp-dsel select { font-weight: 600; }
button.icon { width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; border-radius: 10px; }
button.icon svg, button.soft svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button.soft { background: var(--brand-soft); color: var(--brand-ink); display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 10px; font-size: 14px; }
button.soft:hover { background: #dbe2fd; }
.save-note { font-size: 13px; font-weight: 600; color: var(--muted); min-width: 64px; text-align: right; }
.save-note.ok { color: var(--ok); }
.save-note.err { color: var(--warn); }
.wp { grid-template-columns: minmax(0, 1fr) 340px; }
.wp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 5px; background: var(--surface-3); border-radius: 12px; position: sticky; top: 64px; z-index: 5; }
.wp-tabs button { background: transparent; color: var(--muted); border-radius: 9px; padding: 11px 6px; font-size: 14.5px; }
.wp-tabs button:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.wp-tabs button[aria-selected=true] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(13,23,38,.08), 0 2px 8px rgba(13,23,38,.06); }
.wp-pane { display: grid; gap: 14px; }
.wp-box.hl { border: 2px solid var(--brand); background: #f7f9ff; padding: 15px 17px; }
.wp .sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wp .sel-chip { display: none; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 10px; border-radius: 99px; }
.wp-box.hl .sel-chip { display: inline-block; }
.wp .lbl { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.wp .pane-hint { margin: 0 2px; }
.wp-more { border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 16px; background: var(--surface); }
.wp-more summary { color: var(--brand); font-size: 14px !important; }
.qr-ok { font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 4px 10px; border-radius: 99px; }
.bg-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bg-styles button { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 12px; padding: 10px 6px; display: grid; justify-items: center; gap: 8px; font-size: 13px; }
.bg-styles button:hover { background: var(--surface-2); }
.bg-styles button[aria-pressed=true] { box-shadow: inset 0 0 0 2px var(--brand); background: #f7f9ff; }
.bg-styles .sw { width: 44px; height: 70px; border-radius: 7px; display: block; border: 1px solid rgba(0,0,0,.08); }
.sw-bands { background: linear-gradient(var(--brand) 0 32%, #fff 32% 52%, var(--navy) 52%); }
.sw-solid { background: var(--brand); }
.sw-grad { background: linear-gradient(165deg, var(--brand), var(--navy)); }
.sw-photo { background: #6b7c93 url(/assets/backgrounds/coast-thumb.jpg) center / cover; }
.proof-head { width: 100%; max-width: 300px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.proof-head label.f { flex: 1 1 140px; }
.wp-proof { max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
.wp-proof .device { width: min(280px, calc((100vh - 250px) * .461)); min-width: 170px; max-width: 300px; }
.wp-proof canvas { cursor: pointer; }
.device .guides { position: absolute; inset: 0; pointer-events: none; }
.device .gz { position: absolute; left: 4%; right: 4%; border: 1.5px dashed #ff5a5a; background: rgba(255,90,90,.16); border-radius: 8px; }
.device .gz span { position: absolute; left: 6px; top: 5px; font: 700 9.5px/1.2 var(--font); color: #fff; background: #e5484d; padding: 2px 6px; border-radius: 99px; }
.device .gz-clock { top: 5.5%; height: 15%; }
.device .gz-widgets { top: 20.5%; height: 6.5%; border-color: #ff9a3d; background: rgba(255,154,61,.14); }
.device .gz-widgets span { background: #d9730d; }
.device .gz-buttons { top: 87.5%; bottom: 1%; }
.device .sel-box { position: absolute; border: 2px solid var(--brand); border-radius: 8px; box-shadow: 0 0 0 3px rgba(255,255,255,.7); pointer-events: none; transition: all .15s; }
.device .sel-box span { position: absolute; left: -2px; bottom: calc(100% + 4px); font: 700 10.5px/1 var(--font); color: #fff; background: var(--brand); padding: 4px 8px; border-radius: 99px; white-space: nowrap; }
.device .qr-badge { position: absolute; white-space: nowrap; font: 700 10px/1 var(--font); color: #fff; background: var(--ok); padding: 4px 8px; border-radius: 99px; box-shadow: 0 2px 6px rgba(0,0,0,.2); pointer-events: none; transform: translate(-100%, -50%); }
.checks { width: 100%; max-width: 300px; display: grid; gap: 8px; }
.chk { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); display: grid; gap: 6px; font-size: 13.5px; }
.chk.warn { border-color: #f3d39a; background: #fffaf0; }
.chk .t { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.chk .t::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.chk.warn .t::before { background: #e5a000; }
.chk p { margin: 0; color: var(--ink-2); line-height: 1.45; }
.chk .wrow { gap: 8px; }
.chk-ok { font-size: 13px; color: var(--ok); font-weight: 600; display: flex; align-items: center; gap: 6px; padding: 2px 4px; }
.wp-save { max-width: 300px; }
.wp-save .wp-more { padding: 8px 12px; }
.modal.wide { width: min(1080px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tpl { display: flex; justify-content: flex-start; white-space: normal; gap: 12px; align-items: center; text-align: left; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; padding: 10px; font-weight: 400; }
.tpl:hover { background: var(--surface-2); }
.tpl[aria-pressed=true] { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px var(--brand-soft); background: #f7f9ff; }
.tpl canvas { width: 78px; height: auto; border-radius: 10px; border: 3px solid #0b0f14; background: #0b0f14; flex: none; }
.tpl b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.tpl > span { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.try-body { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.try-body canvas { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; }
.try-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; flex: 1 1 240px; font-size: 15px; line-height: 1.45; }
.designs-list { display: grid; gap: 10px; }
.drow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.drow canvas { width: 52px; height: auto; border-radius: 8px; border: 2px solid #0b0f14; background: #0b0f14; }
.drow .meta { display: grid; gap: 6px; min-width: 0; }
.drow .meta .nm { display: flex; gap: 8px; align-items: center; font-weight: 650; }
.drow .meta input { padding: 7px 10px; font-size: 14px; }
.drow .meta .rule { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.drow .meta .rule input { width: 180px; }
.drow .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tour { position: fixed; inset: 0; z-index: 70; }
.tour-spot { position: fixed; border-radius: 14px; box-shadow: 0 0 0 3px var(--lime), 0 0 0 4000px rgba(13,23,38,.62); transition: all .25s; pointer-events: none; }
.tour-tip { position: fixed; width: min(360px, calc(100vw - 32px)); background: var(--surface); border-radius: 16px; padding: 18px 20px; display: grid; gap: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.3); transition: top .25s, left .25s; }
.tour-tip h3 { margin: 0; font-size: 19px; }
.tour-tip p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.tour-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--brand-ink); }
.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.tour-dots i.on { background: var(--brand); }
.tour-btns { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.pill.design { background: var(--brand-soft); color: var(--brand-ink); }
@media (max-width: 860px) {
  .wp { grid-template-columns: minmax(0, 1fr); }
  .wp-proof { position: sticky; top: 62px; z-index: 6; order: -1; background: var(--bg); padding: 8px 0 10px; max-height: none; overflow: visible;
    grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "dev head" "dev checks" "dev save"; justify-items: stretch; align-items: start; gap: 8px 12px; border-bottom: 1px solid var(--line); }
  .wp-proof .device { grid-area: dev; width: 96px; min-width: 0; max-width: 96px; border-width: 4px; }
  .wp-proof .proof-head { grid-area: head; max-width: none; flex-direction: row; align-items: center; gap: 8px; }
  .wp-proof .proof-head label.f { flex: 1 1 auto; font-size: 0; gap: 0; }
  .wp-proof .proof-head label.f select { font-size: 13.5px; padding: 7px 8px; }
  .wp-proof .proof-head .check { font-size: 12.5px; }
  .wp-proof .checks { grid-area: checks; max-width: none; max-height: 86px; overflow-y: auto; gap: 6px; }
  .wp-proof .chk { padding: 6px 9px; gap: 4px; font-size: 12.5px; }
  .wp-proof .chk p { display: none; }
  .wp-proof .chk .wrow button { padding: 5px 10px; font-size: 12.5px; }
  .wp-proof .chk-ok { font-size: 12px; }
  .wp-proof .wp-save { grid-area: save; max-width: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .wp-proof .wp-save > button { padding: 8px 12px; font-size: 13px; }
  .wp-proof .wp-save .wp-more { flex-basis: 100%; padding: 6px 10px; }
  .wp-proof .wp-save .status { flex-basis: 100%; }
  .wp-tabs { position: relative; top: 0; }
  .bg-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device .gz span, .device .sel-box span, .device .qr-badge { display: none; }
  .wp-tools { width: 100%; }
}
}

.wp .crow.hl-row { box-shadow: 0 0 0 2px var(--brand); border-radius: 10px; background: #f7f9ff; padding: 6px; margin: -6px; }

/* Admin settings: on/off switch */
.adm-setting{display:flex;justify-content:space-between;align-items:center;gap:16px}
.adm-setting-list{margin:14px 0 0;padding-left:18px;color:var(--muted,#5b6678)}
.adm-setting-list li{margin:6px 0}
.switch{position:relative;display:inline-block;width:52px;height:30px;flex:none;cursor:pointer}
.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.switch span{position:absolute;inset:0;background:#c9d1dc;border-radius:999px;transition:background .15s}
.switch span::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.switch input:checked+span{background:#0d1b33}
.switch input:checked+span::after{transform:translateX(22px)}
.switch input:focus-visible+span{outline:2px solid #c8f04a;outline-offset:2px}
.switch input:disabled+span{opacity:.5}

/* "Early access" note on public pages (shown only while early access is on) */
.early-note{display:inline-block;margin:14px 0 0;padding:8px 14px;border-radius:12px;background:#eef9c9;color:#24310a !important;font-size:14px;font-weight:600;line-height:1.4}
.early-note[hidden]{display:none}
