/* نادي الدكتور للمحترفين – shared app styles (member portal + staff screen). Everything is scoped under .adpc so the theme can't leak in. */
/* Alexandria (SIL OFL, see fonts/OFL.txt) ships with the plugin: one variable file per script, no trip to Google. */
@font-face {
  font-family: "Alexandria"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/alexandria-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Alexandria"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/alexandria-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ======================================================================
   Tokens + scoped resets
   ====================================================================== */
.adpc {
  --blue: #1b33b5;
  --blue-600: #1529a0;
  --blue-800: #0d1e6e;
  --navy: #0a1650;
  --floor: #2443c6;
  --yellow: #ffe600;
  --yellow-600: #f5d400;
  --orange: #ff6a00;
  --orange-700: #c2410c;
  --red: #e3141b;
  --red-700: #b80d14;
  --wa: #15803d;
  --wa-600: #116b33;
  --ink: #0b1238;
  --muted: #586087;
  --line: #e2e6f3;
  --bg: #f2f4fb;
  --card: #fff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 56, .06), 0 8px 24px rgba(11, 18, 56, .08);
  --font: "Alexandria", "Cairo", "Tahoma", system-ui, sans-serif;
  --silver: #8a94a6;
  --gold: #b8860b;
  --ok: #15803d;
  --warn: #b45309;
  --danger: #b80d14;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  position: relative;
  overflow-x: clip;
}
.adpc *, .adpc *::before, .adpc *::after { box-sizing: border-box; }
/* Resets use :where() so they beat theme element rules but never our own component classes. */
.adpc :where(h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, form, fieldset, legend, label, blockquote) { margin: 0; padding: 0; }
.adpc :where(fieldset) { border: 0; min-width: 0; }
.adpc :where(ul, ol) { list-style: none; }
.adpc :where(h1, h2, h3, h4) { font-family: var(--font); color: inherit; letter-spacing: 0; text-transform: none; line-height: 1.3; font-weight: 800; }
.adpc :where(img) { max-width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }
.adpc :where(a) { color: inherit; text-decoration: none; }
.adpc :where(button, input, select, textarea) { font: inherit; color: inherit; margin: 0; letter-spacing: 0; text-transform: none; }
.adpc :where(button) { cursor: pointer; background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.adpc :where(svg) { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.adpc :where(table) { border-collapse: collapse; width: 100%; }
.adpc :where(b, strong) { font-weight: 800; }
.adpc :where(bdi) { direction: ltr; unicode-bidi: isolate; }
.adpc [hidden] { display: none !important; }
.adpc :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
body.adpc-canvas { margin: 0; background: #f2f4fb; }
html.adpc-lock, html.adpc-lock body { overflow: hidden; }

.adpc .adpc-ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.adpc .adpc-ico--fill { fill: currentColor; stroke: none; }
.adpc-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.adpc-ltr { direction: ltr; unicode-bidi: isolate; }

/* ======================================================================
   Shared primitives (portal + staff use the same markup contract)
   ====================================================================== */

/* ---------- buttons ---------- */
.adpc-btn {
  --spin: var(--blue);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 20px; border: 0; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1.25; text-align: center; white-space: normal;
  background: #eef1fb; color: var(--blue); cursor: pointer;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.adpc-btn:active { transform: scale(.97); }
.adpc-btn--primary { --spin: #fff; background: var(--blue); color: #fff; }
.adpc-btn--primary:hover { background: var(--blue-600); }
.adpc-btn--yellow { --spin: var(--navy); background: var(--yellow); color: var(--navy); box-shadow: 0 -3px 0 var(--yellow-600) inset, 0 8px 22px rgba(255, 230, 0, .3); }
.adpc-btn--yellow:hover { background: #fff04d; }
.adpc-btn--ghost { --spin: var(--blue); background: #eef1fb; color: var(--blue); box-shadow: inset 0 0 0 1.5px #cfd7f5; }
.adpc-btn--ghost:hover { background: #e2e7fa; }
.adpc-btn--danger { --spin: #fff; background: var(--danger); color: #fff; }
.adpc-btn--danger:hover { background: #9a0b11; }
.adpc-btn--wa { --spin: #fff; background: var(--wa); color: #fff; }
.adpc-btn--wa:hover { background: var(--wa-600); }
.adpc-btn--block { display: flex; width: 100%; }
.adpc-btn--lg { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.adpc-btn--sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.adpc-btn .adpc-ico { width: 1.2em; height: 1.2em; }
.adpc-btn[disabled], .adpc-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.adpc-btn.is-loading { color: transparent !important; pointer-events: none; opacity: 1; }
.adpc-btn.is-loading > * { visibility: hidden; }
.adpc-btn.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid var(--spin); border-inline-end-color: transparent; animation: adpc-spin .7s linear infinite;
}
@keyframes adpc-spin { to { transform: rotate(360deg); } }

/* ---------- card ---------- */
.adpc-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }

/* ---------- fields ---------- */
.adpc-field { display: grid; gap: 6px; }
.adpc-field > label:not(.adpc-check), .adpc-field__label { font-size: 14px; font-weight: 700; color: var(--ink); }
.adpc-input {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px; margin: 0;
  border: 1.5px solid #d3d9ec; border-radius: 14px; background-color: #f8f9fd;
  font-family: var(--font); font-size: 16px; line-height: 1.4; color: var(--ink); text-align: right;
  box-shadow: none; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.adpc-input::placeholder { color: #7d84a3; opacity: 1; }
.adpc-input[dir="ltr"] { text-align: left; }
.adpc-input:focus { border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(27, 51, 181, .15); }
.adpc-input:focus-visible { outline: none; }
.adpc-input[disabled], .adpc-input[readonly] { background-color: #eef0f6; color: var(--muted); }
select.adpc-input {
  padding-inline-end: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586087' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 16px;
}
textarea.adpc-input { min-height: 96px; resize: vertical; }
.adpc-hint { font-size: 13px; color: var(--muted); line-height: 1.55; }
.adpc-error { display: none; font-size: 13px; font-weight: 700; color: var(--danger); line-height: 1.5; }
.adpc-field.is-invalid .adpc-error { display: block; }
.adpc-field.is-invalid .adpc-input { border-color: var(--red); background-color: #fff5f5; }
.adpc-field.is-invalid .adpc-input:focus { box-shadow: 0 0 0 4px rgba(227, 20, 27, .14); }

/* checkbox row (label wraps the input) */
.adpc-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; font-size: 14px; line-height: 1.6; cursor: pointer; }
.adpc-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.adpc-check a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* one-time code: one input, digits spread out */
.adpc-otp {
  max-width: 320px; margin-inline: auto; min-height: 64px;
  font-size: 28px; font-weight: 800; letter-spacing: .45em; text-align: center !important;
  direction: ltr; padding-inline-start: calc(14px + .45em); font-variant-numeric: tabular-nums;
}
.adpc-otp::placeholder { color: #c3c9de; letter-spacing: .45em; }

/* ---------- badges ---------- */
.adpc-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; background: #eef1fb; color: var(--blue-600); }
.adpc-badge--blue { background: #e6eafb; color: var(--blue); }
.adpc-badge--silver { background: #eceff4; color: #475166; }
.adpc-badge--gold { background: #fbf0cf; color: #7a5600; }
.adpc-badge--ok { background: #e3f4e8; color: var(--wa-600); }
.adpc-badge--warn { background: #fff1e0; color: #92400e; }
.adpc-badge--danger { background: #fde8e8; color: var(--danger); }

/* ---------- toast: in-flow region at the top of the root (aria-live), messages float over the page ---------- */
.adpc-toast { position: sticky; top: calc(10px + var(--safe-t)); z-index: 70; height: 0; pointer-events: none; }
.adpc-toast > * {
  position: absolute; top: 0; left: 0; right: 0; margin: 0 auto; width: fit-content; max-width: min(520px, calc(100% - 32px));
  padding: 12px 18px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(5, 12, 50, .3);
  font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; pointer-events: auto;
  animation: adpc-drop .25s ease;
}
.adpc-toast > .is-error { background: var(--danger); }
.adpc-toast > .is-ok { background: var(--wa-600); }
.adpc-toast > .is-out { opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
@keyframes adpc-drop { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- bottom sheet (<dialog>; .is-fallback when showModal() isn't available) ---------- */
.adpc-sheet {
  position: fixed; inset: auto 0 0 0; z-index: 1000; margin: 0 auto; padding: 0; border: 0;
  width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh;
  display: none; flex-direction: column; overflow: hidden;
  background: #fff; color: var(--ink); border-radius: 24px 24px 0 0; box-shadow: 0 -20px 50px rgba(5, 12, 50, .3);
  font-family: var(--font); font-size: 16px; line-height: 1.6; direction: rtl; text-align: right;
}
.adpc-sheet[open] { display: flex; animation: adpc-up .28s cubic-bezier(.2, .8, .2, 1); }
.adpc-sheet::backdrop { background: rgba(5, 10, 40, .55); }
.adpc-sheet.is-fallback[open] { box-shadow: 0 0 0 100vmax rgba(5, 10, 40, .55); }
.adpc-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); }
.adpc-sheet__head h2 { font-size: 19px; font-weight: 900; color: var(--navy); line-height: 1.35; }
.adpc-sheet__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eef1fb; color: var(--navy); font-size: 26px; line-height: 1; }
.adpc-sheet__x:hover { background: #e2e7fa; }
.adpc-sheet__body { display: grid; gap: 14px; padding: 16px 18px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.adpc-sheet__foot { display: grid; gap: 8px; padding: 12px 18px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; }
.adpc-sheet__msg:empty { display: none; }
.adpc-sheet__msg { padding: 10px 14px; border-radius: 12px; background: #eef1fb; color: var(--ink); font-size: 14px; font-weight: 700; }
.adpc-sheet__msg.is-error { background: #fdeeee; color: var(--danger); }
.adpc-sheet__msg.is-ok { background: #e3f4e8; color: var(--wa-600); }
@keyframes adpc-up { from { transform: translateY(40px); opacity: 0; } }

/* ---------- lists ---------- */
.adpc-list { display: grid; }
.adpc-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.adpc-row:last-child { border-bottom: 0; }
a.adpc-row, button.adpc-row { width: 100%; color: inherit; text-align: right; transition: background-color .15s; }
a.adpc-row:hover, button.adpc-row:hover { background: #f7f8fd; }

/* ---------- numbers ---------- */
.adpc-num {
  display: inline-block; direction: ltr; unicode-bidi: isolate;
  font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1;
  font-weight: 900; line-height: 1; letter-spacing: -.01em;
}

/* ---------- empty / skeleton ---------- */
.adpc-empty { display: grid; justify-items: center; gap: 8px; padding: 32px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.adpc-empty b { color: var(--ink); font-size: 16px; }
.adpc-empty__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e8ecf8; color: var(--blue); font-size: 26px; margin-bottom: 4px; }
.adpc-skeleton {
  display: block; min-height: 16px; border-radius: 12px;
  background: linear-gradient(90deg, #e6eaf6 25%, #f3f5fb 50%, #e6eaf6 75%); background-size: 200% 100%;
  animation: adpc-shimmer 1.3s ease-in-out infinite;
}
@keyframes adpc-shimmer { from { background-position: 200% 0; } to { background-position: 0 0; } }
.adpc-boot { height: 180px; margin: 16px; }

/* ---------- gate card (staff login, wrong account, no showroom) ---------- */
.adpc-gatewrap { display: grid; place-items: center; padding: 24px 16px calc(24px + var(--safe-b)); background: radial-gradient(80% 60% at 20% 90%, rgba(80, 115, 255, .45), transparent 70%), linear-gradient(170deg, var(--navy), var(--blue-800) 55%, var(--blue)); }
body.adpc-canvas .adpc-gatewrap { min-height: 100vh; min-height: 100dvh; }
.adpc-gate { width: 100%; max-width: 420px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(5, 12, 50, .35); }
.adpc-gate__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.3; }
.adpc-gate__head img { width: 30px; }
.adpc-gate__head small { display: block; font-size: 12px; font-weight: 400; opacity: .78; }
.adpc-gate__body { display: grid; gap: 12px; padding: 22px 20px 24px; }
.adpc-gate__body h1 { font-size: 22px; font-weight: 900; color: var(--navy); }
.adpc-gate__body p { font-size: 15px; color: var(--muted); }
.adpc-gate__body .adpc-btn { margin-top: 6px; }

/* ======================================================================
   Member portal (.adpc-p-*)
   ====================================================================== */
.adpc-portal { min-height: 100vh; min-height: 100dvh; padding-inline: var(--safe-l) var(--safe-r); }
.adpc-portal.adpc--embed { min-height: 0; padding-inline: 0; }
.adpc-p-wrap { width: 100%; max-width: 560px; margin: 0 auto; padding-inline: 16px; }

/* ---------- app bar ---------- */
.adpc-p-top { position: relative; z-index: 2; background: var(--navy); color: #fff; padding-top: var(--safe-t); }
.adpc--embed .adpc-p-top { padding-top: 0; }
.adpc-p-top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.adpc-p-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 800; line-height: 1.25; }
.adpc-p-brand img { width: 26px; height: auto; }
.adpc-p-brand small { display: block; font-size: 11px; font-weight: 400; opacity: .78; }
.adpc-p-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.adpc-p-chip:hover { background: rgba(255, 255, 255, .2); }
.adpc :where(.adpc-p-top, .adpc-p-head, .adpc-p-tier--blue, .adpc-p-bal) :focus-visible { outline-color: var(--yellow); }

.adpc-p-offline { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1.45; text-align: center; }

/* ---------- screen ---------- */
.adpc-p-main { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 16px calc(108px + var(--safe-b)); outline: none; }
.adpc-portal:not(.has-nav) .adpc-p-main { padding-bottom: calc(36px + var(--safe-b)); }
.adpc-p-main > * + * { margin-top: 14px; }
/* navy band under the app bar; the shadow trick paints it edge to edge without widening the page */
.adpc-p-head { position: relative; margin-bottom: 18px; padding: 4px 0 22px; background: var(--navy); color: #fff; box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
.adpc-p-head--lift { padding-bottom: 84px; }
.adpc-p-head + .adpc-p-lift { position: relative; z-index: 1; margin-top: -84px; }
.adpc-p-head__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adpc-p-title { font-size: 24px; font-weight: 900; line-height: 1.3; outline: none; }
.adpc-p-head .adpc-p-title { color: #fff; }
.adpc-p-head__sub { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.adpc-p-hello small { display: block; font-size: 14px; font-weight: 500; opacity: .85; }
.adpc-p-h2 { font-size: 17px; font-weight: 800; color: var(--navy); }
.adpc-p-sec { display: grid; gap: 14px; }
.adpc-p-sec > h2 { font-size: 17px; font-weight: 800; color: var(--navy); }
.adpc-p-head .adpc-skeleton { background: linear-gradient(90deg, rgba(255, 255, 255, .08) 25%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .08) 75%); background-size: 200% 100%; }
.adpc-p-skel--title { width: 55%; height: 30px; margin-top: 6px; }
.adpc-p-skel--card { height: 196px; border-radius: 22px; }
.adpc-p-skel--row { height: 76px; border-radius: 16px; }
.adpc-p-skel--line { width: 70%; height: 16px; }
.adpc-p-skel--bar { height: 12px; border-radius: 999px; }
.adpc-p-main h1:focus { outline: none; }
.adpc-p-noscript p + p { margin-top: 8px; }
.adpc-p-noscript a { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ---------- notices ---------- */
.adpc-p-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #d9dff5; border-radius: 14px; background: #eef1fb; color: var(--ink); font-size: 14px; line-height: 1.6; }
.adpc-p-notice > .adpc-ico { margin-top: 2px; color: var(--blue); }
.adpc-p-notice b { display: block; }
.adpc-p-notice a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.adpc-p-notice--warn { background: #fff7ea; border-color: #f6d7a7; }
.adpc-p-notice--warn > .adpc-ico { color: var(--warn); }
.adpc-p-notice--danger { background: #fdeeee; border-color: #f5c2c4; }
.adpc-p-notice--danger > .adpc-ico { color: var(--danger); }
.adpc-p-formerr { padding: 10px 14px; border-radius: 12px; background: #fdeeee; color: var(--danger); font-size: 14px; font-weight: 700; line-height: 1.55; }

/* ---------- tier card ---------- */
.adpc-p-tier {
  position: relative; isolation: isolate; overflow: hidden; display: grid; min-height: 200px;
  padding: 18px 18px 16px; border-radius: 22px; color: #fff; box-shadow: 0 18px 40px rgba(5, 12, 50, .32);
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(140deg, var(--floor) 0%, var(--blue) 45%, var(--blue-800) 100%);
}
.adpc-p-tier::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; inset-inline-end: -90px; bottom: -130px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .07); }
.adpc-p-tier::after { content: ""; position: absolute; z-index: -1; width: 120px; height: 120px; inset-inline-end: 50px; bottom: -74px; border-radius: 50%; background: rgba(255, 230, 0, .16); }
.adpc-p-tier--silver { color: var(--ink); background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .9), transparent 55%), linear-gradient(140deg, #f5f7fa 0%, #d3d9e3 45%, var(--silver) 100%); }
.adpc-p-tier--silver::before { border-color: rgba(255, 255, 255, .35); }
.adpc-p-tier--silver::after { background: rgba(10, 22, 80, .06); }
.adpc-p-tier--gold { color: #2b1d00; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .7), transparent 55%), linear-gradient(140deg, #fff3c4 0%, #f0cd5e 42%, var(--gold) 100%); }
.adpc-p-tier--gold::before { border-color: rgba(255, 255, 255, .32); }
.adpc-p-tier--gold::after { background: rgba(122, 86, 0, .12); }
.adpc-p-tier__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; }
/* FE-10: the program name wraps to a second line instead of being cut off next to the level pill on 360–390px phones */
.adpc-p-tier__brand { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; min-height: 30px; }
.adpc-p-tier__brand img { flex: none; width: 18px; }
.adpc-p-tier__brand span { min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
.adpc-p-tier__lvl { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 14px; font-weight: 800; white-space: nowrap; }
.adpc-p-tier__lvl small { font-size: 12px; font-weight: 500; opacity: .88; }
@media (max-width: 400px) { .adpc-p-tier__lvl { padding: 4px 10px; } .adpc-p-tier__lvl small { display: none; } }
.adpc-p-tier__label { margin-top: 18px; font-size: 13px; font-weight: 600; opacity: .9; }
.adpc-p-tier__pts { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: 15px; font-weight: 700; }
.adpc-p-tier__pts .adpc-num { font-size: clamp(40px, 12vw, 54px); }
.adpc-p-tier__egp { margin-top: 6px; font-size: 15px; font-weight: 700; }
.adpc-p-tier--blue .adpc-p-tier__egp b { color: var(--yellow); }
.adpc-p-tier__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 14px; font-weight: 700; }
.adpc-p-tier__foot > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adpc-p-tier__code { direction: ltr; unicode-bidi: isolate; font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.adpc-p-tier--silver .adpc-p-tier__lvl, .adpc-p-tier--gold .adpc-p-tier__lvl { background: rgba(255, 255, 255, .6); }
.adpc-p-tier--silver img, .adpc-p-tier--gold img, .adpc-p-member--silver img, .adpc-p-member--gold img { filter: brightness(0); opacity: .75; }

/* ---------- stats ---------- */
.adpc-p-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.adpc-p-stat { display: grid; align-content: start; gap: 4px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.adpc-p-stat__label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.adpc-p-stat__label .adpc-ico { color: var(--blue); }
.adpc-p-stat__val { display: flex; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.adpc-p-stat__val .adpc-num { font-size: 28px; }
.adpc-p-stat__sub { font-size: 12px; line-height: 1.5; color: var(--muted); }
.adpc-p-stat--warn .adpc-p-stat__label .adpc-ico, .adpc-p-stat--warn .adpc-p-stat__val { color: var(--warn); }

/* ---------- progress to next tier ---------- */
.adpc-p-progress { display: grid; gap: 10px; }
.adpc-p-progress__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.adpc-p-progress h2 { font-size: 16px; font-weight: 800; color: var(--navy); }
.adpc-p-progress p { font-size: 14px; color: var(--muted); }
.adpc-p-progress p b { color: var(--ink); }
.adpc-p-bar { position: relative; height: 12px; overflow: hidden; border-radius: 999px; background: #e7ebf7; }
.adpc-p-bar > span { position: absolute; inset-block: 0; inset-inline-start: 0; min-width: 12px; border-radius: inherit; background: linear-gradient(90deg, #4a63e0, var(--blue)); transition: width .6s ease; }
.adpc-p-bar--silver > span { background: linear-gradient(90deg, #a9b2c2, #5f6a80); }
.adpc-p-bar--gold > span { background: linear-gradient(90deg, #f0cd5e, var(--gold)); }

/* ---------- quick actions ---------- */
.adpc-p-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.adpc-p-quick a { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.35; transition: transform .15s, box-shadow .15s; }
.adpc-p-quick a:active { transform: scale(.98); }
.adpc-p-quick__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: var(--yellow); font-size: 18px; }
.adpc-p-quick__ic--wa { background: var(--wa); color: #fff; }

/* ---------- how it works ---------- */
.adpc-p-how summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; list-style: none; cursor: pointer; font-weight: 800; color: var(--navy); }
.adpc-p-how summary::-webkit-details-marker { display: none; }
.adpc-p-how summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-inline: 6px; border: solid var(--muted); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); transition: transform .2s; }
.adpc-p-how[open] summary::after { transform: rotate(135deg) translateY(-2px); }
.adpc-p-rates { display: grid; margin-top: 6px; }
.adpc-p-rates li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.adpc-p-rates li:last-child { border-bottom: 0; }
.adpc-p-rates b { color: var(--navy); white-space: nowrap; }
.adpc-p-rates small { display: block; font-size: 12px; color: var(--muted); }
.adpc-p-how p { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- member card + QR ---------- */
.adpc-p-member { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 18px 40px rgba(5, 12, 50, .18); text-align: center; }
.adpc-p-member__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: linear-gradient(140deg, var(--floor), var(--blue-800)); color: #fff; text-align: right; }
.adpc-p-member--silver .adpc-p-member__head { background: linear-gradient(140deg, #f5f7fa, #c3cad6); color: var(--ink); }
.adpc-p-member--gold .adpc-p-member__head { background: linear-gradient(140deg, #fff3c4, #e2b84a); color: #2b1d00; }
.adpc-p-member__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; line-height: 1.3; }
.adpc-p-member__brand img { width: 22px; }
.adpc-p-member__brand small { display: block; font-size: 12px; font-weight: 500; opacity: .85; }
.adpc-p-member__body { display: grid; justify-items: center; gap: 10px; padding: 20px 18px 18px; }
.adpc-p-qr { display: grid; place-items: center; width: min(100%, 300px); aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.adpc-p-qr svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.adpc-p-qr .adpc-skeleton { width: 100%; height: 100%; border-radius: 0; }
.adpc-p-qr.is-static { border: 2px dashed var(--warn); }
.adpc-p-member__hint { font-size: 17px; font-weight: 800; color: var(--navy); }
.adpc-p-member__code { font-size: 32px; color: var(--navy); letter-spacing: .08em; }
.adpc-p-member__name { font-size: 14px; font-weight: 600; color: var(--muted); }
.adpc-p-qrbar { width: min(100%, 300px); height: 4px; overflow: hidden; border-radius: 999px; background: #e7ebf7; }
.adpc-p-qrbar > span { display: block; height: 100%; background: var(--blue); transform-origin: left center; }
@keyframes adpc-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.adpc-p-actions { display: grid; gap: 8px; }
.adpc-p-actions--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- vouchers ---------- */
.adpc-p-bal { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--navy); color: #fff; }
.adpc-p-bal > span { font-size: 13px; opacity: .88; }
.adpc-p-bal b { display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.adpc-p-bal .adpc-num { font-size: 28px; color: var(--yellow); }
.adpc-p-bal small { display: block; font-size: 13px; font-weight: 600; opacity: .88; text-align: left; }
.adpc-p-denoms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.adpc-p-denom { position: relative; display: block; cursor: pointer; }
.adpc-p-denom input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.adpc-p-denom input:disabled { cursor: not-allowed; }
.adpc-p-denom__box { display: grid; align-content: center; justify-items: center; gap: 2px; min-height: 96px; padding: 14px 10px; border: 2px solid var(--line); border-radius: 16px; background: #fff; text-align: center; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.adpc-p-denom__val { font-size: 15px; font-weight: 800; color: var(--navy); }
.adpc-p-denom__val .adpc-num { font-size: 30px; }
.adpc-p-denom__pts { font-size: 13px; font-weight: 600; color: var(--muted); }
.adpc-p-denom__need { font-size: 12px; font-weight: 700; color: #92400e; }
.adpc-p-denom input:checked + .adpc-p-denom__box { border-color: var(--blue); background: #eef1fb; box-shadow: 0 0 0 3px rgba(27, 51, 181, .15); }
.adpc-p-denom input:focus-visible + .adpc-p-denom__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.adpc-p-denom input:disabled + .adpc-p-denom__box { background: #f6f7fb; opacity: .6; }
.adpc-p-vlist { display: grid; gap: 12px; }
.adpc-p-voucher { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.adpc-p-voucher::before, .adpc-p-voucher::after { content: ""; position: absolute; inset-inline-start: 87px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.adpc-p-voucher::before { top: -9px; }
.adpc-p-voucher::after { bottom: -9px; }
.adpc-p-voucher__val { display: grid; place-content: center; gap: 2px; padding: 14px 8px; border-inline-end: 2px dashed rgba(10, 22, 80, .25); background: var(--yellow); color: var(--navy); font-weight: 800; text-align: center; }
.adpc-p-voucher__val .adpc-num { font-size: 30px; }
.adpc-p-voucher__val small { font-size: 12px; }
.adpc-p-voucher__body { display: grid; gap: 6px; min-width: 0; padding: 14px 16px; }
.adpc-p-voucher__code { direction: ltr; unicode-bidi: isolate; text-align: right; font-size: 20px; font-weight: 900; letter-spacing: .08em; color: var(--navy); }
.adpc-p-voucher__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--muted); }
.adpc-p-voucher__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.adpc-p-voucher:not(.is-active) .adpc-p-voucher__val { background: #e9ecf4; color: var(--muted); }
.adpc-sheet .adpc-p-voucher { box-shadow: inset 0 0 0 1.5px var(--line); }
.adpc-sheet .adpc-p-voucher::before, .adpc-sheet .adpc-p-voucher::after { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- history ---------- */
.adpc-p-month { margin: 20px 4px 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
.adpc-p-listcard { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.adpc-p-hrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.adpc-p-hrow__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #eef1fb; color: var(--blue); font-size: 17px; }
.adpc-p-hrow--plus .adpc-p-hrow__ic { background: #e3f4e8; color: var(--wa-600); }
.adpc-p-hrow--minus .adpc-p-hrow__ic { background: #fde8e8; color: var(--danger); }
.adpc-p-hrow--info .adpc-p-hrow__ic { background: #fbf0cf; color: #7a5600; }
.adpc-p-hrow__txt b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.adpc-p-hrow__txt small { display: block; font-size: 12.5px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.adpc-p-hrow__pts { display: grid; justify-items: end; gap: 4px; }
.adpc-p-pts { direction: ltr; unicode-bidi: isolate; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adpc-p-pts--plus { color: var(--wa-600); }
.adpc-p-pts--minus { color: var(--danger); }
.adpc-p-pts--move { color: var(--blue); }
.adpc-p-pts--zero { color: var(--muted); }
.adpc-p-more { display: grid; justify-items: center; gap: 10px; min-height: 52px; padding: 10px 0; }
.adpc-p-more .adpc-skeleton { width: 100%; height: 64px; border-radius: 16px; }

/* ---------- account ---------- */
.adpc-p-profile { display: grid; gap: 14px; }
.adpc-p-id { display: flex; align-items: center; gap: 12px; }
.adpc-p-id > div { min-width: 0; }
.adpc-p-id b { display: block; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.adpc-p-id small { font-size: 13px; color: var(--muted); }
.adpc-p-id .adpc-badge { margin-inline-start: auto; }
.adpc-p-avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 22px; font-weight: 900; }
.adpc-p-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.adpc-p-dl dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.adpc-p-dl dd { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.adpc-p-form { display: grid; gap: 14px; }
.adpc-p-switchrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.adpc-p-switchrow b { display: block; font-size: 15px; }
.adpc-p-switch { position: relative; flex: none; width: 56px; height: 32px; border-radius: 999px; background: #7d84a3; transition: background-color .2s; }
.adpc-p-switch::before { content: ""; position: absolute; inset: -7px -4px; }
.adpc-p-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: inset-inline-start .2s; }
.adpc-p-switch[aria-checked="true"] { background: var(--blue); }
.adpc-p-switch[aria-checked="true"]::after { inset-inline-start: 27px; }
.adpc-p-switch[aria-busy="true"] { opacity: .6; }
.adpc-p-links { padding: 0; overflow: hidden; }
.adpc-p-links .adpc-row { font-size: 15px; font-weight: 700; }
.adpc-p-links .adpc-row > .adpc-ico:first-child { color: var(--blue); }
.adpc-p-links .adpc-row > span { flex: 1; }
.adpc-p-links .adpc-row > .adpc-ico:last-child { color: var(--muted); }
.adpc-p-links .adpc-row small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.adpc-p-textbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 12px; color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.adpc-p-textbtn--danger { color: var(--danger); }
.adpc-p-center { display: flex; justify-content: center; }

/* ---------- login / sign-up ---------- */
.adpc-p-hero { display: grid; justify-items: center; gap: 8px; padding-top: 10px; text-align: center; }
.adpc-p-hero__logo { width: 52px; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.adpc-p-hero__title { font-size: clamp(24px, 6.6vw, 30px); font-weight: 900; line-height: 1.3; color: #fff; outline: none; }
.adpc-p-hl { display: inline-block; margin-top: 4px; padding: 0 .28em .06em; border-radius: .2em; background: var(--yellow); color: var(--navy); transform: rotate(-2deg); }
.adpc-p-hero__sub { max-width: 30em; font-size: 15px; color: rgba(255, 255, 255, .88); }
.adpc-p-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.adpc-p-perks li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.adpc-p-perks b { color: var(--yellow); }
.adpc-p-auth { display: grid; gap: 16px; }
.adpc-p-sent { font-size: 15px; text-align: center; }
.adpc-p-sent b { white-space: nowrap; }
.adpc-p-fine { font-size: 12.5px; line-height: 1.65; color: var(--muted); text-align: center; }
.adpc-p-fine a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.adpc-p-resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; font-size: 14px; color: var(--muted); }
.adpc-p-timer { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; font-weight: 800; color: var(--ink); }

/* ---------- confirm sheets ---------- */
.adpc-p-lead { font-size: 16px; line-height: 1.75; }
.adpc-p-sum { display: grid; padding: 4px 14px; border-radius: 14px; background: #f6f7fc; }
.adpc-p-sum li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.adpc-p-sum li:last-child { border-bottom: 0; }
.adpc-p-sum b { color: var(--navy); white-space: nowrap; }
.adpc-p-bullets { display: grid; gap: 6px; padding-inline-start: 20px; list-style: disc; font-size: 14px; }
.adpc-p-bullets li::marker { color: var(--blue); }

/* ---------- bottom navigation ---------- */
.adpc-p-nav {
  position: fixed; z-index: 60; inset: auto 0 0 0; padding: 0 8px var(--safe-b);
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 18, 56, .08);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.adpc-p-nav ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 560px; margin: 0 auto; }
.adpc-p-nav a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 62px; padding: 6px 2px; color: var(--muted); font-size: 11.5px; font-weight: 700; line-height: 1.2; text-align: center; }
.adpc-p-nav__ic { display: grid; place-items: center; width: 50px; height: 30px; border-radius: 999px; font-size: 19px; transition: background-color .2s, color .2s; }
.adpc-p-nav a[aria-current="page"] { color: var(--blue); }
.adpc-p-nav a[aria-current="page"] .adpc-p-nav__ic { background: var(--yellow); color: var(--navy); }
.adpc--embed .adpc-p-nav { position: sticky; bottom: 0; }

/* ---------- terms (server view + in-app) ---------- */
.adpc-p-main--doc { padding-top: 4px; padding-bottom: calc(40px + var(--safe-b)); }
.adpc-p-back { margin: 14px 0 12px; }
.adpc-p-doc { padding: 22px 18px; }
.adpc-terms { display: grid; gap: 20px; font-size: 15px; line-height: 1.85; color: var(--ink); }
.adpc-terms__head h1 { font-size: 22px; font-weight: 900; line-height: 1.4; color: var(--navy); }
.adpc-terms__ver { margin-top: 4px; font-size: 13px; color: var(--muted); }
.adpc-terms h2 { margin-bottom: 8px; font-size: 17px; font-weight: 800; color: var(--navy); }
.adpc-terms__defs { display: grid; gap: 8px; }
.adpc-terms__defs dt, .adpc-terms__defs dd { display: inline; margin: 0; }
.adpc-terms__defs dt { font-weight: 800; }
.adpc-terms__list { display: grid; gap: 10px; }
.adpc-terms__list > li { position: relative; padding-inline-start: 44px; }
.adpc-terms__no { position: absolute; top: 0; inset-inline-start: 0; min-width: 36px; unicode-bidi: isolate; text-align: start; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--blue); }
.adpc-terms ul { display: grid; gap: 4px; margin: 6px 0; padding-inline-start: 20px; list-style: disc; }
.adpc-terms ul li::marker { color: var(--blue); }
.adpc-terms p { margin-top: 6px; }
.adpc-terms a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.adpc-sheet .adpc-terms { font-size: 14px; }
.adpc-sheet .adpc-terms__head h1 { font-size: 18px; }

/* ---------- wider screens ---------- */
@media (min-width: 420px) {
  .adpc-p-quick__ic { width: 44px; height: 44px; }
}
@media (min-width: 640px) {
  .adpc-sheet { inset: 0; height: fit-content; max-width: 480px; max-height: 86vh; margin: auto; border-radius: 24px; }
  .adpc-sheet__foot { padding-bottom: 16px; }
  .adpc-p-nav { inset: auto 0 12px 0; max-width: 560px; margin: 0 auto; padding-bottom: 0; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 40px rgba(11, 18, 56, .16); }
  .adpc--embed .adpc-p-nav { bottom: 12px; }
  .adpc-p-main { padding-bottom: calc(116px + var(--safe-b)); }
  .adpc-p-doc { padding: 28px; }
}

@media (forced-colors: active) {
  .adpc-p-switch, .adpc-p-denom__box, .adpc-btn { border: 1px solid ButtonText; }
  .adpc-p-switch[aria-checked="true"]::after { background: Highlight; }
  .adpc-p-bar > span, .adpc-p-qrbar > span { background: Highlight; }
}

@media (prefers-reduced-motion: reduce) {
  .adpc *, .adpc *::before, .adpc *::after, .adpc-sheet { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .adpc-skeleton { animation: none; }
  .adpc-btn.is-loading::after { animation: adpc-spin 1.6s linear infinite !important; }
  .adpc-p-qrbar { display: none; }
}
