/* ============================================================
   MEDIA SLAYER — accounts and portal
   login.html, account.html, plus the "reports you own" and client
   price bits on ranking-report.html. Uses the tokens in css/v2.css.
   ============================================================ */

/* ---------- shared ---------- */
.pt-hero { padding-bottom: 32px; }
.pt-h { font: 800 1.2rem var(--font-display); margin: 0 0 14px; color: var(--text); }
.pt-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-soft); }
.pt-status { margin: 12px 0 0; font-size: 0.92rem; color: var(--text-dim); min-height: 1.2em; }
.pt-status:empty { display: none; }
.pt-fine { margin: 14px 0 0; font-size: 0.82rem; color: var(--text-faint); line-height: 1.5; }
.pt-fine a { color: var(--text-dim); text-decoration: underline; }
.pt-opt { font-weight: 500; color: var(--text-faint); }
.pt-link { background: none; border: 0; padding: 0; margin-left: 6px; font: 700 0.88rem var(--font-body); color: var(--red); cursor: pointer; text-decoration: underline; }
.pt-empty, .pt-more { margin: 0; color: var(--text-dim); font-size: 0.95rem; }
.pt-empty a, .pt-more a { color: var(--red); font-weight: 700; }

/* ---------- login ---------- */
.pt-login { max-width: 480px; margin: 0 auto; }
.pt-login [data-lg-step] > p { color: var(--text-dim); }
.pt-who { margin: 0 0 16px; font-size: 0.95rem; color: var(--text-dim); }
.pt-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.pt-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--text-faint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pt-or::before, .pt-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

/* ---------- account ---------- */
.pt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.pt-main, .pt-side { display: grid; gap: 20px; min-width: 0; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: 1fr; } }
.pt-products { display: grid; gap: 10px; }
.pt-product { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--bg-card-hover); }
.pt-product > div { display: grid; gap: 2px; min-width: 0; }
.pt-product b { font: 800 1rem var(--font-display); color: var(--text); }
.pt-left { font-size: 0.92rem; color: var(--text); font-weight: 600; }
.pt-product small { color: var(--text-faint); font-size: 0.8rem; }
.pt-product.is-used { opacity: 0.75; }
.pt-product .btn { flex-shrink: 0; }
.pt-badge { flex-shrink: 0; font-size: 0.78rem; font-weight: 700; color: var(--text-dim); background: var(--lilac); border-radius: 999px; padding: 5px 10px; }
.pt-discount { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius-s); background: rgba(24, 168, 101, 0.08); border: 1px solid rgba(24, 168, 101, 0.3); }
.pt-discount b { color: var(--ok); font: 800 0.98rem var(--font-display); }
.pt-discount span { font-size: 0.88rem; color: var(--text-dim); }
.pt-reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-reports li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.pt-reports li > div { display: grid; gap: 2px; min-width: 0; }
.pt-reports b { overflow-wrap: anywhere; }
.pt-reports small { color: var(--text-faint); font-size: 0.82rem; }
.pt-rep-acts { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* trash can next to each report (owner 2026-10-19) */
.pt-trash { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: var(--text-muted); cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.pt-trash svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pt-trash:hover { color: #b42318; border-color: #f1b8b0; background: #fff4f2; }
.pt-trash:focus-visible { outline: 2px solid #b42318; outline-offset: 2px; }
.pt-rdel-what { display: grid; gap: 2px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.pt-rdel-what b { overflow-wrap: anywhere; }
.pt-rdel-what small { color: var(--text-faint); font-size: 0.82rem; }
.pt-rdel-btns { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.pt-err { color: var(--red); }
.pt-details .form-field input[readonly] { background: var(--bg); color: var(--text-dim); }
.pt-side .btn-block + .btn-block, .pt-side .pt-fine + .btn { margin-top: 12px; }
@media (max-width: 520px) { .pt-product, .pt-reports li { flex-direction: column; align-items: stretch; } }
@media (max-width: 520px) { .pt-rep-acts .btn { flex: 1; } .pt-rdel-btns .btn { flex: 1 1 100%; } }

/* report viewer */
.pt-viewer { padding-top: clamp(110px, 14vw, 140px); }
.pt-viewer-bar { margin-bottom: 16px; }
.pt-viewer .fr { margin-top: 0; }
.pt-quick .rs2-tabs { margin-top: 4px; }
.pt-qmap { height: 420px; border-radius: var(--radius-s); }

/* ---------- ranking-report.html: reports on the account + client price ---------- */
.fr-own-h { grid-column: 1 / -1; margin: 4px 0 0; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.fr-own { border-color: rgba(24, 168, 101, 0.45); }
.fr-own .fr-tier-top strong { font-size: 1.05rem; color: var(--ok); }
.fr-tier-top strong s, .cmp-price s, [data-fr-order-btn] s { font-weight: 600; color: var(--text-faint); font-size: 0.7em; }
[data-fr-order-btn] s { color: inherit; opacity: 0.7; font-size: 0.9em; }
.fr-client-price { color: var(--ok); }
.fr-client-tag { display: inline-block; font: 700 0.68rem var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ok); vertical-align: middle; }
[data-fr-order-btn] .fr-client-tag { color: inherit; opacity: 0.85; }
.cmp-price .fr-client-tag { display: block; margin-top: 2px; }
.fr-saved { margin: 4px 0 0; font-size: 0.88rem; color: var(--text-dim); }
.fr-saved a { color: var(--red); font-weight: 700; }

/* ---------- phone verification (login.html step 4) + opt-in boxes ---------- */
.fr-consent[hidden], .pt-verify[hidden], #lg-phone-form[hidden], #lg-code-form[hidden] { display: none !important; }
.pt-phone { display: flex; align-items: stretch; gap: 8px; }
.pt-dial { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--bg); font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.pt-phone input { flex: 1; min-width: 0; }
.pt-sms { margin: 0 0 16px; font-size: 0.85rem; color: var(--text-dim); line-height: 1.45; }
.pt-resend { margin-top: 10px; }
#lg-code { letter-spacing: 0.3em; font-size: 1.2rem; font-weight: 700; }
.rs-optin { font-size: 0.88rem; color: var(--text-dim); line-height: 1.45; cursor: pointer; }
/* account.html: verified mobile */
.pt-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.pt-verify-l { flex-basis: 100%; font-size: 0.85rem; font-weight: 700; color: var(--text); }
.pt-verify b { font-weight: 700; color: var(--text); }
.pt-ok { font-size: 0.78rem; font-weight: 700; color: var(--ok); background: rgba(24, 168, 101, 0.1); border-radius: 999px; padding: 3px 9px; }
.pt-verify .btn { margin-left: auto; }

/* subscriptions & credits (2026-10-10) */
.pt-bar { display: block; height: 6px; border-radius: 6px; background: rgba(42, 18, 64, 0.1); overflow: hidden; margin: 4px 0 2px; max-width: 260px; }
.pt-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e3175f, #ff6a2b); border-radius: 6px; }
.pt-low { font-style: normal; color: #ff6a2b; font-weight: 700; }
.pt-out { display: grid; justify-items: end; gap: 6px; text-align: right; font-size: 0.85rem; color: var(--text-dim); }
.pt-product.is-used { opacity: 1; }
.pt-product.is-used .pt-bar i { background: rgba(42, 18, 64, 0.25); }
.pt-upsell { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--radius-s); background: rgba(255, 106, 43, 0.08); border: 1px solid rgba(255, 106, 43, 0.3); }
.pt-upsell span { color: var(--text-dim); font-size: 0.92rem; }
.pt-upsell .btn { justify-self: start; }
@media (max-width: 560px) { .pt-product { flex-direction: column; align-items: stretch; } .pt-out { justify-items: start; text-align: left; } }
.pt-switch { margin: 18px 0 0; text-align: center; font-size: 0.92rem; color: var(--text-muted); }
.pt-switch .pt-link { font-size: 0.92rem; }

.pt-other { margin-top: 8px; }
.pt-yn { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.pt-yn legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 0.9rem; }
.pt-yn label { display: inline-flex; align-items: center; gap: 8px; margin-right: 22px; font-weight: 500; cursor: pointer; }
.pt-yn input { width: auto; margin: 0; }
.pt-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pt-row2 > * { min-width: 0; }
@media (max-width: 420px) { .pt-row2 { grid-template-columns: 1fr; } }
.pt-ghl-frame { width: 100%; min-height: 640px; border: 0; border-radius: var(--radius-s); background: #fff; }
.pt-2fa-opts { border: 0; padding: 0; margin: 10px 0 14px; display: grid; gap: 8px; min-width: 0; }
.pt-2fa-opts legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 0.9rem; }
.pt-2fa-opts label { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; cursor: pointer; }
.pt-2fa-opts input { width: auto; margin: 0; }
.pt-2fa-opts label:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.pt-totp { display: grid; gap: 8px; margin-bottom: 12px; }
.pt-totp img { background: #fff; border-radius: 8px; padding: 6px; }
.pt-totp code { word-break: break-all; }
.pt-leave { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.pt-leave .pt-link { margin-left: 0; font-weight: 600; color: var(--text-muted); }
.pt-leave .pt-danger { color: #b42318; }
.pt-cancelled { margin-top: 12px; font-size: 0.9rem; color: var(--text-dim); }
.pt-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; border: 0; border-radius: 20px; padding: 28px 24px 20px; background: #fff; color: var(--text, #2a1240); color-scheme: light; box-shadow: 0 30px 80px rgba(42, 18, 64, .35); }
.pt-dlg [hidden] { display: none !important; }
.pt-dlg::backdrop { background: rgba(42, 18, 64, .45); }
.pt-dlg > div { display: grid; gap: 12px; }
.pt-dlg-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--text-muted); }
.pt-warn { background: #fff4ef; border-radius: 12px; padding: 12px 14px; }
.pt-warn p { margin: 0; }
.pt-chk { border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; }
.pt-chk p { margin: 0; }
.pt-row-code { display: flex; gap: 8px; margin-top: 8px; }
.pt-row-code input { flex: 1; min-width: 0; }
.pt-btn-danger { background: #b42318 !important; }
.pt-home { display: flex; width: max-content; align-items: center; gap: 4px; font-weight: 700; color: var(--text-dim); text-decoration: none; margin-bottom: 14px; padding: 6px 0; }
.pt-home:hover { color: var(--text); }
.pt-2fa-opts input[type=radio] { -webkit-appearance: radio; appearance: radio; width: 16px; height: 16px; accent-color: var(--red); background: none; border: 0; box-shadow: none; padding: 0; }
.pt-warn-in { margin: 0; font-size: 0.9rem; background: #fff4ef; border-radius: 10px; padding: 10px 12px; }
.pt-details label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pt-badge { font-size: 0.72rem; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.pt-badge.is-ok { background: #e7f6ec; color: #15803d; }
.pt-badge.is-no { background: #fdecec; color: #b42318; }
.pt-badge:empty { display: none; }
.pt-chg { margin-left: auto !important; font-size: 0.82rem; }
.pt-chg-box { display: grid; gap: 8px; margin: -4px 0 14px; padding: 12px; border-radius: 12px; background: var(--lilac, #f4effa); }
.pc { display: grid; gap: 10px; color-scheme: light; }
.pc-box { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; line-height: 1.45; color: var(--text-dim); cursor: pointer; }
.pc-box input { width: auto; margin-top: 3px; flex: none; }
.pc-req { color: var(--red); }
.pc-code { display: grid; gap: 8px; }
.pc-again { justify-self: start; margin-left: 0; }
.pc-to { margin: 0; }
.pc-box input[type=checkbox] { -webkit-appearance: checkbox; appearance: checkbox; width: 16px; height: 16px; min-height: 0; padding: 0; border: 0; box-shadow: none; background: none; accent-color: var(--red); }

.pt-code { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line, #eee3f0); }
.pt-code label { font-weight: 700; font-size: 0.9rem; }
.pt-code-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-code-row input { flex: 1 1 180px; min-width: 0; text-transform: uppercase; }

.pt-why { display: grid; gap: 8px; }
.pt-why textarea { width: 100%; resize: vertical; font: inherit; }

.pt-risk { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 0.85em; }
.pt-risk-high { color: #b3122e; background: #fde7ea; }
.pt-risk-low { color: #12733a; background: #e3f6ea; }
.pt-totp[hidden], .pt-code[hidden], .pt-why[hidden] { display: none; } /* display:grid above must not beat [hidden] */
.pt-2fa-opts, .pt-dlg, .pt-code, .pt-why { color-scheme: light; } /* radios/selects stay light (dark pane showed black dots) */
.pt-2fa-opts input[type="radio"] { accent-color: #e3175f; }

.pt-2fa-sms { display: grid; gap: 8px; margin-bottom: 12px; }
.pt-2fa-sms[hidden] { display: none; }

.pt-billing { display: grid; gap: 6px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line, #eee3f0); border-radius: 14px; }
.pt-billing .btn { justify-self: start; }

.pt-plan-end { margin: 0 0 6px; padding: 10px 12px; border-radius: 10px; background: #fff4ee; color: #2a1240; }

/* admin panel (owner 2026-10-11) */
.pt-tabs { display: flex; gap: 6px; margin-bottom: 12px; border-bottom: 1px solid var(--line, #eee3f0); }
.pt-tab { background: none; border: 0; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--text-dim, #6b5a72); cursor: pointer; border-bottom: 3px solid transparent; }
.pt-tab[aria-selected="true"] { color: var(--plum, #2a1240); border-bottom-color: #e3175f; }
.pt-users small { line-height: 1.5; }
.pt-au { margin-top: 16px; padding: 16px; border: 1px solid var(--line, #eee3f0); border-radius: 12px; background: var(--bg-soft, #faf7fb); display: grid; gap: 10px; }
.pt-au[hidden], .pt-au-confirm[hidden], [data-pt-admin-pane][hidden] { display: none; }
.pt-au-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pt-au-head h3 { margin: 0; font-size: 1.1rem; }
.pt-au h4 { margin: 8px 0 0; font-size: 0.95rem; }
.pt-au-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 16px; }
.pt-au-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; border-bottom: 1px dashed var(--line, #eee3f0); padding: 4px 0; min-width: 0; }
.pt-au-row b { text-align: right; overflow-wrap: anywhere; }
.pt-au-list { margin: 0; padding-left: 18px; font-size: 0.88rem; }
.pt-au-ctl { display: grid; gap: 10px; }
.pt-au-ctl select { width: auto; }
.pt-au-confirm { padding: 10px 12px; border-radius: 10px; background: #fff4ee; border: 1px solid #ffd7c2; font-size: 0.9rem; }

.form-field select[hidden], .form-field input[hidden] { display: none; } /* State: dropdown or text box (owner 2026-10-11) */
/* owner 2026-10-11: the code box stays hidden until a code is sent; dropdown lists black on white (dark mode drew them grey) */
.pc-code[hidden], .pc-again[hidden], .pc-send[hidden] { display: none; }
.pt select, .pc select, .pt-dlg select, .pt select option, .pc select option { color-scheme: light; background-color: #fff; color: #2a1240; }
/* admin → Promo codes (owner 2026-10-11) */
.pt-promo-form select { width: auto; }
.pt-promo-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.08em; }
.pt-promo-new { display: grid; gap: 4px; justify-items: start; margin: 12px 0; padding: 14px 16px; border-radius: 12px; background: #fff4ee; border: 1px solid #ffd7c2; }
.pt-promo-new[hidden], [data-pc-qty][hidden] { display: none; }
.pt-promo-new > span { font-size: 0.8rem; font-weight: 700; color: var(--text-dim, #6b5a72); }
.pt-promo-big { font-size: 1.6rem; color: var(--plum, #2a1240); }
/* Auto top-off switch (owner 2026-10-14) */
.pt-topoff { margin-top: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid #e7ddec; background: #fff; display: grid; gap: 10px; }
.pt-topoff[hidden] { display: none; }
.pt-topoff-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.pt-topoff-head > div { display: grid; gap: 2px; min-width: 0; }
.pt-topoff-head span { color: #6b5a72; font-size: 0.9rem; }
.pt-switch { position: relative; flex: 0 0 auto; cursor: pointer; }
.pt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-switch-ui { display: block; width: 50px; height: 28px; border-radius: 999px; background: #d9cfe0; transition: background 0.2s; position: relative; }
.pt-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(42, 18, 64, 0.3); transition: transform 0.2s; }
.pt-switch input:checked + .pt-switch-ui { background: linear-gradient(90deg, #e3175f, #ff6a2b); }
.pt-switch input:checked + .pt-switch-ui::after { transform: translateX(22px); }
.pt-switch input:focus-visible + .pt-switch-ui { outline: 2px solid #e3175f; outline-offset: 2px; }
.pt-topoff-opts { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-topoff-opts[hidden] { display: none; }
.pt-topoff-opts label { display: grid; gap: 4px; font-size: 0.85rem; font-weight: 700; color: #2a1240; }
.pt-topoff-opts select { color-scheme: light; color: #1d1424; background: #fff; border: 1px solid #d9cfe0; border-radius: 10px; padding: 8px 10px; font: inherit; font-weight: 500; }
.pt-topoff-terms { margin: 0; font-size: 0.85rem; color: #5b4a63; }
.pt-topoff-status { margin: 0; font-size: 0.85rem; color: #15803d; min-height: 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pt-switch-ui, .pt-switch-ui::after { transition: none; } }

.pt-topoff-head b { color: #2a1240; font-size: 1.02rem; font-weight: 800; }
.pt-finish-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #fff4ee; border: 1px solid #ffd7c2; font-size: 0.95rem; }
.pt-finish-note a { color: #e3175f; font-weight: 700; }

/* My account | Account settings (owner 2026-10-14) */
.pt-areas { margin: 0 0 20px; }
.pt-areas .pt-tab { font-size: 1rem; padding: 10px 14px; }
.pt-who-name { margin: 0; font-weight: 800; color: var(--text); }
.pt-who-line { margin: 2px 0 0; font-size: 0.9rem; color: var(--text-dim); overflow-wrap: anywhere; }
.pt-who .btn-block { margin-top: 16px; }
.pt-who-out { display: block; margin: 12px 0 0; color: var(--text-muted); font-weight: 600; }
.pt-save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.pt-save-row .pt-status { margin: 0; }
.pt-details select { width: 100%; }
.pt-locs { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 12px; }
.pt-loc { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); }
.pt-loc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pt-loc-head .pt-link { font-weight: 600; }
.pt-loc-head .pt-danger { color: #b42318; }
.pt-loc-find { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-loc-find .pt-fine { margin: 0; }
.pt-loc-picks { display: grid; gap: 6px; margin-top: 10px; }
.pt-loc-pick { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--bg-card); font: inherit; color: var(--text); cursor: pointer; }
.pt-loc-pick:hover, .pt-loc-pick:focus-visible { border-color: #e3175f; }
.pt-loc-pick small { color: var(--text-dim); }
.pt-loc-empty { color: var(--text-dim); font-size: 0.92rem; }
.pt-chg-box[hidden] { display: none; }
.pt-grid[hidden] { display: none; }
/* Full report: "Include a 1-hour Zoom strategy call", new-customer price, community question, comparison (owner 2026-10-14) */
.fr-zoom { display: flex; align-items: center; gap: 10px; margin: -4px 0 8px; padding: 10px 14px; border: 1px dashed #ffb48f; border-radius: 12px; background: #fff8f4; font-weight: 600; cursor: pointer; }
.fr-zoom input { width: auto; margin: 0; }
.fr-zoom b { margin-left: auto; color: #e3175f; white-space: nowrap; }
.fr-first { display: block; color: #15803d; font-weight: 600; }
.cmp-first { display: block; margin-top: 2px; font-size: 0.72rem; font-weight: 600; color: #15803d; }
.cmp-zoom { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.cmp-zoom input { width: auto; margin: 0; }
.cmp-zoom b { color: #e3175f; }
.fr-cq { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 14px 0; min-width: 0; }
.fr-cq legend { font-weight: 700; padding: 0 4px; }
.fr-cq .fr-sub { margin: 0 0 8px; }
.fr-cq-list { display: grid; gap: 6px; }
.fr-cq-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.fr-cq-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.fr-cq-row input { width: auto; margin: 0; }
.fr-cq-row select { width: auto; min-width: 190px; }
.fr-cq-row select[hidden] { display: none; }
.cmp-vs td { font-size: 0.92rem; }
.cmp-vs-us th, .cmp-vs-us td { font-weight: 800; background: #fff4ee; }
.cmp-vs-note { margin: 12px 0 0; max-width: 72ch; font-size: 0.85rem; color: var(--text-dim); }

/* admin → Costs (owner 2026-10-21) */
.pt-cost-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.pt-cost-tiles > div { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.pt-cost-tiles b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.pt-cost-tiles span { font-size: .82rem; color: var(--text-faint); }
.pt-h3 { font-size: 1rem; margin: 16px 0 6px; }
.pt-tablewrap { overflow-x: auto; }
.pt-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.pt-table th, .pt-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pt-table th { font-size: .78rem; color: var(--text-faint); font-weight: 600; }
.pt-table .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-table small { display: block; color: var(--text-faint); font-size: .76rem; }
.pt-table .pt-total td { font-weight: 700; border-top: 2px solid var(--line-strong); }

/* "Have us do it for you" on the account page (owner 2026-10-21) */
.pt-dfy-bill { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.pt-chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--text-muted); cursor: pointer; }
.pt-chip[aria-pressed="true"] { background: #2a1240; border-color: #2a1240; color: #fff; }
.pt-dfy-plan { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-s); margin-top: 10px; }
.pt-dfy-plan > div:first-child { grid-column: 1 / -1; display: grid; gap: 4px; min-width: 0; }
.pt-dfy-plan small { color: var(--text-faint); font-size: 0.82rem; }
.pt-dfy-qty { display: grid; gap: 4px; justify-items: center; font-size: 0.82rem; color: var(--text-muted); }
.pt-step { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.pt-step button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--text); }
.pt-step input { width: 46px; height: 34px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; -moz-appearance: textfield; }
.pt-step input::-webkit-inner-spin-button, .pt-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pt-dfy-total { display: grid; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .pt-dfy-plan { grid-template-columns: 1fr; } .pt-dfy-total { text-align: left; } .pt-dfy-qty { justify-items: start; } }

/* admin "Send to client" (owner 2026-10-21) */
.pt-reports li:has(.pt-send) { flex-wrap: wrap; }
.pt-send { flex: 1 1 100%; display: grid; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 12px; background: #faf6fc; border: 1px solid var(--line); }
.pt-send-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.pt-send-grid label { display: grid; gap: 4px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.pt-send-chk { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.pt-send-chk input { width: 16px; height: 16px; -webkit-appearance: checkbox; appearance: checkbox; accent-color: #e3175f; }
.pt-send-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-send-link { display: flex; gap: 8px; margin-top: 8px; }
.pt-send-link input { flex: 1; min-width: 0; font-size: 0.82rem; }
.pt-send .ms-invalid { border-color: #d92d20 !important; box-shadow: 0 0 0 3px rgba(217, 45, 32, .16) !important; }

/* admin Manage → Edit details (owner 2026-10-21) */
.pt-au-edit-acts { margin: 12px 0 0; }
.pt-au-edit { display: grid; gap: 10px; margin: 10px 0 4px; padding: 14px; border: 1px solid var(--line, #e3d9ec); border-radius: 12px; }
.pt-au-edit input { min-width: 0; }

/* admin Manage → Add reports to this account (owner 2026-10-21) */
.pt-addrep { display: grid; gap: 8px; margin: 0 0 8px; }
.pt-addrep .pt-code-row input[type=search] { flex: 1 1 240px; min-width: 0; }
.pt-addrep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 360px; overflow: auto; }
.pt-addrep-list:empty { display: none; }
.pt-addrep-list label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line, #e3d9ec); border-radius: 10px; cursor: pointer; }
.pt-addrep-list input { margin-top: 3px; width: 16px; height: 16px; -webkit-appearance: checkbox; appearance: checkbox; accent-color: #e3175f; flex-shrink: 0; }
.pt-addrep-list span { display: grid; gap: 2px; min-width: 0; }
.pt-addrep-list small { color: var(--text-muted, #6b5d73); overflow-wrap: anywhere; }
.pt-addrep-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

/* readable inputs in the Manage panel (owner 2026-10-21: the report search was black on black, and all capitals) */
.pt-addrep input[type=search], .pt-au-edit input { background: #fff !important; color: #2a1240 !important; border: 1px solid #d9cce6 !important; border-radius: 10px; padding: 9px 12px; font: inherit; text-transform: none; -webkit-appearance: none; appearance: none; }
.pt-addrep input[type=search]::placeholder, .pt-au-edit input::placeholder { color: #8a7d8f; opacity: 1; }
.pt-addrep input[type=search]:focus, .pt-au-edit input:focus { outline: 2px solid #e3175f; outline-offset: 1px; border-color: #e3175f !important; }
.pt-addrep-acts input[type=checkbox] { width: 16px; height: 16px; -webkit-appearance: checkbox; appearance: checkbox; accent-color: #e3175f; background: none; }
.pt-au-rm { margin-left: 8px; color: #b42318 !important; font-weight: 700; }
