/* ADNYS Pay — shared styles (checkout + admin) */
:root {
  /* ADNYS brand — matches adnys.com */
  --ink: #1F2937;
  --navy: #0F1C3F;
  --navy-2: #1A2D5A;
  --muted: #6B7280;
  --line: #E1E7F0;
  --mist: #F5F6FA;
  --paper: #FFFFFF;
  --brand: #0D6EFD;
  --brand-2: #0B5ED7;
  --brand-soft: #EEF4FF;
  --sky: #00B0FF;
  --grad: linear-gradient(135deg, #0D6EFD, #00C6FF);
  --saffron: #D9A21B;   /* test-mode warning only */
  --ok: #1F7A4D;   --ok-soft: #E4F3EA;
  --bad: #B3261E;  --bad-soft: #FBE9E7;
  --warn: #9A5B00; --warn-soft: #FDF1DC;
  --radius-lg: 14px;
  --radius: 8px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--mist); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--brand); background: var(--brand); color: #fff;
  font: 600 14px var(--font); padding: 10px 16px; border-radius: var(--radius); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-2); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.danger { background: var(--bad); border-color: var(--bad); }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.block { width: 100%; }
label { display: block; font-weight: 600; font-size: 13px; margin: 0 0 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], select, textarea {
  width: 100%; font: 14px var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 11px; }
textarea { min-height: 220px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.field { margin-bottom: 14px; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0 14px 8px 0; }
.checks { display: flex; flex-wrap: wrap; }

/* ---------- status pills ---------- */
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--mist); color: var(--muted); white-space: nowrap; }
.pill.PAID, .pill.MATCHED, .pill.DELIVERED, .pill.active { background: var(--ok-soft); color: var(--ok); }
.pill.FAILED, .pill.DISCREPANCY, .pill.revoked { background: var(--bad-soft); color: var(--bad); }
.pill.PENDING, .pill.PROCESSING, .pill.CREATED, .pill.PARTIALLY_MATCHED, .pill.disabled { background: var(--warn-soft); color: var(--warn); }
.pill.REFUNDED, .pill.PARTIALLY_REFUNDED { background: var(--brand-soft); color: var(--brand); }

.notice { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice.error { background: var(--bad-soft); color: var(--bad); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }

/* =========================================================
   CHECKOUT
   ========================================================= */
.co { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 28px 16px 40px; }
.co-brand { width: 100%; max-width: 880px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.co-logo { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--brand); display: flex; align-items: center; gap: 9px; text-decoration: none; }
.co-logo svg { width: 26px; height: 26px; }
.co-secure { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.co-card { width: 100%; max-width: 880px; background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(15,28,63,.06), 0 8px 30px rgba(15,28,63,.07);
  display: grid; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 860px) { .co-card { grid-template-columns: 1.1fr 1fr; } }
.co-order { padding: 28px; }
.co-product { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.co-product img, .co-product .mono { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: var(--mist); flex: none; }
.co-product .mono { display: grid; place-items: center; font-weight: 800; color: var(--brand); font-size: 20px; }
.co-product h1 { font-size: 20px; margin: 0; line-height: 1.25; }
.co-product p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.co-desc { font-size: 16px; font-weight: 600; margin: 0 0 18px; }
.co-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.co-dl dt { color: var(--muted); }
.co-dl dd { margin: 0; text-align: right; word-break: break-word; }

/* The ticket: perforated edge between order details and payment */
.co-ticket { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 28px; display: flex; flex-direction: column; }
.co-ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 18px;
  background: radial-gradient(circle at 9px 9px, var(--paper) 7px, transparent 7.5px) 0 0 / 22px 18px repeat-x; }
@media (min-width: 860px) {
  .co-ticket::before { top: 0; bottom: 0; left: -9px; right: auto; width: 18px; height: auto;
    background: radial-gradient(circle at 9px 9px, var(--paper) 7px, transparent 7.5px) 0 0 / 18px 22px repeat-y; }
}
.co-amount-label { font-size: 13px; opacity: .8; margin: 0; }
.co-amount { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 4px 0 4px; }
.co-amount small { font-size: 18px; font-weight: 700; opacity: .85; margin-right: 6px; letter-spacing: 0; }
.co-amount-note { font-size: 12.5px; opacity: .75; margin: 0 0 22px; }
.co-methods { display: grid; gap: 10px; margin-bottom: 18px; border: 0; padding: 0; }
.co-methods legend { font-size: 13px; opacity: .85; margin-bottom: 8px; padding: 0; }
.co-method { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--radius); background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18); cursor: pointer; font-weight: 600; font-size: 14.5px; margin: 0; }
.co-method:has(input:checked) { background: rgba(0,176,255,.14); border-color: var(--sky); }
.co-method input { accent-color: var(--sky); width: 18px; height: 18px; margin: 0; }
.co-method .marks { margin-left: auto; font-size: 12px; opacity: .8; font-weight: 500; }
.co-pay { background: var(--grad); border: 0; color: #fff; font-size: 16px; padding: 15px; font-weight: 700; box-shadow: 0 8px 22px rgba(13,110,253,.35); }
.co-pay:hover { background: linear-gradient(135deg, #0B5ED7, #00B0FF); }
.co-pay[disabled] { opacity: .6; cursor: wait; }
.co-fine { font-size: 12.5px; opacity: .78; margin: 14px 0 0; }
.co-fine a { color: #fff; }
.co-ticket .notice { background: rgba(255,255,255,.95); }
.co-foot { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }
.co-foot a { color: var(--muted); }

/* Result pages */
.res { width: 100%; max-width: 480px; background: var(--paper); border-radius: var(--radius-lg); padding: 34px 28px; text-align: center;
  box-shadow: 0 1px 2px rgba(15,28,63,.06), 0 8px 30px rgba(15,28,63,.07); }
.res-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.res-icon.ok { background: var(--ok-soft); color: var(--ok); }
.res-icon.bad { background: var(--bad-soft); color: var(--bad); }
.res-icon.wait { background: var(--warn-soft); color: var(--warn); }
.res h1 { font-size: 22px; margin: 0 0 6px; }
.res p { color: var(--muted); margin: 0 0 20px; }
.res .co-dl { text-align: left; margin: 0 0 24px; padding: 16px; background: var(--mist); border-radius: var(--radius); }
.res .actions { display: grid; gap: 10px; }

/* Receipt */
.rc { max-width: 720px; margin: 30px auto; background: #fff; padding: 40px; border-radius: var(--radius-lg); }
.rc-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--brand); padding-bottom: 18px; margin-bottom: 22px; }
.rc-head h1 { margin: 0; font-size: 24px; color: var(--brand); }
.rc table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.rc th, .rc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rc td.r, .rc th.r { text-align: right; }
.rc .total td { font-weight: 800; font-size: 16px; border-bottom: 2px solid var(--ink); }
.rc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 14px; }
.rc-meta h3 { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.rc-meta p { margin: 0; }
.no-print { text-align: center; margin: 20px; }
@media print { body { background: #fff; } .rc { margin: 0; padding: 0; } .no-print { display: none; } }

/* =========================================================
   ADMIN
   ========================================================= */
.ad { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--navy) 232px, var(--mist) 232px); }
/* phone layout: see 'v3.2 admin app' below */
.ad-side { background: var(--navy); color: #C7D2E8; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.ad-side .co-logo { color: #fff; margin: 0 8px 24px; }
.ad-nav a { display: block; color: #C7D2E8; text-decoration: none; padding: 9px 12px; border-radius: var(--radius); font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.ad-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.ad-nav a.on { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(13,110,253,.35); }
.ad-nav .sep { height: 1px; background: rgba(255,255,255,.1); margin: 14px 8px; }
.ad-user { margin: 24px 8px 0; font-size: 12.5px; color: #8EA0C4; }
.ad-user a { color: #C7D2E8; }
.ad-main { padding: 26px 30px 60px; min-width: 0; }
.ad-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ad-top h1 { font-size: 23px; margin: 0; letter-spacing: -0.01em; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.panel h2 { font-size: 16px; margin: 0 0 14px; }
.panel h2 .hint { font-size: 13px; margin-left: 6px; }

/* stats: a single ruled strip rather than a card per number */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 20px; }
.stats.four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .stats.four { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat .k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat .v { font-size: 21px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 12px; color: var(--muted); font-weight: 700; margin-right: 3px; }
.stat .v2 { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; margin-bottom: 18px; }
.filters .f { min-width: 130px; flex: 1; }
.filters label { font-size: 12px; color: var(--muted); }
.filters input, .filters select { padding: 7px 9px; font-size: 13.5px; }

.tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #F7F9FC; white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl a { font-weight: 700; text-decoration: none; }
.tbl .sub { color: var(--muted); font-size: 12.5px; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: 13px; color: var(--muted); }

.charts { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 1200px) { .charts { grid-template-columns: 2fr 1fr; } }
.chart-box { position: relative; height: 260px; }

.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.two { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 1100px) { .two { grid-template-columns: 1fr 1fr; } }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--navy); color: #fff; padding: 12px 14px; border-radius: var(--radius); word-break: break-all; font-size: 13px; }
.inline-form { display: inline; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--mist); padding: 1px 5px; border-radius: 4px; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(1200px 600px at 80% -10%, rgba(0,176,255,.25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); }
.login form { width: 100%; max-width: 380px; background: #fff; border-radius: var(--radius-lg); padding: 30px; }
.login .co-logo { margin-bottom: 20px; }

/* =========================================================
   v2 — navigation icons, mode badge, test strip, new screens
   ========================================================= */
.ad-nav a { display: flex; align-items: center; gap: 10px; }
.ad-nav svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.mode-badge { display: inline-flex; align-items: center; gap: 7px; margin: -10px 8px 20px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.mode-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mode-badge.test { background: rgba(217,162,27,.16); color: var(--saffron); }
.mode-badge.live { background: rgba(46,160,103,.16); color: #58C58F; }
.mode-badge.off  { background: rgba(179,38,30,.2); color: #F08A83; }
.ad-user { display: flex; gap: 10px; align-items: center; }
.ad-user .av { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.ad-user small { color: #8EA0C4; }
.test-strip { background: var(--warn-soft); color: var(--warn); border: 1px solid #F1D9A8; padding: 9px 14px; border-radius: var(--radius); font-size: 13.5px; font-weight: 600; margin-bottom: 18px; }
.test-strip.off { background: var(--bad-soft); color: var(--bad); border-color: #F2C4BF; }
.test-strip a { color: inherit; margin-left: 6px; }
.co-test { width: 100%; max-width: 880px; background: var(--saffron); color: #1B1A12; text-align: center; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 14px; }

.btn .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lead { color: var(--muted); margin: -12px 0 20px; max-width: 70ch; }

/* Test payment */
.tp { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 1100px) { .tp { grid-template-columns: 1.1fr .9fr; } }
.amount-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.amount-pick button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font: 600 13px var(--font); cursor: pointer; color: var(--ink); }
.amount-pick button:hover { border-color: var(--brand); color: var(--brand); }
.steps { margin: 0; padding-left: 20px; font-size: 14px; }
.steps li { margin-bottom: 8px; }
.cardnote { background: var(--mist); border-radius: var(--radius); padding: 12px 14px; font-size: 13.5px; }

/* Product cards */
.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pcard-h { display: flex; gap: 12px; align-items: center; }
.plogo { width: 44px; height: 44px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; font-weight: 800; color: var(--brand); overflow: hidden; flex: none; }
.plogo img { width: 100%; height: 100%; object-fit: contain; }
.pcard h3 { margin: 0; font-size: 16px; }
.pcard .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; background: var(--mist); color: var(--muted); padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.pcard .btn-row { margin-top: auto; }

/* Integration box */
.copybox { position: relative; }
.copybox pre { background: var(--navy); color: #E3ECFF; padding: 14px; border-radius: var(--radius); font-size: 12.5px; overflow-x: auto; margin: 0; white-space: pre; }
.copybox button { position: absolute; top: 8px; right: 8px; }

/* System status */
.checks { display: grid; gap: 0; }
.check-row { display: grid; grid-template-columns: 28px 200px 1fr; gap: 10px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--mist); font-size: 14px; }
.check-row:last-child { border-bottom: 0; }
.check-row .st { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.check-row .st.ok { background: var(--ok-soft); color: var(--ok); }
.check-row .st.bad { background: var(--bad-soft); color: var(--bad); }
@media (max-width: 700px) { .check-row { grid-template-columns: 28px 1fr; } .check-row .d { grid-column: 2; color: var(--muted); } }

/* Email preview */
.preview-frame { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: var(--radius); background: #EEF2F4; }

/* Receipt v2 */
.rc { position: relative; overflow: hidden; }
.rc-stamp { position: absolute; top: 34px; right: -38px; transform: rotate(35deg); background: var(--ok); color: #fff; font-weight: 800; letter-spacing: .12em; font-size: 12px; padding: 5px 50px; }
.rc-sample { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-size: 110px; font-weight: 800; color: rgba(13,110,253,.05); transform: rotate(-24deg); }
.rc-prod { display: flex; align-items: center; gap: 10px; }
.rc-bar { max-width: 720px; margin: 20px auto 0; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 13px; }
.rc-bar select { width: auto; }
.rc-stamp { top: 26px; right: -44px; font-size: 11px; padding: 4px 48px; }
.rc-head > div:last-child { padding-right: 52px; }
@media print { .rc-stamp { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* =========================================================
   v3 — ADNYS blue & white, trust, partners, public page
   ========================================================= */
body { background: var(--mist); }
.co { background: radial-gradient(900px 420px at 50% -120px, #E3EDFF 0%, rgba(245,246,250,0) 70%); }
.co-logo .sky, .sky { color: var(--sky); }
.co-secure { gap: 9px; color: var(--navy); }
.co-secure svg { color: #1F9D55; flex: none; }
.co-secure > span { display: flex; flex-direction: column; line-height: 1.2; }
.co-secure b { font-size: 13px; }
.co-secure small { font-size: 11.5px; color: var(--muted); }
.co-card { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15,28,63,.05), 0 18px 48px rgba(15,28,63,.10); }
.co-product .mono { background: var(--brand-soft); color: var(--brand); }
.co-ticket { box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.co-amount small { color: var(--sky); opacity: 1; }
.co-pay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.co-fine a { color: #9FD8FF; }

.co-assure { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 14px; }
.co-assure li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.co-assure svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--brand-soft); flex: none;
  fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.co-assure b { display: block; color: var(--navy); font-size: 13.5px; }

/* Partner strip */
.trustbar { width: 100%; max-width: 880px; margin: 18px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.trustbar-l { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.trustbar-l svg { width: 15px; height: 15px; fill: none; stroke: #1F9D55; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pt-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pt { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 54px; padding: 4px 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 7px; }
.pt img { max-height: 22px; max-width: 78px; width: auto; height: auto; object-fit: contain; display: block; }
.pt-text { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: .01em; white-space: nowrap; }
.pt-sm { height: 28px; min-width: 44px; padding: 3px 8px; } .pt-sm img { max-height: 18px; max-width: 60px; }
.pt-lg { height: 52px; min-width: 96px; padding: 6px 14px; } .pt-lg img { max-height: 36px; max-width: 120px; }

/* Company footer */
.site-foot { background: var(--navy); color: #AFC0E0; padding: 22px 16px 18px; font-size: 13px; }
.site-foot-in { max-width: 880px; margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.sf-co { display: flex; flex-direction: column; gap: 3px; }
.sf-co b { color: #fff; font-size: 14px; }
.site-foot a { color: #DCE6FF; text-decoration: none; }
.site-foot a:hover { color: var(--sky); }
.sf-links { display: flex; gap: 16px; flex-wrap: wrap; }
.sf-copy { max-width: 880px; margin: 14px auto 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #8EA0C4; }
@media print { .site-foot, .trustbar { display: none; } }

/* Admin extras */
.ad-ver { display: block; margin: 10px 8px 0; font-size: 11.5px; color: #6F82AA; }
.ad-ver a { color: #8EA0C4; }
.drop { border: 2px dashed #B9CCF0; border-radius: var(--radius-lg); background: var(--brand-soft); padding: 22px; text-align: center; }
.drop input[type=file] { margin: 10px auto 0; display: block; max-width: 360px; }
.diff { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; max-height: 260px; overflow: auto; background: #F7F9FC; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.diff .n { color: #1F7A4D; } .diff .c { color: var(--brand); } .diff .s { color: var(--muted); }
.ver-chip { display: inline-block; font: 700 12px var(--font); padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }

/* Public page */
.home { background: #fff; }
.hm-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hm-nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.hm-nav .hm-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.hm-nav nav { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.hm-nav nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.hm-nav .co-logo { color: var(--navy); }
.hm-hero { background: radial-gradient(900px 500px at 85% 0%, rgba(0,176,255,.22), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 72px 0 56px; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #BFE7FF; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; margin: 0 0 18px; }
.hm-eyebrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 16px; max-width: 18ch; }
.hm-lead { font-size: 17px; color: #C9D6F0; max-width: 60ch; margin: 0 0 28px; line-height: 1.6; }
.hm-hero .trustbar { margin: 0; max-width: 720px; justify-content: flex-start; background: rgba(255,255,255,.97); }
.hm-sec { padding: 60px 0; }
.hm-sec h2 { font-size: 26px; letter-spacing: -0.015em; margin: 0 0 22px; color: var(--navy); }
.hm-alt { background: var(--mist); }
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hm-steps li { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: #fff; }
.hm-steps .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.hm-steps b { color: var(--navy); }
.hm-steps p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.hm-two { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hm-two { grid-template-columns: 1.1fr .9fr; } }
.hm-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hm-checks li { padding-left: 30px; position: relative; color: var(--ink); }
.hm-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #E4F3EA; color: #1F7A4D;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.hm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.hm-card h3 { margin: 0 0 14px; font-size: 16px; color: var(--navy); }
.hm-prods { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hm-prods li { display: flex; align-items: center; gap: 12px; }
.hm-prods .plogo { width: 38px; height: 38px; background: var(--brand-soft); color: var(--brand); }
.hm-prods small { display: block; color: var(--muted); font-size: 12.5px; }

.home .site-foot-in, .home .sf-copy { max-width: 1048px; }

/* ---- v3.0.2: ADNYS mark (navy on light, white on dark) ---- */
.co-logo svg.adm { width: 30px; height: 30px; color: var(--navy); flex: none; }
.ad-side .co-logo svg.adm, .site-foot svg.adm, .on-dark svg.adm { color: #fff; }
.adm-tile { display: grid; place-items: center; width: 100%; height: 100%; background: var(--navy); border-radius: inherit; }
.adm-tile svg.adm { width: 72%; height: 72%; color: #fff; }
.co-product .mono:has(.adm-tile), .plogo:has(.adm-tile) { background: var(--navy); }
.sf-logo { display: inline-block; margin-bottom: 8px; }
.sf-logo img { height: 44px; width: auto; display: block; }
.notice.info { background: var(--brand-soft); color: var(--navy); }
.pill.test-tag { background: #FFF4D6; color: #8A5A00; letter-spacing: .03em; }
.pill.live-tag { background: var(--ok-soft); color: var(--ok); letter-spacing: .03em; }
.live-dot { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; vertical-align: 1px; }
@media print { .adm-tile { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---- v3.1: Developers page + sandbox ---- */
.co-test.co-sbx { background: #FFF4D6; color: #6B4600; border-color: #F3D27A; }
.dev-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 8px; margin-left: 4px; }
.dev-hero { padding: 56px 0 44px; }
.dev-hero h1 { max-width: 22ch; }
.dev-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.dev-btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.dev-btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.dev-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; padding-top: 36px; padding-bottom: 60px; }
.dev-toc { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.dev-toc b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.dev-toc a { color: var(--ink); text-decoration: none; padding: 5px 10px; border-radius: 6px; border-left: 2px solid transparent; }
.dev-toc a:hover { background: var(--brand-soft); color: var(--brand); border-left-color: var(--brand); }
.dev-main { min-width: 0; }
.dev-sec { padding: 8px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 30px; scroll-margin-top: 80px; }
.dev-sec:last-child { border-bottom: 0; }
.dev-sec h2 { font-size: 24px; letter-spacing: -0.015em; color: var(--navy); margin: 0 0 12px; }
.dev-h3, .dev-sec h3.dev-h3 { font-size: 16px; color: var(--navy); margin: 24px 0 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dev-lead { font-size: 15.5px; color: #374151; max-width: 75ch; line-height: 1.65; margin: 0 0 18px; }
.dev-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dev-steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dev-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dev-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; min-width: 0; }
.dev-box h3 { margin: 0 0 10px; font-size: 15.5px; color: var(--navy); }
.dev-box p { margin: 0 0 10px; color: #4B5563; font-size: 14px; }
.dev-box ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.dev-box > a { font-weight: 600; text-decoration: none; font-size: 14px; }
.dev-do { border-top: 3px solid var(--ok); }
.dev-dont { border-top: 3px solid var(--bad); }
.dev-stepn { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.dev-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: f; }
.dev-flow li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; position: relative; padding-bottom: 18px; }
.dev-flow li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.dev-flow .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; border: 2px solid #CFE0FF; }
.dev-flow b { color: var(--navy); }
.dev-flow p { margin: 3px 0 0; color: #4B5563; font-size: 14px; }
.dev-code { background: #0B1530; color: #DCE6FF; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 12.8px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin: 0 0 12px; tab-size: 2; }
.dev-code code { background: none; color: inherit; padding: 0; font: inherit; white-space: pre; }
.dev-sec code, .dev-box code, .dev-lead code { background: var(--brand-soft); color: #123C8C; border-radius: 5px; padding: 1px 5px; font-size: .9em; }
.dev-tree { margin: 0; }
.dev-tbl td, .dev-tbl th { vertical-align: top; }
.dev-ol, .dev-ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; }
.dev-rules li { padding-left: 4px; }
.dev-keybox { background: linear-gradient(135deg, #FFFBEB, #FFF4D6); border: 1px solid #F3D27A; border-radius: var(--radius-lg); padding: 18px 20px; }
.dev-keyhead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--navy); }
.dev-kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; margin: 0; align-items: center; font-size: 14px; }
.dev-kv dt { color: #6B4600; font-weight: 600; }
.dev-kv dd { margin: 0; min-width: 0; }
.dev-copy { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dev-copy code { background: #fff !important; border: 1px solid #F0DDA6; padding: 5px 8px !important; border-radius: 7px !important; overflow-x: auto; white-space: nowrap; flex: 1; min-width: 0; color: var(--navy) !important; }
.dev-copybtn { flex: none; border: 1px solid #E8C766; background: #fff; color: #6B4600; border-radius: 7px; padding: 5px 10px; font: 600 12.5px var(--font); cursor: pointer; }
.dev-copybtn:hover { background: #FFF4D6; }
.dev-try select, .dev-try input { width: 100%; }
.dev-lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 10px 0 4px; }
.dev-tryout { margin-top: 18px; }
.dev-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 0; }
.dev-tabs button { border: 0; background: none; padding: 9px 14px; font: 600 14px var(--font); color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; margin-bottom: -1px; }
.dev-tabs button[aria-selected=true] { color: var(--brand); border-bottom-color: var(--brand); }
.dev-tabpanes .dev-code { border-top-left-radius: 0; border-top-right-radius: 0; }
.dev-verb { font: 800 11.5px ui-monospace, monospace; padding: 3px 7px; border-radius: 5px; color: #fff; letter-spacing: .03em; }
.dev-verb.post { background: var(--ok); }
.dev-verb.get { background: var(--brand); }
.dev-req { font-size: 10.5px; font-weight: 700; color: var(--bad); text-transform: uppercase; letter-spacing: .04em; margin-left: 4px; }
.dev-callout { background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.dev-callout ol { margin: 6px 0 0; padding-left: 20px; }
.dev-tick { list-style: none; padding: 0 !important; }
.dev-tick li { padding-left: 26px; position: relative; }
.dev-tick li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 4px; border: 2px solid #9DB5E0; }
.dev-checks { margin-top: 4px; }
.dev-narrow { max-width: 920px; }
.dev-kicker { font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px; }
.dev-h1 { font-size: 30px; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 10px; }
.dev-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 900px) {
  .dev-layout { grid-template-columns: 1fr; gap: 0; }
  .dev-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
  .dev-toc b { width: 100%; margin: 0; }
  .dev-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; }
  .dev-grid2, .dev-steps3, .dev-pages { grid-template-columns: 1fr; }
  .hm-nav nav > a:not(.btn) { display: none; }
}
/* sandbox card page */
.sbx-body { background: radial-gradient(800px 400px at 50% -10%, #FFF4D6, transparent 70%), var(--mist); }
.sbx { max-width: 480px; margin: 0 auto; padding: 24px 16px 48px; }
.sbx-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 40px rgba(15,28,63,.08); }
.sbx-head { margin-bottom: 14px; }
.sbx-tag { font-size: 11px; font-weight: 800; color: #6B4600; background: #FFF4D6; border: 1px solid #F3D27A; border-radius: 999px; padding: 2px 8px; letter-spacing: .04em; text-transform: uppercase; }
.sbx h1 { font-size: 21px; color: var(--navy); margin: 0 0 6px; }
.sbx-sub { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.sbx-actions { display: grid; gap: 10px; margin: 18px 0 12px; }
.sbx-decline { background: #fff; color: var(--bad); border: 1.5px solid #E9B7B2; box-shadow: none; }
.sbx-decline:hover { background: var(--bad-soft); color: var(--bad); }
.sbx-notes { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }

/* ---- v3.2: admin app (PWA) + phone layout ---- */
.ad-bar, .ad-tabs, .ad-scrim { display: none; }
.filters-fold > summary { display: none; }
.filters-fold > summary::-webkit-details-marker { display: none; }
.ad-install { display: flex; align-items: center; gap: 8px; margin: 16px 8px 0; width: calc(100% - 16px); background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 9px 12px; font: 600 13.5px var(--font); cursor: pointer; }
.ad-install svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ad-install:hover { background: rgba(255,255,255,.14); }
.ios-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 10px 40px 10px 12px; font-size: 13.5px; margin-bottom: 14px; position: relative; }
.ios-hint svg { width: 17px; height: 17px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.ios-hint button { position: absolute; right: 6px; top: 6px; border: 0; background: none; font-size: 15px; color: var(--muted); width: 30px; height: 30px; cursor: pointer; }
.ios-hint[hidden] { display: none; }

@media (max-width: 900px) {
  body.admin { padding-top: calc(56px + env(safe-area-inset-top)); background: var(--mist); }
  body.drawer-open { overflow: hidden; }
  .ad { display: block; min-height: 0; background: var(--mist); }
  .ad-bar { display: flex; align-items: center; gap: 6px; position: fixed; top: 0; left: 0; right: 0; z-index: 40;
    height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
    background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(15,28,63,.25); }
  .ad-bar .co-logo { color: #fff; font-size: 17px; flex: 1; gap: 8px; }
  .ad-bar .co-logo svg { width: 24px; height: 24px; }
  .ad-bar-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #fff; border-radius: 10px; cursor: pointer; flex: none; }
  .ad-bar-btn:active { background: rgba(255,255,255,.12); }
  .ad-bar-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mode-badge.sm { margin: 0 2px 0 0; padding: 4px 9px; font-size: 11px; }
  .ad-side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(86vw, 300px); height: 100%;
    padding: calc(18px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    transform: translateX(-105%); transition: transform .22s ease; box-shadow: 8px 0 30px rgba(0,0,0,.25); overflow-y: auto; overscroll-behavior: contain; }
  .drawer-open .ad-side { transform: none; }
  .ad-nav a { padding: 12px; font-size: 15px; }
  .ad-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(8,14,32,.5); }
  .ad-scrim[hidden] { display: none; }
  .ad-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #fff; border-top: 1px solid var(--line); padding: 4px max(4px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));
    box-shadow: 0 -4px 18px rgba(15,28,63,.06); }
  .ad-tabs a, .ad-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
    color: var(--muted); text-decoration: none; font: 600 11px var(--font); border: 0; background: none; border-radius: 10px; cursor: pointer; padding: 0; }
  .ad-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .ad-tabs .on { color: var(--brand); }
  .ad-tabs .on svg { stroke-width: 2.4; }
  .ad-tabs a:active, .ad-tabs button:active { background: var(--brand-soft); }
  .ad-main { padding: 14px max(14px, env(safe-area-inset-right)) calc(84px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .ad-top { margin-bottom: 14px; gap: 10px; }
  .ad-top h1 { font-size: 21px; }
  .ad-top .btn-row { width: 100%; }
  .ad-top .btn-row .btn { flex: 1; justify-content: center; }
  .lead { font-size: 14px; }
  .test-strip { font-size: 12.5px; padding: 9px 12px; margin: -2px 0 12px; }
  .stats, .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0; }
  .stat { padding: 12px 14px; }
  .stat .v { font-size: 20px; }
  .stat .k { font-size: 12px; }
  .panel { padding: 16px 14px; }
  .chart-box { height: 220px !important; }
  input, select, textarea { font-size: 16px !important; }
  .btn, button.btn { min-height: 42px; }
  .filters-fold { margin-bottom: 14px; }
  .filters-fold > summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 11px 14px; font-weight: 600; color: var(--navy); }
  .filters-fold > summary svg { width: 17px; height: 17px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; }
  .filters-fold > summary .hint { margin-left: auto; font-weight: 500; font-size: 12px; }
  .filters-fold[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
  .filters-fold[open] > .filters { border-top-left-radius: 0; border-top-right-radius: 0; margin-top: 0; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filters .f { min-width: 0; }
  .filters .f[style] { grid-column: 1 / -1; }
  .filters .btn { grid-column: 1 / -1; }
  /* tables become cards */
  .tbl-wrap:has(.tbl-cards) { background: none; border: 0; overflow: visible; }
  .tbl-cards thead { display: none; }
  .tbl-cards, .tbl-cards tbody { display: block; }
  .tbl-cards tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .tbl-cards td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; min-width: 0; font-size: 13.5px; overflow-wrap: anywhere; }
  .tbl-cards td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1px; }
  .tbl-cards td[data-label="Payment"] { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
  .tbl-cards td[data-label="Payment"]::before { display: none; }
  .tbl-cards td[data-label="Amount"] { font-weight: 700; color: var(--navy); }
  .tbl-cards td[data-label="ADNYS fee"], .tbl-cards td[data-label="Provider fee"], .tbl-cards td[data-label="Tax"], .tbl-cards td[data-label="Provider"] { display: none; }
  .tbl-cards td:only-child { grid-column: 1 / -1; }
  .tbl-cards td[colspan]::before { display: none; }
  .two, .charts, .row, .tp { grid-template-columns: minmax(0, 1fr) !important; }
  .panel, .two > *, .charts > *, .field { min-width: 0; }
  .copybox, .ad-main pre, .secret { max-width: 100%; overflow-x: auto; }
  .ad-main pre { white-space: pre; }
  .secret { overflow-wrap: anywhere; }
}
/* installed app: no browser chrome, so keep the top safe */
.is-app .ad-ver a[target] { display: none; }
.pwa-offline { min-height: 100vh; display: grid; place-items: center; background: var(--navy); color: #fff; text-align: center; padding: 24px; }
.pwa-offline main { max-width: 340px; }
.pwa-offline img { border-radius: 16px; }
.pwa-offline h1 { margin: 16px 0 8px; font-size: 22px; }
.pwa-offline p { color: #C7D2E8; margin: 0 0 20px; }
