/* Dedicated account/admin presentation. Application scripts and shared storefront styles remain intact. */
:is(.page-admin,.page-unban) {
 --bg-primary:#f5f6f8; --bg-secondary:#fff; --bg-card:#fff; --bg-glass:#f5f6f8; --bg-glass-hover:#edf0f5;
 --text-primary:#202633; --text-secondary:#5f6877; --text-dim:#737c8b; --text-muted:#5f6877;
 --ink-mute:#5f6877; --ink-faint:#737c8b;
 --accent-indigo:#574bd4; --accent-indigo-light:#574bd4; --accent-violet:#574bd4;
 --accent-emerald:#227454; --accent-emerald-light:#227454; --accent-amber:#95620d; --accent-rose:#c53b4a;
 --border-subtle:#e1e5ec; --border-active:#b9b3ed; --gradient-brand:#574bd4; --shadow-card:none; --shadow-glow:none;
 --radius-sm:6px; --radius-md:8px; --radius-lg:10px; --radius-xl:12px;
 color:var(--text-primary); background:var(--bg-primary); font-size:14px; line-height:1.6; overflow-x:visible;
}
:is(.page-admin,.page-unban) *, :is(.page-admin,.page-unban) *::before, :is(.page-admin,.page-unban) *::after { box-sizing:border-box; }
:is(.page-admin,.page-unban) .bg-gradient-orbs { display:none; }
:is(.page-admin,.page-unban) .navbar { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; border-bottom:1px solid var(--border-subtle); padding:0; height:72px; }
:is(.page-admin,.page-unban) .nav-container { height:100%; max-width:1320px; padding:0 32px; gap:16px; }
:is(.page-admin,.page-unban) .brand-icon { background:var(--accent-indigo); box-shadow:none; border-radius:8px; width:36px; height:36px; font-size:14px; color:#fff; }
:is(.page-admin,.page-unban) .brand-name { font-size:16px; letter-spacing:-.5px; }
:is(.page-admin,.page-unban) .brand-suffix { font-size:9px; letter-spacing:1.4px; color:var(--text-dim); }
:is(.page-admin,.page-unban) .nav-link { font-size:12px; color:var(--text-secondary); min-height:44px; display:inline-flex; align-items:center; padding:8px 0; }
:is(.page-admin,.page-unban) .nav-link--alt { padding:8px 12px; background:#f2f0fc; color:var(--accent-indigo); border:1px solid #e4e0f8; border-radius:6px; }
:is(.page-admin,.page-unban) .ui-kicker { display:block; color:var(--text-dim); font-size:10px; font-weight:600; letter-spacing:.12em; margin-bottom:10px; }
:is(.page-admin,.page-unban) h1 { font-size:30px; font-weight:700; letter-spacing:-1px; line-height:1.25; color:var(--text-primary); }
:is(.page-admin,.page-unban) .card-glass { max-width:none; background:#fff; border:1px solid var(--border-subtle); border-radius:12px; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; padding:28px; }
:is(.page-admin,.page-unban) .card-title { font-size:21px; letter-spacing:-.6px; font-weight:700; margin-bottom:6px; }
:is(.page-admin,.page-unban) .card-subtitle { font-size:12px; line-height:1.7; margin-bottom:24px; }
:is(.page-admin,.page-unban) .auth-form { gap:18px; }
:is(.page-admin,.page-unban) .form-group { min-width:0; gap:7px; }
:is(.page-admin,.page-unban) .form-group label { font-size:12px; font-weight:600; text-transform:none; letter-spacing:0; color:#454e5c; }
:is(.page-admin,.page-unban) .input-wrapper { background:#fff; border-color:#d6dce5; border-radius:7px; min-height:46px; }
:is(.page-admin,.page-unban) .input-icon { color:#80899a; padding:12px; }
:is(.page-admin,.page-unban) .input-wrapper input { min-width:0; min-height:46px; color:var(--text-primary); font-size:14px; padding-right:12px; }
:is(.page-admin,.page-unban) .input-field, :is(.page-admin,.page-unban) .select-input, :is(.page-admin,.page-unban) .search-input { background:#fff; color:var(--text-primary); font-size:13px; min-height:44px; border-color:#d6dce5; border-radius:7px; }
:is(.page-admin,.page-unban) input::placeholder { color:#8a92a0; font-weight:400; }
:is(.page-admin,.page-unban) .input-wrapper:focus-within, :is(.page-admin,.page-unban) input:focus, :is(.page-admin,.page-unban) select:focus { border-color:#8177df; box-shadow:0 0 0 3px #574bd412; }
:is(.page-admin,.page-unban) button, :is(.page-admin,.page-unban) a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
:is(.page-admin,.page-unban) button:focus-visible, :is(.page-admin,.page-unban) a:focus-visible { outline:3px solid #9b93e9; outline-offset:3px; }
:is(.page-admin,.page-unban) .btn-primary { background:#574bd4; color:#fff; min-height:44px; padding:11px 18px; font-size:12px; font-weight:600; letter-spacing:0; border-radius:7px; box-shadow:none; }
:is(.page-admin,.page-unban) .btn-primary:hover:not(:disabled) { background:#463ab7; transform:none; box-shadow:none; }
:is(.page-admin,.page-unban) .btn-outline { background:#fff; border-color:#d6dce5; color:#4c5564; min-height:44px; border-radius:7px; padding:10px 15px; font-size:12px; font-weight:600; }
:is(.page-admin,.page-unban) .btn-outline:hover:not(:disabled) { background:#f4f3fc; border-color:#bdb7ec; color:#574bd4; box-shadow:none; transform:none; }
:is(.page-admin,.page-unban) .btn-danger { background:#fff0f1; color:#b63443; border:1px solid #f2ccd1; min-height:38px; border-radius:6px; padding:8px 12px; font-size:11px; }
:is(.page-admin,.page-unban) .btn-text { display:block; text-transform:lowercase; }
:is(.page-admin,.page-unban) .btn-text::first-letter { text-transform:uppercase; }
:is(.page-admin,.page-unban) .btn-sm { padding:8px 11px; font-size:11px; }
:is(.page-admin,.page-unban) .alert-box { border-radius:8px; font-size:12px; line-height:1.65; padding:14px 16px; }
:is(.page-admin,.page-unban) .stat-card { background:#fff; border:1px solid var(--border-subtle); border-radius:9px; box-shadow:none; padding:20px; gap:14px; min-width:0; }
:is(.page-admin,.page-unban) .stat-card:hover { transform:none; }
:is(.page-admin,.page-unban) .stat-card-icon { color:#80889a; background:#f5f6f9; display:grid; place-items:center; width:36px; height:36px; border-radius:7px; flex-shrink:0; }
:is(.page-admin,.page-unban) .stat-card-icon svg { width:19px; height:19px; }
:is(.page-admin,.page-unban) .stat-card-number { color:#202633; font-size:25px; font-weight:700; letter-spacing:-.7px; line-height:1.3; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
:is(.page-admin,.page-unban) .stat-card-number { word-break:normal; overflow-wrap:normal; }
:is(.page-admin,.page-unban) .stat-card-label { font-size:10px; text-transform:none; letter-spacing:0; color:#737c8b; margin-top:5px; }
:is(.page-admin,.page-unban) .table-wrapper { border:1px solid var(--border-subtle); border-radius:8px; overflow-x:auto; max-width:100%; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; }
:is(.page-admin,.page-unban) .data-table { font-size:12px; min-width:680px; background:#fff; }
:is(.page-admin,.page-unban) .data-table th { background:#f8f9fb; text-transform:none; letter-spacing:0; color:#626d7c; font-size:11px; font-weight:600; padding:13px 16px; white-space:nowrap; }
:is(.page-admin,.page-unban) .data-table td { padding:15px 16px; border-color:#edf0f4; color:#4e5867; line-height:1.6; vertical-align:top; }
:is(.page-admin,.page-unban) .data-table tr:last-child td { border-bottom:0; }
:is(.page-admin,.page-unban) .data-table code { color:#4b5565; background:#f3f4f7; font-size:11px; }
:is(.page-admin,.page-unban) .data-table .btn-primary, :is(.page-admin,.page-unban) .data-table .btn-outline { min-height:36px; font-size:10px; padding:7px 10px; }
:is(.page-admin,.page-unban) .empty-msg { padding:40px 20px; font-size:12px; text-align:center; color:#7b8492; }
:is(.page-admin,.page-unban) .badge { font-size:10px; border-radius:5px; padding:4px 7px; white-space:nowrap; }
:is(.page-admin,.page-unban) .badge-success { background:#edf6f1; color:#286e4e; }
:is(.page-admin,.page-unban) .badge-warning { background:#fff7e8; color:#936113; }
:is(.page-admin,.page-unban) .badge-danger { background:#fff0f1; color:#b63443; }
:is(.page-admin,.page-unban) .badge-secondary { background:#f1f2f5; color:#67717e; }
:is(.page-admin,.page-unban) .site-footer { border-top:1px solid var(--border-subtle); padding:22px 24px; background:transparent; margin-top:0; }
:is(.page-admin,.page-unban) .site-footer p { color:#858d9a; font-size:10px; }
/* Admin workspace */
.page-admin .nav-container { max-width:none; }
.page-admin .admin-container { padding-left:224px; min-height:calc(100vh - 128px); }
.page-admin .admin-heading { max-width:1320px; margin:0 auto; padding:30px 32px 20px; }
.page-admin .admin-heading .ui-kicker { font-size:9px; margin-bottom:8px; }
.page-admin .admin-heading h1 { font-size:28px; }
.page-admin .admin-sidebar { position:fixed; left:0; top:72px; bottom:0; width:224px; z-index:50; padding:28px 16px 20px; border-right:1px solid #202b3c; background:#1d2635; color:#c6cedc; display:flex; flex-direction:column; }
.page-admin .sidebar-label { font-size:9px; letter-spacing:.12em; color:#8390a4; padding:0 14px 18px; }
.page-admin .admin-tabs { display:flex; flex-direction:column; overflow:visible; gap:5px; margin:0; padding:0; }
.page-admin .admin-tab { display:flex; align-items:center; gap:12px; min-height:44px; padding:11px 14px; border:1px solid transparent; border-radius:7px; background:transparent; color:#aab5c8; text-align:left; font-size:12px; font-weight:500; }
.page-admin .admin-tab svg { width:18px; height:18px; flex-shrink:0; opacity:.85; }
.page-admin .admin-tab.active { color:#fff; background:#343d50; border-color:#465064; box-shadow:none; }
.page-admin .admin-tab.active svg { color:#b5adff; opacity:1; }
.page-admin .admin-tab:hover { color:#fff; background:#2a3445; }
.page-admin .admin-tab:nth-child(6) { margin-top:18px; }
.page-admin .sidebar-foot { margin-top:auto; padding:24px 14px 0; font-size:11px; color:#9aa7ba; }
.page-admin .sidebar-foot span { display:block; font-size:10px; color:#6f8098; margin-top:3px; }
.page-admin .admin-stats { padding:0 0 24px; }
.page-admin .admin-stats .container, .page-admin .admin-main .container { max-width:1320px; padding-inline:32px; min-width:0; }
.page-admin .stats-grid { gap:14px; }
.page-admin .admin-stats .stat-card { flex-direction:column; align-items:flex-start; gap:14px; padding:18px 20px; }
.page-admin .admin-stats .stat-card-icon { width:30px; height:30px; border-radius:6px; }
.page-admin .admin-stats .stat-card-number { font-size:24px; }
.page-admin .admin-main { padding-bottom:40px; }
.page-admin .admin-tab-content { animation:none; min-width:0; }
.page-admin .section-title { font-size:20px; font-weight:700; letter-spacing:-.6px; margin-bottom:6px; }
.page-admin .section-desc { font-size:12px; line-height:1.7; margin-bottom:24px; max-width:660px; }
.page-admin .subsection-title { font-size:12px; color:#596372; margin:22px 0 12px; }
.page-admin .toggle-label { min-height:44px; font-size:12px; color:#505a69; }
.page-admin .toggle-slider { background:#e6e9ef; border-color:#d4d9e2; }
.page-admin .toggle-checkbox:checked + .toggle-slider { background:#574bd4; }
.page-admin .toggle-checkbox:checked + .toggle-slider::after { background:#fff; }
.page-admin .radio-group { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-width:600px; }
.page-admin .radio-card { padding:14px 16px; background:#fff; border:1px solid #dce1e8; border-radius:8px; position:relative; }
.page-admin .radio-card.active { border-color:#8177df; background:#f7f6fe; }
.page-admin .radio-card.active::after { content:'✓'; position:absolute; top:12px; right:14px; color:#574bd4; font-size:13px; }
.page-admin .radio-body strong { font-size:13px; color:#303846; }
.page-admin .radio-body span { font-size:10px; }
.page-admin .package-grid { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.page-admin .pkg-card { border:1px solid #dfe4eb; border-radius:8px; padding:16px; background:#fff; position:relative; }
.page-admin .pkg-card:hover { transform:none; border-color:#b1a9e9; }
.page-admin .pkg-card.selected { background:#f8f7ff; border-color:#8177df; box-shadow:inset 0 0 0 1px #8177df; }
.page-admin .pkg-card.selected::after { content:'✓'; position:absolute; top:12px; right:12px; color:#574bd4; font-size:13px; }
.page-admin .pkg-badge, .page-admin #original-tier-list .pkg-badge { background:#f0eefb !important; color:#6558b4 !important; font-size:9px; padding:3px 6px; margin-bottom:12px; border-radius:4px; }
.page-admin .pkg-name, .page-admin #original-tier-list .pkg-name { color:#2f3745 !important; font-size:12px !important; line-height:1.6; margin-bottom:8px; padding-right:8px; }
.page-admin .pkg-info { font-size:10px; line-height:1.7; color:#788291; }
.page-admin .highlight-box { background:#f7f8fa !important; border:1px solid #e6e9ef !important; padding:16px 18px; border-radius:8px; }
.page-admin .highlight-box h4 { color:#525c6b !important; font-size:12px; }
.page-admin .highlight-box h3 { color:#525c6b !important; font-size:14px !important; }
.page-admin #orders-table { min-width:1040px; }
.page-admin #orders-table td:nth-child(1), .page-admin #orders-table td:nth-child(3), .page-admin #orders-table td:nth-child(6), .page-admin #orders-table td:nth-child(7) { white-space:nowrap; }
.page-admin #orders-table td:nth-child(2) { min-width:150px; }
.page-admin #orders-table td:last-child { min-width:160px; }
.page-admin .badge-success[style*="background:#0284c7"] { background:#edf5fc !important; color:#226797; }
.page-admin .badge[style*="#10b981"] { color:#227454 !important; }
.page-admin .badge[style*="#818cf8"] { color:#6558b4 !important; }
.page-admin .badge[style*="#f59e0b"] { color:#95620d !important; }
.page-admin .highlight-box p, .page-admin .feature-list li { font-size:12px; color:#6a7483; }
.page-admin .feature-list li::before { color:#8a84b5; }
.page-admin #btn-generate, .page-admin #btn-generate-orig, .page-admin #btn-gen-source { max-width:400px; }
.page-admin .filter-chips-row .btn-outline.active { background:#f0eefb; border-color:#ccc6f1; color:#574bd4; }
.page-admin .search-bar { background:#fff; border-color:#d6dce5; border-radius:7px; min-width:0; }
.page-admin .receipt-card { border-color:#dce8e1; background:#f5faf7; box-shadow:none; animation:none; }
.page-admin .receipt-title { font-size:16px; }
.page-admin .receipt-textarea { background:#fff; color:#4c5868; border:1px solid #dce2e8; font-size:12px; line-height:1.8; }
.page-admin .pin-modal-overlay { background:#f5f6f8; top:72px; backdrop-filter:none; -webkit-backdrop-filter:none; padding:28px 16px; overflow-y:auto; }
.page-admin .pin-modal-card { width:100%; max-width:400px; padding:32px; background:#fff; border:1px solid #e1e5ec; border-radius:12px; box-shadow:0 8px 32px #20263306; text-align:left; }
.page-admin .pin-modal-icon { background:#f3f1fc; border-radius:9px; width:48px; height:48px; display:grid; place-items:center; margin-bottom:24px; }
.page-admin .pin-modal-icon svg { width:23px; height:23px; stroke:#6558c8; }
.page-admin .pin-modal-card h2 { font-size:25px; letter-spacing:-.7px; margin-bottom:8px; }
.page-admin .pin-modal-card p { font-size:12px; margin-bottom:24px; }
.page-admin #admin-pin-input { padding-left:12px; letter-spacing:5px; }
.page-admin .pin-modal-card .ui-kicker { font-size:9px; margin-bottom:8px; }
.page-admin:has(#pin-lock-modal:not(.hidden)) #btn-lock { visibility:hidden; }
.page-admin:not(:has(#pin-lock-modal:not(.hidden))) .site-footer { margin-left:224px; }
/* Customer account entry and dashboard */
.page-unban .page-section { padding:56px 0; }
.page-unban .page-section > .container { max-width:1100px; padding-inline:32px; }
.page-unban .unban-entry { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:80px; }
.page-unban .unban-entry:has(#unban-auth-card.hidden) { display:none; }
.page-unban .unban-intro { padding-bottom:20px; }
.page-unban .unban-intro h1 { font-size:44px; line-height:1.22; letter-spacing:-1.8px; margin:18px 0; }
.page-unban .unban-intro > p { font-size:13px; color:#737c8b; max-width:300px; line-height:1.8; }
.page-unban .entry-notes { margin:32px 0; border-top:1px solid #e0e4ea; }
.page-unban .entry-notes > div { display:flex; align-items:center; gap:14px; border-bottom:1px solid #e0e4ea; padding:15px 0; }
.page-unban .entry-notes span { color:#999fac; font-family:var(--font-mono); font-size:10px; }
.page-unban .entry-notes p { font-size:12px; color:#586272; }
.page-unban .entry-back { color:#6f7787; font-size:11px; }
.page-unban .auth-card { width:100%; max-width:440px; margin:0; }
.page-unban .auth-card .card-glass { padding:32px; }
.page-unban .math-challenge-box { background:#f8f9fb; border-color:#e4e7ed; border-radius:8px; padding:12px; margin-bottom:0; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.page-unban .math-challenge-box:focus-within { border-color:#b9b3ed; box-shadow:none; }
.page-unban .math-header { gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.page-unban .math-badge { background:transparent; padding:0; color:#7a8493; font-size:10px; text-transform:none; letter-spacing:0; }
.page-unban .math-question { font-size:11px; margin-left:auto; }
.page-unban .math-question strong { font-size:12px; letter-spacing:0; color:#465062; }
.page-unban .btn-icon-refresh { background:#fff; border-color:#dce1e9; color:#777f8f; width:36px; height:36px; }
.page-unban .btn-icon-refresh:hover { transform:none; background:#f0eefb; }
.page-unban .math-input { background:#fff; color:#283241; border-color:#d6dce5; font-size:14px; min-height:44px; box-shadow:none; }
.page-unban .login-note { color:#818b99; font-size:10px; margin-top:20px; padding-top:16px; border-top:1px solid #edf0f4; }
.page-unban .unban-dashboard { max-width:none; animation:none; }
.page-unban .dashboard-heading { margin-bottom:24px; }
.page-unban .dashboard-heading h1 { font-size:28px; }
.page-unban .unban-header-card { padding:24px; border-radius:11px; box-shadow:none; }
.page-unban .unban-avatar { background:#eeebfc; color:#6558c8; border-radius:10px; width:48px; height:48px; box-shadow:none; }
.page-unban .unban-info-title { font-size:21px; letter-spacing:-.6px; }
.page-unban .unban-info-subtitle { font-size:11px; overflow-wrap:anywhere; }
.page-unban .pkg-badge { font-size:9px; background:#f1effb; border-radius:4px; }
.page-unban .unban-warranty-badge { border-radius:6px; font-size:10px; font-weight:600; padding:5px 8px; border-color:#cde5d6; background:#edf6f0; color:#28724e; }
.page-unban #unban-credits-badge { background:#f5f6f8 !important; color:#687487 !important; border-color:#e0e4ea !important; font-size:10px !important; }
.page-unban .unban-warranty-badge.expired { background:#fff0f1; border-color:#edc4ca; color:#b63443; }
.page-unban .stats-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:12px; }
.page-unban .stat-card-number { font-size:22px; }
.page-unban .stat-card { padding:18px; }
.page-unban .unban-actions-grid { gap:16px; }
.page-unban .action-card { padding:24px; border-radius:10px; gap:18px; }
.page-unban .action-card:hover { transform:none; border-color:#d5d9e4; }
.page-unban .action-card-header { gap:10px; margin-bottom:12px; }
.page-unban .action-card-icon { color:#807b9e; }
.page-unban .action-card-icon svg { width:21px; height:21px; }
.page-unban .action-card-title { font-size:16px; letter-spacing:-.3px; }
.page-unban .action-card-desc { font-size:12px; line-height:1.8; margin-bottom:16px; }
.page-unban .backup-section { padding:24px; border-radius:10px; }
.page-unban .backup-table-title { font-size:17px; font-weight:700; gap:10px; margin-bottom:6px; }
.page-unban .backup-table-desc { font-size:12px; line-height:1.8; margin-bottom:20px; }
.page-unban .badge-backup { background:#f1effa; border-color:#e0dcf3; color:#716494; font-size:10px; }
.page-unban .badge-backup.pre-unban { background:#fff6e7; border-color:#f1dfbe; color:#977023; }
.page-unban .cross-nav-section { padding:0 32px 40px; }
.page-unban .cross-nav-section > .container { max-width:1036px; padding:0; }
.page-unban .cross-nav-card { background:transparent; border:0; border-top:1px solid #e0e4ea; border-radius:0; padding:24px 0 0; box-shadow:none; }
.page-unban .cross-nav-icon { color:#8b849f; background:none; }
.page-unban .cross-nav-content h3 { font-size:13px; }
.page-unban .cross-nav-content p { font-size:11px; }
@media (min-width:1500px) { .page-admin .admin-sidebar { width:240px; } .page-admin .admin-container { padding-left:240px; } .page-admin:not(:has(#pin-lock-modal:not(.hidden))) .site-footer { margin-left:240px; } }
@media (max-width:1100px) {
 .page-admin .admin-sidebar { width:192px; padding-inline:12px; }
 .page-admin .admin-container { padding-left:192px; }
 .page-admin:not(:has(#pin-lock-modal:not(.hidden))) .site-footer { margin-left:192px; }
 .page-admin .admin-heading, .page-admin .admin-stats .container, .page-admin .admin-main .container { padding-inline:24px; }
 .page-admin .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .page-admin .stat-card-number { font-size:23px; }
 .page-unban .unban-entry { gap:40px; }
 .page-unban .unban-intro h1 { font-size:38px; }
}
@media (max-width:768px) {
 :is(.page-admin,.page-unban) { overflow-x:clip; }
 :is(.page-admin,.page-unban) .navbar { height:64px; }
 :is(.page-admin,.page-unban) .nav-container { padding-inline:max(16px,env(safe-area-inset-left,0px)); gap:10px; }
 :is(.page-admin,.page-unban) .nav-links { gap:12px; flex-wrap:nowrap; }
 :is(.page-admin,.page-unban) .nav-link { font-size:11px; white-space:nowrap; }
 :is(.page-admin,.page-unban) input:not([type=radio]):not([type=checkbox]), :is(.page-admin,.page-unban) select, :is(.page-admin,.page-unban) textarea { font-size:16px !important; min-width:0; max-width:100%; min-height:46px; scroll-margin:140px 0 24px; }
 :is(.page-admin,.page-unban) .card-glass { padding:22px 18px; }
 :is(.page-admin,.page-unban) .table-wrapper { scrollbar-width:thin; }
 :is(.page-admin,.page-unban) .data-table { min-width:760px; }
 :is(.page-admin,.page-unban) .data-table .btn-primary, :is(.page-admin,.page-unban) .data-table .btn-outline, :is(.page-admin,.page-unban) .data-table .btn-danger { min-height:44px; }
 .page-admin .admin-container { padding-left:0; }
 .page-admin .admin-sidebar { position:sticky; top:64px; bottom:auto; width:100%; padding:8px 16px; border-right:0; border-bottom:1px solid #2a3546; }
 .page-admin .sidebar-label, .page-admin .sidebar-foot { display:none; }
 .page-admin .admin-tabs { flex-direction:row; overflow-x:auto; gap:6px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
 .page-admin .admin-tab { flex-shrink:0; min-height:44px; font-size:11px; gap:8px; padding:10px 12px; }
 .page-admin .admin-tab:nth-child(6) { margin-top:0; }
 .page-admin .admin-tab svg { width:16px; height:16px; }
 .page-admin .admin-heading { padding:24px 16px 18px; }
 .page-admin .admin-heading h1 { font-size:25px; }
 .page-admin .admin-heading .ui-kicker { font-size:8px; }
 .page-admin .admin-stats { padding-bottom:18px; }
 .page-admin .admin-stats .container, .page-admin .admin-main .container { padding-inline:16px; }
 .page-admin .stats-grid { gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .page-admin .admin-stats .stat-card { padding:16px; gap:12px; }
 .page-admin .admin-stats .stat-card-number { font-size:clamp(18px,4.6vw,23px); }
 .page-admin .admin-stats .stat-card-label { font-size:9px; }
 .page-admin .section-title { font-size:18px; }
 .page-admin .section-desc { font-size:11px; margin-bottom:20px; }
 .page-admin .package-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .page-admin .pkg-card { padding:13px 10px; }
 .page-admin .pkg-name, .page-admin #original-tier-list .pkg-name { font-size:11px !important; }
 .page-admin .card-glass { padding:22px 18px !important; }
 .page-admin #orders-table { min-width:1040px !important; }
 .page-admin .pkg-info { font-size:10px; }
 .page-admin .radio-group { gap:8px; }
 .page-admin .radio-card { padding:12px; }
 .page-admin .radio-body span { font-size:9px; }
 .page-admin .radio-card.active::after { right:8px; top:8px; font-size:10px; }
 .page-admin .form-row { grid-template-columns:1fr; }
 .page-admin .filter-chips-row { flex-wrap:nowrap !important; overflow-x:auto; padding-bottom:5px; }
 .page-admin .filter-chips-row > * { flex-shrink:0; }
 .page-admin #admin-tab-redeem .form-row { display:grid !important; grid-template-columns:minmax(0,1fr); }
 .page-admin #admin-tab-redeem .form-group { min-width:0 !important; }
 .page-admin .search-bar { flex-basis:100%; }
 .page-admin .pin-modal-overlay { top:64px; padding:24px 16px max(24px,env(safe-area-inset-bottom)); }
 .page-admin .pin-modal-card { padding:28px 24px; max-height:calc(100dvh - 112px); overflow-y:auto; }
 .page-admin .pin-modal-card .input-wrapper input { padding-left:12px; }
 .page-admin:not(:has(#pin-lock-modal:not(.hidden))) .site-footer { margin-left:0; }
 .page-unban .page-section { padding:28px 0; }
 .page-unban .page-section > .container { padding-inline:20px !important; }
 .page-unban .unban-entry { grid-template-columns:minmax(0,1fr); gap:24px; }
 .page-unban .unban-intro { padding-bottom:0; }
 .page-unban .unban-intro .ui-kicker { font-size:8px; }
 .page-unban .unban-intro h1 { font-size:32px; letter-spacing:-1.2px; margin:12px 0; }
 .page-unban .unban-intro h1 br { display:none; }
 .page-unban .unban-intro > p { max-width:100%; font-size:12px; }
 .page-unban .entry-notes { display:none; }
 .page-unban .entry-back { display:none; }
 .page-unban .auth-card { max-width:none; padding:0; }
 .page-unban .auth-card .card-glass { padding:24px 20px !important; }
 .page-unban .card-title { font-size:20px; }
 .page-unban .card-subtitle { font-size:11px; }
 .page-unban .login-note { font-size:10px; line-height:1.7; }
 .page-unban .btn-icon-refresh { width:44px; height:44px; flex-shrink:0; }
 .page-unban .math-header { gap:6px; }
 .page-unban .math-badge { font-size:9px; }
 .page-unban .math-question { font-size:10px; width:auto; order:0; padding:0; border:0; background:transparent; margin-top:0; flex:none; }
 .page-unban .math-question strong { font-size:12px; }
 .page-unban .dashboard-heading h1 { font-size:25px; }
 .page-unban .unban-header-card { flex-direction:column; align-items:flex-start; padding:20px; gap:20px; }
 .page-unban .unban-profile-meta { gap:14px; min-width:0; max-width:100%; }
 .page-unban .unban-profile-meta > div:last-child { min-width:0; }
 .page-unban .unban-header-card > div:last-child { align-items:flex-start !important; text-align:left !important; }
 .page-unban .unban-info-title { font-size:20px; }
 .page-unban .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px; }
 .page-unban .stat-card { flex-direction:column; align-items:flex-start; padding:16px; gap:12px; }
 .page-unban .stat-card-number { font-size:clamp(16px,4.8vw,21px); }
 .page-unban .unban-actions-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
 .page-unban .action-card { padding:20px; }
 .page-unban .backup-section { padding:20px 16px; }
 .page-unban .backup-table-title { font-size:16px; }
 .page-unban .cross-nav-section { padding:0 20px 28px; }
 .page-unban .cross-nav-card { align-items:flex-start; gap:16px; }
 .page-unban .cross-nav-icon { display:none; }
}
@media (max-width:360px) {
 :is(.page-admin,.page-unban) .nav-links { gap:8px; }
 :is(.page-admin,.page-unban) .nav-link { font-size:10px; }
 .page-admin .package-grid { grid-template-columns:1fr; }
 .page-admin #stat-total-revenue { font-size:14px; white-space:nowrap; letter-spacing:-.5px; }
 .page-unban .unban-intro h1 { font-size:29px; }
 .page-unban .math-badge { display:none; }
 .page-unban .math-question { margin-left:0; margin-right:auto; }
}
@media (max-width:1000px) and (max-height:500px) {
 :is(.page-admin,.page-unban) input:not([type=radio]):not([type=checkbox]), :is(.page-admin,.page-unban) select { font-size:16px !important; }
}
@media (prefers-reduced-motion:reduce) {
 :is(.page-admin,.page-unban) *, :is(.page-admin,.page-unban) *::before, :is(.page-admin,.page-unban) *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
