:root {
    --brand-900: #073b5d;
    --brand-800: #07527d;
    --brand-700: #07689f;
    --brand-600: #0784c6;
    --brand-500: #22a9e0;
    --accent: #25d3e8;
    --page: #eff9fc;
    --surface: #fff;
    --surface-soft: #f7fcfe;
    --text: #102f45;
    --muted: #647b8c;
    --border: #cde5ee;
    --success: #168a55;
    --success-soft: #e7f8ef;
    --warning: #c87508;
    --warning-soft: #fff6df;
    --danger: #cc3d4a;
    --danger-soft: #fff0f1;
    --purple: #7254c9;
    --focus: #006ead;
    --shadow: 0 14px 38px rgba(14, 81, 111, .1);
    --shadow-sm: 0 6px 18px rgba(14, 81, 111, .08);
    --radius: 20px;
    --radius-sm: 12px;
    --font: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.5; background: var(--page); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--brand-700); text-decoration: none; }
svg { display: block; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { letter-spacing: -.015em; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); outline: 0; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
input, select { min-height: 46px; padding: 0 13px; }
textarea { padding: 11px 13px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8ca0ae; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(0, 110, 173, .15); }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(0, 110, 173, .35); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; color: #fff; background: var(--brand-900); border-radius: 8px; }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 5px; color: var(--brand-600); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.field-hint { color: var(--muted); }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; line-height: 1; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.button:hover:not(:disabled, .is-disabled) { transform: translateY(-1px); }
.button svg { width: 17px; height: 17px; }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-700) 28%, transparent); }
.button--primary:hover:not(:disabled) { box-shadow: 0 11px 26px color-mix(in srgb, var(--brand-700) 36%, transparent); }
.button--secondary { color: var(--brand-800); background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.button--secondary:hover:not(:disabled, .is-disabled) { border-color: var(--brand-500); background: var(--surface-soft); }
.button--wide { width: 100%; }
.button:disabled, .button.is-disabled { opacity: .56; box-shadow: none; }
.icon-button { display: inline-flex; width: 42px; height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0; color: var(--brand-700); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.icon-button:hover { background: var(--surface-soft); border-color: var(--brand-500); }
.text-button { padding: 0; color: var(--brand-700); background: transparent; border: 0; font-weight: 750; }
.copy-button { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; padding: 0; color: var(--brand-700); background: #edf8fc; border: 0; border-radius: 8px; }
.copy-button:hover { background: #dff2f8; }
.copy-button svg { width: 15px; }

.field-group { display: flex; flex-direction: column; gap: 7px; }
.field-group label, fieldset legend { color: var(--text); font-size: 13px; font-weight: 750; }
.field-group label span { color: var(--muted); font-weight: 500; }
.field-group small, .field-group + small { color: var(--muted); font-size: 11.5px; }
.field-group--wide { grid-column: 1 / -1; }
.field-error { margin: 0; color: var(--danger); font-size: 12px; font-weight: 650; }
.field-control--invalid, input[aria-invalid="true"] { border-color: var(--danger) !important; }
.input-with-icon { position: relative; display: flex; align-items: center; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .18s, box-shadow .18s; }
.input-with-icon:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(0,110,173,.15); }
.input-with-icon > svg { position: absolute; left: 14px; width: 19px; height: 19px; pointer-events: none; }
.input-with-icon input { min-height: 50px; padding-left: 44px; background: transparent; border: 0; box-shadow: none !important; }
.input-action { position: absolute; right: 8px; display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--muted); background: transparent; border: 0; border-radius: 8px; }
.input-action:hover { background: var(--surface-soft); }
.inline-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; color: #155675; background: #edf9fd; border: 1px solid #cbeaf5; border-radius: 12px; font-size: 12px; }
.inline-notice svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 1px; }
.inline-notice--warning { color: #87510a; background: var(--warning-soft); border-color: #f3ddb3; }
.inline-notice--danger { color: var(--danger); background: var(--danger-soft); border-color: #f1cbd0; }
.status-badge { display: inline-flex; min-height: 27px; align-items: center; gap: 6px; padding: 4px 9px; color: #4e6575; background: #edf2f4; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-badge::before { width: 6px; height: 6px; background: currentColor; border-radius: 50%; content: ""; }
.status-badge--paid, .status-badge--success { color: var(--success); background: var(--success-soft); }
.status-badge--pending, .status-badge--processing, .status-badge--busy { color: var(--warning); background: var(--warning-soft); }
.status-badge--failed, .status-badge--wrong_id, .status-badge--danger { color: var(--danger); background: var(--danger-soft); }
.status-badge--refunded { color: var(--purple); background: #f0edfb; }
.status-badge--inactive, .status-badge--recharge_paused, .status-badge--full_maintenance { color: #657786; background: #edf1f3; }
.service-pill { display: inline-flex; min-height: 30px; align-items: center; gap: 7px; padding: 5px 10px; color: #0e7447; background: rgba(231,248,239,.92); border: 1px solid #c7ebd8; border-radius: 999px; font-size: 11px; font-weight: 800; }
.service-pill__dot { width: 7px; height: 7px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 4px rgba(22,138,85,.1); }
.service-pill--paused, .service-pill--recharge_paused, .service-pill--busy { color: #9c5e06; background: #fff6df; border-color: #efd9a8; }
.service-pill--maintenance, .service-pill--full_maintenance { color: var(--danger); background: var(--danger-soft); border-color: #efc9ce; }

/* Public storefront */
.public-body { min-height: 100vh; background-color: var(--page); background-image: radial-gradient(circle at 7% 15%, color-mix(in srgb, var(--accent) 17%, transparent) 0, transparent 23%), radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--brand-500) 12%, transparent) 0, transparent 28%), linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.35) 48% 50%, transparent 50%); background-size: auto, auto, 34px 34px; }
.announcement { position: relative; z-index: 5; display: flex; height: 34px; overflow: hidden; align-items: center; color: var(--brand-900); background: rgba(255,255,255,.86); border-bottom: 1px solid rgba(205,229,238,.8); font-size: 11px; font-weight: 650; backdrop-filter: blur(12px); }
.announcement__icon { position: relative; z-index: 2; display: flex; width: 42px; height: 100%; align-items: center; justify-content: center; color: #fff; background: var(--brand-700); clip-path: polygon(0 0,100% 0,76% 100%,0 100%); }
.announcement__icon svg { width: 15px; }
.announcement__track { display: flex; width: max-content; min-width: 100%; gap: 80px; white-space: nowrap; animation: marquee var(--marquee-speed) linear infinite; }
.announcement__track:hover, .announcement__track:focus-within { animation-play-state: paused; }
.announcement__track span { min-width: max-content; }
.announcement a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.public-header { position: relative; z-index: 4; color: #fff; background: linear-gradient(115deg, var(--brand-900), var(--brand-700) 62%, var(--brand-600)); box-shadow: 0 7px 22px rgba(7,59,93,.16); }
.public-header::after { position: absolute; right: 8%; bottom: -1px; width: 200px; height: 1px; background: linear-gradient(90deg,transparent,var(--accent),transparent); content: ""; }
.public-header__inner { display: flex; width: min(1180px, calc(100% - 32px)); min-height: 66px; margin: 0 auto; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 15px; font-weight: 850; }
.brand__mark { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg,var(--brand-500),var(--accent)); border: 1px solid rgba(255,255,255,.38); border-radius: 11px; box-shadow: inset 0 1px rgba(255,255,255,.38), 0 6px 14px rgba(0,0,0,.12); }
.brand__mark svg { width: 21px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.public-header .icon-button { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }
.public-header .icon-button:hover { background: rgba(255,255,255,.15); }
.section-wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.public-shell { display: grid; grid-template-columns: 430px minmax(0,1fr); gap: 24px; align-items: start; padding-block: 36px 50px; }
.glass-card { background: color-mix(in srgb, var(--surface) 91%, transparent); border: 1px solid color-mix(in srgb, var(--border) 84%, white); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.recharge-panel { padding: 24px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.panel-heading h1 { margin-bottom: 6px; font-size: 24px; line-height: 1.18; }
.panel-heading h2 { margin-bottom: 5px; font-size: 20px; }
.panel-heading p:not(.eyebrow) { max-width: 530px; margin-bottom: 0; color: var(--muted); font-size: 12.5px; }
.panel-heading--small { margin-bottom: 17px; }
.secure-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: var(--success); background: var(--success-soft); border-radius: 999px; font-size: 10px; font-weight: 800; }
.secure-chip svg { width: 13px; }
.recharge-form { display: flex; flex-direction: column; gap: 20px; }
.plan-fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.plan-fieldset legend { margin-bottom: 2px; }
.plan-fieldset .field-hint { margin-bottom: 12px; font-size: 11.5px; }
.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.plan-card { position: relative; display: flex; min-height: 112px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; color: var(--text); background: linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--page) 64%,white)); border: 1px solid color-mix(in srgb,var(--brand-500) 48%,var(--border)); border-radius: 15px; cursor: pointer; transition: border .18s, box-shadow .18s, transform .18s, background .18s; }
.plan-card:hover { transform: translateY(-2px); border-color: var(--brand-500); box-shadow: 0 9px 18px rgba(14,104,151,.11); }
.plan-card.is-selected { background: linear-gradient(145deg,#fff,color-mix(in srgb,var(--accent) 11%,white)); border: 2px solid var(--brand-600); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent),0 10px 20px rgba(7,104,159,.15); }
.plan-card__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plan-card__input:focus-visible + .plan-card__check { outline: 3px solid rgba(0,110,173,.35); outline-offset: 2px; }
.plan-card__check { position: absolute; top: 7px; right: 7px; display: none; width: 24px; height: 24px; align-items: center; justify-content: center; color: #fff; background: var(--brand-700); border-radius: 50%; box-shadow: 0 4px 9px rgba(7,104,159,.3); }
.plan-card.is-selected .plan-card__check { display: flex; }
@supports selector(.plan-card:has(input:checked)) {
    .plan-card:has(input:checked) { background: linear-gradient(145deg,#fff,color-mix(in srgb,var(--accent) 11%,white)); border: 2px solid var(--brand-600); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent),0 10px 20px rgba(7,104,159,.15); }
    .plan-card:has(input:checked) .plan-card__check { display: flex; }
}
.plan-card__check svg { width: 14px; stroke-width: 2.7; }
.plan-card__badge { position: absolute; top: 7px; left: 7px; max-width: 62px; overflow: hidden; padding: 3px 6px; color: #805109; background: #fff1c8; border-radius: 999px; font-size: 8px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.plan-card__name { max-width: calc(100% - 18px); overflow: hidden; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.plan-card__points { display: flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 850; }
.plan-card__points svg { width: 15px; color: var(--brand-600); }
.plan-card__price { color: var(--muted); font-size: 11.5px; }
.order-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px; background: color-mix(in srgb,var(--page) 70%,white); border: 1px solid var(--border); border-radius: 15px; }
.quantity-control { display: flex; flex-direction: column; gap: 6px; }
.quantity-control__label { color: var(--muted); font-size: 10px; font-weight: 750; }
.stepper { display: flex; align-items: center; gap: 5px; }
.stepper__button { width: 35px; height: 35px; padding: 0; color: var(--brand-700); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-size: 18px; }
.stepper__button:hover { border-color: var(--brand-500); }
.stepper input { width: 46px; min-height: 35px; padding: 0; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }
.summary-totals { display: grid; gap: 3px; margin: 0; text-align: right; }
.summary-totals div { display: flex; gap: 10px; justify-content: flex-end; }
.summary-totals dt { color: var(--muted); font-size: 11px; }
.summary-totals dd { min-width: 83px; margin: 0; font-weight: 800; }
.diamond-mini { color: var(--brand-500); }
.recharge-form .button--wide { min-height: 50px; }
.form-footnote { margin: -11px 0 0; color: var(--muted); font-size: 10.5px; text-align: center; }
.public-aside { display: grid; gap: 22px; }
.support-panel, .tracking-panel { padding: 24px 26px; }
.support-links { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.support-card { display: grid; min-width: 0; grid-template-columns: 43px 1fr 24px; gap: 12px; align-items: center; padding: 12px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow-sm); transition: transform .16s,border-color .16s; }
.support-card:hover { transform: translateY(-2px); border-color: var(--brand-500); }
.support-card.is-disabled { opacity: .55; pointer-events: none; }
.support-card__icon { display: inline-flex; width: 43px; height: 43px; align-items: center; justify-content: center; border-radius: 13px; font-size: 10px; font-weight: 900; }
.support-card__icon--imo { color: #0d84e7; background: #e8f5ff; border: 1px solid #cfe8fa; }
.support-card__icon--whatsapp { color: #12a95c; background: #e8faef; border: 1px solid #c9eed8; }
.support-card__icon svg { width: 22px; }
.support-card > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.support-card small { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.support-card strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.support-card em { overflow: hidden; color: var(--muted); font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.support-card__arrow { width: 18px; color: var(--muted); }
.tracking-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.tracking-form .button { min-width: 120px; }
.tracking-form .field-error { grid-column: 1 / -1; }
.tracking-result { min-height: 210px; margin-top: 12px; padding: 15px; background: color-mix(in srgb,var(--surface-soft) 85%,transparent); border: 1px solid var(--border); border-radius: 15px; }
.empty-state { display: flex; min-height: 175px; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.empty-state__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 11px; color: var(--brand-600); background: #e9f6fb; border-radius: 17px; font-size: 18px; font-weight: 850; }
.empty-state__icon svg { width: 25px; }
.empty-state strong { color: var(--text); }
.empty-state > span:last-child { margin-top: 3px; font-size: 11px; }
.empty-state--compact { min-height: 110px; }
.empty-state--compact .empty-state__icon { width: 36px; height: 36px; border-radius: 11px; }
.empty-state--card { grid-column: 1/-1; min-height: 300px; padding: 30px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state--card .button { margin-top: 15px; }
.status-result + .status-result { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.status-result__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.status-result__head > div { display: flex; flex-direction: column; }
.status-result__head small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.status-result__facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }
.status-result__facts div { padding: 8px; background: var(--surface); border-radius: 9px; }
.status-result__facts dt { color: var(--muted); font-size: 9px; }
.status-result__facts dd { margin: 1px 0 0; font-size: 11px; font-weight: 800; }
.status-timeline { padding: 0; margin: 15px 0 0 4px; list-style: none; }
.status-timeline li { position: relative; display: flex; gap: 10px; min-height: 38px; color: #91a1ac; }
.status-timeline li:not(:last-child)::before { position: absolute; top: 11px; left: 4px; width: 1px; height: calc(100% - 2px); background: #dbe8ed; content: ""; }
.status-timeline li > span { position: relative; z-index: 1; width: 9px; height: 9px; flex: 0 0 auto; margin-top: 3px; background: #d2e0e5; border: 2px solid var(--surface-soft); border-radius: 50%; box-shadow: 0 0 0 2px #d2e0e5; }
.status-timeline div { display: flex; flex-direction: column; }
.status-timeline strong { font-size: 11px; }
.status-timeline small { font-size: 9px; }
.status-timeline .is-current { color: var(--warning); }
.status-timeline .is-done { color: var(--success); }
.status-timeline .is-error { color: var(--danger); }
.status-timeline .is-current > span, .status-timeline .is-done > span, .status-timeline .is-error > span { background: currentColor; box-shadow: 0 0 0 2px currentColor; }
.has-browser-handoff { overflow: hidden; }
.browser-handoff { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.browser-handoff__backdrop { position: absolute; inset: 0; background: rgba(4,31,47,.68); backdrop-filter: blur(8px); }
.browser-handoff__card { position: relative; width: min(440px,100%); padding: 28px; background: var(--surface); border: 1px solid color-mix(in srgb,var(--border) 80%,white); border-radius: 22px; box-shadow: 0 28px 80px rgba(4,31,47,.3); text-align: center; }
.browser-handoff__card h2 { margin-bottom: 8px; font-size: 24px; }
.browser-handoff__card > p:not(.eyebrow) { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.browser-handoff__status { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 5px 12px; margin-bottom: 16px; color: var(--success); background: var(--success-soft); border: 1px solid #c6e8d6; border-radius: 999px; font-size: 11px; font-weight: 850; }
.browser-handoff__status::before { width: 7px; height: 7px; margin-right: 7px; background: currentColor; border-radius: 50%; content: ""; box-shadow: 0 0 0 4px rgba(22,138,85,.1); }
.browser-handoff__actions { display: grid; gap: 9px; }
.browser-handoff__actions .text-button { min-height: 38px; }
.browser-handoff__card > small { display: block; margin-top: 15px; color: var(--muted); font-size: 10px; }
.public-footer { display: flex; width: min(1180px,calc(100% - 32px)); min-height: 55px; align-items: center; justify-content: space-between; gap: 15px; margin: auto; color: var(--muted); border-top: 1px solid var(--border); font-size: 11px; }
.flash { width: min(700px,calc(100% - 32px)); margin: 16px auto -16px; padding: 11px 14px; border-radius: 12px; }
.flash--success { color: var(--success); background: var(--success-soft); border: 1px solid #c6ecd8; }
.flash--danger { color: var(--danger); background: var(--danger-soft); border: 1px solid #f0cbd0; }
.maintenance-wrap { display: grid; min-height: calc(100vh - 155px); place-items: center; padding-block: 45px; }
.maintenance-card { width: min(630px,100%); padding: 46px; text-align: center; }
.maintenance-card h1 { margin-bottom: 9px; font-size: 34px; }
.maintenance-card > p:not(.eyebrow) { max-width: 470px; margin: 0 auto 20px; color: var(--muted); }
.maintenance-card__art { position: relative; width: 110px; height: 110px; margin: 0 auto 26px; }
.maintenance-card__art svg { position: absolute; inset: 24px; z-index: 2; width: 62px; height: 62px; color: var(--brand-600); }
.maintenance-card__art > span { position: absolute; inset: 0; background: color-mix(in srgb,var(--accent) 13%,transparent); border: 1px solid color-mix(in srgb,var(--brand-500) 24%,transparent); border-radius: 50%; animation: orbitPulse 3s infinite ease-in-out; }
.maintenance-card__art > span:nth-child(2) { inset: 12px; animation-delay: .5s; }
.maintenance-card__art > span:nth-child(3) { inset: 25px; animation-delay: 1s; }
@keyframes orbitPulse { 50% { transform: scale(.95); opacity: .55; } }
.resume-time { display: inline-flex; flex-direction: column; padding: 10px 20px; margin-bottom: 20px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 12px; }
.resume-time span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.maintenance-actions { display: flex; justify-content: center; gap: 10px; }

/* Admin shell */
.admin-body { min-height: 100vh; color: #173246; background: #f3f8fa; }
.admin-shell { min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; width: 248px; flex-direction: column; color: #d9e8ef; background: linear-gradient(175deg,#082f49,#073d5c 57%,#07334d); box-shadow: 12px 0 32px rgba(7,47,73,.08); }
.admin-sidebar__head { display: flex; min-height: 74px; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand--admin { color: #fff; }
.brand--admin > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.brand--admin small { color: #9fc2d2; font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.admin-sidebar .brand__mark { width: 35px; height: 35px; }
.sidebar-close { display: none; color: #fff; background: transparent; border-color: rgba(255,255,255,.15); }
.admin-nav { flex: 1; padding: 15px 12px; overflow-y: auto; }
.admin-nav__label { margin: 14px 12px 7px; color: #6f9caf; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.admin-nav a { display: flex; min-height: 43px; align-items: center; gap: 11px; padding: 0 12px; margin-bottom: 3px; color: #bad2dd; border: 1px solid transparent; border-radius: 10px; font-size: 12.5px; font-weight: 650; transition: color .15s,background .15s; }
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-nav a.is-active { color: #fff; background: linear-gradient(90deg,rgba(37,211,232,.16),rgba(34,169,224,.07)); border-color: rgba(77,209,230,.17); box-shadow: inset 3px 0 var(--accent); }
.admin-nav a svg { width: 18px; color: #83b7ca; }
.admin-nav a.is-active svg { color: var(--accent); }
.nav-count { min-width: 22px; padding: 2px 5px; margin-left: auto; color: #06354f; background: var(--accent); border-radius: 999px; font-size: 9px; font-weight: 900; text-align: center; }
.sidebar-service { display: flex; flex-direction: column; gap: 10px; padding: 15px 18px 20px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-service .service-pill { align-self: flex-start; }
.sidebar-service a { display: flex; align-items: center; gap: 6px; color: #a9c8d6; font-size: 10.5px; }
.sidebar-service a svg { width: 13px; }
.admin-workspace { min-height: 100vh; padding-left: 248px; }
.admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px; background: rgba(255,255,255,.91); border-bottom: 1px solid #dce9ee; box-shadow: 0 5px 18px rgba(14,72,99,.04); backdrop-filter: blur(15px); }
.admin-topbar__left, .admin-topbar__right { display: flex; align-items: center; gap: 13px; }
.sidebar-open { display: none; }
.topbar-search { position: relative; display: flex; width: min(380px,31vw); align-items: center; }
.topbar-search svg { position: absolute; left: 12px; width: 17px; color: #7d929f; }
.topbar-search input { min-height: 39px; padding: 0 42px 0 38px; background: #f7fafb; border-color: #e0eaee; font-size: 12px; }
.topbar-search kbd { position: absolute; right: 10px; padding: 1px 6px; color: #82939e; background: #fff; border: 1px solid #dce6ea; border-radius: 5px; font: 10px var(--font); }
.notification-button { width: 39px; height: 39px; color: #506b7b; }
.notification-button > span { position: absolute; width: 7px; height: 7px; margin: -20px -20px 0 0; background: var(--danger); border: 2px solid #fff; border-radius: 50%; }
.admin-user { display: flex; align-items: center; gap: 9px; padding-left: 12px; border-left: 1px solid #e1ebef; }
.admin-user__avatar { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg,var(--brand-700),var(--brand-500)); border-radius: 11px; font-weight: 800; }
.admin-user__copy { display: flex; min-width: 90px; flex-direction: column; line-height: 1.2; }
.admin-user__copy strong { font-size: 11.5px; }
.admin-user__copy small { color: var(--muted); font-size: 9.5px; }
.admin-user form { margin-left: 3px; }
.admin-user .text-button { font-size: 10px; }
.admin-main { width: min(1460px,100%); padding: 28px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-heading h1 { margin-bottom: 5px; font-size: 27px; line-height: 1.15; }
.page-heading p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 12.5px; }
.page-heading__actions { display: flex; gap: 9px; }
.admin-card { background: #fff; border: 1px solid #dce9ee; border-radius: 17px; box-shadow: 0 8px 26px rgba(14,72,99,.055); }
.admin-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 21px 15px; }
.admin-card__head h2 { margin-bottom: 3px; font-size: 16px; }
.admin-card__head p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-card__head > a { font-size: 11px; font-weight: 750; }
.admin-flash { display: flex; width: calc(100% - 56px); gap: 10px; align-items: center; padding: 11px 14px; margin: 16px auto -10px; border-radius: 11px; font-size: 12px; }
.admin-flash > span { display: inline-flex; width: 23px; height: 23px; align-items: center; justify-content: center; border-radius: 50%; font-weight: 850; }
.admin-flash > div { display: flex; flex-direction: column; }
.admin-flash small { opacity: .8; }
.admin-flash--success { color: var(--success); background: var(--success-soft); border: 1px solid #caebd9; }
.admin-flash--success > span { color: #fff; background: var(--success); }
.admin-flash--danger { color: var(--danger); background: var(--danger-soft); border: 1px solid #efcbd0; }
.admin-flash--danger > span { color: #fff; background: var(--danger); }
.sidebar-backdrop { display: none; }

/* Android app */
.android-app-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 18px; }
.android-app-card,.android-device-card { padding: 24px; }
.android-app-hero { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.android-app-hero h2 { margin: 0 0 5px; font-size: 20px; }
.android-app-hero p { margin: 0; color: var(--muted); line-height: 1.55; }
.android-app-icon { display: grid; width: 56px; height: 56px; flex: 0 0 auto; place-items: center; color: #fff; background: linear-gradient(145deg,var(--brand-600),var(--accent)); border-radius: 16px; box-shadow: 0 10px 25px rgba(7,132,198,.22); }
.android-app-icon svg { width: 30px; height: 30px; }
.app-readiness { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.android-build-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0 0 20px; }
.android-build-details > div { padding: 12px; background: var(--page); border: 1px solid var(--border); border-radius: 11px; }
.android-build-details dt { margin-bottom: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.android-build-details dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.android-build-hash { grid-column: 1/-1; }
.android-build-hash code { font-size: 10px; }
.android-app-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.android-device-card .admin-card__head { padding: 0 0 18px; }
.android-device-list { display: grid; gap: 10px; }
.android-device { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid var(--border); border-radius: 11px; }
.android-device > div { display: flex; min-width: 0; flex-direction: column; }
.android-device small { margin-top: 3px; color: var(--muted); }
.android-device.is-revoked { opacity: .62; }
@media (max-width: 900px) { .android-app-grid { grid-template-columns: 1fr; } }

/* Admin dashboard */
.metric-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.metric-card { position: relative; display: flex; min-width: 0; gap: 11px; padding: 16px; overflow: hidden; background: #fff; border: 1px solid #dce9ee; border-radius: 15px; box-shadow: 0 6px 20px rgba(14,72,99,.045); }
.metric-card--attention::after { position: absolute; inset: auto 0 0; height: 2px; background: var(--warning); content: ""; }
.metric-card__icon { display: inline-flex; width: 38px; height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 11px; }
.metric-card__icon svg { width: 19px; }
.metric-card__icon--blue { color: #1677b5; background: #e8f4fb; }
.metric-card__icon--green { color: var(--success); background: var(--success-soft); }
.metric-card__icon--amber { color: var(--warning); background: var(--warning-soft); }
.metric-card__icon--cyan { color: #078b9f; background: #e4f9fb; }
.metric-card__icon--red { color: var(--danger); background: var(--danger-soft); }
.metric-card__icon--purple { color: var(--purple); background: #f0edfb; }
.metric-card > div { display: flex; min-width: 0; flex-direction: column; }
.metric-card span:not(.metric-card__icon) { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.metric-card strong { margin: 1px 0; font-size: 21px; line-height: 1.2; }
.metric-card small { overflow: hidden; color: #82939f; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(280px,.8fr); gap: 18px; }
.chart-card { min-width: 0; }
.segmented-control { display: flex; padding: 3px; background: #f0f5f7; border-radius: 9px; }
.segmented-control a { padding: 5px 9px; color: var(--muted); border-radius: 7px; font-size: 9.5px; font-weight: 750; }
.segmented-control a.is-active { color: var(--brand-800); background: #fff; box-shadow: 0 2px 6px rgba(14,72,99,.08); }
.chart-summary { display: flex; gap: 30px; padding: 0 21px; }
.chart-summary > div { display: flex; flex-direction: column; }
.chart-summary span { color: var(--muted); font-size: 9px; }
.chart-summary strong { font-size: 18px; }
.chart-wrap { height: 220px; padding: 14px 16px 17px; }
.chart-wrap canvas { display: block; width: 100%; height: 100%; }
.attention-list { padding: 0 14px 14px; }
.attention-item { display: grid; grid-template-columns: 9px 1fr auto; gap: 9px; align-items: center; padding: 11px 7px; color: inherit; border-bottom: 1px solid #edf2f4; }
.attention-item:last-child { border: 0; }
.attention-item:hover { background: #f8fbfc; }
.attention-item__pulse { width: 7px; height: 7px; background: var(--warning); border-radius: 50%; box-shadow: 0 0 0 4px var(--warning-soft); }
.attention-item > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.attention-item strong { font-size: 10.5px; }
.attention-item small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.attention-item time { max-width: 68px; color: #8999a3; font-size: 8px; text-align: right; }
.recent-card { min-width: 0; }
.table-scroll { overflow-x: auto; }
.clean-table { width: 100%; border-collapse: collapse; }
.clean-table th { padding: 9px 13px; color: #7b8e99; background: #f8fbfc; border-block: 1px solid #e7eff2; font-size: 8px; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.clean-table td { padding: 12px 13px; border-bottom: 1px solid #edf2f4; font-size: 10px; white-space: nowrap; }
.clean-table tbody tr:last-child td { border-bottom: 0; }
.clean-table time { color: var(--muted); font-size: 9px; }
.order-link { color: var(--brand-700); font-weight: 800; }
.popular-list { padding: 2px 18px 18px; }
.popular-item { display: grid; grid-template-columns: 25px 1fr auto; gap: 9px; align-items: center; padding: 10px 0; }
.popular-item__rank { display: inline-flex; width: 23px; height: 23px; align-items: center; justify-content: center; color: var(--brand-700); background: #edf7fb; border-radius: 8px; font-size: 9px; font-weight: 850; }
.popular-item__copy { display: flex; flex-direction: column; gap: 5px; }
.popular-item__copy strong { font-size: 10px; }
.popular-item__copy > span { width: 100%; height: 4px; overflow: hidden; background: #edf2f4; border-radius: 99px; }
.popular-item__copy i { display: block; height: 100%; background: linear-gradient(90deg,var(--brand-600),var(--accent)); border-radius: inherit; }
.popular-item > strong { font-size: 10px; }

/* Orders */
.live-indicator { display: grid; grid-template-columns: 8px auto; gap: 0 7px; align-items: center; padding: 8px 11px; background: #fff; border: 1px solid #dce9ee; border-radius: 11px; }
.live-indicator > span { grid-row: 1/3; width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px var(--success-soft); animation: livePulse 2s infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 7px rgba(22,138,85,0); } }
.live-indicator strong { font-size: 10px; }
.live-indicator small { color: var(--muted); font-size: 8.5px; }
.order-workspace { overflow: visible; }
.order-toolbar { position: relative; display: flex; gap: 8px; padding: 16px; }
.toolbar-search { position: relative; display: flex; flex: 1; align-items: center; }
.toolbar-search > svg { position: absolute; left: 13px; z-index: 1; width: 17px; color: #7e919c; }
.toolbar-search input { min-height: 44px; padding-left: 40px; background: #f9fbfc; }
.toolbar-search > a { position: absolute; right: 10px; color: var(--muted); font-size: 20px; }
.filter-count { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; color: #fff; background: var(--brand-700); border-radius: 99px; font-size: 8px; }
.filter-panel { position: absolute; top: 67px; right: 16px; z-index: 15; width: min(790px,calc(100% - 32px)); padding: 18px; background: #fff; border: 1px solid #d6e6ec; border-radius: 15px; box-shadow: 0 20px 45px rgba(7,59,93,.18); }
.filter-panel__grid { display: grid; grid-template-columns: repeat(5,minmax(120px,1fr)); gap: 11px; }
.filter-panel__actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding-top: 15px; margin-top: 15px; border-top: 1px solid #e7eff2; }
.feed-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; color: #175979; background: #eaf8fd; border-block: 1px solid #cae9f4; }
.feed-notice > span { display: flex; flex-direction: column; }
.feed-notice strong { font-size: 11px; }
.feed-notice small { color: #668898; font-size: 9px; }
.order-table-wrap { overflow-x: auto; border-top: 1px solid #e6eef1; }
.order-table { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: auto; }
.order-table th { padding: 10px 13px; color: #718692; background: #f8fbfc; border-bottom: 1px solid #e4edf1; font-size: 8.5px; letter-spacing: .065em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.order-table td { padding: 13px; border-bottom: 1px solid #eaf1f3; vertical-align: middle; }
.order-row { transition: background .15s; }
.order-row:hover { background: #fbfdfe; }
.order-row > td:first-child { min-width: 140px; }
.order-row td > small, .inline-status-form > small { display: block; margin-top: 3px; color: #82949f; font-size: 8.5px; white-space: nowrap; }
.copy-value { display: flex; min-width: 0; align-items: center; gap: 6px; }
.copy-value strong { overflow: hidden; max-width: 170px; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.point-value { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.point-value span { color: var(--brand-500); font-size: 10px; }
.inline-status-form { min-width: 132px; }
.status-select { width: auto; min-width: 112px; min-height: 34px; padding: 0 29px 0 10px; border: 0; border-radius: 999px; font-size: 10px; font-weight: 800; }
.status-select--pending, .status-select--processing { color: var(--warning); background-color: var(--warning-soft); }
.status-select--wrong_id { color: var(--danger); background-color: var(--danger-soft); }
.status-select--success { color: var(--success); background-color: var(--success-soft); }
.status-select.is-saving { opacity: .55; }
.order-expand-cell { width: 45px; }
.order-expand { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; padding: 0; color: #5f7583; background: #f3f7f8; border: 1px solid #e1ebef; border-radius: 9px; }
.order-expand svg { width: 15px; transition: transform .18s; }
.order-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.order-detail-row > td { padding: 0; background: #f8fbfc; box-shadow: inset 0 1px #e0ebef,inset 0 -1px #e0ebef; }
.order-detail { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 20px; padding: 20px 24px 23px; }
.order-detail__facts { grid-column: 1/-1; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.order-detail__facts > div { display: flex; min-width: 0; flex-direction: column; padding: 11px; background: #fff; border: 1px solid #e0ebef; border-radius: 11px; }
.order-detail__facts > div > span:first-child { color: var(--muted); font-size: 8.5px; text-transform: uppercase; }
.order-detail__facts strong { margin-top: 2px; font-size: 10.5px; }
.order-detail__facts small { color: var(--muted); font-size: 8px; }
.order-detail__form { display: grid; grid-template-columns: minmax(180px,.6fr) minmax(260px,1fr) auto; gap: 11px; align-items: end; }
.order-detail__form .button { margin-bottom: 1px; }
.order-detail__timeline { padding-left: 20px; border-left: 1px solid #dbe7eb; }
.order-detail__timeline h3 { margin-bottom: 12px; font-size: 12px; }
.order-detail__timeline ol { padding: 0; margin: 0; list-style: none; }
.order-detail__timeline li { position: relative; display: flex; min-height: 37px; gap: 9px; color: #8a9aa4; }
.order-detail__timeline li:not(:last-child)::before { position: absolute; top: 9px; left: 3px; width: 1px; height: calc(100% - 2px); background: #dbe6ea; content: ""; }
.order-detail__timeline li > span { position: relative; z-index: 1; width: 7px; height: 7px; flex: 0 0 auto; margin-top: 3px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 3px #f8fbfc; }
.order-detail__timeline li > div { display: flex; flex-direction: column; }
.order-detail__timeline strong { font-size: 9.5px; }
.order-detail__timeline small { font-size: 8px; }
.order-detail__timeline .is-done { color: var(--success); }
.order-detail__timeline .is-error { color: var(--danger); }
.order-detail__timeline .is-current { color: var(--warning); }
.order-empty { min-height: 300px; }
.order-empty a { margin-top: 9px; font-weight: 750; }
.pager { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 16px; border-top: 1px solid #e6eef1; }
.pager > span { color: var(--muted); font-size: 10px; }
.pager > div { display: flex; align-items: center; gap: 8px; }
.pager .button { min-height: 35px; padding-inline: 12px; font-size: 10px; }
.pager strong { color: var(--muted); font-size: 9px; }

/* Plans */
.catalog-summary { display: flex; align-items: center; gap: 1px; padding: 12px; margin-bottom: 18px; background: #fff; border: 1px solid #dce9ee; border-radius: 14px; }
.catalog-summary > div { display: flex; min-width: 105px; flex-direction: column; padding: 5px 16px; border-right: 1px solid #e5eef1; }
.catalog-summary span { color: var(--muted); font-size: 9px; }
.catalog-summary strong { font-size: 17px; }
.catalog-summary p { margin: 0 10px 0 auto; color: var(--muted); font-size: 10px; }
.plan-admin-grid { display: grid; grid-template-columns: repeat(4,minmax(220px,1fr)); gap: 15px; }
.plan-admin-card { overflow: hidden; background: #fff; border: 1px solid #dbe8ed; border-radius: 16px; box-shadow: 0 7px 22px rgba(14,72,99,.05); }
.plan-admin-card.is-inactive { opacity: .67; }
.plan-admin-card__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 15px 0; }
.plan-admin-card__icon { display: inline-flex; width: 35px; height: 35px; align-items: center; justify-content: center; color: var(--brand-600); background: #eaf7fb; border-radius: 11px; }
.plan-admin-card__icon svg { width: 18px; }
.plan-admin-card__body { padding: 18px 15px 16px; text-align: center; }
.plan-display-badge { display: inline-block; padding: 3px 7px; margin-bottom: 5px; color: #87550b; background: #fff1c9; border-radius: 999px; font-size: 8px; font-weight: 850; }
.plan-admin-card__body h2 { margin-bottom: 8px; font-size: 13px; }
.plan-admin-card__body > strong { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 25px; }
.plan-admin-card__body > strong span { color: var(--brand-500); font-size: 13px; }
.plan-admin-card__body p { margin: 4px 0 0; color: var(--brand-700); font-size: 13px; font-weight: 750; }
.plan-admin-card__body p small { color: var(--muted); font-size: 9px; font-weight: 500; }
.plan-admin-card__footer { display: flex; min-height: 57px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #f8fbfc; border-top: 1px solid #e6eef1; }
.plan-admin-card__footer > span { color: var(--muted); font-size: 9px; }
.plan-admin-card__footer > div { display: flex; gap: 6px; }
.plan-admin-card__footer form { display: contents; }
.plan-admin-card__footer .icon-button { width: 37px; height: 37px; }
.plan-admin-card__footer .button { min-height: 37px; font-size: 10px; }
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(7,34,50,.46); border: 0; opacity: 0; transition: opacity .2s; backdrop-filter: blur(2px); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(520px,100%); overflow-y: auto; background: #fff; box-shadow: -15px 0 42px rgba(7,47,73,.18); transform: translateX(100%); transition: transform .23s ease; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 22px 24px 18px; background: rgba(255,255,255,.95); border-bottom: 1px solid #e2ecef; backdrop-filter: blur(10px); }
.drawer__head h2 { margin-bottom: 3px; font-size: 20px; }
.drawer__head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; }
.drawer-form { padding: 23px 24px; }
.plan-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.toggle-list { display: grid; gap: 0; margin-top: 20px; border: 1px solid #e0eaee; border-radius: 13px; }
.toggle-control { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 13px; cursor: pointer; }
.toggle-control + .toggle-control { border-top: 1px solid #e6eef1; }
.toggle-control > span { display: flex; flex-direction: column; }
.toggle-control strong { font-size: 11px; }
.toggle-control small { color: var(--muted); font-size: 9.5px; }
.toggle-control input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-control i { position: relative; width: 40px; height: 23px; flex: 0 0 auto; background: #cbd8de; border-radius: 99px; transition: background .18s; }
.toggle-control i::after { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; background: #fff; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,.17); content: ""; transition: transform .18s; }
.toggle-control input:checked + i { background: var(--brand-600); }
.toggle-control input:checked + i::after { transform: translateX(17px); }
.toggle-control input:focus-visible + i { outline: 3px solid rgba(0,110,173,.28); outline-offset: 2px; }
.drawer__actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 20px; margin-top: 20px; border-top: 1px solid #e4edf1; }

/* Settings */
.settings-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 18px; align-items: start; }
.settings-nav { position: sticky; top: 88px; display: flex; flex-direction: column; padding: 8px; background: #fff; border: 1px solid #dce9ee; border-radius: 14px; box-shadow: 0 7px 21px rgba(14,72,99,.045); }
.settings-nav a { padding: 9px 11px; color: var(--muted); border-radius: 8px; font-size: 10.5px; font-weight: 700; }
.settings-nav a:hover, .settings-nav a.is-active { color: var(--brand-700); background: #edf7fb; }
.settings-content { display: grid; min-width: 0; gap: 15px; }
.settings-form-sections { display: grid; min-width: 0; gap: 15px; }
.settings-section { scroll-margin-top: 88px; }
.settings-section > :not(.admin-card__head) { margin-inline: 21px; }
.settings-section > :last-child { margin-bottom: 21px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-subsection, .support-setting-block { padding-block: 17px; margin-top: 18px; border-top: 1px solid #e6eef1; }
.settings-subsection > .toggle-control, .support-setting-block > .toggle-control { padding: 0 0 14px; }
.support-setting-block + .support-setting-block { margin-top: 0; }
.service-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 0; margin-bottom: 18px; border: 0; }
.service-options legend { margin-bottom: 9px; }
.service-option { cursor: pointer; }
.service-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.service-option > span { display: flex; min-height: 93px; flex-direction: column; align-items: flex-start; padding: 12px; border: 1px solid #dce8ed; border-radius: 12px; transition: border-color .15s,background .15s,box-shadow .15s; }
.service-option i { width: 15px; height: 15px; margin-bottom: 8px; border: 1px solid #b5c7cf; border-radius: 50%; box-shadow: inset 0 0 0 3px #fff; }
.service-option strong { font-size: 11px; }
.service-option small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.service-option input:checked + span { background: #f0f9fc; border-color: var(--brand-500); box-shadow: 0 0 0 2px rgba(34,169,224,.1); }
.service-option input:checked + span i { background: var(--brand-600); border-color: var(--brand-600); }
.service-option input:focus-visible + span { outline: 3px solid rgba(0,110,173,.25); }
.settings-section .inline-notice { margin-top: 16px; }
.appearance-layout { display: grid; grid-template-columns: minmax(240px,.75fr) minmax(320px,1.25fr); gap: 24px; padding-bottom: 20px; }
.color-fields { display: grid; gap: 10px; }
.color-control { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--text); font-size: 10.5px; font-weight: 700; }
.color-control > span:last-child { display: flex; align-items: center; gap: 7px; }
.color-control input[type=color] { width: 36px; min-height: 36px; padding: 3px; border-radius: 9px; cursor: pointer; }
.color-control input[type=text] { width: 82px; min-height: 36px; padding: 0 8px; color: var(--muted); font-family: ui-monospace,Consolas,monospace; font-size: 10px; text-transform: uppercase; }
.theme-preview { overflow: hidden; color: var(--preview-text,#102f45); background: var(--preview-page,#eff9fc); border: 1px solid #d4e3e9; border-radius: 14px; box-shadow: 0 10px 25px rgba(14,72,99,.08); }
.theme-preview__marquee { padding: 4px 10px; color: var(--preview-primary,#07689f); background: #fff; font-size: 6px; text-align: center; }
.theme-preview header { display: flex; height: 35px; align-items: center; gap: 6px; padding: 0 11px; color: #fff; background: var(--preview-primary,#07689f); font-size: 8px; }
.theme-preview header i { padding: 3px 5px; margin-left: auto; color: #126d47; background: #e7f8ef; border-radius: 99px; font-size: 5px; font-style: normal; }
.theme-preview__logo { color: var(--preview-accent,#25d3e8); }
.theme-preview main { padding: 15px 20%; }
.theme-preview__card { padding: 13px; background: var(--preview-surface,#fff); border: 1px solid color-mix(in srgb,var(--preview-primary,#07689f) 20%,white); border-radius: 10px; box-shadow: 0 6px 15px rgba(14,72,99,.08); }
.theme-preview__card small, .theme-preview__card > span { display: block; margin-bottom: 4px; font-size: 6px; font-weight: 700; }
.theme-preview__input { padding: 7px; margin-bottom: 10px; color: #8b9ba5; background: #fff; border: 1px solid color-mix(in srgb,var(--preview-primary,#07689f) 20%,white); border-radius: 6px; font-size: 6px; }
.theme-preview__plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-bottom: 10px; }
.theme-preview__plans i { height: 36px; background: linear-gradient(145deg,#fff,var(--preview-page,#eff9fc)); border: 1px solid color-mix(in srgb,var(--preview-primary,#07689f) 45%,white); border-radius: 7px; }
.theme-preview__plans i:first-child { border: 2px solid var(--preview-primary,#07689f); box-shadow: 0 0 0 2px color-mix(in srgb,var(--preview-accent,#25d3e8) 22%,transparent); }
.theme-preview button { width: 100%; padding: 7px; color: #fff; background: var(--preview-primary,#07689f); border: 0; border-radius: 6px; font-size: 6px; }
.contrast-message { min-height: 18px; color: var(--muted); font-size: 9.5px; }
.contrast-message.is-warning { color: var(--danger); }
.gateway-state { display: flex; gap: 13px; align-items: center; padding: 15px; color: #6a7780; background: #f7fafb; border: 1px dashed #cddce2; border-radius: 12px; }
.gateway-state > svg, .gateway-state > span { display: inline-flex; width: 38px; height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 8px; color: var(--muted); background: #eaf0f2; border-radius: 11px; }
.gateway-state div { display: flex; flex-direction: column; }
.gateway-state strong { color: var(--text); font-size: 11.5px; }
.gateway-state p { margin: 2px 0 0; font-size: 9.5px; }
.gateway-state--ready { color: var(--success); background: var(--success-soft); border-color: #c6e8d6; }
.gateway-state--ready > span { color: #fff; background: var(--success); font-size: 16px; }
.gateway-state--danger { color: var(--danger); background: var(--danger-soft); border-color: #efc9ce; }
.gateway-state--danger > span { color: #fff; background: var(--danger); font-size: 16px; font-weight: 850; }
.credential-status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.credential-pill { display: inline-flex; min-width: 0; align-items: center; gap: 7px; padding: 8px 10px; color: #6c7f8b; background: #f6f9fa; border: 1px solid #dce7eb; border-radius: 10px; font-size: 9.5px; font-weight: 750; }
.credential-pill i { width: 7px; height: 7px; flex: 0 0 auto; background: #a6b5bd; border-radius: 50%; }
.credential-pill.is-saved { color: var(--success); background: var(--success-soft); border-color: #cce9da; }
.credential-pill.is-saved i { background: currentColor; box-shadow: 0 0 0 3px rgba(22,138,85,.11); }
.gateway-endpoints { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-block: 18px; margin-top: 18px; border-block: 1px solid #e5edf1; }
.readonly-copy { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 8px; padding: 6px 7px 6px 11px; background: #f7fafb; border: 1px solid #dce8ed; border-radius: 10px; }
.readonly-copy code { min-width: 0; overflow-x: auto; color: #31556a; font-family: ui-monospace,Consolas,"Liberation Mono",monospace; font-size: 9.5px; line-height: 1.45; white-space: nowrap; scrollbar-width: thin; }
.readonly-copy .copy-button { width: auto; min-width: 51px; height: 30px; flex: 0 0 auto; padding-inline: 9px; font-size: 9px; font-weight: 800; }
.gateway-settings-form { display: grid; min-width: 0; gap: 17px; padding-top: 18px; }
.gateway-control-list { display: grid; gap: 4px; overflow: hidden; background: #fbfdfe; border: 1px solid #dfe9ed; border-radius: 12px; }
.gateway-control-list > .toggle-control { padding-inline: 13px; }
.gateway-control-list > .field-error { padding: 0 13px 9px; }
.gateway-clear { width: 100%; align-items: flex-start; padding: 12px 13px; border-top: 1px solid #e6eef1; }
.gateway-clear input { flex: 0 0 auto; margin-top: 2px; }
.gateway-clear > span { display: flex; min-width: 0; flex-direction: column; }
.gateway-clear strong { color: var(--danger); font-size: 10.5px; }
.gateway-clear small { color: var(--muted); font-size: 9.5px; }
.gateway-confirm { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 13px; align-items: end; }
.gateway-confirm .button { min-width: 166px; }
.gateway-updated { margin: -5px 0 0; color: var(--muted); font-size: 9.5px; }
.settings-savebar { position: sticky; bottom: 12px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 14px; background: rgba(255,255,255,.94); border: 1px solid #d7e5ea; border-radius: 13px; box-shadow: 0 13px 34px rgba(7,59,93,.14); backdrop-filter: blur(12px); }
.settings-savebar > span { display: flex; flex-direction: column; }
.settings-savebar strong { font-size: 10.5px; }
.settings-savebar small { color: var(--muted); font-size: 9px; }

/* Audit */
.audit-toolbar { display: flex; align-items: center; gap: 14px; padding: 15px; border-bottom: 1px solid #e5edf1; }
.audit-toolbar .toolbar-search { max-width: 600px; }
.audit-toolbar .toolbar-search input { padding-right: 90px; }
.audit-toolbar .toolbar-search .button { position: absolute; right: 4px; min-height: 36px; }
.audit-list { padding: 0 18px; }
.audit-item { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e9f0f3; }
.audit-item:last-child { border: 0; }
.audit-item__icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--brand-600); background: #eaf7fb; border-radius: 11px; }
.audit-item__icon svg { width: 18px; }
.audit-item__icon--danger { color: var(--danger); background: var(--danger-soft); }
.audit-item__icon--success { color: var(--success); background: var(--success-soft); }
.audit-item__main > div { display: flex; gap: 6px; align-items: baseline; }
.audit-item__main strong { font-size: 10.5px; }
.audit-item__main > div > span { color: var(--brand-700); font-size: 9.5px; }
.audit-item__main p { margin: 3px 0 0; color: var(--muted); font-size: 9.5px; }
.audit-item details { margin-top: 6px; }
.audit-item summary { color: var(--brand-700); cursor: pointer; font-size: 9px; font-weight: 750; }
.audit-item dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 12px; padding: 8px; margin: 5px 0 0; background: #f7fafb; border-radius: 8px; }
.audit-item dl div { display: flex; gap: 5px; min-width: 0; }
.audit-item dt { color: var(--muted); font-size: 8px; }
.audit-item dd { overflow: hidden; margin: 0; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.audit-item__meta { display: flex; flex-direction: column; color: var(--muted); font-size: 8.5px; text-align: right; }

/* Login */
.login-body { min-height: 100vh; background: #edf7fa; background-image: radial-gradient(circle at 20% 10%,rgba(37,211,232,.16),transparent 27%),radial-gradient(circle at 87% 88%,rgba(34,169,224,.17),transparent 30%); }
.login-shell { display: grid; width: min(920px,calc(100% - 32px)); min-height: 560px; grid-template-columns: 1fr 1fr; margin: max(35px,calc((100vh - 560px)/2)) auto; overflow: hidden; background: #fff; border: 1px solid #d7e8ee; border-radius: 24px; box-shadow: 0 25px 65px rgba(7,59,93,.16); }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: 48px 55px; }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; }
.login-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.login-brand small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.login-card__heading { margin-bottom: 23px; }
.login-card__heading h1 { margin-bottom: 6px; font-size: 28px; }
.login-card__heading > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11.5px; }
.login-form { display: grid; gap: 15px; }
.check-control { display: flex; width: max-content; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; cursor: pointer; }
.check-control input { width: 16px; min-height: 16px; accent-color: var(--brand-600); }
.login-help { margin: 18px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.login-aside { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 45px; color: #fff; background: linear-gradient(145deg,#073b5d,#07689f 65%,#0784c6); text-align: center; }
.login-aside::before, .login-aside::after { position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.login-aside::before { top: -100px; right: -90px; }
.login-aside::after { bottom: -135px; left: -90px; }
.login-aside > div:last-child { position: relative; z-index: 2; }
.login-aside p { margin: 28px 0 7px; font-size: 20px; font-weight: 800; }
.login-aside > div:last-child span { color: #b9d7e3; font-size: 10.5px; }
.login-orbit { position: relative; width: 170px; height: 170px; }
.login-orbit > span { position: absolute; inset: 0; border: 1px solid rgba(87,225,239,.28); border-radius: 50%; animation: spinOrbit 8s linear infinite; }
.login-orbit > span::after { position: absolute; top: 19px; right: 19px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 15px var(--accent); content: ""; }
.login-orbit > span:nth-child(2) { inset: 20px; animation-direction: reverse; animation-duration: 6s; }
.login-orbit > span:nth-child(3) { inset: 40px; animation-duration: 4s; }
.login-orbit svg { position: absolute; inset: 53px; width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 7px 13px rgba(0,0,0,.18)); }
@keyframes spinOrbit { to { transform: rotate(360deg); } }

.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: grid; width: min(340px,calc(100% - 36px)); gap: 8px; pointer-events: none; }
.app-toast { display: flex; gap: 9px; align-items: center; padding: 11px 13px; color: #fff; background: #173d54; border-radius: 11px; box-shadow: 0 13px 30px rgba(7,47,73,.24); opacity: 0; transform: translateY(8px); transition: opacity .18s,transform .18s; }
.app-toast.is-visible { opacity: 1; transform: none; }
.app-toast--success { background: #126d47; }
.app-toast--danger { background: #a9333e; }
.app-toast strong { font-size: 10.5px; }

@media (max-width: 1260px) {
    .metric-grid { grid-template-columns: repeat(3,1fr); }
    .plan-admin-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1023px) {
    .public-shell { grid-template-columns: 1fr; max-width: 760px; }
    .plan-grid { grid-template-columns: repeat(4,1fr); }
    .public-aside { grid-template-columns: 1fr; }
    .admin-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
    .admin-sidebar.is-open { transform: none; }
    .sidebar-close, .sidebar-open { display: inline-flex; }
    .sidebar-backdrop.is-visible { position: fixed; inset: 0; z-index: 29; display: block; background: rgba(7,34,50,.42); }
    .admin-workspace { padding-left: 0; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .attention-card, .popular-card { min-height: 260px; }
    .plan-admin-grid { grid-template-columns: repeat(2,1fr); }
    .filter-panel__grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 767px) {
    .public-header__inner, .section-wrap, .public-footer { width: min(100% - 24px,680px); }
    .public-shell { gap: 14px; padding-block: 18px 105px; }
    .recharge-panel, .support-panel, .tracking-panel { padding: 18px; }
    .panel-heading h1 { font-size: 21px; }
    .plan-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
    .plan-card { min-width: 0; min-height: 92px; gap: 5px; border-radius: 13px; }
    .plan-card__points { max-width: calc(100% - 8px); gap: 3px; font-size: clamp(13px,3.8vw,15px); line-height: 1.05; overflow-wrap: anywhere; text-align: center; }
    .plan-card__points svg { width: 13px; flex: 0 0 13px; }
    .plan-card__price { max-width: calc(100% - 8px); font-size: clamp(9px,2.8vw,10.5px); line-height: 1.05; overflow-wrap: anywhere; text-align: center; }
    .plan-card__check { top: 5px; right: 5px; width: 19px; height: 19px; }
    .plan-card__check svg { width: 11px; }
    .plan-card__badge { top: 5px; left: 5px; max-width: calc(100% - 10px); padding: 2px 5px; font-size: 7px; }
    .support-links { grid-template-columns: 1fr; }
    .tracking-form { grid-template-columns: 1fr; }
    .tracking-form .button { width: 100%; }
    .maintenance-card { padding: 30px 20px; }
    .maintenance-card h1 { font-size: 27px; }
    .admin-topbar { min-height: 62px; padding: 0 14px; }
    .topbar-search { width: min(270px,42vw); }
    .admin-user__copy, .admin-user form, .topbar-search kbd { display: none; }
    .admin-main { padding: 20px 14px; }
    .page-heading { align-items: flex-start; margin-bottom: 18px; }
    .page-heading h1 { font-size: 23px; }
    .page-heading__actions { flex-direction: column; }
    .page-heading__actions .button--secondary { display: none; }
    .metric-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }
    .metric-card { padding: 12px; }
    .metric-card__icon { width: 34px; height: 34px; }
    .metric-card strong { font-size: 17px; }
    .chart-card .admin-card__head { flex-direction: column; }
    .chart-wrap { height: 190px; }
    .clean-table { min-width: 660px; }
    .order-toolbar { flex-wrap: wrap; }
    .order-toolbar .toolbar-search { flex: 1 0 calc(100% - 55px); }
    .order-toolbar > .button--primary { flex: 1; }
    .filter-panel { top: 120px; }
    .filter-panel__grid { grid-template-columns: 1fr 1fr; }
    .pager { align-items: flex-start; flex-direction: column; }
    .pager > div { width: 100%; justify-content: space-between; }
    .plan-admin-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .catalog-summary p { display: none; }
    .catalog-summary { overflow-x: auto; }
    .settings-layout { grid-template-columns: 1fr; }
    .settings-nav { position: sticky; top: 62px; z-index: 12; flex-direction: row; overflow-x: auto; white-space: nowrap; }
    .appearance-layout { grid-template-columns: 1fr; }
    .service-options { grid-template-columns: 1fr; }
    .gateway-confirm { grid-template-columns: minmax(0,1fr) minmax(150px,auto); }
    .settings-savebar > span { display: none; }
    .settings-savebar .button { width: 100%; }
    .audit-item { grid-template-columns: 36px minmax(0,1fr); }
    .audit-item__meta { grid-column: 2; flex-direction: row; gap: 8px; text-align: left; }
    .login-shell { display: block; width: min(480px,calc(100% - 24px)); min-height: auto; margin-block: 18px; }
    .login-card { padding: 35px 27px; }
    .login-aside { display: none; }
}
@media (max-width: 540px) {
    .announcement__track { gap: 50px; }
    .public-header__inner { min-height: 59px; }
    .public-header .service-pill { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .brand { font-size: 13px; }
    .brand__mark { width: 32px; height: 32px; }
    .secure-chip { display: none; }
    .order-summary { align-items: flex-start; }
    .summary-totals div { flex-direction: column; gap: 0; }
    .summary-totals dd { min-width: 0; }
    .status-result__facts { grid-template-columns: 1fr 1fr; }
    .browser-handoff { align-items: end; padding: 10px 10px max(10px,env(safe-area-inset-bottom)); }
    .browser-handoff__card { padding: 24px 18px; border-radius: 20px; }
    .browser-handoff__card h2 { font-size: 21px; }
    .admin-topbar { gap: 8px; }
    .topbar-search { width: 42vw; }
    .topbar-search input { padding-right: 8px; }
    .admin-user { padding-left: 6px; }
    .notification-button { display: none; }
    .page-heading { flex-direction: column; }
    .page-heading__actions, .page-heading__actions .button { width: 100%; }
    .live-indicator { align-self: flex-start; }
    .metric-grid { grid-template-columns: 1fr; }
    .metric-card small { font-size: 9px; }
    .plan-admin-grid { grid-template-columns: 1fr; }
    .filter-panel { width: calc(100vw - 28px); right: 0; }
    .filter-panel__grid, .settings-grid, .plan-form-grid { grid-template-columns: 1fr; }
    .field-group--wide { grid-column: auto; }
    .credential-status-grid, .gateway-endpoints, .gateway-confirm { grid-template-columns: 1fr; }
    .gateway-confirm .button { width: 100%; }
    .readonly-copy { align-items: stretch; flex-direction: column; padding: 9px; }
    .readonly-copy code { width: 100%; padding: 2px; }
    .readonly-copy .copy-button { width: 100%; min-height: 34px; }
    .gateway-state { align-items: flex-start; }
    .gateway-state > svg, .gateway-state > span { width: 34px; height: 34px; padding: 7px; }
    .filter-panel__actions { justify-content: space-between; }
    .order-table-wrap { overflow: visible; }
    .order-table { min-width: 0; }
    .order-table thead { display: none; }
    .order-table tbody { display: block; padding: 10px; }
    .order-table .order-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 11px; margin-bottom: 9px; background: #fff; border: 1px solid #dce9ee; border-radius: 13px; box-shadow: 0 5px 14px rgba(14,72,99,.04); }
    .order-table .order-row td { position: relative; display: block; padding: 10px 4px 4px; border: 0; }
    .order-table .order-row td::before { display: block; margin-bottom: 3px; color: #8797a1; font-size: 7.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; content: attr(data-label); }
    .order-table .order-row td:first-child { min-width: 0; }
    .order-table .order-row td:nth-child(3), .order-table .order-row td:nth-child(4) { padding-top: 13px; margin-top: 6px; border-top: 1px solid #edf2f4; }
    .order-table .order-row td:nth-child(5) { display: none; }
    .order-table .order-row .order-expand-cell { position: absolute; right: 25px; width: auto; padding: 5px; }
    .order-table .order-row .order-expand-cell::before { display: none; }
    .order-detail-row { display: block; }
    .order-detail-row > td { display: block; margin: -10px 10px 10px; border-radius: 0 0 13px 13px; }
    .order-detail { display: block; padding: 15px; }
    .order-detail__facts { grid-template-columns: 1fr 1fr; margin-bottom: 15px; }
    .order-detail__form { grid-template-columns: 1fr; }
    .order-detail__timeline { padding: 15px 0 0; margin-top: 17px; border-top: 1px solid #dbe7eb; border-left: 0; }
    .settings-section > :not(.admin-card__head) { margin-inline: 14px; }
    .admin-card__head { padding-inline: 15px; }
    .audit-toolbar { align-items: stretch; flex-direction: column; }
    .audit-toolbar .toolbar-search { width: 100%; }
    .audit-item dl { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
    .public-header__inner, .section-wrap, .public-footer { width: min(100% - 12px,680px); }
    .recharge-panel, .support-panel, .tracking-panel { padding: 12px; }
    .recharge-form { gap: 17px; }
    .plan-grid { gap: 5px; }
    .plan-card { min-height: 84px; gap: 4px; border-radius: 11px; }
    .plan-card__points { font-size: clamp(12px,4vw,14px); }
    .plan-card__points svg { width: 11px; flex-basis: 11px; }
    .plan-card__price { font-size: clamp(8.5px,2.7vw,9.5px); }
    .plan-card__badge { top: 4px; left: 4px; max-width: calc(100% - 8px); padding: 2px 4px; font-size: 6.5px; }
    .plan-card__check { top: 4px; right: 4px; width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .announcement__track { animation: none; transform: none; }
    .announcement__track span[aria-hidden="true"] { display: none; }
}
