:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#111827;background:#f3f4f6}*{box-sizing:border-box}body{margin:0;direction:ltr}.shell{max-width:1180px;margin:auto;padding:12px}.top{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#0f172a;color:white;padding:11px 14px;border-radius:12px;margin-bottom:12px}.brand{font-weight:900;letter-spacing:.4px}.nav{display:flex;gap:8px;flex-wrap:wrap}.btn,button{border:0;border-radius:8px;padding:9px 12px;font-weight:800;cursor:pointer;background:#2563eb;color:white;text-decoration:none}.btn.gray,button.gray{background:#475569}.btn.red,button.red{background:#dc2626}.btn.green,button.green{background:#059669}.btn.orange,button.orange{background:#ea580c}.btn.tiny,button.tiny{padding:5px 8px;font-size:12px}.card{background:white;border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin-bottom:12px;box-shadow:0 1px 3px #0000000d}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.stat{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px}.stat b{display:block;font-size:20px}.table-wrap{overflow:auto;max-width:100%;background:white;border-radius:10px;border:1px solid #e5e7eb}table{border-collapse:collapse;width:100%;min-width:600px}th,td{padding:9px;border-bottom:1px solid #e5e7eb;text-align:left;white-space:nowrap}th{background:#f8fafc;position:sticky;top:0;z-index:1}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px;font:inherit;background:#fff;direction:ltr}textarea{min-height:120px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}.field label{font-weight:800;font-size:13px;display:block;margin-bottom:4px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;padding:9px;border-radius:8px;font-weight:800;margin:8px 0}.ok{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;padding:9px;border-radius:8px;font-weight:800;margin:8px 0}.urdu{direction:rtl;text-align:right}.upline-pos{color:#059669;font-weight:800}.upline-neg{color:#dc2626;font-weight:800}.upline-zero{color:#334155;font-weight:800}.login{max-width:390px;margin:12vh auto;background:#fff;padding:22px;border-radius:16px;border:1px solid #e5e7eb}.login h1{text-align:center}.entry-shell{max-width:760px;margin:auto}.entry-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.entry-toolbar input{max-width:220px}.entry-table{max-height:310px;overflow:auto}.entry-table table{min-width:420px}.entry-bar{position:sticky;bottom:0;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:8px;display:grid;grid-template-columns:minmax(80px,1fr) minmax(80px,1fr) minmax(80px,1fr) auto auto;gap:6px;z-index:20}.entry-bar input{font-size:20px;font-weight:900;padding:8px}.entry-labels{display:grid;grid-template-columns:minmax(80px,1fr) minmax(80px,1fr) minmax(80px,1fr) auto auto;gap:6px;font-size:11px;font-weight:800}.modal{position:fixed;inset:0;background:#0008;z-index:100;display:flex;align-items:flex-start;justify-content:center;padding:8px}.modal-box{background:white;width:min(760px,100%);max-height:96vh;overflow:auto;border-radius:12px;padding:12px}.tabs{display:flex;gap:6px}.hidden{display:none!important}.loading{padding:30px;text-align:center}.rowmenu{display:flex;gap:4px}.danger{color:#dc2626}.inactive{color:#dc2626;font-weight:900}.active{color:#059669;font-weight:900}@media(max-width:600px){.shell{padding:6px}.top{border-radius:0;margin:-6px -6px 8px}.card{padding:8px}.entry-table{max-height:250px}.entry-bar{grid-template-columns:72px 1fr 1fr auto auto;padding:5px;gap:4px}.entry-bar input{font-size:18px;padding:7px}.entry-labels{grid-template-columns:72px 1fr 1fr auto auto}.btn,button{padding:8px 9px}}
/* === Super Sunday v2: legacy-approved USER frontend parity layer === */
.user-entry-screen{width:100%;max-width:760px;margin:0 auto;padding:0 7px 8px;box-sizing:border-box;direction:ltr;text-align:left}.user-entry-screen *{box-sizing:border-box}.no-active-draw{margin:20px auto;padding:18px;border-radius:12px;background:#7f1d1d;color:#fff;text-align:center;font-weight:900}.draw-selector-card{background:linear-gradient(90deg,#4f46e5,#7c3aed);min-height:138px;padding:10px 12px;margin:0;border-radius:10px 10px 0 0}.draw-panel-header-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:center}.user-menu-toggle{width:38px!important;height:37px!important;padding:0!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:10px!important;background:linear-gradient(145deg,#f8fafc,#cbd5e1)!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px!important;box-shadow:0 5px 14px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.9)!important}.user-menu-toggle span{display:block;width:20px!important;height:3px!important;border-radius:999px;background:#334155!important}.draw-selector-fullbar{position:relative;width:100%;height:42px;border-radius:9px;background:#fff;box-shadow:inset 0 0 0 1px #86efac,0 5px 14px rgba(0,0,0,.14);overflow:hidden}.draw-selector-fullbar select{position:absolute;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:5px 84px 5px 10px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#15803d!important;font-size:13px!important;font-weight:800!important}.draw-selector-fullbar #draw-countdown{position:absolute;right:29px;top:50%;transform:translateY(-50%);z-index:2;padding:3px 5px;border-radius:5px;background:rgba(255,255,255,.94);color:#dc2626!important;font-size:11px!important;line-height:1;font-weight:900;font-variant-numeric:tabular-nums;pointer-events:none}.draw-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:11px;color:#fff;font-size:11px;font-weight:800}.draw-profile-left,.draw-profile-right{display:grid;gap:9px}.draw-profile-left span{font-weight:900}.draw-profile-right{justify-self:end;min-width:154px}.draw-profile-right span{display:grid;grid-template-columns:auto max-content;justify-content:end;align-items:center;column-gap:5px}.draw-value-sticker{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-width:54px;min-height:24px;padding:3px 10px;border-radius:7px;background:#fff!important;box-shadow:0 2px 7px rgba(0,0,0,.18);font-style:normal;font-size:12px;font-weight:900}.balance-sticker{color:#0f172a!important}.upline-positive{color:#15803d!important;font-weight:700}.upline-negative{color:#dc2626!important;font-weight:700}.upline-zero{color:#475569!important;font-weight:700}
.purchase-toolbar{display:flex;align-items:center;justify-content:space-between;background:#0ea5e9;color:#fff;border-radius:0;padding:8px 10px;font-weight:700;min-height:46px}.purchase-toolbar-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.entry-search{width:190px!important;height:32px!important;padding:5px 8px!important;color:#fff!important;background:#111827!important;border:1px solid #475569!important;border-radius:7px!important;font-weight:700!important}.entry-search::placeholder{color:#fff!important}.delete-selected-btn{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:72px!important;height:30px!important;min-height:30px!important;padding:0 9px!important;border:0;border-radius:7px!important;background:#dc2626!important;color:#fff!important;font-size:10px!important;font-weight:800}.delete-selected-btn:disabled{opacity:.45}.entry-table-shell{height:244px;max-height:244px;overflow-y:auto;overflow-x:hidden;border:1px solid #334155;border-top:0;background:#020617}.entry-purchase-table{width:100%;border-collapse:collapse;table-layout:fixed}.entry-purchase-table th,.entry-purchase-table td{height:48px;padding:8px 7px;border-right:1px solid #475569;border-bottom:1px solid #334155;text-align:left!important;font-size:20px;font-weight:900;color:#f8fafc}.entry-purchase-table th{position:sticky;top:0;z-index:2;height:44px;background:#cbd5e1;color:#111827;padding-top:6px;padding-bottom:6px}.entry-purchase-table th:last-child,.entry-purchase-table td:last-child{border-right:0}.entry-purchase-table th.select-col,.entry-purchase-table td.select-col{width:30px!important;min-width:30px!important;max-width:30px!important;padding:3px!important;text-align:center!important}.select-all-inner{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.select-all-label{display:block;font-size:8px;line-height:1;font-weight:900;color:#111827}.entry-purchase-table input[type=checkbox]{width:17px!important;height:17px!important;min-height:17px!important;margin:0 auto!important;display:block!important;accent-color:#16a34a}.entry-head-main{display:block;font-size:18px;font-weight:800;line-height:1.05}.entry-head-main small{font-size:12px;font-weight:900;color:#000}.entry-head-total{display:block;margin-top:4px;font-size:12px;line-height:1.1;font-weight:900;color:#000}.empty-row td{text-align:center!important;color:#cbd5e1!important}
.entry-inline-error{display:block;max-width:100%;margin:4px 0 6px;padding:8px 10px;border:2px solid #dc2626;border-radius:8px;background:#fee2e2;color:#b91c1c;font-size:15px;font-weight:900;line-height:1.25;text-align:center;box-shadow:0 4px 12px rgba(220,38,38,.18)}.entry-inline-error[hidden]{display:none!important}.entry-bottom-bar{position:sticky;bottom:0;z-index:50;display:grid;grid-template-columns:minmax(88px,1fr) minmax(88px,1fr) minmax(88px,1fr) 64px 52px;gap:5px;align-items:end;background:#0f172a;border:1px solid #334155;border-top:0;border-radius:0 0 10px 10px;padding:5px 9px;box-shadow:0 -6px 18px rgba(0,0,0,.35)}.entry-control-field{min-width:0;color:#e2e8f0;font-weight:900}.entry-field-label{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:14px;font-size:10px;font-weight:800;color:#e2e8f0;line-height:1}.entry-control-field>input{width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:4px 7px!important;border-radius:7px!important;font-size:16px!important;font-weight:900!important}.ato-toggle-wrap{display:inline-flex;align-items:center;gap:2px;font-size:7px;font-weight:900;color:#cbd5e1;white-space:nowrap}.ato-toggle-wrap input{width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;margin:0!important;accent-color:#22c55e}.entry-buy-btn{width:64px!important;min-width:64px!important;max-width:64px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:7px!important;background:#16a34a!important;color:#fff!important;font-size:13px!important;font-weight:900!important}.entry-sms-btn{width:52px!important;min-width:52px!important;max-width:52px!important;height:36px!important;min-height:36px!important;padding:0 2px!important;border:0!important;border-radius:7px!important;background:#475569!important;color:#fff!important;font-size:8px!important;font-weight:800!important;line-height:1.05!important}
.user-menu-overlay{position:fixed;inset:0;z-index:10025;background:rgba(0,0,0,.42)}.user-side-menu{position:fixed;top:0;bottom:0;left:0;z-index:10030;width:min(84vw,370px);background:#fff;color:#111827;transform:translateX(-102%);transition:transform .22s ease;box-shadow:12px 0 35px #0005;overflow-y:auto;padding:58px 24px 28px}.user-side-menu.is-open{transform:translateX(0)}.user-menu-open{overflow:hidden}.user-menu-logo{width:118px;height:118px;margin:-14px auto 24px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#172554,#020617 70%);border:7px solid #f8fafc;box-shadow:0 8px 25px #0003;color:#facc15;font-size:43px;font-weight:900;letter-spacing:-4px}.user-menu-wallet-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:4px}.user-menu-wallet-upline{text-align:right}.user-menu-balance-label{font-size:12px;line-height:1.25;color:#64748b;font-weight:700;white-space:nowrap}.user-menu-balance{margin-top:6px;font-size:24px;line-height:1.1;color:#1687d9;font-weight:700}.user-menu-profile-details{display:grid;gap:10px;margin-top:20px}.user-menu-identity{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:6px 0;border-bottom:1px dashed #e2e8f0;font-size:15px}.user-menu-identity span{color:#64748b;font-weight:600}.user-menu-identity strong{max-width:62%;overflow-wrap:anywhere;color:#0f172a;font-weight:700;text-align:right}.user-menu-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px;flex-wrap:wrap}.user-menu-role{width:max-content;border:1px solid #cbd5e1;border-radius:8px;padding:11px 16px;color:#475569;background:#fff}.user-menu-return-top{border:0;cursor:pointer}.user-menu-return-top.user-menu-return-3d{min-height:38px;padding:8px 10px;border-radius:10px;background:linear-gradient(145deg,#22d3ee,#2563eb 58%,#4f46e5)!important;color:#fff!important;box-shadow:0 4px 0 #1e40af,0 7px 12px rgba(37,99,235,.22),inset 0 1px 0 rgba(255,255,255,.38)!important;font-size:12px;font-weight:800}.user-menu-links{display:grid;gap:9px;padding-top:24px;justify-items:start}.user-menu-links .user-menu-btn{width:86%!important;min-height:46px!important;display:flex!important;align-items:center;gap:14px;padding:10px 12px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:11px!important;color:#fff!important;text-align:left;font-size:15px!important;font-weight:800!important;text-shadow:0 1px 2px rgba(0,0,0,.28);box-shadow:0 5px 0 rgba(15,23,42,.24),0 8px 15px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.35)!important}.user-menu-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.18);color:#fff;font-size:19px}.user-menu-home{background:linear-gradient(145deg,#38bdf8,#2563eb 72%,#1d4ed8)!important}.user-menu-book{background:linear-gradient(145deg,#34d399,#059669 72%,#047857)!important}.user-menu-reports{background:linear-gradient(145deg,#a78bfa,#7c3aed 72%,#6d28d9)!important}.user-menu-search{background:linear-gradient(145deg,#fbbf24,#f97316 72%,#ea580c)!important}.user-menu-logout{background:linear-gradient(145deg,#fb7185,#e11d48 72%,#be123c)!important}
.sms-palti-modal{position:fixed;inset:0;z-index:20000;display:none;align-items:flex-start;justify-content:center;background:rgba(0,0,0,.55)}.sms-palti-modal.is-open{display:flex!important}.sms-palti-backdrop{position:absolute;inset:0}.sms-palti-dialog{position:relative;z-index:1;width:min(760px,100vw);max-height:100dvh;overflow:auto;background:#fff;color:#111827;border-radius:0 0 22px 22px;box-shadow:0 20px 50px #0006}.sms-palti-header{display:flex;justify-content:space-between;align-items:flex-start;padding:14px;background:#0f172a;color:#fff}.sms-palti-header h2{margin:0}.sms-palti-header p{margin:4px 0 0;font-size:12px}.sms-palti-close{width:38px!important;height:38px!important;padding:0!important;border-radius:50%!important;background:#dc2626!important;color:#fff!important;font-size:22px!important}.sms-palti-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#cbd5e1}.sms-palti-tab{border-radius:0!important;background:#e2e8f0!important;color:#111827!important}.sms-palti-tab.is-active{background:#2563eb!important;color:#fff!important}.sms-palti-content{padding:12px}.sms-tab-panel label{display:block;font-size:13px;font-weight:800;margin-bottom:8px}.sms-tab-panel textarea,.sms-tab-panel select,.sms-tab-panel input{margin-top:5px}.sms-generate-btn,.palti-generate-btn,.generate-combinations-btn{width:auto!important;margin:8px 0!important;background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;color:#fff!important}.file-scheme-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.file-scheme-summary{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding:8px;border-radius:8px;background:#0f172a;color:#fff;font-size:12px}.file-scheme-preview{max-height:250px;overflow:auto;margin-top:12px;border:1px solid #64748b}.file-scheme-preview table{width:100%;min-width:0;border-collapse:collapse;background:#fff;color:#111827}.file-scheme-preview th,.file-scheme-preview td{padding:8px;border:1px solid #d1d5db;text-align:center;font-weight:700}.file-scheme-preview th{position:sticky;top:0;background:#f1f5f9}.sms-parser-actions,.palti-actions,.file-scheme-actions{display:flex;justify-content:center;gap:10px;margin-top:12px}.sms-parser-purchase,.palti-purchase,.file-scheme-purchase{background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important}.sms-parser-cancel,.palti-cancel,.file-scheme-cancel{background:#94a3b8!important}.sms-palti-modal-open{overflow:hidden!important}
@media(max-width:650px){.user-entry-screen{padding:0 4px 5px}.draw-selector-card{min-height:134px;padding:9px}.draw-panel-header-row{grid-template-columns:38px minmax(0,1fr);gap:7px}.draw-panel-header-row .user-menu-toggle{width:36px!important;height:35px!important}.draw-selector-fullbar{height:39px}.draw-selector-fullbar select{font-size:12px!important;padding-right:78px!important}.draw-profile-grid{gap:10px;font-size:10px}.draw-profile-right{min-width:146px}.purchase-toolbar{min-height:42px;padding:6px 7px}.entry-search{width:160px!important;height:30px!important}.entry-table-shell{height:236px;max-height:236px}.entry-purchase-table th,.entry-purchase-table td{height:47px;font-size:18px;padding:7px 5px}.entry-purchase-table th{height:44px}.entry-head-main{font-size:16px}.entry-head-main small,.entry-head-total{font-size:11px}.entry-bottom-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 60px 46px;gap:4px;padding:4px 5px}.entry-control-field>input{height:34px!important;min-height:34px!important}.entry-buy-btn{width:60px!important;min-width:60px!important;max-width:60px!important;height:34px!important;min-height:34px!important}.entry-sms-btn{width:46px!important;min-width:46px!important;max-width:46px!important;height:34px!important;min-height:34px!important;font-size:7px!important}.user-side-menu{width:min(88vw,370px);padding:56px 18px 24px}.sms-palti-dialog{width:100vw;border-radius:0}.sms-palti-content{padding:10px}}

/* === Exact approved v1 mobile-keyboard/table behavior ported to v2 === */
/* Stable top-pinned keyboard layout, four rows, larger menu, bold timer — approved 2026-07-30 */
.draw-panel-header-row{grid-template-columns:40px minmax(0,1fr)!important;gap:8px!important}
.draw-panel-header-row .user-menu-toggle{width:38px!important;height:37px!important;border-radius:10px!important;gap:4px!important}
.draw-panel-header-row .user-menu-toggle span{width:20px!important;height:3px!important}
.draw-selector-fullbar #draw-countdown,.draw-panel-header-row .draw-selector-fullbar #draw-countdown{font-weight:900!important;font-size:11px!important;letter-spacing:.01em!important}
.entry-sms-btn{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;line-height:1.05!important;padding:0 3px!important}
.mobile-keyboard-open .draw-selector-card{top:var(--draw-panel-top)!important;transform:none!important;margin:0!important}
.mobile-keyboard-open .bulk-delete-form{top:var(--purchase-panel-top)!important;height:var(--purchase-panel-height)!important;max-height:var(--purchase-panel-height)!important;overflow:hidden!important}
.mobile-keyboard-open .entry-table-shell{height:calc(var(--purchase-panel-height) - 42px)!important;max-height:calc(var(--purchase-panel-height) - 42px)!important;overflow-y:auto!important}
.mobile-keyboard-open .entry-purchase-table thead{height:58px!important}
.mobile-keyboard-open .entry-purchase-table tbody tr{height:47px!important;min-height:47px!important;max-height:47px!important}
.mobile-keyboard-open .draw-panel-header-row{grid-template-columns:36px minmax(0,1fr)!important;gap:6px!important}
.mobile-keyboard-open .draw-panel-header-row .user-menu-toggle{width:34px!important;height:33px!important;border-radius:9px!important}
.mobile-keyboard-open .draw-panel-header-row .user-menu-toggle span{width:18px!important;height:3px!important}
.mobile-keyboard-open .draw-selector-fullbar #draw-countdown,.mobile-keyboard-open .draw-panel-header-row .draw-selector-fullbar #draw-countdown{font-size:9px!important;font-weight:900!important}
@media(max-width:420px){.draw-panel-header-row{grid-template-columns:38px minmax(0,1fr)!important}.draw-panel-header-row .user-menu-toggle{width:36px!important;height:35px!important}.draw-panel-header-row .user-menu-toggle span{width:19px!important;height:3px!important}}


/* Compact keyboard rows and All label — approved 2026-07-30 */
.select-all-head{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important}
.select-all-label{display:block;font-size:8px!important;line-height:1!important;font-weight:900!important;color:#111827!important;text-transform:none!important}
.mobile-keyboard-open .entry-purchase-table thead{height:50px!important}
.mobile-keyboard-open .entry-purchase-table thead th{height:50px!important;min-height:50px!important;max-height:50px!important;padding-top:4px!important;padding-bottom:4px!important}
.mobile-keyboard-open .entry-purchase-table tbody tr{height:41px!important;min-height:41px!important;max-height:41px!important}
.mobile-keyboard-open .entry-purchase-table tbody td{height:41px!important;min-height:41px!important;max-height:41px!important;padding-top:4px!important;padding-bottom:4px!important;line-height:1.05!important}
.mobile-keyboard-open .entry-table-shell{height:calc(var(--purchase-panel-height) - 42px)!important;max-height:calc(var(--purchase-panel-height) - 42px)!important}
.mobile-keyboard-open .entry-head-main{font-size:15px!important;line-height:1!important}
.mobile-keyboard-open .entry-head-main small{font-size:10px!important}
.mobile-keyboard-open .entry-head-total{font-size:10px!important;margin-top:2px!important}
.mobile-keyboard-open .entry-purchase-table tbody td:not(.select-col){font-size:17px!important}
.mobile-keyboard-open .select-all-label{font-size:7px!important}
@media(max-width:420px){.mobile-keyboard-open .entry-purchase-table thead,.mobile-keyboard-open .entry-purchase-table thead th{height:48px!important;min-height:48px!important;max-height:48px!important}.mobile-keyboard-open .entry-purchase-table tbody tr,.mobile-keyboard-open .entry-purchase-table tbody td{height:40px!important;min-height:40px!important;max-height:40px!important}.select-all-label{font-size:7px!important}}


/* Select column table-layout correction — approved 2026-07-30 */
.entry-purchase-table th.select-col,.entry-purchase-table td.select-col{display:table-cell!important;width:30px!important;min-width:30px!important;max-width:30px!important;padding-left:3px!important;padding-right:3px!important;vertical-align:middle!important;text-align:center!important;overflow:hidden!important}
.select-all-head{display:table-cell!important}
.select-all-inner{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.select-all-inner input[type=checkbox]{flex:0 0 auto!important;margin:0 auto!important}
.mobile-keyboard-open .entry-purchase-table th.select-col,.mobile-keyboard-open .entry-purchase-table td.select-col{width:30px!important;min-width:30px!important;max-width:30px!important;padding-left:3px!important;padding-right:3px!important}
@media(max-width:420px){.entry-purchase-table th.select-col,.entry-purchase-table td.select-col,.mobile-keyboard-open .entry-purchase-table th.select-col,.mobile-keyboard-open .entry-purchase-table td.select-col{width:28px!important;min-width:28px!important;max-width:28px!important;padding-left:2px!important;padding-right:2px!important}}


/* ATO toggle, compact entry inputs and X-aware search — approved 2026-07-30 */
.entry-bottom-bar{padding-top:5px!important;padding-bottom:5px!important;align-items:end!important}
.entry-field-label{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:14px;font-size:10px;font-weight:800;color:#e2e8f0;line-height:1}
.entry-control-field>input{height:36px!important;min-height:36px!important;padding-top:4px!important;padding-bottom:4px!important}
.ato-toggle-wrap{display:inline-flex;align-items:center;gap:2px;font-size:7px;font-weight:900;color:#cbd5e1;white-space:nowrap}
.ato-toggle-wrap input{width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;margin:0!important;accent-color:#22c55e}
#ato-state{min-width:17px;text-align:left}
.entry-buy-btn{height:36px!important;min-height:36px!important}
.entry-sms-btn{height:36px!important;min-height:36px!important}
@media(max-width:650px){.entry-bottom-bar{padding-top:4px!important;padding-bottom:4px!important}.entry-field-label{font-size:9px!important;min-height:12px}.entry-control-field>input{height:34px!important;min-height:34px!important}.entry-buy-btn,.entry-sms-btn{height:34px!important;min-height:34px!important}.ato-toggle-wrap{font-size:6px!important}.ato-toggle-wrap input{width:11px!important;height:11px!important;min-width:11px!important;min-height:11px!important}}


/* ATO default-on and prominent value error — approved 2026-07-30 */
.entry-inline-error,.entry-ajax-error{background:#fee2e2!important;color:#b91c1c!important;border:2px solid #dc2626!important;border-radius:8px!important;font-size:15px!important;font-weight:900!important;line-height:1.25!important;padding:8px 10px!important;text-align:center!important;box-shadow:0 4px 12px rgba(220,38,38,.18)!important}
.mobile-keyboard-open .entry-inline-error,.mobile-keyboard-open .entry-ajax-error{font-size:14px!important;padding:7px 9px!important}


/* Purple-only keyboard dismiss and expanded collapsed table — approved 2026-07-30 */
.entry-keyboard-collapsed{overflow:hidden!important}
.entry-keyboard-collapsed .user-entry-screen{height:100vh!important;min-height:100vh!important;overflow:hidden!important}
.entry-keyboard-collapsed .draw-selector-card{position:relative!important;top:auto!important;margin:0!important}
.entry-keyboard-collapsed .bulk-delete-form{height:var(--collapsed-purchase-height)!important;max-height:var(--collapsed-purchase-height)!important;min-height:var(--collapsed-purchase-height)!important;margin:0!important;overflow:hidden!important}
.entry-keyboard-collapsed .entry-table-shell{height:calc(var(--collapsed-purchase-height) - 42px)!important;max-height:calc(var(--collapsed-purchase-height) - 42px)!important;min-height:0!important;overflow-y:auto!important}
.entry-keyboard-collapsed .entry-form{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:10000!important;margin:0!important}
.entry-keyboard-collapsed .entry-bottom-bar{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:100vw!important;height:42px!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;padding:4px 8px!important;border-radius:8px 8px 0 0!important;background:#0f172a!important}
.entry-keyboard-collapsed .entry-control-field,.entry-keyboard-collapsed .entry-buy-btn{display:none!important}
.entry-keyboard-collapsed .entry-sms-btn{display:flex!important;width:58px!important;min-width:58px!important;max-width:58px!important;height:34px!important;min-height:34px!important;margin:0!important;align-items:center!important;justify-content:center!important}
.entry-keyboard-collapsed .entry-inline-error,.entry-keyboard-collapsed .entry-ajax-error{display:none!important}
@media(max-width:650px){.entry-keyboard-collapsed .entry-bottom-bar{height:40px!important;min-height:40px!important;padding:3px 7px!important}.entry-keyboard-collapsed .entry-sms-btn{height:32px!important;min-height:32px!important}}

/* === Additional v1 approved keyboard base rules required by parity === */
:root{--keyboard-offset:0px}.entry-bottom-bar{bottom:var(--keyboard-offset)!important;transition:bottom .08s linear!important}.mobile-keyboard-open .user-entry-screen{padding-bottom:0!important}.mobile-keyboard-open .entry-bottom-bar{position:fixed!important;left:50%!important;transform:translateX(-50%)!important;width:min(760px,100vw)!important;margin:0!important;border-radius:10px 10px 0 0!important;z-index:9999!important}.mobile-keyboard-open .entry-table-shell{overscroll-behavior:contain}.mobile-keyboard-open body{overflow-anchor:none}@media(max-width:650px){.mobile-keyboard-open .entry-bottom-bar{width:100vw!important;left:0!important;transform:none!important;padding-bottom:max(4px,env(safe-area-inset-bottom))!important}}

:root{--entry-bar-top:auto;--entry-table-height:236px}.mobile-keyboard-open .entry-bottom-bar{position:fixed!important;top:var(--entry-bar-top)!important;bottom:auto!important;left:0!important;right:0!important;transform:none!important;width:100vw!important;max-width:none!important;margin:0!important;border-radius:10px 10px 0 0!important;z-index:10000!important}.mobile-keyboard-open .entry-table-shell{height:var(--entry-table-height)!important;max-height:var(--entry-table-height)!important;overflow-y:auto!important}.mobile-keyboard-open .user-entry-screen{padding-bottom:0!important}.mobile-keyboard-open .entry-form{margin:0!important}.mobile-keyboard-open .entry-bottom-bar{box-shadow:0 -2px 8px rgba(0,0,0,.35)!important}.mobile-keyboard-open .entry-purchase-table thead th{position:sticky!important;top:0!important}.mobile-keyboard-open .entry-purchase-table th,.mobile-keyboard-open .entry-purchase-table td{height:47px!important;min-height:47px!important}

:root{--purchase-panel-top:auto}.mobile-keyboard-open{overflow:hidden!important}.mobile-keyboard-open .draw-selector-card{display:none!important}.mobile-keyboard-open .bulk-delete-form{position:fixed!important;top:var(--purchase-panel-top)!important;left:0!important;right:0!important;width:100vw!important;height:232px!important;z-index:9998!important;margin:0!important;background:#020617!important}.mobile-keyboard-open .purchase-toolbar{height:44px!important;min-height:44px!important;margin:0!important;border-radius:0!important}.mobile-keyboard-open .entry-table-shell{height:188px!important;max-height:188px!important;min-height:188px!important;overflow-y:auto!important;overflow-x:hidden!important}.mobile-keyboard-open .entry-purchase-table thead th{height:44px!important;min-height:44px!important}.mobile-keyboard-open .entry-purchase-table td{height:47px!important;min-height:47px!important}.mobile-keyboard-open .entry-bottom-bar{position:fixed!important;top:var(--entry-bar-top)!important;bottom:auto!important;left:0!important;right:0!important;width:100vw!important;max-width:none!important;transform:none!important;margin:0!important;z-index:10000!important;border-radius:0!important}.mobile-keyboard-open .user-entry-screen{height:100vh!important;overflow:hidden!important;padding:0!important}.mobile-keyboard-open .entry-form{margin:0!important}.mobile-keyboard-open .entry-ajax-error{position:fixed!important;left:6px!important;right:6px!important;top:calc(var(--entry-bar-top) - 34px)!important;z-index:10001!important}

.mobile-keyboard-open .draw-selector-card{display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important;width:100vw!important;max-height:54px!important;min-height:54px!important;overflow:hidden!important;margin:0!important;padding:5px 8px!important;z-index:9997!important;border-radius:0!important}.mobile-keyboard-open .draw-selector-card label{font-size:9px!important}.mobile-keyboard-open .draw-selector-card select{height:28px!important;min-height:28px!important;font-size:10px!important;margin-top:2px!important}.mobile-keyboard-open .draw-info-mini{display:none!important}.entry-bottom-bar input,.entry-bottom-bar label:first-child input,.entry-bottom-bar label:nth-child(2) input,.entry-bottom-bar label:nth-child(3) input{font-size:16px!important;font-weight:900!important}.mobile-keyboard-open .entry-bottom-bar,.mobile-keyboard-open .bulk-delete-form{transition:none!important;animation:none!important;will-change:auto!important}

.entry-bottom-bar input,.entry-bottom-bar label:first-child input,.entry-bottom-bar label:nth-child(2) input,.entry-bottom-bar label:nth-child(3) input{font-size:16px!important;font-weight:900!important}.mobile-keyboard-open .entry-bottom-bar,.mobile-keyboard-open .bulk-delete-form{transition:none!important;animation:none!important}

.draw-selector-card{margin-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.bulk-delete-form{margin-top:0!important}.purchase-toolbar{border-top-left-radius:0!important;border-top-right-radius:0!important}.mobile-keyboard-open .draw-selector-card{bottom:auto!important}.mobile-keyboard-open .bulk-delete-form{margin:0!important}.user-entry-screen{scroll-behavior:auto!important}.mobile-keyboard-open,.mobile-keyboard-open body{overscroll-behavior:none!important}.mobile-keyboard-open .entry-bottom-bar,.mobile-keyboard-open .bulk-delete-form,.mobile-keyboard-open .draw-selector-card{transition:none!important;animation:none!important}

.mobile-keyboard-open{touch-action:manipulation!important}.mobile-keyboard-open .user-entry-screen{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;overflow:hidden!important}.mobile-keyboard-open .entry-bottom-bar input{scroll-margin:0!important}.mobile-keyboard-open input:focus{scroll-margin:0!important;outline-offset:-2px!important}

:root{--draw-panel-top:0px}.mobile-keyboard-open .draw-selector-card{top:var(--draw-panel-top)!important;height:54px!important;min-height:54px!important;max-height:54px!important;margin:0!important;border-radius:0!important}.mobile-keyboard-open .bulk-delete-form{top:var(--purchase-panel-top)!important;margin:0!important}.mobile-keyboard-open .draw-selector-card+.bulk-delete-form{margin-top:0!important}.entry-bottom-bar input[type="text"]{-webkit-appearance:none!important;appearance:none!important}
.purchase-toolbar-delete-search{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:46px!important}
.purchase-toolbar-delete-search .purchase-toolbar-actions{margin-left:auto!important;justify-content:flex-end!important}
.purchase-toolbar-delete-search .delete-selected-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:72px!important;height:30px!important;min-height:30px!important;padding:0 9px!important;font-size:10px!important;border-radius:7px!important}
.entry-purchase-table .select-col{width:34px!important;min-width:34px!important;max-width:34px!important;padding-left:4px!important;padding-right:4px!important;text-align:center!important}
.entry-purchase-table .select-col input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;margin:0 auto!important;display:block!important}
@media(max-width:650px){.purchase-toolbar-delete-search{min-height:42px!important;padding-left:7px!important;padding-right:7px!important}.purchase-toolbar-delete-search .delete-selected-btn{min-width:66px!important;height:27px!important;min-height:27px!important;padding:0 7px!important;font-size:9px!important}.entry-purchase-table .select-col{width:30px!important;min-width:30px!important;max-width:30px!important;padding-left:3px!important;padding-right:3px!important}}


/* Expanded draw panel, right draw selector and live countdown — approved 2026-07-30 */
.draw-selector-card{min-height:126px!important;padding:14px 16px!important;margin-bottom:0!important}
.draw-selector-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;direction:ltr}
.draw-selector-topline select{order:2;margin:0!important;width:min(68%,390px)!important;min-width:210px!important;background:#fff!important;color:#15803d!important;font-weight:800!important;border:1px solid #86efac!important;text-align:right!important;text-align-last:right!important}
.draw-selector-topline option{color:#15803d!important;font-weight:700!important}
.draw-countdown-wrap{order:1;display:flex;flex-direction:column;align-items:flex-start;min-width:112px;color:#fff}
.draw-countdown-label{font-size:10px;font-weight:700;opacity:.9}
.draw-countdown-wrap strong{margin-top:3px;font-size:18px;line-height:1;color:#fef08a;font-variant-numeric:tabular-nums;letter-spacing:.03em}
.draw-countdown-wrap strong.is-ended{color:#fecaca}
.draw-selector-card .draw-info-mini{margin-top:15px!important;grid-template-columns:1fr 1fr!important;gap:7px 18px!important;font-size:11px!important}
.draw-selector-card .draw-info-mini span{font-size:11px!important}
.mobile-keyboard-open .draw-selector-card{display:block!important;position:fixed!important;left:0!important;right:0!important;width:100vw!important;top:var(--draw-panel-top)!important;height:112px!important;min-height:112px!important;max-height:112px!important;padding:8px 12px!important;margin:0!important;border-radius:0!important;z-index:9999!important;overflow:hidden!important}
.mobile-keyboard-open .draw-selector-topline select{min-width:190px!important;width:66%!important;height:32px!important;font-size:12px!important}
.mobile-keyboard-open .draw-countdown-label{font-size:8px!important}.mobile-keyboard-open .draw-countdown-wrap strong{font-size:14px!important}
.mobile-keyboard-open .draw-selector-card .draw-info-mini{display:grid!important;margin-top:8px!important;gap:3px 12px!important}.mobile-keyboard-open .draw-selector-card .draw-info-mini span{font-size:9px!important}
@media(max-width:420px){.draw-selector-card{min-height:122px!important;padding:12px!important}.draw-selector-topline{gap:8px}.draw-selector-topline select{min-width:180px!important;width:67%!important;font-size:12px!important}.draw-countdown-wrap{min-width:92px}.draw-countdown-wrap strong{font-size:15px}.draw-selector-card .draw-info-mini span{font-size:10px!important}}


/* Full-width draw selector with embedded timer and white value stickers — approved 2026-07-30 */
.draw-selector-card{min-height:150px!important;padding:12px 14px!important}
.draw-selector-fullbar{position:relative;width:100%;height:48px;border-radius:11px;background:#fff;box-shadow:inset 0 0 0 1px #86efac,0 5px 14px rgba(0,0,0,.14);overflow:hidden}
.draw-selector-fullbar select{position:absolute;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:7px 92px 7px 12px!important;border:0!important;background:#fff!important;color:#15803d!important;font-size:15px!important;font-weight:800!important;text-align:left!important;text-align-last:left!important;appearance:auto}
.draw-selector-fullbar option{color:#15803d!important;font-weight:700!important}
.draw-selector-fullbar #draw-countdown{position:absolute;right:31px;top:50%;transform:translateY(-50%);z-index:2;padding:3px 5px;border-radius:5px;background:rgba(255,255,255,.94);color:#15803d!important;font-size:10px!important;line-height:1;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.01em;pointer-events:none;transition:opacity .1s ease}
.draw-selector-fullbar #draw-countdown.is-selecting{opacity:0}
.draw-selector-fullbar #draw-countdown.is-ended{color:#dc2626!important}
.draw-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px;color:#fff;font-size:11px;font-weight:600}
.draw-profile-left,.draw-profile-right{display:grid;gap:9px}
.draw-profile-right{text-align:right}
.draw-profile-grid span{display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:nowrap}
.draw-profile-left span{justify-content:flex-start}
.draw-profile-grid b{font-weight:800}
.draw-value-sticker{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:24px;padding:3px 8px;border-radius:7px;background:#fff!important;box-shadow:0 2px 7px rgba(0,0,0,.18);font-style:normal;font-size:12px;font-weight:900}
.balance-sticker{color:#0f172a!important}
.mobile-keyboard-open .draw-selector-card{height:134px!important;min-height:134px!important;max-height:134px!important;padding:7px 10px!important}
.mobile-keyboard-open .draw-selector-fullbar{height:39px!important;border-radius:8px!important}
.mobile-keyboard-open .draw-selector-fullbar select{font-size:11px!important;padding-right:78px!important}
.mobile-keyboard-open .draw-selector-fullbar #draw-countdown{right:27px!important;font-size:8px!important;padding:2px 4px!important}
.mobile-keyboard-open .draw-profile-grid{display:grid!important;margin-top:8px!important;gap:8px!important;font-size:9px!important}
.mobile-keyboard-open .draw-profile-left,.mobile-keyboard-open .draw-profile-right{gap:5px!important}
.mobile-keyboard-open .draw-value-sticker{min-width:48px!important;min-height:20px!important;padding:2px 6px!important;font-size:10px!important}
@media(max-width:420px){.draw-selector-card{min-height:146px!important;padding:10px!important}.draw-selector-fullbar{height:45px}.draw-selector-fullbar select{font-size:13px!important;padding-right:84px!important}.draw-selector-fullbar #draw-countdown{right:29px;font-size:9px!important}.draw-profile-grid{gap:10px;font-size:10px}.draw-value-sticker{min-width:52px;min-height:22px;font-size:11px}}


/* Draw bar/menu alignment, bold identity, auto-width stickers — approved 2026-07-30 */
.user-entry-screen{padding-top:0!important}
.draw-selector-card{min-height:138px!important;padding:10px 12px!important}
.draw-panel-header-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;width:100%}
.draw-panel-header-row .user-menu-toggle{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:31px!important;height:30px!important;margin:0!important;z-index:4!important;justify-self:start!important;align-self:center!important}
.draw-panel-header-row .draw-selector-fullbar{width:100%!important;height:42px!important;border-radius:9px!important}
.draw-panel-header-row .draw-selector-fullbar select{font-size:13px!important;padding:5px 84px 5px 10px!important}
.draw-panel-header-row .draw-selector-fullbar #draw-countdown{right:29px!important;font-size:9px!important}
.draw-profile-grid{margin-top:11px!important}
.draw-profile-grid span{font-weight:800!important}
.draw-profile-grid b{font-weight:900!important}
.draw-profile-left span{font-weight:900!important}
.draw-value-sticker{width:max-content!important;min-width:54px!important;max-width:none!important;white-space:nowrap!important;padding-left:10px!important;padding-right:10px!important}
.mobile-keyboard-open .draw-selector-card{height:126px!important;min-height:126px!important;max-height:126px!important;padding:6px 8px!important}
.mobile-keyboard-open .draw-panel-header-row{grid-template-columns:30px minmax(0,1fr)!important;gap:6px!important}
.mobile-keyboard-open .draw-panel-header-row .user-menu-toggle{position:relative!important;top:auto!important;left:auto!important;width:28px!important;height:27px!important}
.mobile-keyboard-open .draw-panel-header-row .user-menu-toggle span{width:15px!important;height:2px!important}
.mobile-keyboard-open .draw-panel-header-row .draw-selector-fullbar{height:35px!important}
.mobile-keyboard-open .draw-panel-header-row .draw-selector-fullbar select{font-size:10px!important;padding-right:72px!important}
.mobile-keyboard-open .draw-panel-header-row .draw-selector-fullbar #draw-countdown{right:25px!important;font-size:7px!important}
.mobile-keyboard-open .draw-profile-grid{margin-top:7px!important}
.mobile-keyboard-open .draw-value-sticker{width:max-content!important;min-width:44px!important;max-width:none!important;padding-left:7px!important;padding-right:7px!important}
@media(max-width:420px){.draw-selector-card{min-height:134px!important;padding:9px!important}.draw-panel-header-row{grid-template-columns:31px minmax(0,1fr);gap:7px}.draw-panel-header-row .draw-selector-fullbar{height:39px!important}.draw-panel-header-row .draw-selector-fullbar select{font-size:12px!important;padding-right:78px!important}.draw-profile-grid{margin-top:10px!important}}


/* Top-gap, wallet-label and countdown refinement — approved 2026-07-30 */
body:has(.user-entry-screen) main{display:block!important;place-items:initial!important;min-height:100vh!important;padding:1px 0 0!important;border-top:1px solid rgba(148,163,184,.22)!important}
body:has(.user-entry-screen) .user-entry-screen{margin-top:0!important;padding-top:0!important}
body:has(.user-entry-screen) .draw-selector-card{margin-top:0!important}
.draw-profile-right{justify-self:end!important;width:max-content!important;min-width:154px!important;text-align:right!important}
.draw-profile-right span{display:grid!important;grid-template-columns:auto max-content!important;justify-content:end!important;align-items:center!important;column-gap:5px!important}
.draw-profile-right b{justify-self:end!important}
.draw-profile-right .draw-value-sticker{justify-self:end!important}
.draw-selector-fullbar #draw-countdown,.draw-panel-header-row .draw-selector-fullbar #draw-countdown{color:#dc2626!important;font-weight:950!important;text-shadow:0 0 1px rgba(127,29,29,.18)!important}
.draw-selector-fullbar #draw-countdown.is-ended{color:#dc2626!important}
.mobile-keyboard-open .draw-selector-fullbar #draw-countdown,.mobile-keyboard-open .draw-panel-header-row .draw-selector-fullbar #draw-countdown{color:#dc2626!important;font-weight:950!important}
@media(max-width:650px){body:has(.user-entry-screen) main{padding-top:1px!important}.draw-profile-right{min-width:146px!important}.draw-profile-right span{column-gap:4px!important}}


/* === V1 dashboard username action menu parity === */
.username-cell{display:inline-flex;align-items:center;gap:4px;position:relative;font-weight:inherit}
.row-menu-trigger{width:auto!important;min-width:0!important;padding:2px 4px!important;border-radius:6px!important;background:transparent!important;color:#f59e0b!important;font-size:16px!important;line-height:1!important;box-shadow:none!important}
.row-menu-trigger[aria-expanded="true"]{background:#e2e8f0!important;color:#b45309!important}
.inactive-username{color:#dc2626!important;font-weight:900}.inactive-username .row-menu-trigger{color:#dc2626!important}
.floating-row-menu[hidden]{display:none!important}.floating-row-menu{position:fixed;z-index:5000;min-width:130px;background:#0f172a;border:1px solid #475569;border-radius:10px;padding:5px;box-shadow:0 12px 30px #0009}
.floating-row-menu a,.floating-row-menu button{display:block;width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#e5e7eb;text-decoration:none;white-space:nowrap;text-align:left;font:inherit;font-weight:800;cursor:pointer}
.floating-row-menu a:hover,.floating-row-menu button:hover{background:#1e293b;color:#facc15}
@media(max-width:650px){.floating-row-menu{min-width:96px}.floating-row-menu a,.floating-row-menu button{font-size:12px;padding:7px 9px}}


/* Compact professional row-menu action buttons */
.floating-row-menu{
  min-width:118px;
  padding:6px;
  border-radius:12px;
  display:grid;
  gap:5px;
}
.floating-row-menu .frm-action{
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  min-height:30px;
  padding:5px 8px;
  border-radius:8px;
  border:1px solid transparent;
  font-size:11px;
  font-weight:800;
  line-height:1;
  letter-spacing:.1px;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  transition:transform .12s ease,filter .12s ease,box-shadow .12s ease;
}
.floating-row-menu .frm-action:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
  box-shadow:0 4px 10px rgba(0,0,0,.24);
}
.floating-row-menu .frm-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:6px;
  background:rgba(255,255,255,.18);
  font-size:11px;
  font-weight:900;
}
.floating-row-menu .frm-edit{
  background:#2563eb;
  border-color:#3b82f6;
  color:#fff;
}
.floating-row-menu .frm-payment{
  background:#059669;
  border-color:#10b981;
  color:#fff;
}
.floating-row-menu .frm-login{
  background:#d97706;
  border-color:#f59e0b;
  color:#fff;
}
@media(max-width:650px){
  .floating-row-menu{min-width:108px;padding:5px;gap:4px}
  .floating-row-menu .frm-action{min-height:28px;padding:5px 7px;font-size:10px;border-radius:7px}
  .floating-row-menu .frm-icon{width:17px;height:17px;flex-basis:17px;font-size:10px}
}


/* V1 payment panel parity */
.payment-v1-page{min-height:100vh;background:linear-gradient(135deg,#070d18,#18243a);color:#e5e7eb;padding:14px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.payment-v1-card{width:min(960px,100%);margin:0 auto;background:#101827;border:1px solid #334155;border-radius:20px;padding:24px;box-shadow:0 24px 70px #0008}
.payment-v1-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.payment-v1-brand{text-align:center;color:#facc15;font-weight:900;letter-spacing:.14em}.payment-v1-top h1{text-align:center;margin:8px 0}.payment-v1-top p{text-align:center;color:#94a3b8;margin:0}.payment-v1-back,.reset-filter-btn{display:inline-block;padding:13px;border:0;border-radius:11px;background:#334155;color:#fff;font-weight:800;text-decoration:none;text-align:center}.payment-v1-top .payment-v1-back{width:auto}
.payment-v1-page .wallets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.payment-v1-page .wallets>div{background:#0b1220;border:1px solid #334155;border-radius:12px;padding:10px;text-align:center}.payment-v1-page .wallets span{display:block;color:#94a3b8;font-size:12px}.payment-v1-page .wallets b{display:block;margin-top:4px}.payment-v1-page .upline-pos{color:#15803d!important;font-weight:700}.payment-v1-page .upline-neg{color:#dc2626!important;font-weight:700}.payment-v1-page .upline-zero{color:#475569!important;font-weight:700}.payment-v1-page .actor-title{font-size:12px;color:#facc15;margin-top:10px}
.payment-v1-page .payment-type-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.payment-v1-page .payment-choice{font-size:20px;padding:18px;border-radius:14px;width:100%}.payment-v1-page .cash-choice{background:#38bdf8;color:#fff}.payment-v1-page .credit-choice{background:#4ade80;color:#fff}
.payment-v1-page .payment-modal[hidden]{display:none!important}.payment-v1-page .payment-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:14px}.payment-v1-page .payment-modal-backdrop{position:absolute;inset:0;background:#000a}.payment-v1-page .payment-modal-card{position:relative;width:min(560px,100%);max-height:92vh;overflow:auto;background:#fff;color:#111827;border-radius:18px;padding:22px;box-shadow:0 24px 80px #000b}.payment-v1-page .modal-close{position:absolute;top:10px;right:12px;width:36px;height:36px;border-radius:50%;background:transparent;color:#6b7280;font-size:28px;padding:0}.payment-v1-page .modal-kicker{color:#64748b;font-size:14px;margin-bottom:8px}.payment-v1-page .payment-modal-card h2{font-size:38px;margin:12px 0 18px;color:#64748b;text-align:left}.payment-v1-page .modal-user-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.payment-v1-page .modal-user-grid>div{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:10px;padding:10px}.payment-v1-page .modal-user-grid span{display:block;color:#64748b;font-size:12px}.payment-v1-page .modal-user-grid b{display:block;margin-top:4px}.payment-v1-page .payment-modal-card label{display:block;margin:14px 0 7px;color:#374151}.payment-v1-page .payment-modal-card input,.payment-v1-page .payment-modal-card textarea{width:100%;padding:13px;border-radius:11px;background:#fff;color:#111827;border:1px solid #111827}.payment-v1-page .modal-action-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.payment-v1-page .withdraw-btn{background:#ef4444;color:#fff}.payment-v1-page .deposit-btn{background:#0ea5e9;color:#fff}.modal-open{overflow:hidden}
.payment-v1-page .payment-filters{display:block;margin:16px 0}.payment-v1-page .payment-filter-types{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.payment-v1-page .filter-type-btn{width:auto;min-width:82px;padding:10px 16px;border-radius:10px;font-size:14px}.payment-v1-page .all-btn{background:#64748b;color:#fff}.payment-v1-page .credit-btn{background:#22c55e;color:#fff}.payment-v1-page .cash-btn{background:#3b82f6;color:#fff}.payment-v1-page .filter-type-btn.active{outline:3px solid #facc15;outline-offset:2px}.payment-v1-page .date-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-v1-page .date-input-wrap{position:relative;min-width:0}.payment-v1-page .date-input-wrap input[type=date]{width:100%;margin-top:0;padding:11px 38px 11px 12px;color:transparent;position:relative;z-index:1;background:#0b1220;border:1px solid #475569;border-radius:11px}.payment-v1-page .date-input-wrap.has-value input[type=date],.payment-v1-page .date-input-wrap.is-focus input[type=date]{color:#fff}.payment-v1-page .date-placeholder{position:absolute;left:12px;right:38px;top:50%;transform:translateY(-50%);z-index:2;color:#e5e7eb;font-size:13px;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-v1-page .date-input-wrap.has-value .date-placeholder,.payment-v1-page .date-input-wrap.is-focus .date-placeholder{display:none}.payment-v1-page .filter-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.payment-v1-page .apply-filter-btn{background:#facc15;color:#111827}.payment-v1-page .reset-filter-btn{width:100%}
.payment-v1-page .payment-history-wrap{direction:ltr;overflow-x:auto;scroll-behavior:auto;border-radius:12px}.payment-v1-page .payment-history-wrap table{direction:ltr;width:100%;min-width:650px;border-collapse:collapse;background:#0b1220}.payment-v1-page .payment-history-wrap th,.payment-v1-page .payment-history-wrap td{padding:10px;border-bottom:1px solid #334155;text-align:left;font-size:13px;white-space:nowrap}.payment-v1-page .payment-history-wrap th{color:#facc15;background:#0b1220}.payment-v1-page .outgoing-row{background:rgba(250,204,21,.04)}.payment-v1-page .outgoing-badge{display:inline-block;background:#f59e0b;color:#111827;border-radius:7px;padding:3px 7px;font-size:11px;font-weight:700}
@media(max-width:650px){.payment-v1-page{padding:8px}.payment-v1-card{padding:16px}.payment-v1-top{flex-direction:column}.payment-v1-top .payment-v1-back{width:100%}.payment-v1-page .wallets{grid-template-columns:1fr 1fr}.payment-v1-page .wallets>div:last-child{grid-column:1/-1}.payment-v1-page .payment-choice{font-size:18px;padding:16px}.payment-v1-page .payment-modal{padding:8px}.payment-v1-page .payment-modal-card{padding:18px 14px;border-radius:14px}.payment-v1-page .payment-modal-card h2{font-size:30px}.payment-v1-page .modal-user-grid{grid-template-columns:1fr}.payment-v1-page .modal-action-row button{font-size:16px;padding:14px}.payment-v1-page .filter-type-btn{min-width:74px;padding:9px 13px;font-size:13px}.payment-v1-page .date-filter-grid{grid-template-columns:1fr 1fr;gap:8px}.payment-v1-page .date-placeholder{font-size:12px;left:10px;right:34px}.payment-v1-page .date-input-wrap input[type=date]{padding:10px 34px 10px 10px}.payment-v1-page .filter-action-grid{grid-template-columns:1fr 1fr}}

/* === Super Sunday V2 global white/light theme === */
:root{background:#fff!important;color:#111827!important}
html,body{background:#fff!important;color:#111827!important}
body{min-height:100vh}
.shell{background:#fff!important;color:#111827!important}
.top{background:#fff!important;color:#111827!important;border:1px solid #e5e7eb!important;box-shadow:0 2px 10px rgba(15,23,42,.06)!important}
.top .brand,.top strong,.top span,.top p{color:#111827}
.card,.stat,.table-wrap,.login,.modal-box{background:#fff!important;color:#111827!important;border-color:#e5e7eb!important}
table{background:#fff!important;color:#111827!important}th{background:#f8fafc!important;color:#111827!important}td{background:#fff;color:#111827}
input,select,textarea{background:#fff!important;color:#111827!important;border-color:#cbd5e1!important}
input::placeholder,textarea::placeholder{color:#64748b!important}

/* Keep action/status colors; only neutral menu surface becomes light. */
.floating-row-menu{background:#fff!important;border-color:#d1d5db!important;box-shadow:0 12px 30px rgba(15,23,42,.18)!important}
.floating-row-menu a,.floating-row-menu button{color:#111827}
.floating-row-menu a:hover,.floating-row-menu button:hover{background:#f1f5f9}
.floating-row-menu .frm-edit,.floating-row-menu .frm-payment,.floating-row-menu .frm-login{color:#fff!important}

/* Payment panel light theme while preserving semantic action colors. */
.payment-v1-page{background:#fff!important;color:#111827!important}
.payment-v1-card{background:#fff!important;color:#111827!important;border-color:#e5e7eb!important;box-shadow:0 14px 40px rgba(15,23,42,.10)!important}
.payment-v1-top h1,.payment-v1-top p{color:#111827!important}.payment-v1-brand{color:#111827!important}
.payment-v1-page .actor-title{color:#111827!important;font-weight:800}
.payment-v1-page .wallets>div{background:#fff!important;border-color:#d1d5db!important;color:#111827!important;box-shadow:0 2px 8px rgba(15,23,42,.05)}
.payment-v1-page .wallets span{color:#4b5563!important}.payment-v1-page .wallets b{color:#111827}
.payment-v1-page .wallets b.upline-pos{color:#15803d!important}.payment-v1-page .wallets b.upline-neg{color:#dc2626!important}.payment-v1-page .wallets b.upline-zero{color:#475569!important}
.payment-v1-page .date-input-wrap input[type=date]{background:#fff!important;border-color:#cbd5e1!important}
.payment-v1-page .date-input-wrap.has-value input[type=date],.payment-v1-page .date-input-wrap.is-focus input[type=date]{color:#111827!important}
.payment-v1-page .date-placeholder{color:#374151!important}
.payment-v1-page .payment-history-wrap{border:1px solid #e5e7eb}
.payment-v1-page .payment-history-wrap table{background:#fff!important;color:#111827!important}
.payment-v1-page .payment-history-wrap th{background:#f8fafc!important;color:#111827!important;border-color:#e5e7eb!important}
.payment-v1-page .payment-history-wrap td{background:#fff!important;color:#111827;border-color:#e5e7eb!important}
.payment-v1-page .payment-history-wrap td.upline-pos{color:#15803d!important}.payment-v1-page .payment-history-wrap td.upline-neg{color:#dc2626!important}.payment-v1-page .payment-history-wrap td.upline-zero{color:#475569!important}
.payment-v1-page .outgoing-row td{background:#fffbeb!important}


/* Payment history status clarity */
.payment-v1-page .outgoing-row td{background:#fff!important}
.payment-v1-page .status-badge{display:inline-block;min-width:48px;text-align:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;line-height:1.2;border:1px solid transparent}
.payment-v1-page .status-deposit{background:#dcfce7;color:#166534;border-color:#86efac}
.payment-v1-page .status-withdraw{background:#fee2e2;color:#991b1b;border-color:#fca5a5}

/* Auto payment filters: reset is the only manual filter action */
.payment-v1-page .filter-action-grid.reset-only{grid-template-columns:1fr}
.payment-v1-page .filter-action-grid.reset-only .reset-filter-btn{max-width:180px}

/* Book Details - read-only historical draw ledger */
.book-details-page{max-width:1180px;margin:0 auto;padding:16px;color:#111827}.book-details-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.book-details-top h1{margin:0;font-size:26px;font-weight:900}.book-details-top p{margin:3px 0 0;color:#64748b}.book-back-btn{display:inline-flex;align-items:center;text-decoration:none;background:#e2e8f0;color:#111827;padding:10px 14px;border-radius:10px;font-weight:800}.book-controls{display:grid;grid-template-columns:2fr 1.5fr .6fr auto;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px;box-shadow:0 4px 14px rgba(15,23,42,.06)}.book-controls label{font-size:12px;font-weight:800;color:#475569}.book-controls select,.book-controls input{width:100%;height:42px;margin-top:5px;border:1px solid #cbd5e1;border-radius:9px;padding:0 10px;background:#fff;color:#111827;font-size:14px;font-weight:700;box-sizing:border-box}.book-pdf-btn{align-self:end;height:42px;padding:0 20px;border:0;border-radius:9px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:900}.book-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.book-summary span{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px;text-align:center;color:#64748b;font-size:12px}.book-summary b{display:block;color:#111827;font-size:18px;margin-top:2px}.book-table-wrap{overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.book-table{width:100%;border-collapse:collapse;min-width:860px}.book-table th{position:sticky;top:0;background:#0f172a;color:#fff;padding:10px 8px;font-size:12px;text-align:center}.book-table td{padding:9px 8px;border-bottom:1px solid #e5e7eb;text-align:center;font-size:13px;font-weight:700}.book-row.is-deleted td{background:#fee2e2!important;color:#b91c1c!important;font-weight:900}.book-row.is-saved td{background:#f8fafc}.book-status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900}.status-active{background:#dcfce7;color:#166534}.status-saved{background:#dbeafe;color:#1d4ed8}.status-deleted{background:#b91c1c;color:#fff}.book-pagination{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin:14px 0}.book-pagination button{min-width:36px;height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#111827;font-weight:800}.book-pagination button.active{background:#2563eb;color:#fff;border-color:#2563eb}@media(max-width:720px){.book-details-page{padding:8px}.book-details-top h1{font-size:21px}.book-controls{grid-template-columns:1fr 1fr}.book-controls label:first-child{grid-column:1/-1}.book-pdf-btn{width:100%}.book-summary{grid-template-columns:repeat(2,1fr)}.book-table td,.book-table th{font-size:11px;padding:8px 6px}}


/* Book Details control placement: draw full row, PDF with search on its right. */
.book-controls{
  grid-template-columns:110px 140px minmax(180px,1fr)!important;
  grid-template-areas:"draw draw draw" "entries pdf search"!important;
  align-items:end!important;
}
.book-draw-control{grid-area:draw!important}
.book-entries-control{grid-area:entries!important}
.book-pdf-btn{grid-area:pdf!important;width:100%!important}
.book-search-control{grid-area:search!important}
@media(max-width:720px){
 .book-controls{grid-template-columns:92px 120px minmax(130px,1fr)!important;grid-template-areas:"draw draw draw" "entries pdf search"!important;gap:8px!important}
 .book-controls select,.book-controls input{height:40px!important;font-size:13px!important}
 .book-pdf-btn{height:40px!important;padding:0 12px!important}
}

/* Book Details: summary cards above actions, colorful raised 3D style. */
.book-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:12px 0!important;
}
.book-summary .book-summary-card{
  position:relative!important;
  overflow:hidden!important;
  min-height:72px!important;
  padding:11px 8px 9px!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:14px!important;
  color:#fff!important;
  text-align:center!important;
  font-size:12px!important;
  font-weight:900!important;
  text-shadow:0 1px 1px rgba(0,0,0,.18)!important;
  box-shadow:0 6px 0 rgba(15,23,42,.18),0 10px 18px rgba(15,23,42,.16),inset 0 1px 0 rgba(255,255,255,.5),inset 0 -2px 4px rgba(0,0,0,.09)!important;
  transform:translateY(-2px)!important;
  box-sizing:border-box!important;
}
.book-summary .book-summary-card::before{
  content:""!important;
  position:absolute!important;
  left:5%!important;
  right:5%!important;
  top:3px!important;
  height:38%!important;
  border-radius:12px 12px 50% 50%!important;
  background:linear-gradient(180deg,rgba(255,255,255,.35),rgba(255,255,255,0))!important;
  pointer-events:none!important;
}
.book-summary .book-summary-card b{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  margin-top:5px!important;
  color:#fff!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:900!important;
  text-shadow:0 2px 2px rgba(0,0,0,.22)!important;
}
.book-first-card{background:linear-gradient(145deg,#2563eb,#1d4ed8)!important}
.book-second-card{background:linear-gradient(145deg,#10b981,#059669)!important}
.book-total-card{background:linear-gradient(145deg,#8b5cf6,#7c3aed)!important}
.book-records-card{background:linear-gradient(145deg,#f59e0b,#ea580c)!important}
.book-action-controls{
  grid-template-columns:92px 120px minmax(160px,1fr)!important;
  grid-template-areas:"entries pdf search"!important;
  margin-top:0!important;
}
.book-action-controls .book-entries-control{grid-area:entries!important}
.book-action-controls .book-pdf-btn{grid-area:pdf!important}
.book-action-controls .book-search-control{grid-area:search!important}
@media(max-width:720px){
  .book-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:9px 0!important}
  .book-summary .book-summary-card{min-height:62px!important;padding:8px 3px 7px!important;border-radius:10px!important;font-size:10px!important;box-shadow:0 4px 0 rgba(15,23,42,.18),0 7px 11px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.45)!important}
  .book-summary .book-summary-card b{font-size:16px!important;margin-top:4px!important}
  .book-action-controls{grid-template-columns:82px 104px minmax(125px,1fr)!important;grid-template-areas:"entries pdf search"!important;gap:6px!important}
}

/* Persistent user subpage hamburger/menu + centered headings. */
.book-details-top{position:relative!important;justify-content:flex-end!important;min-height:64px!important}.book-title-center{position:absolute!important;left:50%!important;transform:translateX(-50%)!important;text-align:center!important;width:min(65%,520px)!important}.book-title-center h1,.book-title-center p{text-align:center!important}.subpage-menu-toggle{position:fixed;top:12px;left:12px;z-index:10030;width:46px;height:46px;border:0;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.subpage-menu-toggle span{display:block;width:24px;height:3px;border-radius:4px;background:#111827}.subpage-menu-overlay{position:fixed;inset:0;z-index:10020;background:rgba(15,23,42,.35)}.subpage-side-menu{position:fixed;z-index:10025;top:0;left:0;height:100dvh;width:min(310px,82vw);background:#fff;padding:86px 18px 20px;transform:translateX(-105%);transition:transform .2s ease;box-shadow:12px 0 28px rgba(15,23,42,.18)}.subpage-side-menu.is-open{transform:translateX(0)}.subpage-side-menu nav{display:flex;flex-direction:column;gap:12px}.subpage-side-menu .user-menu-btn{text-decoration:none!important}.user-readonly-page{max-width:1180px;margin:0 auto;padding:16px}.user-readonly-head{position:relative;display:flex;justify-content:flex-end;align-items:center;min-height:64px;margin-bottom:14px}.user-readonly-head h1{position:absolute;left:50%;transform:translateX(-50%);margin:0;font-size:26px;font-weight:900;text-align:center}.user-payment-history{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:auto}.user-payment-history table{min-width:760px;width:100%;border-collapse:collapse}.user-payment-history th{background:#0f172a;color:#fff;padding:10px 8px}.user-payment-history td{padding:10px 8px;border-bottom:1px solid #e5e7eb;text-align:center;font-weight:700}@media(max-width:720px){.book-title-center{width:55%!important}.book-title-center h1,.user-readonly-head h1{font-size:21px!important}.subpage-menu-toggle{top:8px;left:8px;width:42px;height:42px}.user-readonly-page{padding:8px}}

/* User sub-pages use the exact original User drawer, not a simplified drawer. */
.subpage-real-menu-toggle{
  position:fixed!important;
  top:12px!important;
  left:12px!important;
  z-index:10035!important;
}
body.user-menu-open .subpage-real-menu-toggle{z-index:10040!important}

/* Read-only Payment Details: original filter language + clear table grid. */
.user-payment-page{background:#fff!important;min-height:100vh!important;color:#111827!important}
.payment-readonly-tools{display:grid;gap:10px;margin:0 0 12px;padding:12px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 3px 12px rgba(15,23,42,.06)}
.payment-readonly-tools .payment-filter-types{display:flex;gap:8px;flex-wrap:wrap;margin:0}
.payment-readonly-tools .filter-type-btn{width:auto;min-width:74px;padding:9px 13px;border-radius:10px;font-size:13px;color:#fff!important}
.payment-readonly-tools .all-btn{background:#64748b!important}.payment-readonly-tools .credit-btn{background:#22c55e!important}.payment-readonly-tools .cash-btn{background:#3b82f6!important}.payment-readonly-tools .filter-type-btn.active{outline:3px solid #facc15;outline-offset:2px}
.payment-search-pdf-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:9px;align-items:end}
.payment-search-pdf-row input{height:42px!important;margin:0!important;background:#fff!important;color:#111827!important;border:1px solid #cbd5e1!important;border-radius:9px!important}
.payment-readonly-tools .date-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.payment-readonly-tools .date-input-wrap{position:relative}.payment-readonly-tools .date-input-wrap input{height:42px!important;margin:0!important;padding:9px 36px 9px 10px!important;color:transparent!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:9px!important}.payment-readonly-tools .date-input-wrap.has-value input,.payment-readonly-tools .date-input-wrap.is-focus input{color:#111827!important}.payment-readonly-tools .date-placeholder{position:absolute;left:11px;top:50%;transform:translateY(-50%);z-index:2;color:#475569;font-size:12px;pointer-events:none}.payment-readonly-tools .date-input-wrap.has-value .date-placeholder,.payment-readonly-tools .date-input-wrap.is-focus .date-placeholder{display:none}
.payment-readonly-tools .reset-filter-btn{width:120px;background:#475569!important;color:#fff!important}
.user-payment-history{border:1px solid #94a3b8!important;border-radius:10px!important;overflow:auto!important}
.user-payment-history table{border-collapse:collapse!important;min-width:780px!important;width:100%!important}
.user-payment-history th,.user-payment-history td{border:1px solid #cbd5e1!important;padding:9px 8px!important;text-align:center!important;white-space:nowrap!important}
.user-payment-history th{background:#f1f5f9!important;color:#111827!important;font-weight:900!important}
.user-payment-history td{background:#fff!important;color:#111827!important;font-weight:700!important}
.user-payment-history td.upline-pos{color:#15803d!important}.user-payment-history td.upline-neg{color:#dc2626!important}.user-payment-history td.upline-zero{color:#475569!important}
.user-payment-page .status-badge{display:inline-block;min-width:48px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900}.user-payment-page .status-deposit{background:#dcfce7;color:#166534;border:1px solid #86efac}.user-payment-page .status-withdraw{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}
@media(max-width:720px){.subpage-real-menu-toggle{top:8px!important;left:8px!important}.payment-readonly-tools{padding:8px;gap:8px}.payment-search-pdf-row{grid-template-columns:92px minmax(0,1fr)}.payment-readonly-tools .date-filter-grid{gap:6px}.payment-readonly-tools .reset-filter-btn{width:100px}}

/* Recurring Draw admin controls */
.draw-type-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:14px!important}
.draw-type-btn{min-width:150px!important;text-align:center!important;font-weight:900!important;border-radius:12px!important;padding:12px 18px!important;color:#fff!important;box-shadow:0 5px 0 rgba(15,23,42,.15),0 9px 16px rgba(15,23,42,.12)!important;text-decoration:none!important}
.sunday-draw-btn{background:linear-gradient(135deg,#7c3aed,#ec4899)!important}.daily-draw-btn{background:linear-gradient(135deg,#06b6d4,#2563eb)!important}
.draw-type-pill{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}.type-super-sunday{background:#f3e8ff;color:#7e22ce}.type-daily{background:#dbeafe;color:#1d4ed8}.type-one-time{background:#e2e8f0;color:#475569}
.recurring-draw-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-size:18px}.draw-form-type-badge{display:inline-block;padding:7px 11px;border-radius:10px;color:#fff;font-size:13px;font-weight:900}.draw-form-type-badge.sunday{background:linear-gradient(135deg,#7c3aed,#ec4899)}.draw-form-type-badge.daily{background:linear-gradient(135deg,#06b6d4,#2563eb)}.recurring-info-box{height:42px;display:flex;align-items:center;padding:0 11px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#334155;font-weight:800}.recurring-help{margin-top:12px;padding:10px 12px;border-radius:9px;background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:700;line-height:1.5}
@media(max-width:620px){.draw-type-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.draw-type-btn{min-width:0!important;padding:11px 8px!important}}

/* Recurring Draw admin controls */
.draw-type-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:14px!important}
.draw-type-btn{min-width:150px!important;text-align:center!important;font-weight:900!important;border-radius:12px!important;padding:12px 18px!important;color:#fff!important;box-shadow:0 5px 0 rgba(15,23,42,.15),0 9px 16px rgba(15,23,42,.12)!important;text-decoration:none!important}
.sunday-draw-btn{background:linear-gradient(135deg,#7c3aed,#ec4899)!important}.daily-draw-btn{background:linear-gradient(135deg,#06b6d4,#2563eb)!important}
.draw-type-pill{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}.type-super-sunday{background:#f3e8ff;color:#7e22ce}.type-daily{background:#dbeafe;color:#1d4ed8}.type-one-time{background:#e2e8f0;color:#475569}
.recurring-draw-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-size:18px}.draw-form-type-badge{display:inline-block;padding:7px 11px;border-radius:10px;color:#fff;font-size:13px;font-weight:900}.draw-form-type-badge.sunday{background:linear-gradient(135deg,#7c3aed,#ec4899)}.draw-form-type-badge.daily{background:linear-gradient(135deg,#06b6d4,#2563eb)}.recurring-info-box{height:42px;display:flex;align-items:center;padding:0 11px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#334155;font-weight:800}.recurring-help{margin-top:12px;padding:10px 12px;border-radius:9px;background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:700;line-height:1.5}
@media(max-width:620px){.draw-type-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.draw-type-btn{min-width:0!important;padding:11px 8px!important}}

/* Admin Draw Time: entire row text follows Active/Deactive status. */
.admin-draw-table tbody tr.active td,
.admin-draw-table tbody tr.active td a:not(.btn),
.admin-draw-table tbody tr.active td span{
  color:#15803d!important;
  font-weight:800!important;
}
.admin-draw-table tbody tr.danger td,
.admin-draw-table tbody tr.danger td a:not(.btn),
.admin-draw-table tbody tr.danger td span{
  color:#dc2626!important;
  font-weight:800!important;
}
.admin-draw-table tbody tr.active .draw-type-pill{
  color:#15803d!important;
  border:1px solid #86efac!important;
  background:#dcfce7!important;
}
.admin-draw-table tbody tr.danger .draw-type-pill{
  color:#dc2626!important;
  border:1px solid #fca5a5!important;
  background:#fee2e2!important;
}
.admin-draw-table tbody tr.active td{border-color:#bbf7d0!important}
.admin-draw-table tbody tr.danger td{border-color:#fecaca!important}

/* User Reports landing */
.reports-page{min-height:100vh;background:#fff;padding:18px;max-width:920px;margin:0 auto}.reports-page-head{position:relative;min-height:64px;display:flex;align-items:center;justify-content:flex-end}.reports-page-head h1{position:absolute;left:50%;transform:translateX(-50%);margin:0;font-size:28px;font-weight:900;color:#111827}.reports-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:36px}.report-choice-card{min-height:170px;border:0;border-radius:22px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;font-weight:900;cursor:pointer;box-shadow:0 9px 0 rgba(15,23,42,.2),0 18px 30px rgba(15,23,42,.18),inset 0 2px 0 rgba(255,255,255,.42),inset 0 -4px 8px rgba(0,0,0,.12);transform:translateY(-4px);text-shadow:0 2px 2px rgba(0,0,0,.18);transition:transform .12s ease,box-shadow .12s ease}.report-choice-card:active{transform:translateY(4px);box-shadow:0 2px 0 rgba(15,23,42,.22),0 6px 12px rgba(15,23,42,.16),inset 0 2px 0 rgba(255,255,255,.34)}.report-choice-card strong{font-size:24px}.report-choice-icon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.35);font-size:30px;box-shadow:inset 0 2px 3px rgba(255,255,255,.28)}.report-sheet-card{background:linear-gradient(145deg,#0ea5e9,#2563eb 55%,#4f46e5)}.report-total-card{background:linear-gradient(145deg,#f59e0b,#f97316 55%,#ef4444)}
@media(max-width:640px){.reports-page{padding:10px}.reports-page-head h1{font-size:23px}.reports-choice-grid{grid-template-columns:1fr;gap:18px;margin-top:24px}.report-choice-card{min-height:135px;border-radius:18px}.report-choice-card strong{font-size:21px}}

/* Compact Super-Sunday/Daily inspired 3D styling for User Reports + drawer buttons */
.reports-choice-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:24px!important;
}
.report-choice-card{
  min-height:76px!important;
  border-radius:13px!important;
  padding:10px 8px!important;
  gap:6px!important;
  transform:none!important;
  box-shadow:0 5px 0 rgba(15,23,42,.16),0 9px 16px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.38)!important;
}
.report-choice-card:active{
  transform:translateY(3px)!important;
  box-shadow:0 2px 0 rgba(15,23,42,.18),0 5px 9px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.3)!important;
}
.report-choice-card strong{font-size:15px!important;line-height:1.15!important}
.report-choice-icon{
  width:30px!important;
  height:30px!important;
  border-radius:8px!important;
  font-size:17px!important;
}
.report-sheet-card{background:linear-gradient(135deg,#8b5cf6,#ec4899)!important}
.report-total-card{background:linear-gradient(135deg,#06b6d4,#2563eb)!important}

.user-menu-links{
  gap:8px!important;
  padding-top:20px!important;
  justify-items:stretch!important;
}
.user-menu-links .user-menu-btn{
  width:100%!important;
  min-height:42px!important;
  padding:9px 11px!important;
  gap:10px!important;
  border-radius:12px!important;
  font-size:14px!important;
  border:1px solid rgba(255,255,255,.34)!important;
  box-shadow:0 5px 0 rgba(15,23,42,.16),0 9px 16px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.38)!important;
  transition:transform .12s ease,box-shadow .12s ease!important;
}
.user-menu-links .user-menu-btn:active{
  transform:translateY(3px)!important;
  box-shadow:0 2px 0 rgba(15,23,42,.18),0 5px 9px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.3)!important;
}
.user-menu-links .user-menu-icon{
  width:28px!important;
  height:28px!important;
  border-radius:8px!important;
  font-size:16px!important;
}
.user-menu-home{background:linear-gradient(135deg,#06b6d4,#2563eb)!important}
.user-menu-reports{background:linear-gradient(135deg,#8b5cf6,#d946ef)!important}
.user-menu-book{background:linear-gradient(135deg,#10b981,#059669)!important}
.user-menu-search{background:linear-gradient(135deg,#f59e0b,#f97316)!important}
.user-menu-logout{background:linear-gradient(135deg,#fb7185,#e11d48)!important}

@media(max-width:640px){
  .reports-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:18px!important}
  .report-choice-card{min-height:70px!important;border-radius:12px!important;padding:8px 5px!important}
  .report-choice-card strong{font-size:13px!important}
  .report-choice-icon{width:27px!important;height:27px!important;font-size:15px!important}
  .user-menu-links .user-menu-btn{min-height:40px!important;padding:8px 10px!important;font-size:13px!important}
}

/* Refined compact full-surface 3D User drawer buttons */
.user-menu-links{
  align-items:center!important;
  gap:10px!important;
}
.user-menu-links .user-menu-btn{
  width:88%!important;
  min-height:39px!important;
  padding:8px 14px!important;
  gap:9px!important;
  border-radius:11px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.1px!important;
  text-shadow:0 1px 1px rgba(0,0,0,.22)!important;
  box-shadow:
    0 5px 0 rgba(15,23,42,.22),
    0 9px 14px rgba(15,23,42,.15),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -3px 5px rgba(0,0,0,.12)!important;
  position:relative!important;
  overflow:hidden!important;
}
.user-menu-links .user-menu-btn::before{
  content:"";
  position:absolute;
  left:2%;right:2%;top:2px;
  height:45%;
  border-radius:10px 10px 45% 45%;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0));
  pointer-events:none;
}
.user-menu-links .user-menu-btn > span{
  position:relative!important;
  z-index:1!important;
}
.user-menu-links .user-menu-icon{
  width:auto!important;
  height:auto!important;
  min-width:22px!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  font-size:16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  opacity:.96!important;
}
.user-menu-links .user-menu-btn:active{
  transform:translateY(4px)!important;
  box-shadow:
    0 1px 0 rgba(15,23,42,.24),
    0 4px 8px rgba(15,23,42,.13),
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -2px 4px rgba(0,0,0,.12)!important;
}
.user-menu-home{background:linear-gradient(145deg,#0ea5e9 0%,#2563eb 58%,#1d4ed8 100%)!important}
.user-menu-reports{background:linear-gradient(145deg,#a855f7 0%,#d946ef 58%,#9333ea 100%)!important}
.user-menu-book{background:linear-gradient(145deg,#34d399 0%,#10b981 58%,#047857 100%)!important}
.user-menu-search{background:linear-gradient(145deg,#fbbf24 0%,#f59e0b 52%,#ea580c 100%)!important}
.user-menu-logout{background:linear-gradient(145deg,#fb7185 0%,#f43f5e 55%,#be123c 100%)!important}
@media(max-width:640px){
  .user-menu-links .user-menu-btn{width:86%!important;min-height:38px!important;padding:8px 12px!important;font-size:13px!important}
}

/* User sub-panel identity always visible */
.user-panel-identity{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin:4px 0 14px!important;
  padding:10px 12px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
}
.user-panel-identity>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.user-panel-identity span{font-size:12px!important;color:#64748b!important;font-weight:700!important}
.user-panel-identity strong{font-size:14px!important;color:#111827!important;font-weight:900!important}

/* Exact Admin draw-type inspired User menu buttons: compact, text-only */
.user-menu-links{align-items:center!important;gap:11px!important}
.user-menu-links .user-menu-btn{
  width:72%!important;
  min-width:0!important;
  min-height:0!important;
  padding:11px 8px!important;
  justify-content:center!important;
  text-align:center!important;
  border-radius:12px!important;
  border:0!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  overflow:visible!important;
  box-shadow:0 5px 0 rgba(15,23,42,.15),0 9px 16px rgba(15,23,42,.12)!important;
  transform:none!important;
}
.user-menu-links .user-menu-btn::before{display:none!important}
.user-menu-links .user-menu-btn:active{
  transform:translateY(3px)!important;
  box-shadow:0 2px 0 rgba(15,23,42,.16),0 5px 9px rgba(15,23,42,.11)!important;
}
.user-menu-links .user-menu-icon{display:none!important}
.user-menu-home{background:linear-gradient(135deg,#06b6d4,#2563eb)!important}
.user-menu-reports{background:linear-gradient(135deg,#7c3aed,#ec4899)!important}
.user-menu-book{background:linear-gradient(135deg,#10b981,#059669)!important}
.user-menu-search{background:linear-gradient(135deg,#f59e0b,#f97316)!important}
.user-menu-logout{background:linear-gradient(135deg,#fb7185,#e11d48)!important}
@media(max-width:640px){
 .user-panel-identity{grid-template-columns:1fr!important;gap:7px!important;padding:9px 10px!important}
 .user-menu-links .user-menu-btn{width:70%!important;padding:10px 7px!important;font-size:13px!important}
}

/* Final capsule menu shape + compact Return button between Balance and Upline */
.user-menu-wallet-grid.has-return{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
}
.wallet-return-btn{
  align-self:center!important;
  justify-self:center!important;
  min-height:30px!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:0 3px 0 #1e40af,0 5px 9px rgba(37,99,235,.18)!important;
}
.user-menu-profile-actions{justify-content:center!important;margin-top:12px!important}
.user-menu-links .user-menu-btn{
  width:70%!important;
  border-radius:999px!important;
  padding:10px 15px!important;
  box-shadow:0 5px 0 rgba(15,23,42,.18),0 9px 15px rgba(15,23,42,.13),inset 0 1px 0 rgba(255,255,255,.24)!important;
  position:relative!important;
}
.user-menu-links .user-menu-btn::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:8%!important;
  right:8%!important;
  top:3px!important;
  height:34%!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,0))!important;
  pointer-events:none!important;
}
.user-menu-links .user-menu-btn:active{
  transform:translateY(4px)!important;
  box-shadow:0 1px 0 rgba(15,23,42,.2),0 4px 8px rgba(15,23,42,.11)!important;
}
@media(max-width:420px){
  .user-menu-wallet-grid.has-return{gap:5px!important}
  .wallet-return-btn{padding:5px 7px!important;font-size:9px!important;min-height:28px!important}
  .user-menu-links .user-menu-btn{width:68%!important;padding:9px 12px!important}
}

/* Slim professional half-screen drawer + top role pill */
.user-side-menu{
  width:min(58vw,300px)!important;
  padding:56px 14px 24px!important;
}
.user-menu-role-top{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  margin:0!important;
  padding:6px 9px!important;
  border-radius:9px!important;
  font-size:11px!important;
  line-height:1!important;
  background:#fff!important;
  color:#475569!important;
  border:1px solid #cbd5e1!important;
  box-shadow:0 2px 7px rgba(15,23,42,.08)!important;
  z-index:2!important;
}
.user-menu-logo{
  width:102px!important;
  height:102px!important;
  font-size:38px!important;
  margin:-4px auto 20px!important;
}
.wallet-return-btn{
  min-height:34px!important;
  padding:7px 11px!important;
  font-size:11px!important;
  border-radius:999px!important;
}
.user-menu-links .user-menu-btn{
  width:82%!important;
  padding:10px 14px!important;
}
@media(max-width:650px){
  .user-side-menu{width:min(60vw,285px)!important;padding:54px 12px 22px!important}
  .user-menu-role-top{top:10px!important;right:10px!important;padding:6px 8px!important;font-size:10px!important}
  .user-menu-logo{width:96px!important;height:96px!important;font-size:36px!important;margin:0 auto 18px!important}
  .wallet-return-btn{min-height:33px!important;padding:7px 10px!important;font-size:10px!important}
  .user-menu-links .user-menu-btn{width:84%!important;padding:9px 12px!important}
}
@media(max-width:420px){
  .user-side-menu{width:62vw!important;max-width:270px!important;padding-left:10px!important;padding-right:10px!important}
  .user-menu-wallet-grid.has-return{gap:4px!important}
  .wallet-return-btn{min-height:32px!important;padding:6px 9px!important;font-size:10px!important}
  .user-menu-links .user-menu-btn{width:86%!important}
}

/* Final unified professional User drawer layout */
.user-side-menu{
  width:50vw!important;
  max-width:235px!important;
  min-width:190px!important;
  padding:64px 10px 18px!important;
  overflow-y:auto!important;
}
.user-menu-role-top{
  top:10px!important;
  right:10px!important;
  padding:5px 8px!important;
  font-size:10px!important;
  border-radius:7px!important;
}
.user-menu-top-identity{
  position:absolute!important;
  top:38px!important;
  right:10px!important;
  left:46px!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  color:#64748b!important;
  font-size:8px!important;
  line-height:1.1!important;
  text-align:right!important;
}
.user-menu-top-identity span{white-space:nowrap!important}
.user-menu-top-identity b{color:#334155!important;font-weight:800!important}
.user-menu-profile{margin:0!important;padding:0!important}
.user-menu-logo{
  width:72px!important;
  height:72px!important;
  border-width:4px!important;
  font-size:28px!important;
  margin:0 auto 10px!important;
  letter-spacing:-2px!important;
}
.user-menu-wallet-grid{
  gap:5px!important;
  margin-top:0!important;
}
.user-menu-wallet-grid.has-return{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:4px!important}
.user-menu-balance-label{font-size:8px!important;white-space:normal!important;line-height:1.1!important}
.user-menu-balance{font-size:17px!important;margin-top:3px!important}
.wallet-return-btn{
  min-height:32px!important;
  padding:6px 10px!important;
  font-size:10px!important;
  border-radius:9px!important;
}
.user-menu-profile-details{display:none!important}
.user-menu-links{
  padding-top:12px!important;
  gap:8px!important;
  align-items:center!important;
  justify-items:center!important;
}
.user-menu-links .user-menu-btn{
  width:76%!important;
  min-height:34px!important;
  padding:8px 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border-radius:14px 6px 14px 6px!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 4px 0 rgba(15,23,42,.18),0 7px 11px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.user-menu-links .user-menu-btn::after{display:none!important}
.user-menu-links .user-menu-btn>span{width:100%!important;text-align:center!important;display:block!important}
.user-menu-links .user-menu-btn:active{transform:translateY(3px)!important;box-shadow:0 1px 0 rgba(15,23,42,.18),0 3px 6px rgba(15,23,42,.1)!important}

/* Keep hamburger visible above the opened drawer on every User page. */
body.user-menu-open #user-menu-toggle,
.user-menu-open .user-menu-toggle{
  position:fixed!important;
  top:10px!important;
  left:10px!important;
  width:32px!important;
  height:31px!important;
  z-index:10060!important;
  margin:0!important;
}
body.user-menu-open #user-menu-toggle span{width:17px!important;height:2px!important}
.subpage-real-menu-toggle{z-index:10060!important}

@media(max-width:420px){
 .user-side-menu{width:50vw!important;max-width:none!important;min-width:180px!important;padding:62px 8px 16px!important}
 .user-menu-top-identity{left:42px!important;right:8px!important;font-size:7.5px!important;gap:5px!important}
 .user-menu-logo{width:68px!important;height:68px!important;font-size:26px!important;margin-bottom:8px!important}
 .user-menu-balance{font-size:15px!important}
 .wallet-return-btn{min-height:30px!important;padding:5px 8px!important;font-size:9px!important}
 .user-menu-links{padding-top:10px!important;gap:7px!important}
 .user-menu-links .user-menu-btn{width:78%!important;min-height:32px!important;padding:7px 8px!important;font-size:11px!important}
}

/* Drawer natural-flow reset: keep every element high and visible on all phones. */
.user-side-menu{
  width:50vw!important;
  max-width:225px!important;
  min-width:178px!important;
  padding:8px 8px 14px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  overflow-y:auto!important;
}
.user-menu-meta{
  min-height:38px!important;
  padding:3px 4px 3px 38px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:1px!important;
  color:#64748b!important;
  font-size:7.5px!important;
  line-height:1.05!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.user-menu-meta strong{
  color:#475569!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:900!important;
}
.user-menu-profile{
  margin:0!important;
  padding:0!important;
  display:block!important;
}
.user-menu-logo{
  width:64px!important;
  height:64px!important;
  margin:2px auto 7px!important;
  border-width:4px!important;
  font-size:25px!important;
  letter-spacing:-2px!important;
}
.user-menu-wallet-grid,
.user-menu-wallet-grid.has-return{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:3px!important;
  margin:0!important;
}
.user-menu-wallet-grid:not(.has-return){grid-template-columns:1fr 1fr!important}
.user-menu-wallet-balance{text-align:left!important}
.user-menu-wallet-upline{text-align:right!important}
.user-menu-balance-label{font-size:7px!important;line-height:1!important;white-space:normal!important}
.user-menu-balance{font-size:15px!important;line-height:1!important;margin-top:3px!important}
.wallet-return-btn{
  min-height:30px!important;
  padding:5px 8px!important;
  font-size:9px!important;
  border-radius:9px!important;
}
.user-menu-links{
  display:grid!important;
  gap:7px!important;
  padding-top:9px!important;
  justify-items:center!important;
  align-items:center!important;
}
.user-menu-links .user-menu-btn{
  width:82%!important;
  min-height:31px!important;
  padding:7px 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border-radius:13px 6px 13px 6px!important;
  font-size:11px!important;
  line-height:1!important;
}
.user-menu-links .user-menu-btn>span{width:100%!important;text-align:center!important}
.user-menu-role-top,.user-menu-top-identity{display:none!important}

/* Hamburger stays visible inside the drawer's top-left corner. */
body.user-menu-open #user-menu-toggle,
body.user-menu-open .subpage-real-menu-toggle{
  display:flex!important;
  position:fixed!important;
  top:10px!important;
  left:10px!important;
  width:30px!important;
  height:29px!important;
  z-index:10080!important;
  margin:0!important;
  padding:0!important;
}
body.user-menu-open #user-menu-toggle span{width:16px!important;height:2px!important}
@media(max-width:420px){
 .user-side-menu{width:50vw!important;max-width:none!important;min-width:174px!important;padding:7px 7px 12px!important}
 .user-menu-meta{min-height:36px!important;padding-left:35px!important;font-size:7px!important}
 .user-menu-meta strong{font-size:9px!important}
 .user-menu-logo{width:60px!important;height:60px!important;font-size:23px!important;margin-bottom:6px!important}
 .user-menu-balance{font-size:14px!important}
 .wallet-return-btn{min-height:28px!important;padding:5px 7px!important;font-size:8.5px!important}
 .user-menu-links{padding-top:8px!important;gap:6px!important}
 .user-menu-links .user-menu-btn{width:84%!important;min-height:30px!important;padding:6px 7px!important;font-size:10.5px!important}
}

/* ISOLATED V2 USER DRAWER — intentionally independent from legacy user-menu cascade */
.v2-user-drawer{
  position:fixed!important;inset:0 auto 0 0!important;z-index:10050!important;
  width:52vw!important;max-width:230px!important;min-width:180px!important;
  height:100dvh!important;box-sizing:border-box!important;
  padding:10px 9px 16px!important;background:#fff!important;color:#111827!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  overflow-y:auto!important;transform:translateX(-104%)!important;transition:transform .2s ease!important;
  box-shadow:10px 0 28px rgba(15,23,42,.22)!important;
}
.v2-user-drawer.is-open{transform:translateX(0)!important}
.v2-user-drawer .v2-drawer-close{
  position:absolute!important;top:9px!important;left:9px!important;z-index:5!important;
  width:32px!important;height:31px!important;padding:0!important;border:1px solid #d1d5db!important;
  border-radius:8px!important;background:linear-gradient(145deg,#fff,#e2e8f0)!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  box-shadow:0 4px 10px rgba(15,23,42,.14)!important;
}
.v2-user-drawer .v2-drawer-close span{display:block!important;width:17px!important;height:2px!important;border-radius:99px!important;background:#334155!important}
.v2-user-drawer .v2-user-meta{
  margin:0 0 4px!important;padding:1px 2px 2px 40px!important;min-height:34px!important;
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-start!important;gap:2px!important;
  font-size:9px!important;line-height:1.15!important;color:#475569!important;white-space:nowrap!important;visibility:visible!important;opacity:1!important;
}
.v2-user-drawer .v2-user-meta strong{font-size:11px!important;line-height:1!important;color:#111827!important;font-weight:900!important}
.v2-user-drawer .v2-user-profile{display:block!important;margin:0!important;padding:0!important;background:#fff!important}
.v2-user-drawer .v2-user-logo{
  width:66px!important;height:66px!important;margin:2px auto 8px!important;border:4px solid #f8fafc!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:radial-gradient(circle at 35% 30%,#172554,#020617 70%)!important;
  color:#facc15!important;font-size:25px!important;font-weight:900!important;letter-spacing:-2px!important;box-shadow:0 5px 13px rgba(0,0,0,.18)!important;
}
.v2-user-drawer .v2-user-wallet{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:4px!important;align-items:center!important;margin:0!important;padding:0!important;
}
.v2-user-drawer .v2-user-wallet:not(.has-return){grid-template-columns:1fr 1fr!important}
.v2-user-drawer .user-menu-wallet-balance{text-align:left!important}.v2-user-drawer .user-menu-wallet-upline{text-align:right!important}
.v2-user-drawer .user-menu-balance-label{font-size:7.5px!important;line-height:1.05!important;color:#64748b!important;white-space:normal!important;font-weight:800!important}
.v2-user-drawer .user-menu-balance{font-size:15px!important;line-height:1!important;margin-top:3px!important;font-weight:700!important}
.v2-user-drawer .wallet-return-btn{min-height:30px!important;padding:5px 8px!important;border-radius:8px!important;font-size:9px!important;line-height:1!important}
.v2-user-drawer .v2-user-nav{display:grid!important;gap:7px!important;padding:10px 0 0!important;margin:0!important;justify-items:center!important;background:#fff!important}
.v2-user-drawer .v2-user-nav .user-menu-btn{
  width:84%!important;min-height:32px!important;padding:7px 8px!important;margin:0!important;border:0!important;
  border-radius:12px 5px 12px 5px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;color:#fff!important;font-size:11px!important;font-weight:900!important;line-height:1!important;
  box-shadow:0 4px 0 rgba(15,23,42,.18),0 7px 11px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.v2-user-drawer .v2-user-nav .user-menu-btn>span{width:100%!important;text-align:center!important;display:block!important;color:#fff!important}
.v2-user-drawer .v2-user-nav .user-menu-btn::before,.v2-user-drawer .v2-user-nav .user-menu-btn::after{display:none!important}
.v2-user-drawer .user-menu-home{background:linear-gradient(135deg,#06b6d4,#2563eb)!important}
.v2-user-drawer .user-menu-reports{background:linear-gradient(135deg,#7c3aed,#ec4899)!important}
.v2-user-drawer .user-menu-book{background:linear-gradient(135deg,#10b981,#059669)!important}
.v2-user-drawer .user-menu-search{background:linear-gradient(135deg,#f59e0b,#f97316)!important}
.v2-user-drawer .user-menu-logout{background:linear-gradient(135deg,#fb7185,#e11d48)!important}
@media(max-width:420px){
 .v2-user-drawer{width:52vw!important;max-width:none!important;min-width:176px!important;padding:9px 7px 14px!important}
 .v2-user-drawer .v2-user-meta{font-size:8px!important;padding-left:38px!important}.v2-user-drawer .v2-user-meta strong{font-size:10px!important}
 .v2-user-drawer .v2-user-logo{width:62px!important;height:62px!important;font-size:23px!important;margin-bottom:7px!important}
 .v2-user-drawer .user-menu-balance{font-size:14px!important}.v2-user-drawer .wallet-return-btn{font-size:8.5px!important;padding:5px 7px!important}
 .v2-user-drawer .v2-user-nav{gap:6px!important;padding-top:8px!important}.v2-user-drawer .v2-user-nav .user-menu-btn{width:86%!important;min-height:30px!important;font-size:10.5px!important;padding:6px 7px!important}
}

/* User drawer buttons matched to Admin Draw Time Super Sunday / Daily proportions. */
.v2-user-drawer .v2-user-nav{
  gap:10px!important;
  padding-top:12px!important;
}
.v2-user-drawer .v2-user-nav .user-menu-btn{
  width:88%!important;
  min-height:44px!important;
  padding:11px 10px!important;
  margin:1px 0!important;
  border:0!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.05!important;
  letter-spacing:0!important;
  color:#fff!important;
  box-shadow:0 5px 0 rgba(15,23,42,.15),0 9px 16px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.22)!important;
  transform:none!important;
}
.v2-user-drawer .v2-user-nav .user-menu-btn>span{
  width:100%!important;
  display:block!important;
  text-align:center!important;
  color:#fff!important;
  font:inherit!important;
}
.v2-user-drawer .v2-user-nav .user-menu-btn:active{
  transform:translateY(3px)!important;
  box-shadow:0 2px 0 rgba(15,23,42,.15),0 5px 9px rgba(15,23,42,.10),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
@media(max-width:420px){
  .v2-user-drawer .v2-user-nav{gap:9px!important;padding-top:11px!important}
  .v2-user-drawer .v2-user-nav .user-menu-btn{width:90%!important;min-height:42px!important;padding:10px 8px!important;font-size:13px!important;margin:1px 0!important}
}

/* Total Sale & Bill report */
.total-sale-panel{margin-top:26px;padding:18px;border:1px solid #dbe3ef;border-radius:18px;background:#f8fafc;box-shadow:0 10px 26px rgba(15,23,42,.08)}
.total-sale-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.total-sale-filters label{display:grid;gap:7px;font-weight:800;color:#334155}.total-sale-filters input,.total-sale-filters select{width:100%;min-height:46px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;padding:9px 11px;font:inherit;color:#0f172a}.total-sale-status{padding:12px 2px;color:#64748b;font-weight:700}.sale-report-head{display:flex;gap:10px 18px;align-items:center;flex-wrap:wrap;padding:12px 14px;margin-bottom:14px;border-radius:12px;background:#e0f2fe;color:#0f172a}.sale-report-head strong{font-size:18px}.sale-digit-section{margin:18px 0 26px}.sale-digit-section h2{margin:0 0 12px;font-size:20px;color:#111827}.sale-pattern-block{margin:0 0 14px}.sale-pattern-title{display:inline-block;padding:6px 11px;border-radius:9px 9px 0 0;background:#334155;color:#fff;font-weight:900}.sale-table-wrap{overflow-x:auto;border:1px solid #cbd5e1;border-radius:0 10px 10px 10px;background:#fff}.total-sale-table{width:100%;border-collapse:collapse;min-width:680px}.total-sale-table th,.total-sale-table td{padding:9px 8px;border-bottom:1px solid #e2e8f0;text-align:right;white-space:nowrap}.total-sale-table th{background:#f1f5f9;color:#334155;font-size:13px}.total-sale-table th:first-child,.total-sale-table td:first-child{text-align:center}.sale-number{font-weight:900;color:#0f172a}.sale-total-row td{font-weight:900;background:#f8fafc}.sale-empty-row td{text-align:center!important;color:#94a3b8}.sale-section-summary,.sale-grand-summary{display:flex;flex-wrap:wrap;gap:8px 16px;padding:11px 13px;border-radius:11px;background:#eef2ff;color:#1e293b}.sale-section-summary strong,.sale-grand-summary strong{margin-right:auto}.sale-grand-summary{background:#dcfce7;border:1px solid #86efac;font-size:15px;font-weight:800;margin-top:16px}
@media(max-width:640px){.total-sale-panel{padding:10px;margin-top:18px}.total-sale-filters{grid-template-columns:1fr}.sale-digit-section h2{font-size:17px}.total-sale-table{min-width:620px}.total-sale-table th,.total-sale-table td{padding:8px 6px;font-size:12px}.sale-section-summary,.sale-grand-summary{font-size:12px}}

/* Total Sale report compact ledger grid */
.sale-table-wrap{border-radius:8px!important;overflow-x:auto!important}
.total-sale-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}
.total-sale-table th,.total-sale-table td{padding:5px 3px!important;border:1px solid #cbd5e1!important;text-align:center!important;line-height:1.2!important;white-space:normal!important}
.total-sale-table th{font-size:11px!important;font-weight:900!important}
.total-sale-table td{font-size:12px!important}
.total-sale-table th:first-child,.total-sale-table td:first-child{width:18%!important}
.total-sale-table th:nth-child(2),.total-sale-table td:nth-child(2),.total-sale-table th:nth-child(3),.total-sale-table td:nth-child(3){width:13%!important}
.total-sale-table th:nth-child(4),.total-sale-table td:nth-child(4){width:18%!important}
.total-sale-table th:nth-child(5),.total-sale-table td:nth-child(5){width:19%!important}
.total-sale-table th:nth-child(6),.total-sale-table td:nth-child(6){width:19%!important}
.sale-digit-section{margin:14px 0 20px!important}.sale-digit-section h2{margin-bottom:7px!important}
@media(max-width:640px){
 .total-sale-table{min-width:0!important}
 .total-sale-table th,.total-sale-table td{padding:4px 2px!important;font-size:10px!important}
 .total-sale-table th{font-size:9.5px!important}
 .sale-number{font-size:11px!important}
}

/* Total Sale category summary + PDF */
.total-sale-table td,.total-sale-table th{font-weight:800!important}.total-sale-table .sale-number{font-weight:950!important;letter-spacing:.1px}
.total-sale-table th:first-child,.total-sale-table td:first-child{width:28%!important}.total-sale-table th:nth-child(2),.total-sale-table td:nth-child(2),.total-sale-table th:nth-child(3),.total-sale-table td:nth-child(3){width:22%!important}.total-sale-table th:nth-child(4),.total-sale-table td:nth-child(4){width:28%!important}
.sale-category-bill{display:flex;justify-content:flex-end;gap:18px;flex-wrap:wrap;padding:8px 10px;border:1px solid #cbd5e1;border-top:0;border-radius:0 0 8px 8px;background:#f8fafc;font-size:13px;font-weight:800}.sale-pdf-btn{margin-left:auto;border:0;border-radius:9px;padding:9px 13px;background:#111827;color:#fff;font-weight:900;cursor:pointer;white-space:nowrap}
@media(max-width:640px){.sale-category-bill{gap:8px 14px;padding:7px 8px;font-size:11px}.sale-pdf-btn{width:100%;margin-left:0;padding:8px 10px}.total-sale-table td,.total-sale-table th{font-weight:850!important}}

/* Total Sale compact multi-panel ledger: Number | 1st | 2nd */
.sale-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:start}
.sale-mini-wrap{min-width:0;overflow:hidden;border:1px solid #cbd5e1;border-radius:7px;background:#fff}
.sale-mini-table{width:100%;border-collapse:collapse;table-layout:fixed}
.sale-mini-table th,.sale-mini-table td{border:1px solid #d7dee8;padding:4px 2px;text-align:center;line-height:1.12;font-size:10.5px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:clip}
.sale-mini-table th{padding:5px 2px;background:#f1f5f9;color:#334155;font-size:9.5px;font-weight:950}
.sale-mini-table th:nth-child(1),.sale-mini-table td:nth-child(1){width:34%}
.sale-mini-table th:nth-child(2),.sale-mini-table td:nth-child(2),.sale-mini-table th:nth-child(3),.sale-mini-table td:nth-child(3){width:33%}
.sale-mini-table .sale-number{font-size:11px;font-weight:950!important;color:#0f172a}
.sale-category-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:7px;border:1px solid #cbd5e1;border-radius:7px;overflow:hidden;background:#cbd5e1}
.sale-category-summary span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:44px;padding:5px 2px;background:#f8fafc;text-align:center;font-size:10px;font-weight:900;line-height:1.15}
.sale-category-summary b{display:block;margin-bottom:3px;font-size:8.5px;color:#475569}
@media(max-width:640px){
 .sale-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .sale-mini-table th,.sale-mini-table td{padding:3px 1px;font-size:9.5px}
 .sale-mini-table th{font-size:8.5px}.sale-mini-table .sale-number{font-size:10px}
 .sale-category-summary span{min-height:40px;padding:4px 1px;font-size:9px}.sale-category-summary b{font-size:7.5px}
}
@media(max-width:360px){.sale-mini-grid{gap:4px}.sale-mini-table th,.sale-mini-table td{font-size:9px}.sale-category-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Hard isolate Total Sale mini-table columns from legacy/global table CSS */
.sale-mini-table{display:table!important;width:100%!important;min-width:0!important;max-width:none!important;table-layout:fixed!important;border-collapse:collapse!important}
.sale-mini-table col.sale-col-number{width:26%!important}.sale-mini-table col.sale-col-first,.sale-mini-table col.sale-col-second{width:37%!important}
.sale-mini-table thead{display:table-header-group!important}.sale-mini-table tbody{display:table-row-group!important}.sale-mini-table tr{display:table-row!important;width:auto!important}
.sale-mini-table th.sale-cell-number,.sale-mini-table td.sale-cell-number,.sale-mini-table th.sale-cell-first,.sale-mini-table td.sale-cell-first,.sale-mini-table th.sale-cell-second,.sale-mini-table td.sale-cell-second{display:table-cell!important;visibility:visible!important;opacity:1!important;position:static!important;float:none!important;min-width:0!important;max-width:none!important;height:auto!important;color:#0f172a!important;text-align:center!important}
.sale-mini-table th.sale-cell-number,.sale-mini-table td.sale-cell-number{width:26%!important}.sale-mini-table th.sale-cell-first,.sale-mini-table td.sale-cell-first,.sale-mini-table th.sale-cell-second,.sale-mini-table td.sale-cell-second{width:37%!important}
@media(max-width:640px){.sale-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sale-mini-wrap{width:100%!important;min-width:0!important}.sale-mini-table th,.sale-mini-table td{font-size:9px!important;padding:3px 1px!important}.sale-mini-table th{font-size:8px!important}.sale-mini-table .sale-number{font-size:9.5px!important}}

/* Total Sale: exactly two side-by-side mini tables per digit category */
.sale-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
@media(max-width:640px){.sale-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}}

/* Total Sale table typography: 1.5x larger + stronger bold */
.sale-mini-table th,.sale-mini-table td{font-size:15.75px!important;font-weight:950!important;line-height:1.15!important;padding:6px 3px!important}
.sale-mini-table th{font-size:14.25px!important;font-weight:950!important}
.sale-mini-table .sale-number{font-size:16.5px!important;font-weight:950!important}
@media(max-width:640px){
 .sale-mini-table th,.sale-mini-table td{font-size:13.5px!important;font-weight:950!important;padding:5px 2px!important}
 .sale-mini-table th{font-size:12px!important}
 .sale-mini-table .sale-number{font-size:14.25px!important}
}
@media(max-width:360px){
 .sale-mini-table th,.sale-mini-table td{font-size:12.75px!important}
 .sale-mini-table th{font-size:11.25px!important}
 .sale-mini-table .sale-number{font-size:13.5px!important}
}

/* Stronger visual distinction for Number versus 1st/2nd values */
.sale-mini-table td.sale-cell-first,.sale-mini-table td.sale-cell-second{font-weight:850!important}
.sale-mini-table td.sale-number{font-weight:1000!important;color:#000!important;letter-spacing:.25px!important;text-shadow:0 0 .01px #000!important}
.sale-mini-table th.sale-cell-number{font-weight:1000!important;color:#000!important}

/* Sheet report */
.sheet-report-panel{margin-top:26px;padding:18px;border:1px solid #dbe3ef;border-radius:18px;background:#f8fafc;box-shadow:0 10px 26px rgba(15,23,42,.08)}
.sheet-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sheet-report-filters label{display:grid;gap:7px;font-weight:800;color:#334155}.sheet-report-filters input,.sheet-report-filters select{width:100%;min-height:46px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;padding:9px 11px;font:inherit;color:#0f172a}.sheet-report-status{padding:12px 2px;color:#64748b;font-weight:800}
.sheet-report-head{display:flex;align-items:center;gap:14px;padding:12px 14px;margin-bottom:12px;border-radius:12px;background:#e0f2fe}.sheet-report-head>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.sheet-report-head strong{font-size:18px}.sheet-report-head span{font-weight:700;color:#475569}
.sheet-report-table-wrap{overflow-x:auto;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.sheet-report-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:0}.sheet-report-table th,.sheet-report-table td{border:1px solid #cbd5e1;padding:6px 4px;text-align:center;font-size:13px;font-weight:850}.sheet-report-table th{background:#f1f5f9;font-weight:950}.sheet-report-table th:first-child,.sheet-report-table td:first-child{width:24%}.sheet-report-table th:nth-child(2),.sheet-report-table td:nth-child(2),.sheet-report-table th:nth-child(3),.sheet-report-table td:nth-child(3){width:38%}.sheet-report-number{font-weight:1000!important;color:#000!important;font-size:14px!important}
.sheet-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:8px;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden;background:#cbd5e1}.sheet-report-summary span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50px;padding:6px;background:#f8fafc;font-weight:950}.sheet-report-summary b{font-size:10px;color:#475569;margin-bottom:3px}
@media(max-width:640px){.sheet-report-panel{padding:10px}.sheet-report-filters{grid-template-columns:1fr}.sheet-report-table th,.sheet-report-table td{padding:5px 2px;font-size:12px}.sheet-report-number{font-size:13px!important}.sheet-report-summary span{font-size:11px}.sheet-report-head{align-items:stretch}.sheet-report-head>div{width:100%}}

/* Saved Sheet grouped history */
.sheet-snapshot-list{margin-top:18px}.sheet-snapshot-list h3{margin:0 0 9px;font-size:16px}.sheet-snapshot-detail{margin:7px 0;border:1px solid #cbd5e1;border-radius:9px;background:#fff;overflow:hidden}.sheet-snapshot-detail summary{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center;padding:9px 11px;cursor:pointer;background:#f8fafc;font-size:12px;font-weight:800}.sheet-snapshot-detail summary strong{font-size:13px;color:#0f172a}.sheet-snapshot-detail summary span{color:#475569}.sheet-snapshot-totals{display:flex;gap:12px;flex-wrap:wrap;padding:8px 10px;border-top:1px solid #e2e8f0;font-size:12px;font-weight:800}.sheet-snapshot-table{margin:0;border-radius:0;border-left:0;border-right:0;border-bottom:0}
@media(max-width:640px){.sheet-snapshot-detail summary{font-size:10px;gap:4px 8px;padding:8px}.sheet-snapshot-detail summary strong{font-size:11px}.sheet-snapshot-totals{font-size:10px}}

/* User self-service change password */
.user-menu-password{background:linear-gradient(145deg,#475569,#1e293b)!important;color:#fff!important}
.user-password-modal[hidden]{display:none!important}.user-password-modal{position:fixed;inset:0;z-index:120000;display:grid;place-items:center;padding:14px}.user-password-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.72)}.user-password-card{position:relative;width:min(430px,100%);background:#fff;color:#111827;border-radius:17px;padding:22px;box-shadow:0 28px 80px rgba(0,0,0,.45)}.user-password-card h2{margin:0 0 5px;font-size:24px}.user-password-card p{margin:0 0 17px;color:#64748b;font-size:13px;font-weight:700}.user-password-close{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;background:transparent;color:#64748b;font-size:28px}.user-password-card label{display:grid;gap:6px;margin:12px 0;font-weight:850}.user-password-card input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #94a3b8;border-radius:10px;font-size:16px}.user-password-error{margin:10px 0;padding:9px;border:1px solid #ef4444;border-radius:9px;background:#fee2e2;color:#b91c1c;font-size:13px;font-weight:900;text-align:center}.user-password-submit{width:100%;min-height:46px;margin-top:7px;border:0;border-radius:10px;background:#0f172a;color:#fff;font-size:15px;font-weight:950}.user-password-open{overflow:hidden}

/* Change Password menu label: black text */
.user-menu-password,.user-menu-password span{color:#000!important;text-shadow:none!important}

/* Dedicated Change Password page + hard black drawer label */
.v2-user-drawer .v2-user-nav .user-menu-btn.user-menu-password,
.v2-user-drawer .v2-user-nav .user-menu-btn.user-menu-password>span,
.user-side-menu .user-menu-links .user-menu-btn.user-menu-password,
.user-side-menu .user-menu-links .user-menu-btn.user-menu-password>span{color:#000!important;text-shadow:none!important;-webkit-text-fill-color:#000!important}
.change-password-page{min-height:100vh;background:#fff;color:#111827;padding:16px;max-width:760px;margin:0 auto}.change-password-head{position:relative;min-height:64px;display:flex;justify-content:flex-end;align-items:center}.change-password-head h1{position:absolute;left:50%;transform:translateX(-50%);margin:0;font-size:26px;font-weight:950;white-space:nowrap}.change-password-card{max-width:520px;margin:38px auto 0;background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:22px;box-shadow:0 12px 30px rgba(15,23,42,.10)}.change-password-card h2{margin:0 0 6px;font-size:24px;font-weight:950}.change-password-card p{margin:0 0 18px;color:#64748b;font-size:13px;font-weight:750}.change-password-card label{display:grid;gap:7px;margin:15px 0;font-size:14px;font-weight:900}.change-password-card input{width:100%;min-height:50px;border:1px solid #94a3b8;border-radius:11px;padding:10px 12px;background:#fff!important;color:#111827!important;font-size:18px;font-weight:800}.change-password-error{margin:12px 0;padding:10px;border:1px solid #ef4444;border-radius:9px;background:#fee2e2;color:#b91c1c;font-size:13px;font-weight:900;text-align:center}.change-password-submit{width:100%;min-height:50px;margin-top:8px;border:0;border-radius:11px;background:#0f172a;color:#fff;font-size:16px;font-weight:950}.change-password-submit:disabled{opacity:.6}
@media(max-width:640px){.change-password-page{padding:10px}.change-password-head h1{font-size:21px}.change-password-card{margin-top:22px;padding:17px;border-radius:14px}.change-password-card h2{font-size:21px}.change-password-card input{min-height:52px;font-size:18px}}

/* Stable first paint for mobile entry + password success feedback */
html.entry-booting body{visibility:hidden!important}
.change-password-error.is-success{border-color:#16a34a!important;background:#dcfce7!important;color:#166534!important}

/* Change Password menu button accent color */
.v2-user-drawer .v2-user-nav .user-menu-btn.user-menu-password,
.user-side-menu .user-menu-links .user-menu-btn.user-menu-password{
  background:linear-gradient(145deg,#f59e0b,#d97706)!important;
  color:#000!important;
}
.v2-user-drawer .v2-user-nav .user-menu-btn.user-menu-password>span,
.user-side-menu .user-menu-links .user-menu-btn.user-menu-password>span{
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  text-shadow:none!important;
}

/* Hierarchy dashboard: Super Master / Master / Distributor */
.hierarchy-dashboard-top{display:flex;align-items:center;gap:12px;margin:2px 0 14px}.hierarchy-menu-toggle{width:44px;height:44px;padding:9px!important;border-radius:11px!important;background:#0f172a!important;display:flex;flex-direction:column;justify-content:center;gap:5px}.hierarchy-menu-toggle span{height:3px;border-radius:5px;background:#fff;width:100%}.hierarchy-dashboard-title{display:flex;flex-direction:column;line-height:1.1}.hierarchy-dashboard-title strong{font-size:23px;font-weight:950}.hierarchy-dashboard-title span{margin-top:4px;color:#64748b;font-size:13px;font-weight:850}
.hierarchy-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.hierarchy-stat-card{min-height:92px;border-radius:16px;padding:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;box-shadow:0 7px 0 rgba(15,23,42,.18),0 12px 24px rgba(15,23,42,.13);border:1px solid rgba(255,255,255,.25);text-align:center}.hierarchy-stat-card span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.3px}.hierarchy-stat-card b{font-size:25px;margin-top:5px;font-weight:950}.hierarchy-stat-card.credit{background:linear-gradient(145deg,#2563eb,#1d4ed8)}.hierarchy-stat-card.balance{background:linear-gradient(145deg,#0ea5e9,#0284c7)}.hierarchy-stat-card.upline{background:linear-gradient(145deg,#f59e0b,#d97706)}.hierarchy-stat-card.users{background:linear-gradient(145deg,#8b5cf6,#7c3aed)}.hierarchy-stat-card.online{background:linear-gradient(145deg,#22c55e,#15803d)}
.hierarchy-role-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:7px;margin-bottom:12px}.hierarchy-role-card{display:flex;justify-content:space-between;align-items:center;padding:8px 11px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 2px 5px rgba(15,23,42,.06)}.hierarchy-role-card span{font-size:11px;font-weight:850;color:#64748b}.hierarchy-role-card b{font-size:18px;color:#111827}
.dashboard-name-cell{display:inline-flex;align-items:center;gap:7px;font-weight:800}.online-presence-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:#cbd5e1;border:1px solid #94a3b8;box-shadow:0 0 0 2px #fff}.online-presence-dot.is-online{background:#22c55e;border-color:#15803d;box-shadow:0 0 0 2px #dcfce7,0 0 8px rgba(34,197,94,.75)}
.hierarchy-menu-overlay{position:fixed;inset:0;z-index:6998;background:rgba(2,6,23,.48)}.hierarchy-side-menu{position:fixed;left:0;top:0;bottom:0;width:min(82vw,330px);z-index:6999;background:#fff;transform:translateX(-105%);transition:transform .2s ease;padding:24px 18px;box-shadow:18px 0 45px rgba(15,23,42,.28);overflow:auto}.hierarchy-side-menu.is-open{transform:translateX(0)}.hierarchy-menu-close{position:absolute;right:12px;top:10px;background:transparent!important;color:#111827!important;font-size:28px!important;padding:4px 8px!important}.hierarchy-menu-head{display:flex;flex-direction:column;align-items:center;padding:18px 0 20px;border-bottom:1px solid #e2e8f0}.hierarchy-menu-logo{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#0f172a;color:#facc15;font-size:28px;font-weight:950;margin-bottom:9px}.hierarchy-menu-head strong{font-size:18px}.hierarchy-menu-head span,.hierarchy-menu-head small{color:#64748b;font-weight:800;margin-top:3px}.hierarchy-side-menu nav{display:grid;gap:9px;padding-top:18px}.hierarchy-side-menu nav a,.hierarchy-side-menu nav button{display:flex;justify-content:center;align-items:center;min-height:48px;border-radius:12px;text-decoration:none;font-weight:900;color:#fff;background:linear-gradient(145deg,#2563eb,#1d4ed8);box-shadow:0 4px 0 rgba(15,23,42,.15)}.hierarchy-side-menu nav a:nth-child(2){background:linear-gradient(145deg,#16a34a,#059669)}.hierarchy-side-menu nav button:last-child{background:linear-gradient(145deg,#f43f5e,#e11d48)}.hierarchy-menu-open{overflow:hidden}
@media(max-width:720px){.hierarchy-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hierarchy-stat-card{min-height:78px;padding:9px}.hierarchy-stat-card:last-child{grid-column:span 2}.hierarchy-stat-card b{font-size:22px}.hierarchy-dashboard-title strong{font-size:19px}.hierarchy-dashboard-title span{font-size:11px}.dashboard-table-wrap table{min-width:620px}.online-presence-dot{width:9px;height:9px}}

/* GLOBAL LOCKED UPLINE SIGN COLOUR RULE — all V2 roles/screens
   Positive = green, Negative = red, Zero = neutral. */
.upline-pos,.upline-positive,
.upline-display.upline-pos,.upline-display.upline-positive,
.upline-display.upline-pos span,.upline-display.upline-positive span,
.upline-display.upline-pos b,.upline-display.upline-positive b{color:#15803d!important;font-weight:900!important}
.upline-neg,.upline-negative,
.upline-display.upline-neg,.upline-display.upline-negative,
.upline-display.upline-neg span,.upline-display.upline-negative span,
.upline-display.upline-neg b,.upline-display.upline-negative b{color:#dc2626!important;font-weight:900!important}
.upline-zero,.upline-display.upline-zero,.upline-display.upline-zero span,.upline-display.upline-zero b{color:#475569!important;font-weight:800!important}
.hierarchy-stat-card.upline.upline-pos span,.hierarchy-stat-card.upline.upline-pos b{color:#15803d!important;text-shadow:0 1px 0 rgba(255,255,255,.45)}
.hierarchy-stat-card.upline.upline-neg span,.hierarchy-stat-card.upline.upline-neg b{color:#dc2626!important;text-shadow:0 1px 0 rgba(255,255,255,.45)}
.hierarchy-stat-card.upline.upline-zero span,.hierarchy-stat-card.upline.upline-zero b{color:#475569!important;text-shadow:0 1px 0 rgba(255,255,255,.45)}

/* Hierarchy global rule: neutral Upline card so both green/red are high contrast */
.hierarchy-stat-card.upline{
  background:linear-gradient(145deg,#ffffff,#e2e8f0)!important;
  border:1px solid #cbd5e1!important;
  box-shadow:0 7px 0 #cbd5e1,0 12px 24px rgba(15,23,42,.12)!important;
}
.hierarchy-stat-card.upline.upline-pos span,.hierarchy-stat-card.upline.upline-pos b{
  color:#15803d!important;
  text-shadow:none!important;
}
.hierarchy-stat-card.upline.upline-neg span,.hierarchy-stat-card.upline.upline-neg b{
  color:#dc2626!important;
  text-shadow:none!important;
}
.hierarchy-stat-card.upline.upline-zero span,.hierarchy-stat-card.upline.upline-zero b{
  color:#475569!important;
  text-shadow:none!important;
}

/* Hierarchy Balance card -> Upline payment details */
.hierarchy-stat-card.balance.is-clickable{cursor:pointer;position:relative;transition:transform .12s ease,filter .12s ease}.hierarchy-stat-card.balance.is-clickable:active{transform:translateY(4px);box-shadow:0 3px 0 rgba(15,23,42,.18),0 7px 14px rgba(15,23,42,.12)}.hierarchy-stat-card.balance.is-clickable small{font-size:9px;font-weight:800;opacity:.85;margin-top:3px}.hierarchy-payment-page{max-width:1100px;margin:0 auto;padding:16px}.hierarchy-payment-identity{display:flex;gap:8px 14px;align-items:baseline;flex-wrap:wrap;padding:10px 13px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc}.hierarchy-payment-identity span{font-size:18px;font-weight:950}.hierarchy-payment-identity b{font-size:13px}.hierarchy-payment-identity small{color:#64748b;font-weight:800}
@media(max-width:640px){.hierarchy-payment-page{padding:10px}.hierarchy-stat-card.balance.is-clickable small{font-size:8px}}

/* Hierarchy compact Online Users + Reports + 3D role-count buttons */
.hierarchy-stat-card.reports{background:linear-gradient(145deg,#ec4899,#c026d3);text-decoration:none;cursor:pointer}.hierarchy-stat-card.reports b{font-size:28px;line-height:1}.hierarchy-report-card:active{transform:translateY(4px)}
.hierarchy-role-card.hierarchy-role-button{width:100%;border:1px solid rgba(255,255,255,.28)!important;background:linear-gradient(145deg,#64748b,#475569)!important;color:#fff!important;min-height:58px!important;box-shadow:0 5px 0 #334155,0 9px 18px rgba(15,23,42,.13)!important;padding:8px 12px!important}.hierarchy-role-card.hierarchy-role-button span{color:#fff!important;font-size:12px;font-weight:900}.hierarchy-role-card.hierarchy-role-button b{color:#fff!important;font-size:21px}.hierarchy-role-card.hierarchy-role-button:active{transform:translateY(3px);box-shadow:0 2px 0 #334155!important}
.hierarchy-reports-page{padding:8px}.hierarchy-report-placeholder{margin-top:18px;padding:26px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;text-align:center}.hierarchy-report-placeholder strong{display:block;font-size:24px}.hierarchy-report-placeholder span{display:block;margin-top:5px;font-weight:850}.hierarchy-report-placeholder p{color:#64748b}
@media(max-width:720px){.hierarchy-stat-card:last-child{grid-column:auto!important}.hierarchy-stat-card.online,.hierarchy-stat-card.reports{min-height:72px}.hierarchy-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hierarchy-role-card.hierarchy-role-button{min-height:54px!important}}

/* Hierarchy dashboard compact layout: minimum 3 cards per row on mobile */
.hierarchy-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
.hierarchy-stat-card{min-height:68px!important;padding:7px 5px!important;border-radius:12px!important;box-shadow:0 4px 0 rgba(15,23,42,.16),0 7px 14px rgba(15,23,42,.10)!important}
.hierarchy-stat-card span{font-size:9.5px!important;line-height:1.05!important;letter-spacing:0!important}
.hierarchy-stat-card b{font-size:19px!important;margin-top:3px!important;line-height:1.05!important}
.hierarchy-stat-card.balance.is-clickable small{font-size:7px!important;margin-top:2px!important;line-height:1!important}
.hierarchy-stat-card.reports b{font-size:21px!important}
.hierarchy-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
.hierarchy-role-card.hierarchy-role-button{min-height:48px!important;padding:6px 7px!important;border-radius:10px!important}
.hierarchy-role-card.hierarchy-role-button span{font-size:9.5px!important}.hierarchy-role-card.hierarchy-role-button b{font-size:17px!important}
@media(max-width:720px){
 .hierarchy-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
 .hierarchy-stat-card{min-height:64px!important;padding:6px 3px!important}
 .hierarchy-stat-card span{font-size:8.5px!important}
 .hierarchy-stat-card b{font-size:17px!important}
 .hierarchy-stat-card.balance.is-clickable small{font-size:6.5px!important}
 .hierarchy-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
 .hierarchy-role-card.hierarchy-role-button{min-height:45px!important;padding:5px!important}
}
@media(max-width:360px){
 .hierarchy-stat-card span{font-size:7.8px!important}
 .hierarchy-stat-card b{font-size:15.5px!important}
}

/* Hierarchy user search + dashboard-style drawer actions */
.hierarchy-list-actions{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.hierarchy-user-search{flex:1 1 170px;min-width:150px;max-width:260px;height:42px;border:1px solid #94a3b8;border-radius:10px;padding:8px 11px;background:#fff;color:#111827;font-size:14px;font-weight:750;outline:none}
.hierarchy-user-search:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.hierarchy-drawer-actions{display:grid!important;gap:10px!important;padding-top:18px!important}
.hierarchy-side-menu .hierarchy-drawer-btn{min-height:52px!important;border-radius:13px!important;color:#fff!important;text-decoration:none!important;font-weight:950!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 5px 0 rgba(15,23,42,.16),0 9px 18px rgba(15,23,42,.12)!important;border:1px solid rgba(255,255,255,.2)!important}
.hierarchy-side-menu .hierarchy-drawer-btn.reports{background:linear-gradient(145deg,#ec4899,#c026d3)!important}
.hierarchy-side-menu .hierarchy-drawer-btn.balance{background:linear-gradient(145deg,#0ea5e9,#0284c7)!important}
.hierarchy-side-menu .hierarchy-drawer-btn.return{background:linear-gradient(145deg,#4f46e5,#3730a3)!important}
.hierarchy-side-menu .hierarchy-drawer-btn.logout{background:linear-gradient(145deg,#f43f5e,#e11d48)!important}
.hierarchy-side-menu .hierarchy-drawer-btn:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(15,23,42,.18)!important}
@media(max-width:640px){.hierarchy-list-actions{display:grid!important;grid-template-columns:auto auto minmax(0,1fr)!important}.hierarchy-user-search{width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;font-size:13px!important}.hierarchy-list-actions .btn,.hierarchy-list-actions button{white-space:nowrap!important;padding-left:10px!important;padding-right:10px!important}}

/* Hierarchy drawer: return first + balance/upline summary like User panel */
.hierarchy-drawer-wallet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:1px 0 3px}
.hierarchy-drawer-wallet-item{min-height:74px;border-radius:13px;padding:9px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid #dbe3ef;background:#f8fafc;box-shadow:0 4px 0 #dbe3ef,0 8px 16px rgba(15,23,42,.09)}
.hierarchy-drawer-wallet-item span{font-size:10px;font-weight:950;letter-spacing:.2px;color:#475569}
.hierarchy-drawer-wallet-item b{font-size:20px;font-weight:950;margin-top:4px;color:#111827}
.hierarchy-drawer-wallet-item.balance{background:linear-gradient(145deg,#e0f2fe,#bae6fd)}
.hierarchy-drawer-wallet-item.upline{background:linear-gradient(145deg,#fff,#e2e8f0)}
.hierarchy-drawer-wallet-item.upline.upline-pos span,.hierarchy-drawer-wallet-item.upline.upline-pos b,.hierarchy-drawer-wallet-item.upline.upline-positive span,.hierarchy-drawer-wallet-item.upline.upline-positive b{color:#15803d!important}
.hierarchy-drawer-wallet-item.upline.upline-neg span,.hierarchy-drawer-wallet-item.upline.upline-neg b,.hierarchy-drawer-wallet-item.upline.upline-negative span,.hierarchy-drawer-wallet-item.upline.upline-negative b{color:#dc2626!important}
.hierarchy-drawer-wallet-item.upline.upline-zero span,.hierarchy-drawer-wallet-item.upline.upline-zero b{color:#475569!important}

/* Hierarchy Total Sale reports — reuse finalized User Total Sale table language */
.hierarchy-reports-page{max-width:1120px;margin:0 auto;padding:12px}.hierarchy-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.hierarchy-report-filters label{display:grid;gap:6px;font-weight:900;color:#334155}.hierarchy-report-filters input,.hierarchy-report-filters select{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:8px 10px;font:inherit;color:#111827}.hierarchy-report-status{min-height:32px;padding:6px 2px;color:#64748b;font-weight:850}.hierarchy-sale-head{margin-top:6px}.dealer-sale-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 14px;padding:12px 14px;border-radius:12px;background:linear-gradient(145deg,#fdf2f8,#fce7f3);border:1px solid #f9a8d4}.dealer-sale-heading strong{font-size:20px}.dealer-sale-heading span{font-weight:900;color:#9d174d}.hierarchy-user-report-block{margin:16px 0 28px;padding:12px;border:1px solid #dbe3ef;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.07)}.hierarchy-user-report-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin-bottom:12px;padding:10px 12px;border-radius:10px;background:#e0f2fe}.hierarchy-user-report-title strong{font-size:19px;font-weight:950}.hierarchy-user-report-title span{font-size:13px;font-weight:900;color:#0369a1}.hierarchy-user-report-title small{margin-left:auto;color:#475569;font-weight:800}.hierarchy-report-empty{padding:24px;text-align:center;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;font-weight:900}
@media(max-width:640px){.hierarchy-reports-page{padding:8px}.hierarchy-report-filters{grid-template-columns:1fr;gap:8px}.hierarchy-user-report-block{padding:7px;margin:12px 0 20px}.hierarchy-user-report-title small{width:100%;margin-left:0;font-size:10px}.dealer-sale-heading strong{font-size:17px}}

/* Global hierarchy sub-panel identity strip: Name + Username always visible */
.hierarchy-panel-identity{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;margin:8px 0 12px;padding:8px 11px;border:1px solid #dbe3ef;border-radius:10px;background:#f8fafc}
.hierarchy-panel-identity span{font-size:16px;font-weight:950;color:#111827}.hierarchy-panel-identity b{font-size:12px;font-weight:900;color:#2563eb}.hierarchy-panel-identity small{font-size:10px;font-weight:850;color:#64748b;text-transform:capitalize}
@media(max-width:640px){.hierarchy-panel-identity{padding:7px 9px;margin:6px 0 10px}.hierarchy-panel-identity span{font-size:14px}.hierarchy-panel-identity b{font-size:11px}}

/* Hierarchy Total Sale PDF buttons */
.hierarchy-report-title-line{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.hierarchy-pdf-btn{min-width:54px!important;height:30px!important;padding:0 10px!important;border:0!important;border-radius:8px!important;background:linear-gradient(145deg,#22c55e,#15803d)!important;color:#fff!important;font-size:11px!important;font-weight:950!important;box-shadow:0 3px 0 #166534,0 6px 12px rgba(21,128,61,.18)!important;line-height:1!important}
.hierarchy-pdf-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #166534!important}.hierarchy-pdf-btn:disabled{opacity:.55!important}
.hierarchy-user-report-title .hierarchy-pdf-btn{margin-left:auto}.hierarchy-user-report-title small{flex-basis:100%;margin-left:0!important}
@media(max-width:640px){.hierarchy-pdf-btn{min-width:48px!important;height:28px!important;padding:0 8px!important;font-size:10px!important}.hierarchy-user-report-title{align-items:center!important}}

/* All Dealer Sale -> download every user's individual PDF */
.dealer-sale-heading-actions{display:flex;align-items:center;gap:9px}.hierarchy-all-user-pdf{min-width:92px!important;padding:0 9px!important;white-space:nowrap!important}
@media(max-width:640px){.dealer-sale-heading{gap:8px!important}.dealer-sale-heading-actions{gap:6px}.hierarchy-all-user-pdf{min-width:80px!important;font-size:9px!important;padding:0 6px!important}}

/* All Dealer Sale: bulk individual user PDF downloads */
.dealer-sale-heading-actions{display:flex;align-items:center;gap:9px}.hierarchy-all-user-pdf{min-width:94px!important;padding:0 9px!important;white-space:nowrap!important}
@media(max-width:640px){.dealer-sale-heading{gap:8px!important}.dealer-sale-heading-actions{gap:6px}.hierarchy-all-user-pdf{min-width:82px!important;font-size:9px!important;padding:0 6px!important}}

/* LOCKED hierarchy role text colours: Username + Name + Role */
.dashboard-table-wrap .hierarchy-role-user{color:#1d4ed8!important;font-weight:900!important}
.dashboard-table-wrap .hierarchy-role-distributor{color:#7c3aed!important;font-weight:900!important}
.dashboard-table-wrap .hierarchy-role-master{color:#b45309!important;font-weight:900!important}
.dashboard-table-wrap .hierarchy-role-super-master{color:#be123c!important;font-weight:900!important}
.dashboard-table-wrap .hierarchy-role-admin{color:#0f766e!important;font-weight:900!important}
.dashboard-table-wrap .hierarchy-role-label{font-weight:900!important}
/* Inactive account remains red regardless of role colour. */
.dashboard-table-wrap .username-cell.inactive-username{color:#dc2626!important}
.dashboard-table-wrap .username-cell.inactive-username .row-menu-trigger{color:#dc2626!important}

/* Higher-contrast hierarchy role colours for mobile readability */
.dashboard-table-wrap .hierarchy-role-user{color:#0b63ce!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-distributor{color:#c2185b!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-master{color:#b45309!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-super-master{color:#6d28d9!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-admin{color:#0f766e!important;font-weight:950!important}

/* Final high-separation hierarchy role colours */
.dashboard-table-wrap .hierarchy-role-user{color:#15803d!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-distributor{color:#1d4ed8!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-master{color:#7c3aed!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-super-master{color:#be123c!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-admin{color:#0f766e!important;font-weight:950!important}

/* Hierarchy account status filters: Active default / Inactive / All */
.hierarchy-account-filters{display:flex;align-items:center;gap:6px;margin:7px 0 10px;flex-wrap:nowrap}
.hierarchy-filter-btn{min-height:32px!important;padding:5px 10px!important;border-radius:9px!important;border:1px solid #cbd5e1!important;background:#f8fafc!important;color:#475569!important;font-size:10px!important;font-weight:900!important;box-shadow:0 2px 0 #cbd5e1!important;white-space:nowrap!important}
.hierarchy-filter-btn.active-filter.is-selected{background:#16a34a!important;color:#fff!important;border-color:#15803d!important;box-shadow:0 3px 0 #166534!important}
.hierarchy-filter-btn.inactive-filter.is-selected{background:#dc2626!important;color:#fff!important;border-color:#b91c1c!important;box-shadow:0 3px 0 #991b1b!important}
.hierarchy-filter-btn.all-filter.is-selected{background:#2563eb!important;color:#fff!important;border-color:#1d4ed8!important;box-shadow:0 3px 0 #1e40af!important}
/* Deactivated account: entire identity is red, overriding role colours. */
.dashboard-table-wrap tr.hierarchy-account-inactive .username-cell,
.dashboard-table-wrap tr.hierarchy-account-inactive .dashboard-name-cell,
.dashboard-table-wrap tr.hierarchy-account-inactive .hierarchy-role-label{color:#dc2626!important;font-weight:950!important}
.dashboard-table-wrap tr.hierarchy-account-inactive .online-presence-dot{background:#fecaca!important;border-color:#dc2626!important;box-shadow:0 0 0 2px #fff!important}
@media(max-width:420px){.hierarchy-account-filters{gap:4px}.hierarchy-filter-btn{flex:1 1 0;min-width:0!important;padding:5px 4px!important;font-size:9px!important}}

/* Final hierarchy readability: User green, Distributor blue, Master neutral dark */
.dashboard-table-wrap .hierarchy-role-user{color:#15803d!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-distributor{color:#1d4ed8!important;font-weight:950!important}
.dashboard-table-wrap .hierarchy-role-master{color:#1f2937!important;font-weight:950!important}

/* Role count cards are also hierarchy filters. USER is the default all-role reset. */
.hierarchy-role-card.hierarchy-role-button[data-role-card="USER"]{background:linear-gradient(145deg,#22c55e,#15803d)!important;box-shadow:0 5px 0 #166534,0 9px 18px rgba(21,128,61,.16)!important}
.hierarchy-role-card.hierarchy-role-button[data-role-card="DISTRIBUTOR"]{background:linear-gradient(145deg,#3b82f6,#1d4ed8)!important;box-shadow:0 5px 0 #1e40af,0 9px 18px rgba(29,78,216,.16)!important}
.hierarchy-role-card.hierarchy-role-button[data-role-card="MASTER"]{background:linear-gradient(145deg,#374151,#1f2937)!important;box-shadow:0 5px 0 #111827,0 9px 18px rgba(31,41,55,.18)!important}
.hierarchy-role-card.hierarchy-role-button[data-role-card="SUPER_MASTER"]{background:linear-gradient(145deg,#e11d48,#be123c)!important;box-shadow:0 5px 0 #9f1239,0 9px 18px rgba(190,18,60,.17)!important}
.hierarchy-role-card.hierarchy-role-button[data-role-card="ADMIN"]{background:linear-gradient(145deg,#14b8a6,#0f766e)!important;box-shadow:0 5px 0 #115e59,0 9px 18px rgba(15,118,110,.17)!important}
.hierarchy-role-card.hierarchy-role-button.is-selected{outline:3px solid #facc15!important;outline-offset:2px!important;transform:translateY(-1px)}
.hierarchy-role-card.hierarchy-role-button.is-selected span,.hierarchy-role-card.hierarchy-role-button.is-selected b{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.25)!important}

/* Hierarchy report purchase-data search */
.hierarchy-data-search-wrap{margin:4px 0 10px}.hierarchy-data-search-wrap label{display:grid;gap:6px;font-weight:900;color:#334155}.hierarchy-data-search-wrap input{width:100%;min-height:43px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:8px 11px;font:inherit;color:#111827;outline:none}.hierarchy-data-search-wrap input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.11)}
.hierarchy-search-results{margin:8px 0 14px}.hierarchy-search-head{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;border:1px solid #bfdbfe;border-radius:10px 10px 0 0;background:#eff6ff}.hierarchy-search-head strong{font-size:15px}.hierarchy-search-head span{font-size:11px;font-weight:900;color:#1d4ed8}.hierarchy-search-table-wrap{overflow-x:auto;border:1px solid #dbe3ef;border-top:0;border-radius:0 0 10px 10px;background:#fff}.hierarchy-search-table{width:100%;min-width:900px;border-collapse:collapse;font-size:12px}.hierarchy-search-table th,.hierarchy-search-table td{padding:8px 9px;border-bottom:1px solid #e5e7eb;text-align:left;white-space:nowrap}.hierarchy-search-table th{background:#f8fafc;font-weight:950;color:#334155}.hierarchy-search-table td{font-weight:750;color:#111827}.hierarchy-search-table .search-number-cell{font-size:14px;font-weight:950;color:#0f172a}.hierarchy-search-table .search-path-cell{white-space:normal;min-width:280px;line-height:1.35;color:#475569}
@media(max-width:640px){.hierarchy-search-table{font-size:11px;min-width:820px}.hierarchy-search-table th,.hierarchy-search-table td{padding:7px 8px}.hierarchy-data-search-wrap input{min-height:40px}}

/* All Sale top summary: show final grand total without scrolling */
.hierarchy-grand-total-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding:8px 10px;border-radius:9px;background:#ecfdf5;border:1px solid #86efac}.hierarchy-grand-total-summary span{font-size:12px;font-weight:900;color:#166534}.hierarchy-grand-total-summary b{font-size:18px;font-weight:950;color:#14532d;letter-spacing:.2px}
@media(max-width:640px){.hierarchy-grand-total-summary{padding:7px 9px}.hierarchy-grand-total-summary b{font-size:17px}}

/* Per selected/direct account summary grand total */
.hierarchy-user-grand-total{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-basis:100%;margin-top:7px;padding:7px 9px;border-radius:8px;background:#ecfdf5;border:1px solid #86efac}.hierarchy-user-grand-total span{font-size:11px;font-weight:900;color:#166534}.hierarchy-user-grand-total b{font-size:16px;font-weight:950;color:#14532d}.hierarchy-user-report-title .hierarchy-user-grand-total{margin-left:0!important}
@media(max-width:640px){.hierarchy-user-grand-total{padding:6px 8px}.hierarchy-user-grand-total b{font-size:15px}}

/* Account Edit: 3D General Info / Prize Setting tabs */
.account-edit-tabs{display:flex;align-items:center;gap:10px;margin:0 0 16px;flex-wrap:wrap}.account-edit-tab{min-height:42px;padding:9px 16px;border:0;border-radius:10px;font-size:13px;font-weight:950;color:#fff;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.account-edit-tab.general-tab{background:linear-gradient(145deg,#3b82f6,#1d4ed8);box-shadow:0 5px 0 #1e40af,0 9px 16px rgba(29,78,216,.18)}.account-edit-tab.prize-tab{background:linear-gradient(145deg,#f59e0b,#d97706);box-shadow:0 5px 0 #b45309,0 9px 16px rgba(217,119,6,.18)}.account-edit-tab.is-selected{outline:3px solid #fde047;outline-offset:2px;transform:translateY(-1px)}.account-edit-tab:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.35)!important}.account-prize-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-prize-grid .field label{font-weight:900}.account-prize-grid .field input{font-size:18px;font-weight:850}.account-tab-panel[hidden]{display:none!important}
@media(max-width:640px){.account-edit-tabs{gap:8px}.account-edit-tab{flex:1 1 0;min-width:0;padding:8px 7px;font-size:12px}.account-prize-grid{grid-template-columns:1fr}}

/* USER Total Sale & Bill: Bill Summary card */
.user-bill-sheet{margin:0 0 18px;border:1px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.08)}
.user-bill-title{min-height:54px;display:flex;align-items:center;justify-content:center;position:relative;padding:10px 74px;background:linear-gradient(145deg,#7891ad,#64748b);color:#fff}.user-bill-title strong{font-size:21px;font-weight:950;letter-spacing:.2px}.user-bill-pdf-btn{position:absolute;right:11px;top:10px;min-width:54px;height:34px;border:0;border-radius:9px;background:linear-gradient(145deg,#22c55e,#16a34a);color:#fff;font-size:11px;font-weight:950;box-shadow:0 4px 0 #15803d,0 7px 13px rgba(22,163,74,.2)}
.user-bill-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:9px 12px;border-bottom:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:11px;font-weight:850}
.user-bill-rows{display:grid}.user-bill-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,32%);min-height:72px;border-bottom:1px solid #e2e8f0}.user-bill-row:last-child{border-bottom:0}.user-bill-row>div{padding:12px 14px;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;justify-content:center}.user-bill-row>div b{font-size:15px;font-weight:950;color:#111827}.user-bill-row>div small{margin-top:5px;font-size:11px;color:#6b7280;line-height:1.3}.user-bill-row>strong{display:flex;align-items:center;justify-content:center;padding:10px;font-size:18px;font-weight:950;color:#111827;text-align:center}.user-bill-row.highlight{background:#e0edf9}.user-bill-row.placeholder>div small{font-style:italic}.user-bill-row.final{background:linear-gradient(145deg,#ef3340,#dc2626)}.user-bill-row.final>div{border-right-color:#fecaca}.user-bill-row.final>div b,.user-bill-row.final>strong{color:#fff}.user-bill-row.final>div small{color:#fee2e2}.user-bill-row.final>strong{font-size:21px}
@media(max-width:640px){.user-bill-title{min-height:48px;padding:8px 68px}.user-bill-title strong{font-size:18px}.user-bill-pdf-btn{right:9px;top:8px;height:32px;min-width:50px}.user-bill-meta{font-size:10px}.user-bill-row{min-height:64px;grid-template-columns:minmax(0,1fr) minmax(92px,31%)}.user-bill-row>div{padding:10px 11px}.user-bill-row>div b{font-size:13px}.user-bill-row>div small{font-size:10px}.user-bill-row>strong{font-size:16px;padding:7px}.user-bill-row.final>strong{font-size:18px}}

/* Bill Sheet visual polish + dynamic Net Bill state */
.user-bill-sheet{border:2px solid #cbd5e1!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(15,23,42,.13),0 2px 5px rgba(15,23,42,.08)!important}
.user-bill-title{background:linear-gradient(145deg,#829ab6,#5f7896)!important;border-bottom:2px solid #526b88!important}.user-bill-title strong{font-weight:1000!important;text-shadow:0 1px 2px rgba(0,0,0,.18)!important}
.user-bill-meta{font-weight:950!important;color:#334155!important;border-bottom:2px solid #e2e8f0!important}
.user-bill-row{border-bottom:1.5px solid #dbe3ec!important}.user-bill-row>div{border-right:1.5px solid #dbe3ec!important}.user-bill-row>div b{font-weight:1000!important;color:#0f172a!important;letter-spacing:.1px}.user-bill-row>div small{font-weight:800!important;color:#64748b!important}.user-bill-row>strong{font-weight:1000!important;color:#0f172a!important;letter-spacing:.2px}
.user-bill-row.highlight{background:linear-gradient(90deg,#e8f2fb,#dbeafe)!important;border-top:1px solid #bfdbfe!important;border-bottom:1px solid #bfdbfe!important}.user-bill-row.highlight>div b,.user-bill-row.highlight>strong{color:#1e3a5f!important}
.user-bill-row.placeholder{background:#fafafa!important}.user-bill-row.placeholder>div b{color:#475569!important}
.user-bill-row.final{border-top:3px solid rgba(255,255,255,.45)!important;border-bottom:0!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.15)!important}.user-bill-row.final>div{border-right-color:rgba(255,255,255,.55)!important}.user-bill-row.final>div b,.user-bill-row.final>strong{color:#fff!important;font-weight:1000!important}.user-bill-row.final>div small{color:#f8fafc!important;font-weight:900!important}.user-bill-row.final.positive{background:linear-gradient(145deg,#22c55e,#15803d)!important}.user-bill-row.final.negative{background:linear-gradient(145deg,#ef4444,#b91c1c)!important}.user-bill-row.final.zero{background:linear-gradient(145deg,#64748b,#334155)!important}.user-bill-row.final>strong{font-size:22px!important;text-shadow:0 1px 2px rgba(0,0,0,.2)!important}
@media(max-width:640px){.user-bill-sheet{border-radius:13px!important}.user-bill-row>div b{font-size:14px!important}.user-bill-row>div small{font-size:10.5px!important}.user-bill-row>strong{font-size:17px!important}.user-bill-row.final>strong{font-size:19px!important}}

/* Sheet reports: compact 3-line Bill Summary (no commission/share) */
.sheet-bill-sheet{margin:0 0 16px;border:2px solid #cbd5e1;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 9px 24px rgba(15,23,42,.11)}.sheet-bill-title{min-height:48px;display:flex;align-items:center;justify-content:center;position:relative;padding:8px 66px;background:linear-gradient(145deg,#829ab6,#5f7896);color:#fff;border-bottom:2px solid #526b88}.sheet-bill-title strong{font-size:18px;font-weight:1000;text-shadow:0 1px 2px rgba(0,0,0,.18)}.sheet-bill-pdf-btn{position:absolute;right:9px;top:7px;min-width:50px;height:32px;border:0;border-radius:8px;background:linear-gradient(145deg,#22c55e,#16a34a);color:#fff;font-size:10px;font-weight:1000;box-shadow:0 4px 0 #15803d,0 7px 12px rgba(22,163,74,.2)}.sheet-bill-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(95px,31%);min-height:62px;border-bottom:1.5px solid #dbe3ec}.sheet-bill-row:last-child{border-bottom:0}.sheet-bill-row>div{display:flex;flex-direction:column;justify-content:center;padding:9px 12px;border-right:1.5px solid #dbe3ec}.sheet-bill-row>div b{font-size:14px;font-weight:1000;color:#0f172a}.sheet-bill-row>div small{margin-top:4px;font-size:10px;font-weight:800;color:#64748b}.sheet-bill-row>strong{display:flex;align-items:center;justify-content:center;padding:8px;font-size:17px;font-weight:1000;color:#0f172a}.sheet-bill-row.sale{background:linear-gradient(90deg,#e8f2fb,#dbeafe)}.sheet-bill-row.prize{background:#fff}.sheet-bill-row.net{border-top:2px solid rgba(255,255,255,.45)}.sheet-bill-row.net>div{border-right-color:rgba(255,255,255,.55)}.sheet-bill-row.net>div b,.sheet-bill-row.net>div small,.sheet-bill-row.net>strong{color:#fff}.sheet-bill-row.net.positive{background:linear-gradient(145deg,#22c55e,#15803d)}.sheet-bill-row.net.negative{background:linear-gradient(145deg,#ef4444,#b91c1c)}.sheet-bill-row.net.zero{background:linear-gradient(145deg,#64748b,#334155)}.sheet-bill-row.net>strong{font-size:20px;text-shadow:0 1px 2px rgba(0,0,0,.2)}
.sheet-bill-sheet.compact{margin:10px 10px 12px;border-radius:11px;box-shadow:none;border-width:1.5px}.sheet-bill-sheet.compact .sheet-bill-title{min-height:34px;padding:5px 10px}.sheet-bill-sheet.compact .sheet-bill-title strong{font-size:13px}.sheet-bill-sheet.compact .sheet-bill-row{min-height:46px}.sheet-bill-sheet.compact .sheet-bill-row>div{padding:6px 9px}.sheet-bill-sheet.compact .sheet-bill-row>div b{font-size:11px}.sheet-bill-sheet.compact .sheet-bill-row>div small{font-size:9px}.sheet-bill-sheet.compact .sheet-bill-row>strong{font-size:13px}.sheet-bill-sheet.compact .sheet-bill-row.net>strong{font-size:15px}

/* All Sale sheet-name summary */
.sheet-all-summary{margin:0 0 16px;border:2px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.10)}.sheet-all-summary-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:linear-gradient(145deg,#829ab6,#64748b);color:#fff}.sheet-all-summary-title strong{font-size:17px;font-weight:1000}.sheet-all-summary-title span{font-size:10px;font-weight:900;background:rgba(255,255,255,.18);padding:5px 8px;border-radius:999px}.sheet-all-summary-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.sheet-all-summary-table{width:100%;min-width:520px;border-collapse:collapse;table-layout:fixed}.sheet-all-summary-table th{padding:10px 9px;background:#e2e8f0;color:#334155;font-size:11px;font-weight:1000;text-align:center;border-right:1px solid #cbd5e1}.sheet-all-summary-table th:first-child{width:38%;text-align:left}.sheet-all-summary-table td{padding:11px 9px;border-top:1px solid #e2e8f0;border-right:1px solid #e2e8f0;text-align:center;font-size:13px;font-weight:850;color:#111827}.sheet-all-summary-table td:first-child{text-align:left}.sheet-all-summary-table td b{display:block;font-size:13px;font-weight:1000}.sheet-all-summary-table td small{display:block;margin-top:3px;font-size:9px;font-weight:750;color:#64748b}.sheet-all-summary-table .summary-net{font-size:14px;font-weight:1000}.sheet-all-summary-table .summary-net.positive{color:#15803d}.sheet-all-summary-table .summary-net.negative{color:#dc2626}.sheet-all-summary-table .summary-net.zero{color:#475569}.sheet-all-summary-table .no-save-row{background:#fff7ed}.sheet-all-summary-table .no-save-row td:first-child b{color:#c2410c}.sheet-summary-total-row{background:#f1f5f9;border-top:2px solid #94a3b8}.sheet-summary-total-row td{font-weight:1000!important}.sheet-summary-total-row td:first-child b{font-size:14px}
@media(max-width:640px){.sheet-all-summary-title{padding:10px 11px}.sheet-all-summary-title strong{font-size:15px}.sheet-all-summary-table{min-width:470px}.sheet-all-summary-table th{font-size:10px;padding:8px 7px}.sheet-all-summary-table td{font-size:12px;padding:9px 7px}.sheet-all-summary-table td b{font-size:12px}}

/* Reports: read-only user Commission / Prize settings */
.user-rate-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 16px}.user-rate-card{border:1.5px solid #d7e0ea;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.08)}.user-rate-title{text-align:center;padding:7px 8px;font-size:12px;font-weight:1000;letter-spacing:.2px;color:#fff}.commission-card .user-rate-title{background:linear-gradient(145deg,#475569,#334155)}.prize-card .user-rate-title{background:linear-gradient(145deg,#f59e0b,#d97706)}.user-rate-grid{display:grid;grid-template-columns:1fr 1fr}.user-rate-grid span{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 8px;border-top:1px solid #e2e8f0;border-right:1px solid #e2e8f0;min-width:0}.user-rate-grid span:nth-child(2n){border-right:0}.user-rate-grid b{font-size:9.5px;font-weight:950;color:#64748b}.user-rate-grid strong{font-size:12.5px;font-weight:1000;color:#0f172a;white-space:nowrap}.commission-card .user-rate-grid strong{color:#1d4ed8}.prize-card .user-rate-grid strong{color:#b45309}
@media(max-width:430px){.user-rate-cards{gap:7px;margin-top:8px}.user-rate-title{font-size:11px;padding:6px}.user-rate-grid span{padding:6px 6px}.user-rate-grid b{font-size:8.5px}.user-rate-grid strong{font-size:11.5px}}

/* Distributor hierarchy Bill Sheets */
.hierarchy-bill-sheet{margin:12px 0 16px}.hierarchy-bill-sheet.compact{margin:10px 10px 14px;border-radius:12px;box-shadow:0 5px 15px rgba(15,23,42,.08)}.hierarchy-bill-sheet.compact .user-bill-title{min-height:38px;padding:6px 10px}.hierarchy-bill-sheet.compact .user-bill-title strong{font-size:14px}.hierarchy-bill-sheet.compact .user-bill-row{min-height:50px}.hierarchy-bill-sheet.compact .user-bill-row>div{padding:7px 9px}.hierarchy-bill-sheet.compact .user-bill-row>div b{font-size:11px}.hierarchy-bill-sheet.compact .user-bill-row>div small{font-size:9px}.hierarchy-bill-sheet.compact .user-bill-row>strong{font-size:13px}.hierarchy-bill-sheet.compact .user-bill-row.final>strong{font-size:16px}.hierarchy-bill-rates{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e2e8f0;border-top:1px solid #dbe3ec}.hierarchy-bill-rates span{background:#f8fafc;padding:6px 8px;text-align:center;font-size:9px;font-weight:850;color:#64748b}@media(max-width:540px){.hierarchy-bill-rates{grid-template-columns:1fr}.hierarchy-bill-sheet.compact{margin-left:4px;margin-right:4px}}

/* Distributor > All Dealer Sale consolidated bill summary */
.dealer-bill-summary{margin:12px 0 18px;border:2px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.10)}.dealer-bill-summary-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;background:linear-gradient(145deg,#829ab6,#64748b);color:#fff}.dealer-bill-summary-title strong{font-size:16px;font-weight:1000}.dealer-bill-summary-title span{font-size:10px;font-weight:950;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.18)}.dealer-bill-summary-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.dealer-bill-summary-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:auto}.dealer-bill-summary-table th{padding:10px 8px;background:#e2e8f0;color:#334155;font-size:10px;font-weight:1000;text-align:center;border-right:1px solid #cbd5e1;white-space:nowrap}.dealer-bill-summary-table td{padding:11px 8px;border-top:1px solid #e2e8f0;border-right:1px solid #e2e8f0;text-align:center;font-size:12px;font-weight:850;color:#111827}.dealer-bill-summary-table td:first-child,.dealer-bill-summary-table td:nth-child(2){text-align:left}.dealer-bill-summary-table td b{font-weight:1000}.dealer-bill-summary-table .dealer-summary-net{font-size:13px;font-weight:1000}.dealer-summary-net.positive{color:#15803d}.dealer-summary-net.negative{color:#dc2626}.dealer-summary-net.zero{color:#475569}.dealer-bill-summary-total{background:#f1f5f9;border-top:2px solid #94a3b8}.dealer-bill-summary-total td{font-weight:1000!important}.dealer-bill-summary-total td:first-child{text-align:left}.dealer-bill-summary-total small{display:block;margin-top:3px;font-size:9px;color:#64748b;font-weight:800}
@media(max-width:640px){.dealer-bill-summary-title{padding:9px 10px}.dealer-bill-summary-title strong{font-size:14px}.dealer-bill-summary-table{min-width:700px}.dealer-bill-summary-table th{font-size:9px;padding:8px 6px}.dealer-bill-summary-table td{font-size:11px;padding:9px 6px}}
.dealer-bill-summary-actions{display:flex;align-items:center;gap:8px}.dealer-summary-pdf-btn{height:31px;min-width:52px;border:0;border-radius:8px;background:linear-gradient(145deg,#22c55e,#15803d);color:#fff;font-size:10px;font-weight:1000;box-shadow:0 3px 0 #166534}.dealer-summary-pdf-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #166534}.dealer-bill-summary-table{min-width:880px}

/* Stronger readable + 3D hierarchy bill summaries */
.dealer-bill-summary{border:1px solid #71839a;box-shadow:0 4px 0 #53657b,0 10px 24px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.65)}
.dealer-bill-summary-title{border-bottom:2px solid #52677f;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(15,23,42,.10)}
.dealer-bill-summary-table th{font-weight:1000!important;color:#172033!important;letter-spacing:.1px}
.dealer-bill-summary-table td{font-weight:950!important;color:#172033}
.dealer-bill-summary-table td b{font-weight:1000!important}
.dealer-bill-summary-table .dealer-summary-net{font-weight:1000!important}
.dealer-bill-summary-total{box-shadow:inset 0 2px 0 #7d8fa5}
.dealer-bill-summary-total td{font-weight:1000!important}
.hierarchy-bill-sheet{border:1px solid #71839a!important;box-shadow:0 4px 0 #53657b,0 9px 20px rgba(15,23,42,.15)!important}
.hierarchy-bill-sheet .user-bill-row>div b,.hierarchy-bill-sheet .user-bill-row>strong{font-weight:1000!important}

/* Shared report settings cards: Commission + Prize + Share */
.user-rate-cards .share-card{grid-column:1/-1}.share-card .user-rate-title{background:linear-gradient(145deg,#7c3aed,#5b21b6)}.user-share-value{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:linear-gradient(180deg,#faf5ff,#fff)}.user-share-value b{font-size:10px;font-weight:950;color:#6b21a8}.user-share-value strong{font-size:15px;font-weight:1000;color:#5b21b6}.hierarchy-reports-page>.user-rate-cards{margin-top:10px;margin-bottom:14px}
@media(max-width:430px){.user-share-value{padding:7px 9px}.user-share-value strong{font-size:13px}}
.hierarchy-bill-sheet .user-bill-title{display:flex;align-items:center;justify-content:center;position:relative}.hierarchy-bill-pdf-btn{position:absolute;right:8px;top:6px;min-width:48px;height:30px;font-size:10px}.field label small{font-size:10px;font-weight:800;color:#64748b}
/* Admin dashboard simplification + active counters */
.admin-top-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 12px}.admin-action-3d{min-height:58px;border-radius:14px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;font-weight:1000;font-size:15px;border:1px solid rgba(0,0,0,.12);box-shadow:0 5px 0 rgba(15,23,42,.28),0 9px 18px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.28)}.admin-action-3d.draw{background:linear-gradient(145deg,#fb923c,#f97316)}.admin-action-3d.result{background:linear-gradient(145deg,#8b5cf6,#6d28d9)}.admin-action-3d:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(15,23,42,.28),0 5px 10px rgba(15,23,42,.12)}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-stat-grid .hierarchy-stat-card.users,.admin-stat-grid .hierarchy-report-card{min-height:92px}.admin-active-total{display:inline-flex!important;margin-top:5px;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.22);font-size:9px!important;font-weight:1000!important}.hierarchy-role-card{position:relative}.role-active-count{position:absolute;right:7px;bottom:6px;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.18);font-size:8px!important;font-weight:1000!important;line-height:1.25}.result-update-panel{margin-top:18px;padding:18px;border-radius:14px;border:1px solid #d7dee7;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.1)}.result-update-panel h2{margin:0 0 8px}.result-update-panel p{margin:0;color:#64748b}
/* Online badges sit above the main role totals */
.hierarchy-role-card .role-active-count{top:6px;right:7px;bottom:auto;z-index:2;padding:2px 6px;background:rgba(255,255,255,.22);font-size:7.5px!important;line-height:1.15;white-space:nowrap}.hierarchy-role-card>span{display:block;padding-top:11px;padding-right:48px}.hierarchy-role-card>b{display:block;margin-top:2px}.admin-stat-grid .hierarchy-stat-card.users{position:relative}.admin-active-total{position:absolute;top:7px;right:8px;margin:0!important;font-size:8px!important;white-space:nowrap}.admin-stat-grid .hierarchy-stat-card.users>span{padding-right:52px}
/* Result update: expired draw list + fixed draw identity */
.result-update-page{max-width:760px;margin:0 auto;padding:8px 0 28px}.result-page-head,.result-edit-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.result-page-head h2,.result-edit-title h3{margin:0}.expired-result-group{border:1px solid #d7dee7;border-radius:14px;background:#fff;overflow:hidden;margin:0 0 14px;box-shadow:0 4px 12px rgba(15,23,42,.08)}.expired-result-date{padding:10px 13px;background:#e9eef5;font-weight:1000;color:#334155}.expired-result-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:11px 12px;border-top:1px solid #edf1f5}.expired-result-row:first-of-type{border-top:0}.expired-result-row strong{display:block;font-size:14px}.expired-result-row small{display:block;margin-top:3px;color:#64748b;font-weight:800}.result-status{font-size:9px;font-weight:1000;padding:4px 7px;border-radius:999px}.result-status.done{background:#dcfce7;color:#166534}.result-status.pending{background:#fef3c7;color:#92400e}.result-edit-btn{min-width:58px}.result-edit-card{border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:14px;box-shadow:0 7px 22px rgba(15,23,42,.1)}.result-fixed-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:9px;margin-bottom:12px}.result-fixed-grid input[readonly]{background:#f1f5f9;font-weight:900;color:#334155}.draw-result-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.draw-result-form .field{margin:0}.draw-result-form label{font-weight:900}.draw-result-form label em{color:#dc2626;font-style:normal}.draw-result-form input{font-weight:900}.result-submit-btn{grid-column:1/-1;justify-self:start;min-width:120px}.draw-result-form #resultMsg{grid-column:1/-1}.result-empty{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;text-align:center;color:#64748b;font-weight:800}@media(max-width:560px){.result-fixed-grid{grid-template-columns:1fr 1fr}.result-fixed-grid .field:first-child{grid-column:1/-1}.draw-result-form{grid-template-columns:1fr 1fr}.expired-result-row{grid-template-columns:minmax(0,1fr) auto}.expired-result-row .result-status{grid-row:2}.expired-result-row .result-edit-btn{grid-row:1/3;grid-column:2}}
/* Result Update: 7-day flat list, date on each row, 25-row pagination */
.result-flat-list{overflow:hidden}.result-flat-list .expired-result-row:first-child{border-top:0}.expired-result-main small{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}.expired-result-main small b{font-size:10px;color:#334155;background:#eef2f7;border:1px solid #d7dee7;border-radius:6px;padding:2px 6px}.result-pagination{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:14px 0 8px}.result-page-btn{min-width:34px;height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-weight:900;box-shadow:0 2px 5px rgba(15,23,42,.08)}.result-page-btn.is-current{background:#2563eb;color:#fff;border-color:#1d4ed8}.result-window-note{text-align:center;color:#64748b;font-size:10px;font-weight:800;margin-top:6px}
/* Prize result highlights: First and Second are intentionally distinct. */
.first-prize-hit{background:#dcfce7!important;color:#14532d!important;font-weight:1000!important;box-shadow:inset 0 0 0 1px #86efac}.second-prize-hit{background:#fef3c7!important;color:#78350f!important;font-weight:1000!important;box-shadow:inset 0 0 0 1px #fcd34d}.prize-number.first-hit:not(.second-hit){background:#bbf7d0!important;color:#14532d!important;font-weight:1000}.prize-number.second-hit:not(.first-hit){background:#fde68a!important;color:#78350f!important;font-weight:1000}.prize-number.first-hit.second-hit{background:linear-gradient(135deg,#bbf7d0 0 50%,#fde68a 50% 100%)!important;color:#111827!important;font-weight:1000}.prize-total-row{background:#fff7ed!important}.prize-win-first,.prize-win-second,.prize-win-both{font-weight:900}
/* Admin Balance Update action */
.admin-top-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-action-3d.balance-update{background:linear-gradient(145deg,#14b8a6,#0f766e)}
.admin-action-3d.balance-update span{white-space:nowrap}
.balance-update-placeholder{margin-top:18px;padding:24px;border:1px solid #d7dee7;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.10);display:flex;flex-direction:column;gap:6px}.balance-update-placeholder strong{font-size:20px}.balance-update-placeholder span{color:#64748b;font-size:13px}
@media(max-width:420px){.admin-top-actions{gap:7px}.admin-action-3d{min-height:54px;font-size:12px;padding:8px 5px}}
/* Admin Balance Update action */
.admin-top-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.admin-action-3d.balance-update{background:linear-gradient(145deg,#14b8a6,#0f766e)}
.admin-top-actions .admin-action-3d{padding:8px 5px;text-align:center;font-size:12px}
.balance-update-placeholder{margin-top:18px;padding:22px;border:1px solid #d7dee7;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.10);display:flex;flex-direction:column;gap:6px}.balance-update-placeholder strong{font-size:20px}.balance-update-placeholder span{color:#64748b;font-size:13px}
/* Category prize summary under each Safa/Akra/Tndola/PC table */
.sale-prize-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:7px;border:1px solid #cbd5e1;border-radius:9px;overflow:hidden;background:#cbd5e1;box-shadow:0 3px 8px rgba(15,23,42,.08)}
.sale-prize-summary span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:46px;padding:6px 3px;text-align:center;font-size:12px;font-weight:950;background:#fff}
.sale-prize-summary b{display:block;margin-bottom:4px;font-size:9px;font-weight:950}.sale-prize-summary .first{background:#ecfdf5;color:#14532d}.sale-prize-summary .second{background:#fffbeb;color:#78350f}.sale-prize-summary .total{background:#eff6ff;color:#1e3a8a}
@media(max-width:640px){.sale-prize-summary span{min-height:42px;font-size:10.5px;padding:5px 2px}.sale-prize-summary b{font-size:8px}}

.sale-total-commission{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 20px;padding:12px 16px;border:1px solid #cbd5e1;border-radius:11px;background:#f8fafc;box-shadow:0 4px 10px rgba(15,23,42,.08);font-weight:950}.sale-total-commission span{color:#475569}.sale-total-commission b{font-size:18px;color:#111827}
.report-result-summary{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin:10px 0 14px;padding:9px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;box-shadow:0 4px 10px rgba(15,23,42,.08)}
.report-result-first,.report-result-seconds{border-radius:9px;padding:8px 10px}.report-result-first{background:#ecfdf5;color:#14532d}.report-result-seconds{background:#fffbeb;color:#78350f}.report-result-summary b{display:block;font-size:10px;margin-bottom:5px}.report-result-first strong{font-size:20px;letter-spacing:1px}.report-result-seconds div{display:flex;gap:6px;flex-wrap:wrap}.report-result-seconds span{display:inline-block;background:#fff7d6;border:1px solid #fde68a;border-radius:7px;padding:4px 7px;font-weight:900;font-size:13px}
@media(max-width:640px){.report-result-summary{grid-template-columns:1fr}.report-result-first strong{font-size:17px}.report-result-seconds span{font-size:12px}}

.sale-final-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0 20px;border:1px solid #86efac;border-radius:13px;overflow:hidden;background:#d1fae5;box-shadow:0 5px 12px rgba(15,23,42,.10)}.sale-final-summary span{min-height:58px;padding:9px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#ecfdf5;border-right:1px solid #bbf7d0;border-bottom:1px solid #bbf7d0;font-size:15px;font-weight:950;color:#14532d}.sale-final-summary span:nth-child(3n){border-right:0}.sale-final-summary span:nth-last-child(-n+3){border-bottom:0}.sale-final-summary b{display:block;margin-bottom:5px;font-size:10px;color:#475569}.sale-final-summary .minus{background:#fff7ed;color:#9a3412}.sale-final-summary .prize{background:#fff1f2;color:#be123c}.sale-final-summary .net{font-size:18px}.sale-final-summary .net.positive{background:#dcfce7;color:#166534}.sale-final-summary .net.negative{background:#fee2e2;color:#b91c1c}@media(max-width:640px){.sale-final-summary span{min-height:51px;padding:7px 3px;font-size:12px}.sale-final-summary b{font-size:8.5px}.sale-final-summary .net{font-size:14px}}

.sale-final-summary .share{background:#f5f3ff;color:#6d28d9}.sale-final-summary .net{grid-column:1/-1;border-right:0!important;border-bottom:0!important;min-height:62px}.sale-final-summary span:nth-last-child(-n+3){border-bottom:1px solid #bbf7d0}.sale-final-summary .net:last-child{border-bottom:0}
/* Light report filter colors — simple CSS only, no heavy graphics/animations */
.hierarchy-report-filters label:nth-child(1) input{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1e3a8a!important;box-shadow:0 2px 6px rgba(59,130,246,.08)!important}
.hierarchy-report-filters label:nth-child(2) select{background:#f0fdf4!important;border-color:#bbf7d0!important;color:#166534!important;box-shadow:0 2px 6px rgba(34,197,94,.08)!important}
.hierarchy-report-filters label:nth-child(3) select{background:#faf5ff!important;border-color:#e9d5ff!important;color:#6b21a8!important;box-shadow:0 2px 6px rgba(168,85,247,.08)!important}
.hierarchy-report-filters label:nth-child(1)>span{color:#1e40af!important}.hierarchy-report-filters label:nth-child(2)>span{color:#166534!important}.hierarchy-report-filters label:nth-child(3)>span{color:#7e22ce!important}
.balance-update-page{max-width:760px;margin:0 auto}.balance-settle-card{background:#fff;border:1px solid #dbeafe;border-radius:16px;padding:16px;box-shadow:0 7px 18px rgba(15,23,42,.08)}.balance-settle-card>label{display:block;font-weight:900;color:#0f172a;margin-bottom:8px}.balance-settle-card select{background:#eff6ff!important;border:1px solid #bfdbfe!important;color:#1e3a8a!important;font-weight:800;min-height:52px}.balance-draw-info{margin:12px 0}.balance-draw-info>div:first-child{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.balance-draw-info span{color:#64748b;font-size:13px}.balance-result-mini{margin-top:8px!important;display:grid!important;grid-template-columns:1fr 2fr;gap:8px;background:transparent!important;border:0!important;padding:0!important}.balance-result-mini span{padding:9px;border-radius:9px;background:#fffbeb;border:1px solid #fde68a;color:#78350f}.balance-settle-btn{width:100%;min-height:50px;border-radius:12px;background:linear-gradient(145deg,#14b8a6,#0f766e)!important;box-shadow:0 4px 0 #115e59,0 7px 12px rgba(15,118,110,.2)!important;font-size:16px}.balance-settle-btn:disabled{opacity:.45;box-shadow:none!important}.balance-empty{padding:14px;border-radius:10px;background:#f1f5f9;color:#475569}.balance-settle-success{display:grid;gap:4px;margin-top:12px}
.filter-type-btn.account-btn{background:#7c3aed;color:#fff;border-color:#6d28d9}.filter-type-btn.account-btn.active{box-shadow:0 0 0 3px #fde047,0 3px 8px rgba(109,40,217,.18)}.payment-detail-cell{min-width:250px;white-space:normal!important}.settlement-detail{display:grid;gap:7px;min-width:235px}.settlement-draw{display:flex;justify-content:space-between;gap:8px;align-items:center;padding-bottom:5px;border-bottom:1px solid #e2e8f0}.settlement-draw b{font-size:12px;color:#0f172a}.settlement-draw span{font-size:10px;color:#64748b;white-space:nowrap}.settlement-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(62px,1fr));gap:5px}.settlement-mini-grid span{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px 4px;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0}.settlement-mini-grid small{font-size:8px;color:#64748b}.settlement-mini-grid b{font-size:11px;color:#0f172a}.settlement-mini-grid .settlement-net{grid-column:2/4}.settlement-mini-grid .settlement-net.positive{background:#ecfdf5;border-color:#bbf7d0}.settlement-mini-grid .settlement-net.positive b{color:#15803d}.settlement-mini-grid .settlement-net.negative{background:#fff1f2;border-color:#fecdd3}.settlement-mini-grid .settlement-net.negative b{color:#be123c}
/* Compact حساب settlement detail */
.payment-detail-cell{min-width:190px!important;padding:5px!important}.settlement-detail{min-width:180px!important;gap:4px!important}.settlement-draw{gap:5px!important;padding-bottom:3px!important}.settlement-draw b{font-size:9px!important;line-height:1.1}.settlement-draw span{font-size:8px!important;line-height:1.1}.settlement-mini-grid{grid-template-columns:repeat(5,minmax(42px,1fr))!important;gap:3px!important}.settlement-mini-grid span{padding:3px 2px!important;min-height:34px!important;border-radius:5px!important}.settlement-mini-grid small{font-size:7px!important;line-height:1!important;white-space:nowrap}.settlement-mini-grid b{font-size:9px!important;line-height:1.1!important;margin-top:2px}.settlement-mini-grid .settlement-net{grid-column:auto!important}
/* Payment table visual distinction */
.payment-type-badge{display:inline-block;min-width:48px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;border:1px solid transparent}
.payment-type-badge.type-credit{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.payment-type-badge.type-cash{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.hierarchy-payment-page .status-badge{display:inline-block;min-width:48px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;border:1px solid transparent}
.hierarchy-payment-page .status-deposit{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.hierarchy-payment-page .status-withdraw{background:#fff1f2;color:#b91c1c;border-color:#fecdd3}
.single-tndola-result-field{grid-column:1/-1;max-width:360px}.single-tndola-result-field small{display:block;margin-top:5px;color:#64748b;font-size:11px;font-weight:700}
.single-tndola-result-field{grid-column:1/-1;max-width:360px}.single-tndola-result-field small{display:block;margin-top:5px;color:#64748b;font-size:11px;font-weight:700}
/* Make impersonation Return controls clearly readable across User + hierarchy drawers */
.v2-user-drawer .wallet-return-btn,
.user-side-menu .wallet-return-btn{
  min-height:40px!important;
  min-width:82px!important;
  padding:8px 12px!important;
  border-radius:10px!important;
  font-size:11.5px!important;
  line-height:1.1!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.user-menu-wallet-grid.has-return,
.v2-user-drawer .v2-user-wallet.has-return{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
}
.hierarchy-side-menu .hierarchy-drawer-btn.return{
  min-height:56px!important;
  padding:12px 16px!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:950!important;
  white-space:normal!important;
  text-align:center!important;
}
@media(max-width:640px){
  .v2-user-drawer .wallet-return-btn,
  .user-side-menu .wallet-return-btn{min-height:38px!important;min-width:76px!important;padding:7px 10px!important;font-size:11px!important}
  .user-menu-wallet-grid.has-return,.v2-user-drawer .v2-user-wallet.has-return{gap:6px!important}
  .hierarchy-side-menu .hierarchy-drawer-btn.return{min-height:52px!important;font-size:13px!important;padding:10px 14px!important}
}
/* Final stronger Return size override */
.v2-user-drawer .v2-user-wallet.has-return .wallet-return-btn,
.user-side-menu .user-menu-wallet-grid.has-return .wallet-return-btn{
  width:96px!important;
  min-width:96px!important;
  max-width:96px!important;
  height:48px!important;
  min-height:48px!important;
  padding:0 10px!important;
  border-radius:12px!important;
  font-size:14px!important;
  line-height:48px!important;
  font-weight:950!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  white-space:nowrap!important;
}
.v2-user-drawer .v2-user-wallet.has-return,
.user-side-menu .user-menu-wallet-grid.has-return{
  grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr)!important;
  gap:6px!important;
}
@media(max-width:420px){
  .v2-user-drawer .v2-user-wallet.has-return .wallet-return-btn,
  .user-side-menu .user-menu-wallet-grid.has-return .wallet-return-btn{
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
    height:44px!important;
    min-height:44px!important;
    font-size:13px!important;
    line-height:44px!important;
  }
  .v2-user-drawer .v2-user-wallet.has-return,
  .user-side-menu .user-menu-wallet-grid.has-return{
    grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr)!important;
    gap:4px!important;
  }
}
/* Return moved to its own row below Balance/Upline */
.v2-user-drawer .v2-user-wallet,
.user-side-menu .user-menu-wallet-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:12px!important;
}
.user-return-row{
  width:100%;
  display:flex;
  justify-content:center;
  padding:10px 18px 4px;
  box-sizing:border-box;
}
.user-return-row .wallet-return-btn{
  width:100%!important;
  max-width:240px!important;
  min-width:180px!important;
  height:50px!important;
  min-height:50px!important;
  padding:0 18px!important;
  border-radius:14px!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:950!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
@media(max-width:420px){
  .user-return-row{padding:8px 16px 4px!important}
  .user-return-row .wallet-return-btn{
    width:100%!important;
    max-width:220px!important;
    min-width:170px!important;
    height:48px!important;
    min-height:48px!important;
    font-size:14px!important;
  }
}
.saved-sheet-delete-permission select{font-weight:800}
.saved-sheet-delete-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:#fff7f7;border:1px solid #fecaca;border-radius:12px;margin:10px 0}
.saved-sheet-delete-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:900;color:#374151}
.saved-sheet-delete-toolbar button{border:0;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:900;cursor:pointer}
.saved-sheet-delete-selected{background:#ef4444;color:#fff}.saved-sheet-delete-selected:disabled{opacity:.4;cursor:not-allowed}.saved-sheet-delete-all{background:#991b1b;color:#fff}
.saved-sheet-check-cell{width:38px!important;min-width:38px!important;text-align:center!important}.saved-sheet-entry-check,.saved-sheet-select-all{width:18px;height:18px;accent-color:#dc2626}

/* Premium lightweight 3D login */
body:has(.login-stage){min-height:100vh;background:linear-gradient(145deg,#edf4ff 0%,#f8fbff 45%,#eef2ff 100%)}
.login-stage{min-height:100vh;display:grid;place-items:center;padding:22px 14px;position:relative;overflow:hidden}
.login-stage:before,.login-stage:after{content:"";position:absolute;border-radius:999px;filter:blur(2px);pointer-events:none;opacity:.55}
.login-stage:before{width:250px;height:250px;left:-85px;top:-80px;background:radial-gradient(circle,#bfdbfe 0%,transparent 70%)}
.login-stage:after{width:280px;height:280px;right:-100px;bottom:-105px;background:radial-gradient(circle,#ddd6fe 0%,transparent 70%)}
.login.login-3d{width:min(430px,100%);max-width:none;margin:0;padding:30px 26px 24px;border-radius:25px;background:linear-gradient(145deg,#fff,#f4f7fb);border:1px solid rgba(255,255,255,.95);box-shadow:0 24px 55px rgba(15,23,42,.18),0 9px 0 #d9e2ef,0 11px 16px rgba(15,23,42,.10),inset 0 1px 0 #fff;position:relative;z-index:1}
.login-3d:before{content:"";position:absolute;inset:10px;border:1px solid rgba(148,163,184,.22);border-radius:18px;pointer-events:none}
.login-brand-mark{width:72px;height:72px;margin:0 auto 13px;border-radius:22px;display:grid;place-items:center;font-size:28px;font-weight:1000;letter-spacing:-1px;color:#facc15;background:linear-gradient(145deg,#172554,#0f172a);box-shadow:0 10px 18px rgba(15,23,42,.28),0 5px 0 #060b18,inset 0 2px 0 rgba(255,255,255,.18)}
.login-3d h1{margin:0;text-align:center;font-size:26px;font-weight:1000;letter-spacing:.6px;color:#111827;text-shadow:0 1px 0 #fff}.login-3d h1 small{font-size:12px;color:#64748b;vertical-align:super}.login-subtitle{text-align:center;margin:5px 0 22px;color:#64748b;font-size:12px;font-weight:800;letter-spacing:.35px}
.login-field{margin-top:15px}.login-field label{margin:0 0 7px 2px;color:#334155;font-size:12px;font-weight:950;letter-spacing:.2px}.login-input-shell{position:relative;display:flex;align-items:center;border-radius:14px;background:linear-gradient(180deg,#eef2f7,#fff);box-shadow:inset 0 2px 5px rgba(15,23,42,.09),0 2px 0 #fff;border:1px solid #cbd5e1;transition:border-color .18s,box-shadow .18s,transform .18s}.login-input-shell:focus-within{border-color:#3b82f6;box-shadow:inset 0 2px 5px rgba(15,23,42,.07),0 0 0 4px rgba(59,130,246,.12);transform:translateY(-1px)}
.login-input-shell input{height:54px;border:0!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;padding:12px 48px 12px 45px;font-size:17px;font-weight:800;color:#0f172a;outline:0!important}.login-input-icon{position:absolute;left:16px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;color:#64748b;font-size:8px;border:2px solid #94a3b8}.lock-icon{border-radius:5px;font-size:7px}.password-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:42px;height:42px;padding:0!important;border:0;border-radius:11px;background:transparent!important;color:#475569!important;display:grid;place-items:center;box-shadow:none!important;z-index:2}.password-eye:active{transform:translateY(-50%) scale(.94)}.password-eye svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.password-eye .eye-closed{display:none}.password-eye.is-visible .eye-open{display:none}.password-eye.is-visible .eye-closed{display:block}
.login-submit-3d{width:100%;height:54px;margin-top:22px;border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#4f46e5)!important;color:#fff;font-size:17px;font-weight:1000;letter-spacing:.3px;box-shadow:0 8px 0 #1e3a8a,0 13px 20px rgba(37,99,235,.24),inset 0 1px 0 rgba(255,255,255,.28)!important;transition:transform .12s,box-shadow .12s}.login-submit-3d:active{transform:translateY(5px);box-shadow:0 3px 0 #1e3a8a,0 6px 10px rgba(37,99,235,.18)!important}.login-submit-3d:disabled{opacity:.72;cursor:wait}.login-submit-3d.is-loading span:after{content:"...";animation:loginDots 1s steps(4,end) infinite}@keyframes loginDots{0%{content:""}25%{content:"."}50%{content:".."}75%,100%{content:"..."}}
.login-security-note{text-align:center;margin-top:19px;font-size:10px;font-weight:800;color:#94a3b8;letter-spacing:.2px}.login-error{margin:14px 0 0;text-align:center;font-size:12px;border-radius:11px}
@media(max-width:520px){.login-stage{padding:16px 11px}.login.login-3d{padding:25px 18px 20px;border-radius:21px;box-shadow:0 19px 40px rgba(15,23,42,.16),0 7px 0 #d9e2ef,0 9px 13px rgba(15,23,42,.09)}.login-brand-mark{width:64px;height:64px;border-radius:19px;font-size:25px}.login-3d h1{font-size:23px}.login-input-shell input{height:52px;font-size:16px}.login-submit-3d{height:52px}}
.dashboard-brand-spacer{min-width:1px!important;color:transparent!important}
.captcha-field{margin-top:15px}.captcha-row{display:grid;grid-template-columns:minmax(150px,180px) 1fr;gap:10px;align-items:stretch}.captcha-image-btn{padding:0!important;border:1px solid #cbd5e1!important;border-radius:13px!important;background:#eef2ff!important;overflow:hidden;box-shadow:inset 0 1px 0 #fff,0 3px 8px rgba(15,23,42,.08)!important;height:54px}.captcha-image-btn img{display:block;width:100%;height:54px;object-fit:cover}.captcha-input-shell input{padding:12px 14px!important;text-align:center;font-size:20px!important;letter-spacing:5px!important;font-weight:1000!important}.captcha-help{display:block;margin:6px 2px 0;color:#64748b;font-size:10px;font-weight:800}.captcha-image-btn:active{transform:translateY(1px)}
@media(max-width:420px){.captcha-row{grid-template-columns:1.15fr .85fr;gap:8px}.captcha-image-btn,.captcha-image-btn img{height:52px}.captcha-input-shell input{font-size:18px!important;letter-spacing:3px!important}}
.draw-save-btn{margin-top:10px}
/* Result Update: show finalized values directly on the status line */
.result-status.done{display:flex;align-items:center;gap:7px;flex-wrap:wrap;max-width:360px}
.result-status-detail{display:inline-flex!important;align-items:center;gap:4px;margin:0!important;color:#14532d!important;font-size:8px!important;font-weight:800!important;line-height:1.2}.result-status-detail b{font-size:8px;color:#166534}.result-status-detail i{font-style:normal;color:#86efac}.result-status-detail{overflow-wrap:anywhere}
@media(max-width:560px){.expired-result-row .result-status{grid-column:1;max-width:100%;width:100%;border-radius:10px;padding:5px 8px}.result-status-detail{font-size:7.5px!important}.result-status-detail b{font-size:7.5px}}
/* Result Update: larger/bolder finalized result values for readability */
.result-status.done{padding:8px 10px;gap:10px;min-height:38px}
.result-status.done>span:first-child{font-size:12px;font-weight:1000;line-height:1.2}
.result-status-detail{font-size:15px!important;font-weight:1000!important;line-height:1.25!important;gap:6px!important;letter-spacing:.15px;color:#14532d!important}
.result-status-detail b{font-size:13px!important;font-weight:1000!important;color:#166534!important}
.result-status-detail i{font-size:13px!important;font-weight:1000!important;color:#4ade80!important}
@media(max-width:560px){.result-status.done{padding:7px 9px;min-height:40px;gap:8px}.result-status.done>span:first-child{font-size:12px}.result-status-detail{font-size:14px!important;line-height:1.25!important}.result-status-detail b,.result-status-detail i{font-size:12px!important}}
/* Result Update: larger/bolder finalized result values for readability */
.result-status.done{padding:8px 10px;gap:10px;min-height:38px}
.result-status.done>span:first-child{font-size:12px;font-weight:1000;line-height:1.2}
.result-status-detail{font-size:15px!important;font-weight:1000!important;line-height:1.25!important;gap:6px!important;letter-spacing:.15px;color:#14532d!important}
.result-status-detail b{font-size:13px!important;font-weight:1000!important;color:#166534!important}
.result-status-detail i{font-size:13px!important;font-weight:1000!important;color:#4ade80!important}
@media(max-width:560px){.result-status.done{padding:7px 9px;min-height:40px;gap:8px}.result-status.done>span:first-child{font-size:12px}.result-status-detail{font-size:14px!important;line-height:1.25!important}.result-status-detail b,.result-status-detail i{font-size:12px!important}}


/* Admin Data Search dashboard card + page */
.hierarchy-data-search-card{background:linear-gradient(145deg,#0ea5e9,#0369a1)!important;color:#fff!important;text-decoration:none!important;box-shadow:0 5px 0 #075985,0 9px 18px rgba(3,105,161,.18)!important}.hierarchy-data-search-card span,.hierarchy-data-search-card b{color:#fff!important}.hierarchy-data-search-card b{font-size:25px!important;line-height:1}.admin-data-search-page{max-width:1100px;margin:0 auto}.admin-data-search-panel{margin-top:10px}.admin-data-search-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-data-search-filters label,.admin-data-search-box{display:grid;gap:6px;font-weight:950;color:#334155}.admin-data-search-filters input,.admin-data-search-filters select,.admin-data-search-box input{width:100%;min-height:44px;border:1.5px solid #cbd5e1;border-radius:11px;background:#fff;padding:8px 11px;font:inherit;color:#111827;outline:none}.admin-data-search-filters input:focus,.admin-data-search-filters select:focus,.admin-data-search-box input:focus{border-color:#0284c7;box-shadow:0 0 0 3px rgba(2,132,199,.12)}.admin-data-search-box{margin-top:11px}.admin-data-search-note{margin:7px 1px 10px;font-size:10px;font-weight:800;color:#64748b}.ads-overall-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.ads-overall-summary span{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #bae6fd;border-radius:11px;background:#f0f9ff;text-align:center;font-weight:1000;color:#0c4a6e}.ads-overall-summary b{font-size:10px;color:#0369a1}.ads-super-card{margin:12px 0 18px;border:1.5px solid #94a3b8;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.1)}.ads-super-head{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:11px 13px;background:linear-gradient(145deg,#e11d48,#9f1239);color:#fff}.ads-super-head>div{display:flex;flex-direction:column;gap:2px}.ads-super-head>div:last-child{text-align:right}.ads-super-head small{font-size:8px;font-weight:1000;opacity:.86}.ads-super-head strong{font-size:17px;font-weight:1000}.ads-super-head b{font-size:19px;font-weight:1000}.ads-super-head span{font-size:10px;font-weight:850}.ads-client-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.ads-client-table{width:100%;min-width:720px;border-collapse:collapse}.ads-client-table th,.ads-client-table td{padding:9px 8px;border-bottom:1px solid #e2e8f0;text-align:left;white-space:nowrap}.ads-client-table th{background:#f8fafc;color:#334155;font-size:10px;font-weight:1000}.ads-client-table td{font-size:12px;font-weight:850;color:#111827}.ads-client-table td:last-child b{color:#0369a1;font-size:13px}.ads-entry-details{border-top:1px solid #e2e8f0}.ads-entry-details summary{padding:10px 12px;cursor:pointer;font-size:11px;font-weight:1000;color:#475569;background:#f8fafc}.ads-entry-details .hierarchy-search-table-wrap{border:0;border-radius:0}
@media(max-width:640px){.admin-data-search-filters{grid-template-columns:1fr 1fr;gap:7px}.admin-data-search-filters input,.admin-data-search-filters select,.admin-data-search-box input{min-height:41px;font-size:12px}.ads-overall-summary{gap:5px}.ads-overall-summary span{padding:8px 4px;font-size:12px}.ads-overall-summary b{font-size:8px}.ads-super-head{padding:9px 10px}.ads-super-head strong{font-size:14px}.ads-super-head b{font-size:16px}.ads-client-table{min-width:650px}.hierarchy-data-search-card b{font-size:22px!important}}


/* Data Search — Common Numbers */
.ads-common-action{display:flex;justify-content:flex-start;margin:11px 0 5px}.ads-common-btn{min-width:170px;min-height:43px;border:0;border-radius:12px;background:linear-gradient(145deg,#7c3aed,#5b21b6);color:#fff;font:900 13px/1 system-ui;box-shadow:0 4px 0 #4c1d95,0 8px 16px rgba(91,33,182,.18);cursor:pointer}.ads-common-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.ads-common-btn.is-active{background:linear-gradient(145deg,#0f766e,#115e59);box-shadow:0 4px 0 #134e4a,0 8px 16px rgba(15,118,110,.18)}.ads-common-filters{display:flex;gap:6px;overflow-x:auto;padding:5px 0 8px;-webkit-overflow-scrolling:touch}.ads-common-filters button{flex:0 0 auto;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;padding:7px 12px;font-size:10px;font-weight:950;cursor:pointer}.ads-common-filters button.is-active{background:#0f172a;color:#fff;border-color:#0f172a}.ads-search-muted{opacity:.72}.ads-common-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.ads-common-summary span{display:flex;flex-direction:column;gap:3px;padding:9px 6px;border:1px solid #ddd6fe;border-radius:11px;background:#f5f3ff;text-align:center;color:#4c1d95;font-size:12px;font-weight:1000}.ads-common-summary b{font-size:8px;color:#6d28d9}.ads-common-table-wrap{overflow-x:auto;border:1px solid #cbd5e1;border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}.ads-common-table{width:100%;min-width:760px;border-collapse:collapse}.ads-common-table th,.ads-common-table td{padding:9px 8px;border-bottom:1px solid #e2e8f0;text-align:left;white-space:nowrap}.ads-common-table th{background:#0f172a;color:#fff;font-size:9px;font-weight:1000;position:sticky;top:0}.ads-common-table td{font-size:11px;font-weight:850;color:#1e293b}.ads-common-main-row:nth-of-type(4n+1){background:#f8fafc}.ads-common-number{font-size:16px!important;font-weight:1000!important;color:#7c3aed!important;letter-spacing:.4px}.ads-common-detail-btn{border:0;border-radius:8px;background:#0ea5e9;color:#fff;padding:6px 10px;font-size:9px;font-weight:1000;cursor:pointer}.ads-common-detail-row>td{padding:0!important;background:#f8fafc}.ads-common-client-scroll{overflow-x:auto;padding:8px}.ads-common-client-table{width:100%;min-width:860px;border-collapse:collapse}.ads-common-client-table th,.ads-common-client-table td{padding:7px;border-bottom:1px solid #e2e8f0;white-space:nowrap}.ads-common-client-table th{background:#e2e8f0;color:#334155;font-size:8px}.ads-common-client-table td{background:#fff;font-size:10px}.ads-common-client-table td:nth-last-child(-n+2) b{color:#0369a1}
@media(max-width:640px){.ads-common-btn{width:100%;min-height:41px}.ads-common-action{margin-top:9px}.ads-common-summary{gap:4px}.ads-common-summary span{padding:7px 3px;font-size:10px}.ads-common-table{min-width:700px}.ads-common-number{font-size:15px!important}}

/* Data Search V2 — production manual analyzer glass UI */
.ads-v2-page{max-width:1120px;margin:0 auto;color:#172033}.ads-v2-page .user-readonly-head small{display:block;font-size:9px;font-weight:1000;letter-spacing:.13em;color:#54708b}.ads-v2-page .user-readonly-head h1{margin:3px 0;font-size:25px}.ads-v2-panel{margin-top:10px;padding:13px;border:1px solid rgba(255,255,255,.94);border-radius:18px;background:rgba(255,255,255,.72);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);box-shadow:0 18px 42px rgba(58,88,116,.14),inset 0 1px 0 #fff}.ads-v2-controls{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px}.ads-v2-controls label,.ads-v2-results-fields label{display:grid;gap:5px;color:#526b82;font-size:9px;font-weight:1000}.ads-v2-controls select,.ads-v2-results-fields input,.ads-v2-search input{width:100%;min-height:42px;border:1px solid rgba(177,199,218,.8);border-radius:11px;background:rgba(255,255,255,.78);color:#172033;padding:8px 10px;font:900 13px/1.2 system-ui;outline:none;box-shadow:inset 0 1px 0 #fff,0 3px 10px rgba(76,103,128,.07)}.ads-v2-results-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:10px}.ads-v2-results-fields input{text-align:center;font-size:17px;letter-spacing:1px}.ads-v2-result-actions{margin:7px 0}.ads-v2-result-actions button{border:1px solid #d3dde7;border-radius:9px;background:rgba(255,255,255,.78);color:#b4233c;padding:7px 11px;font-size:9px;font-weight:1000;box-shadow:0 3px 9px rgba(70,96,120,.07)}.ads-v2-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}.ads-v2-summary span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:61px;padding:7px;border:1px solid rgba(202,216,229,.82);border-radius:12px;background:rgba(255,255,255,.66);box-shadow:0 6px 16px rgba(75,104,130,.09),inset 0 1px 0 #fff;text-align:center}.ads-v2-summary small{font-size:7px;font-weight:1000;color:#687f95}.ads-v2-summary b{margin-top:3px;font-size:15px;font-weight:1000}.ads-v2-summary .pos,.ads-v2-detail-table .pos,.ads-v2-common-table .pos,.ads-v2-search-detail .pos{color:#159447!important}.ads-v2-summary .neg,.ads-v2-detail-table .neg,.ads-v2-common-table .neg,.ads-v2-search-detail .neg{color:#d93b5a!important}.ads-v2-main-actions{display:flex;gap:8px;margin:10px 0}.ads-v2-main-actions button{min-height:44px;border:0;border-radius:12px;padding:0 20px;color:#fff;font-size:13px;font-weight:1000;box-shadow:0 5px 13px rgba(58,86,113,.18),inset 0 1px 0 rgba(255,255,255,.32)}.ads-v2-main-actions .detail{background:linear-gradient(145deg,#8b3bd4,#6923b5)}.ads-v2-main-actions .common{background:linear-gradient(145deg,#16a6bb,#087d91)}.ads-v2-subpanel,.ads-v2-search{margin:10px 0;padding:10px;border:1px solid rgba(203,217,229,.86);border-radius:14px;background:rgba(255,255,255,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 8px 22px rgba(68,97,124,.09),inset 0 1px 0 #fff}.ads-v2-subpanel h3,.ads-v2-search h3{margin:0 0 8px;font-size:13px;color:#24384d}.ads-v2-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 7px;-webkit-overflow-scrolling:touch}.ads-v2-tabs button{flex:0 0 auto;border:1px solid #cad7e4;border-radius:10px;background:rgba(255,255,255,.8);color:#31506f;padding:8px 11px;font-size:9px;font-weight:1000;box-shadow:0 3px 8px rgba(65,92,116,.06),inset 0 1px 0 #fff}.ads-v2-tabs button.is-active{background:#2563eb;color:#fff;border-color:#2563eb}.ads-v2-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.ads-v2-detail-table,.ads-v2-search-detail{width:100%;border-collapse:collapse;table-layout:fixed}.ads-v2-detail-table th,.ads-v2-detail-table td,.ads-v2-search-detail th,.ads-v2-search-detail td{padding:8px 5px;border-right:1px solid #d0dce7;border-bottom:1px solid #e1e8ef;text-align:left;font-size:10px;font-weight:1000;overflow:hidden;text-overflow:ellipsis}.ads-v2-detail-table th:last-child,.ads-v2-detail-table td:last-child,.ads-v2-search-detail th:last-child,.ads-v2-search-detail td:last-child{border-right:0}.ads-v2-detail-table th,.ads-v2-search-detail th{background:rgba(237,244,250,.9);color:#314a63;font-size:9px}.ads-v2-detail-table td b,.ads-v2-search-detail td b{display:block}.ads-v2-detail-table td small,.ads-v2-search-detail td small{display:block;color:#71869a;font-size:7px}.ads-v2-detail-table th:nth-child(1){width:35%}.ads-v2-detail-table th:nth-child(2){width:22%}.ads-v2-detail-table th:nth-child(3){width:22%}.ads-v2-detail-table th:nth-child(4){width:21%}.ads-v2-empty,.ads-v2-loading{padding:14px;color:#71869a;font-size:10px;font-weight:900}.ads-v2-common-cat{border-top:1px solid #e0e8ef}.ads-v2-common-head{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(233,242,249,.74));padding:9px 10px;text-align:left;color:#24384d;font-size:11px;font-weight:1000}.ads-v2-common-head b{font-size:9px;color:#506d87}.ads-v2-common-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.ads-v2-common-table{width:100%;min-width:470px;table-layout:fixed;border-collapse:collapse}.ads-v2-common-table th,.ads-v2-common-table td{padding:7px 4px;border-right:1px solid #cad7e2;border-bottom:1px solid #e1e8ef;text-align:left;font-size:12px;font-weight:1000;white-space:nowrap}.ads-v2-common-table th:last-child,.ads-v2-common-table td:last-child{border-right:0}.ads-v2-common-table th{background:#edf4fa;color:#314a63;font-size:10px}.ads-v2-common-table th:nth-child(1){width:15%}.ads-v2-common-table th:nth-child(2){width:16%}.ads-v2-common-table th:nth-child(3){width:28%}.ads-v2-common-table th:nth-child(4){width:41%}.ads-v2-common-table td button{border:0;background:transparent;color:#5b35b3;padding:0;font-size:16px;font-weight:1000}.ads-v2-search input{font-size:19px;font-weight:1000}.ads-v2-search-status{font-size:9px}.ads-v2-search #ads2-search-status{padding:7px 1px;color:#71869a;font-size:9px;font-weight:900}.ads-v2-search-section{margin-top:10px;border:1px solid #d4e0ea;border-radius:12px;overflow:hidden}.ads-v2-search-section-head{display:flex;justify-content:space-between;padding:8px 10px;background:rgba(235,244,250,.9);font-size:10px;font-weight:1000}.ads-v2-search-main{width:100%;border-collapse:collapse;table-layout:fixed}.ads-v2-search-main th,.ads-v2-search-main td{padding:8px 5px;border-bottom:1px solid #e0e8ef;text-align:left;font-size:11px;font-weight:1000}.ads-v2-search-main th{background:#f7fafc;color:#314a63;font-size:9px}.ads-v2-number-row{cursor:pointer}.ads-v2-number-row td:first-child{color:#5b35b3;font-size:15px}.ads-v2-search-main>tbody>tr[data-search-detail]>td{padding:7px;background:rgba(250,252,254,.8)}.ads-v2-search-detail th:nth-child(1){width:38%}.ads-v2-search-detail th:nth-child(2){width:12%}.ads-v2-search-detail th:nth-child(3){width:24%}.ads-v2-search-detail th:nth-child(4){width:26%}
@media(max-width:640px){.ads-v2-page .user-readonly-head h1{font-size:20px}.ads-v2-panel{padding:8px}.ads-v2-controls{grid-template-columns:1fr 1fr}.ads-v2-controls label:first-child{grid-column:1/-1}.ads-v2-results-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ads-v2-results-fields input{font-size:15px;min-height:39px}.ads-v2-summary{gap:4px}.ads-v2-summary span{min-height:54px;padding:5px 2px}.ads-v2-summary small{font-size:6px}.ads-v2-summary b{font-size:12px}.ads-v2-main-actions button{min-height:41px;padding:0 15px;font-size:12px}.ads-v2-detail-table th,.ads-v2-detail-table td,.ads-v2-search-detail th,.ads-v2-search-detail td{padding:7px 3px;font-size:9px}.ads-v2-detail-table th,.ads-v2-search-detail th{font-size:8px}.ads-v2-common-table{min-width:440px}.ads-v2-common-table th,.ads-v2-common-table td{font-size:10px;padding:6px 3px}.ads-v2-common-table td button{font-size:14px}.ads-v2-common-head{font-size:10px;padding:8px 7px}.ads-v2-common-head b{font-size:8px}.ads-v2-search-main th,.ads-v2-search-main td{padding:7px 3px;font-size:10px}.ads-v2-search-main th{font-size:8px}}

/* Data Search V2 — match finalized testing Manual Search table */
.ads-v2-search-section{overflow:hidden!important}
.ads-v2-search-main-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;touch-action:auto;overscroll-behavior-x:contain;scroll-behavior:smooth}
.ads-v2-search-main{width:100%;min-width:500px;table-layout:fixed;border-collapse:collapse}
.ads-v2-search-main th,.ads-v2-search-main td{padding:9px 6px!important;border-right:1px solid #cfdbe6!important;border-bottom:1px solid #dfe7ef!important;text-align:left!important;font-size:13px!important;font-weight:950!important;white-space:nowrap}
.ads-v2-search-main th:last-child,.ads-v2-search-main td:last-child{border-right:0!important}
.ads-v2-search-main th{background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(232,241,248,.74))!important;color:#314a63!important;font-size:11px!important;font-weight:1000!important}
.ads-v2-search-main th:nth-child(1),.ads-v2-search-main td:nth-child(1){width:18%}
.ads-v2-search-main th:nth-child(2),.ads-v2-search-main td:nth-child(2){width:22%}
.ads-v2-search-main th:nth-child(3),.ads-v2-search-main td:nth-child(3){width:28%}
.ads-v2-search-main th:nth-child(4),.ads-v2-search-main td:nth-child(4){width:32%}
.ads-v2-number-row td:first-child{font-size:20px!important;font-weight:1000!important;color:#5b35b3!important}
.ads-v2-search-main>tbody>tr[data-search-detail]>td{padding:7px!important;background:rgba(255,255,255,.48)!important;white-space:normal!important}
.ads-v2-search-detail{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}
.ads-v2-search-detail th,.ads-v2-search-detail td{padding:8px 5px!important;border-right:1px solid #cfdbe6!important;border-bottom:1px solid #dfe7ef!important;text-align:left!important;font-weight:1000!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ads-v2-search-detail th{font-size:11px!important;background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(232,241,248,.72))!important;color:#314a63!important}
.ads-v2-search-detail td{font-size:12px!important;color:#172033!important}
.ads-v2-search-detail th:nth-child(1),.ads-v2-search-detail td:nth-child(1){width:35%!important}
.ads-v2-search-detail th:nth-child(2),.ads-v2-search-detail td:nth-child(2){width:13%!important;text-align:center!important}
.ads-v2-search-detail th:nth-child(3),.ads-v2-search-detail td:nth-child(3){width:25%!important}
.ads-v2-search-detail th:nth-child(4),.ads-v2-search-detail td:nth-child(4){width:27%!important}
.ads-v2-search-detail td b{display:block;font-size:13px!important;font-weight:1000!important}.ads-v2-search-detail td small{display:block;color:#71869a!important;font-size:9px!important;font-weight:900!important}
.ads-v2-search-detail td.pos{color:#159447!important}.ads-v2-search-detail td.neg{color:#d93b5a!important}
@media(max-width:640px){
 .ads-v2-search-main{min-width:470px}
 .ads-v2-search-main th,.ads-v2-search-main td{font-size:11px!important;padding:7px 4px!important}
 .ads-v2-search-main th{font-size:9px!important}
 .ads-v2-number-row td:first-child{font-size:18px!important}
 .ads-v2-search-detail th{font-size:10px!important}
 .ads-v2-search-detail td{font-size:11px!important;padding:7px 3px!important}
 .ads-v2-search-detail td b{font-size:12px!important}.ads-v2-search-detail td small{font-size:8px!important}
}

/* Data Search V2 — match finalized testing-lab table geometry */
.ads-v2-search-section{overflow:hidden!important}
.ads-v2-main-scroll,.ads-v2-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;touch-action:auto!important;overscroll-behavior-x:contain;scroll-behavior:smooth}
.ads-v2-search-main{width:100%;min-width:520px;table-layout:fixed;border-collapse:collapse}
.ads-v2-search-main th,.ads-v2-search-main td{padding:9px 6px!important;border-right:1px solid #d0dce7!important;border-bottom:1px solid #e1e8ef!important;text-align:left!important;font-size:13px!important;font-weight:950!important;line-height:1.15!important;white-space:nowrap}
.ads-v2-search-main th:last-child,.ads-v2-search-main td:last-child{border-right:0!important}
.ads-v2-search-main th{font-size:11px!important;font-weight:1000!important;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(235,243,249,.82))!important;color:#314a63!important}
.ads-v2-search-main th:nth-child(1),.ads-v2-search-main td:nth-child(1){width:18%}
.ads-v2-search-main th:nth-child(2),.ads-v2-search-main td:nth-child(2){width:22%}
.ads-v2-search-main th:nth-child(3),.ads-v2-search-main td:nth-child(3){width:27%}
.ads-v2-search-main th:nth-child(4),.ads-v2-search-main td:nth-child(4){width:33%}
.ads-v2-number-row td:first-child{font-size:20px!important;font-weight:1000!important;color:#5b35b3!important}
.ads-v2-search-main>tbody>tr[data-search-detail]>td{padding:7px!important;background:rgba(255,255,255,.52)!important}
.ads-v2-search-detail{width:100%!important;min-width:500px!important;table-layout:fixed!important;border-collapse:collapse!important}
.ads-v2-search-detail th,.ads-v2-search-detail td{padding:8px 5px!important;border-right:1px solid #cfdbe6!important;border-bottom:1px solid #dfe7ef!important;text-align:left!important;font-weight:1000!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ads-v2-search-detail th:last-child,.ads-v2-search-detail td:last-child{border-right:0!important}
.ads-v2-search-detail th{background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(235,243,249,.82))!important;color:#314a63!important;font-size:11px!important}
.ads-v2-search-detail td{font-size:12px!important;color:#172033!important}
.ads-v2-search-detail th:nth-child(1),.ads-v2-search-detail td:nth-child(1){width:35%!important}
.ads-v2-search-detail th:nth-child(2),.ads-v2-search-detail td:nth-child(2){width:13%!important;text-align:center!important}
.ads-v2-search-detail th:nth-child(3),.ads-v2-search-detail td:nth-child(3){width:25%!important}
.ads-v2-search-detail th:nth-child(4),.ads-v2-search-detail td:nth-child(4){width:27%!important}
.ads-v2-search-detail td b{display:block!important;font-size:13px!important;font-weight:1000!important}.ads-v2-search-detail td small{display:block!important;color:#71869a!important;font-size:9px!important;font-weight:900!important}
@media(max-width:640px){
 .ads-v2-main-scroll,.ads-v2-table-wrap{margin:0!important;padding:0!important}
 .ads-v2-search-main{min-width:500px!important}
 .ads-v2-search-main th,.ads-v2-search-main td{font-size:11px!important;padding:7px 4px!important}
 .ads-v2-search-main th{font-size:10px!important}
 .ads-v2-number-row td:first-child{font-size:18px!important}
 .ads-v2-search-detail{min-width:470px!important}
 .ads-v2-search-detail th{font-size:10px!important}.ads-v2-search-detail td{font-size:11px!important;padding:7px 3px!important}
 .ads-v2-search-detail td b{font-size:12px!important}.ads-v2-search-detail td small{font-size:8px!important}
}

/* Data Search V2 — true mobile-fit compact tables */
.ads-v2-search-main-wrap{overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important}
.ads-v2-search-main{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.ads-v2-search-main th,.ads-v2-search-main td{padding:6px 2px!important;font-size:11px!important;font-weight:1000!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.ads-v2-search-main th{font-size:9px!important;letter-spacing:0!important}
.ads-v2-search-main th:nth-child(1),.ads-v2-search-main td:nth-child(1){width:16%!important}
.ads-v2-search-main th:nth-child(2),.ads-v2-search-main td:nth-child(2){width:17%!important}
.ads-v2-search-main th:nth-child(3),.ads-v2-search-main td:nth-child(3){width:30%!important}
.ads-v2-search-main th:nth-child(4),.ads-v2-search-main td:nth-child(4){width:37%!important}
.ads-v2-number-row td:first-child{font-size:17px!important;font-weight:1000!important}
.ads-v2-search-main>tbody>tr[data-search-detail]>td{padding:4px 2px!important;white-space:normal!important;overflow:visible!important}
.ads-v2-search-detail{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.ads-v2-search-detail th,.ads-v2-search-detail td{padding:6px 2px!important;font-size:10px!important;font-weight:1000!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.ads-v2-search-detail th{font-size:9px!important}
.ads-v2-search-detail th:nth-child(1),.ads-v2-search-detail td:nth-child(1){width:36%!important}
.ads-v2-search-detail th:nth-child(2),.ads-v2-search-detail td:nth-child(2){width:12%!important;text-align:center!important}
.ads-v2-search-detail th:nth-child(3),.ads-v2-search-detail td:nth-child(3){width:24%!important}
.ads-v2-search-detail th:nth-child(4),.ads-v2-search-detail td:nth-child(4){width:28%!important}
.ads-v2-search-detail td b{font-size:11px!important;font-weight:1000!important;line-height:1.05!important}
.ads-v2-search-detail td small{font-size:7px!important;font-weight:1000!important;line-height:1.05!important}
@media(max-width:640px){
 .ads-v2-search-main{min-width:0!important}
 .ads-v2-search-main th,.ads-v2-search-main td{padding:5px 1px!important;font-size:10px!important}
 .ads-v2-search-main th{font-size:8px!important}
 .ads-v2-number-row td:first-child{font-size:16px!important}
 .ads-v2-search-detail th,.ads-v2-search-detail td{padding:5px 1px!important;font-size:9px!important}
 .ads-v2-search-detail th{font-size:8px!important}
 .ads-v2-search-detail td b{font-size:10px!important}.ads-v2-search-detail td small{font-size:7px!important}
}

/* Data Search V2 — true mobile-fit compact tables */
.ads-v2-search-main-wrap{overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important}
.ads-v2-search-main{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.ads-v2-search-main th,.ads-v2-search-main td{padding:6px 2px!important;font-size:11px!important;font-weight:1000!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.ads-v2-search-main th{font-size:9px!important;letter-spacing:0!important}
.ads-v2-search-main th:nth-child(1),.ads-v2-search-main td:nth-child(1){width:16%!important}
.ads-v2-search-main th:nth-child(2),.ads-v2-search-main td:nth-child(2){width:17%!important}
.ads-v2-search-main th:nth-child(3),.ads-v2-search-main td:nth-child(3){width:30%!important}
.ads-v2-search-main th:nth-child(4),.ads-v2-search-main td:nth-child(4){width:37%!important}
.ads-v2-number-row td:first-child{font-size:17px!important;font-weight:1000!important}
.ads-v2-search-main>tbody>tr[data-search-detail]>td{padding:4px 2px!important;white-space:normal!important;overflow:visible!important}
.ads-v2-search-detail{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.ads-v2-search-detail th,.ads-v2-search-detail td{padding:6px 2px!important;font-size:10px!important;font-weight:1000!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.ads-v2-search-detail th{font-size:9px!important}
.ads-v2-search-detail th:nth-child(1),.ads-v2-search-detail td:nth-child(1){width:36%!important}
.ads-v2-search-detail th:nth-child(2),.ads-v2-search-detail td:nth-child(2){width:12%!important;text-align:center!important}
.ads-v2-search-detail th:nth-child(3),.ads-v2-search-detail td:nth-child(3){width:24%!important}
.ads-v2-search-detail th:nth-child(4),.ads-v2-search-detail td:nth-child(4){width:28%!important}
.ads-v2-search-detail td b{font-size:11px!important;font-weight:1000!important;line-height:1.05!important}
.ads-v2-search-detail td small{font-size:7px!important;font-weight:1000!important;line-height:1.05!important}
@media(max-width:640px){
 .ads-v2-search-main{min-width:0!important}
 .ads-v2-search-main th,.ads-v2-search-main td{padding:5px 1px!important;font-size:10px!important}
 .ads-v2-search-main th{font-size:8px!important}
 .ads-v2-number-row td:first-child{font-size:16px!important}
 .ads-v2-search-detail th,.ads-v2-search-detail td{padding:5px 1px!important;font-size:9px!important}
 .ads-v2-search-detail th{font-size:8px!important}
 .ads-v2-search-detail td b{font-size:10px!important}.ads-v2-search-detail td small{font-size:7px!important}
}

/* Data Search V2 theme toggle */
.ads-v2-head-actions{display:flex;align-items:center;gap:8px}.ads-v2-theme-toggle{border:1px solid #c7d5e2;border-radius:10px;background:rgba(255,255,255,.82);color:#24384d;padding:8px 12px;font-size:9px;font-weight:1000;box-shadow:0 4px 12px rgba(68,96,121,.08),inset 0 1px 0 #fff}
body.ads-v2-dark{background:#07111f!important;color:#edf6ff!important}
body.ads-v2-dark .ads-v2-page{color:#edf6ff!important}
body.ads-v2-dark .ads-v2-panel,body.ads-v2-dark .ads-v2-subpanel,body.ads-v2-dark .ads-v2-search{background:rgba(9,24,41,.86)!important;border-color:rgba(94,129,160,.32)!important;box-shadow:0 16px 40px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04)!important}
body.ads-v2-dark .ads-v2-page .user-readonly-head small,body.ads-v2-dark .ads-v2-controls label,body.ads-v2-dark .ads-v2-results-fields label,body.ads-v2-dark .ads-v2-search #ads2-search-status{color:#8faac2!important}
body.ads-v2-dark .ads-v2-controls select,body.ads-v2-dark .ads-v2-results-fields input,body.ads-v2-dark .ads-v2-search input{background:#0b1d31!important;color:#f6fbff!important;border-color:#29435b!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important}
body.ads-v2-dark .ads-v2-controls select option{background:#0b1d31;color:#fff}
body.ads-v2-dark .ads-v2-summary span{background:rgba(13,31,50,.9)!important;border-color:#2b465e!important;box-shadow:0 6px 16px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.03)!important}
body.ads-v2-dark .ads-v2-summary small{color:#8ea8bd!important}body.ads-v2-dark .ads-v2-summary b{color:#f7fbff}
body.ads-v2-dark .ads-v2-theme-toggle{background:#13283d!important;color:#f6fbff!important;border-color:#36536c!important;box-shadow:0 4px 12px rgba(0,0,0,.22)!important}
body.ads-v2-dark .ads-v2-tabs button{background:#10263a!important;color:#dbeafb!important;border-color:#33516a!important;box-shadow:none!important}
body.ads-v2-dark .ads-v2-tabs button.is-active{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}
body.ads-v2-dark .ads-v2-subpanel h3,body.ads-v2-dark .ads-v2-search h3{color:#eff7ff!important}
body.ads-v2-dark .ads-v2-detail-table th,body.ads-v2-dark .ads-v2-search-detail th,body.ads-v2-dark .ads-v2-common-table th,body.ads-v2-dark .ads-v2-search-main th{background:#10263a!important;color:#cfe1ef!important;border-color:#29465e!important}
body.ads-v2-dark .ads-v2-detail-table td,body.ads-v2-dark .ads-v2-search-detail td,body.ads-v2-dark .ads-v2-common-table td,body.ads-v2-dark .ads-v2-search-main td{background:#0a1c2e!important;color:#eef7ff!important;border-color:#254159!important}
body.ads-v2-dark .ads-v2-common-head,body.ads-v2-dark .ads-v2-search-section-head{background:#10263a!important;color:#eaf4fc!important;border-color:#29465e!important}
body.ads-v2-dark .ads-v2-common-head b{color:#9eb6ca!important}
body.ads-v2-dark .ads-v2-search-section{border-color:#29465e!important}
body.ads-v2-dark .ads-v2-number-row td:first-child,body.ads-v2-dark .ads-v2-common-table td button{color:#b794f4!important}
body.ads-v2-dark .ads-v2-detail-table td small,body.ads-v2-dark .ads-v2-search-detail td small{color:#89a2b8!important}
body.ads-v2-dark .ads-v2-result-actions button{background:#14273a!important;color:#ff8198!important;border-color:#385269!important}
body.ads-v2-dark .book-back-btn{color:#cfe3f4!important}
body.ads-v2-dark .pos{color:#39d98a!important}body.ads-v2-dark .neg{color:#ff6f91!important}
@media(max-width:640px){.ads-v2-head-actions{gap:5px}.ads-v2-theme-toggle{padding:7px 9px;font-size:8px}}

/* Data Search V2 — compact mobile-fit Detail table */
.ads-v2-detail-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
.ads-v2-detail-table th,.ads-v2-detail-table td{padding:6px 2px!important;font-size:10px!important;font-weight:1000!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;border-right:1px solid #cfdbe6!important;border-bottom:1px solid #dfe7ef!important}
.ads-v2-detail-table th{font-size:9px!important;font-weight:1000!important;letter-spacing:0!important}
.ads-v2-detail-table th:last-child,.ads-v2-detail-table td:last-child{border-right:0!important}
.ads-v2-detail-table th:nth-child(1),.ads-v2-detail-table td:nth-child(1){width:36%!important}
.ads-v2-detail-table th:nth-child(2),.ads-v2-detail-table td:nth-child(2){width:22%!important}
.ads-v2-detail-table th:nth-child(3),.ads-v2-detail-table td:nth-child(3){width:20%!important}
.ads-v2-detail-table th:nth-child(4),.ads-v2-detail-table td:nth-child(4){width:22%!important}
.ads-v2-detail-table td b{display:block!important;font-size:11px!important;font-weight:1000!important;line-height:1.05!important}
.ads-v2-detail-table td small{display:block!important;font-size:7px!important;font-weight:1000!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ads-v2-detail-table td.pos{color:#159447!important;font-weight:1000!important}.ads-v2-detail-table td.neg{color:#d93b5a!important;font-weight:1000!important}
@media(max-width:640px){
 .ads-v2-detail-table th,.ads-v2-detail-table td{padding:5px 1px!important;font-size:9px!important}
 .ads-v2-detail-table th{font-size:8px!important}
 .ads-v2-detail-table td b{font-size:10px!important}.ads-v2-detail-table td small{font-size:7px!important}
 .ads-v2-detail-table th:nth-child(1),.ads-v2-detail-table td:nth-child(1){width:37%!important}
 .ads-v2-detail-table th:nth-child(2),.ads-v2-detail-table td:nth-child(2){width:21%!important}
 .ads-v2-detail-table th:nth-child(3),.ads-v2-detail-table td:nth-child(3){width:20%!important}
 .ads-v2-detail-table th:nth-child(4),.ads-v2-detail-table td:nth-child(4){width:22%!important}
}

/* Data Search V2 — mobile scroll performance + dark dashboard contrast */
body.ads-v2-dark .ads-v2-head-actions .book-back-btn{background:#e8f1f8!important;color:#0b1724!important;border:1px solid #9fb6c9!important;box-shadow:0 4px 12px rgba(0,0,0,.28)!important;font-weight:1000!important}
@media(max-width:640px){
 html,body{scroll-behavior:auto!important;-webkit-overflow-scrolling:touch!important}
 .ads-v2-panel,.ads-v2-subpanel,.ads-v2-search{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .ads-v2-panel{background:rgba(255,255,255,.96)!important;box-shadow:0 6px 18px rgba(58,88,116,.10)!important}
 body.ads-v2-dark .ads-v2-panel,body.ads-v2-dark .ads-v2-subpanel,body.ads-v2-dark .ads-v2-search{background:#091829!important;box-shadow:none!important}
 .ads-v2-table-wrap,.ads-v2-search-main-wrap{overflow-x:visible!important;overflow-y:visible!important;touch-action:auto!important;overscroll-behavior:auto!important;scroll-behavior:auto!important}
 .ads-v2-search-main,.ads-v2-search-detail,.ads-v2-detail-table{width:100%!important;min-width:0!important;max-width:100%!important}
 .ads-v2-common-scroll{overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;touch-action:auto!important;overscroll-behavior:auto!important}
 .ads-v2-common-table{min-width:0!important;width:100%!important;max-width:100%!important;table-layout:fixed!important}
 .ads-v2-common-table th,.ads-v2-common-table td{padding:5px 2px!important;font-size:9px!important;overflow:hidden!important;text-overflow:clip!important}
 .ads-v2-common-table td button{font-size:13px!important}
}

/* Data Search V2 — fast mobile scrolling + dark dashboard contrast */
body.ads-v2-dark .ads-v2-head-actions .book-back-btn{background:#17324b!important;color:#ffffff!important;border:1px solid #355873!important;box-shadow:0 4px 12px rgba(0,0,0,.24)!important}
body.ads-v2-dark .ads-v2-head-actions .book-back-btn:hover,body.ads-v2-dark .ads-v2-head-actions .book-back-btn:focus{background:#21435f!important;color:#ffffff!important}
html,body{overscroll-behavior-y:auto!important}
.ads-v2-page,.ads-v2-panel,.ads-v2-subpanel,.ads-v2-search,.ads-v2-common-scroll,.ads-v2-search-main-wrap,.ads-v2-table-wrap{overflow-y:visible!important}
.ads-v2-common-scroll,.ads-v2-search-main-wrap,.ads-v2-table-wrap{scroll-behavior:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:auto!important;overscroll-behavior:auto!important}
@media(max-width:640px){
 body,.ads-v2-page{overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
 .ads-v2-panel,.ads-v2-subpanel,.ads-v2-search{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(255,255,255,.96)!important;box-shadow:0 4px 12px rgba(58,88,116,.08)!important}
 body.ads-v2-dark .ads-v2-panel,body.ads-v2-dark .ads-v2-subpanel,body.ads-v2-dark .ads-v2-search{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#0b1d31!important;box-shadow:0 4px 12px rgba(0,0,0,.18)!important}
 .ads-v2-common-scroll,.ads-v2-search-main-wrap,.ads-v2-table-wrap{overflow-x:auto!important;overflow-y:visible!important;scroll-behavior:auto!important;touch-action:auto!important;overscroll-behavior:auto!important}
 .ads-v2-common-table,.ads-v2-search-main,.ads-v2-search-detail,.ads-v2-detail-table{transform:none!important;will-change:auto!important}
}
/* DEPLOY_SAFE_LOCAL_TEST */

/* Final Balance Update yellow override */
.admin-action-3d.balance-update{background:linear-gradient(145deg,#fde047,#f59e0b)!important;color:#422006!important}

/* Final Data Search readability + dark P/M override */
.ads-v2-search-main th,.ads-v2-search-main td{font-size:18px!important;font-weight:1000!important;line-height:1.12!important}
.ads-v2-search-main th{font-size:15px!important}
.ads-v2-number-row td:first-child{font-size:25px!important;font-weight:1000!important}
.ads-v2-search-detail th,.ads-v2-search-detail td{font-size:16px!important;font-weight:1000!important;line-height:1.12!important}
.ads-v2-search-detail th{font-size:14px!important}
.ads-v2-search-detail td b{font-size:17px!important;font-weight:1000!important}.ads-v2-search-detail td small{font-size:11px!important;font-weight:1000!important}
.ads-v2-detail-table th,.ads-v2-detail-table td{font-size:16px!important;font-weight:1000!important;line-height:1.12!important}
.ads-v2-detail-table th{font-size:14px!important}.ads-v2-detail-table td b{font-size:17px!important;font-weight:1000!important}.ads-v2-detail-table td small{font-size:11px!important;font-weight:1000!important}
.ads-v2-common-table th,.ads-v2-common-table td{font-size:17px!important;font-weight:1000!important;line-height:1.12!important}.ads-v2-common-table th{font-size:14px!important}.ads-v2-common-table td button{font-size:22px!important;font-weight:1000!important}
.ads-v2-search-section-head,.ads-v2-common-head{font-size:16px!important;font-weight:1000!important}.ads-v2-common-head b{font-size:13px!important;font-weight:1000!important}
body.ads-v2-dark .ads-v2-summary .pos,body.ads-v2-dark .ads-v2-detail-table td.pos,body.ads-v2-dark .ads-v2-common-table td.pos,body.ads-v2-dark .ads-v2-search-detail td.pos{color:#39d98a!important;font-weight:1000!important;text-shadow:0 0 8px rgba(57,217,138,.18)!important}
body.ads-v2-dark .ads-v2-summary .neg,body.ads-v2-dark .ads-v2-detail-table td.neg,body.ads-v2-dark .ads-v2-common-table td.neg,body.ads-v2-dark .ads-v2-search-detail td.neg{color:#ff5f7f!important;font-weight:1000!important;text-shadow:0 0 8px rgba(255,95,127,.18)!important}
@media(max-width:640px){
 .ads-v2-search-main th,.ads-v2-search-main td{font-size:15px!important;padding:6px 2px!important}.ads-v2-search-main th{font-size:12px!important}.ads-v2-number-row td:first-child{font-size:21px!important}
 .ads-v2-search-detail th,.ads-v2-search-detail td,.ads-v2-detail-table th,.ads-v2-detail-table td{font-size:13px!important;padding:6px 2px!important}.ads-v2-search-detail th,.ads-v2-detail-table th{font-size:11px!important}.ads-v2-search-detail td b,.ads-v2-detail-table td b{font-size:14px!important}.ads-v2-search-detail td small,.ads-v2-detail-table td small{font-size:9px!important}
 .ads-v2-common-table th,.ads-v2-common-table td{font-size:14px!important;padding:6px 2px!important}.ads-v2-common-table th{font-size:11px!important}.ads-v2-common-table td button{font-size:19px!important}.ads-v2-search-section-head,.ads-v2-common-head{font-size:14px!important}.ads-v2-common-head b{font-size:11px!important}
}

/* Hierarchy dashboards: Admin / Super Master / Master / Distributor theme */
.hierarchy-theme-toggle{margin-left:auto;border:1px solid #cbd5e1!important;border-radius:11px!important;background:#fff!important;color:#0f172a!important;padding:9px 12px!important;font-size:10px!important;font-weight:1000!important;box-shadow:0 4px 12px rgba(15,23,42,.08)!important}
body.hierarchy-dark{background:#07111f!important;color:#eef6ff!important}
body.hierarchy-dark .shell{color:#eef6ff!important}
body.hierarchy-dark .hierarchy-dashboard-title strong{color:#f8fbff!important}
body.hierarchy-dark .hierarchy-dashboard-title span{color:#9fb5c8!important}
body.hierarchy-dark .hierarchy-theme-toggle{background:#163149!important;color:#fff!important;border-color:#3a5e7a!important;box-shadow:0 4px 12px rgba(0,0,0,.25)!important}
body.hierarchy-dark .hierarchy-side-menu{background:#0b1d31!important;color:#eef6ff!important;box-shadow:18px 0 45px rgba(0,0,0,.45)!important}
body.hierarchy-dark .hierarchy-menu-close{color:#fff!important}
body.hierarchy-dark .hierarchy-menu-head strong,body.hierarchy-dark .hierarchy-menu-head span,body.hierarchy-dark .hierarchy-menu-head small{color:#eef6ff!important}
body.hierarchy-dark .hierarchy-panel-identity{background:#0f2539!important;border-color:#2b4a64!important}
body.hierarchy-dark .hierarchy-panel-identity span{color:#fff!important}body.hierarchy-dark .hierarchy-panel-identity b{color:#75a7ff!important}body.hierarchy-dark .hierarchy-panel-identity small{color:#9db3c5!important}
body.hierarchy-dark table,body.hierarchy-dark .table-wrap,body.hierarchy-dark .card,body.hierarchy-dark .panel{color:#eef6ff}
body.hierarchy-dark table th{background:#10263a!important;color:#d9e9f6!important;border-color:#29465e!important}
body.hierarchy-dark table td{background:#0a1c2e!important;color:#eef7ff!important;border-color:#254159!important}
body.hierarchy-dark input,body.hierarchy-dark select,body.hierarchy-dark textarea{background:#0b1d31!important;color:#f6fbff!important;border-color:#29435b!important}
body.hierarchy-dark .pos,body.hierarchy-dark [class*="positive"]{color:#39d98a!important}
body.hierarchy-dark .neg,body.hierarchy-dark [class*="negative"]{color:#ff6f91!important}
@media(max-width:640px){.hierarchy-theme-toggle{padding:8px 9px!important;font-size:9px!important}.hierarchy-dashboard-top{gap:8px!important}.hierarchy-dashboard-title{min-width:0}.hierarchy-dashboard-title strong{font-size:18px!important}}

/* Hierarchy dark mode — global pages + contrast fixes */
body.hierarchy-dark .shell,body.hierarchy-dark .page,body.hierarchy-dark main,body.hierarchy-dark section{color:#eef6ff}
body.hierarchy-dark .card,body.hierarchy-dark .panel,body.hierarchy-dark .report-card,body.hierarchy-dark .summary-card,body.hierarchy-dark .toolbar,body.hierarchy-dark .filters,body.hierarchy-dark .modal-content{background:#0b1d31!important;color:#eef6ff!important;border-color:#2a465e!important;box-shadow:0 8px 24px rgba(0,0,0,.24)!important}
body.hierarchy-dark a,body.hierarchy-dark .link,body.hierarchy-dark .muted-link{color:#8fc5ff!important}
body.hierarchy-dark .muted,body.hierarchy-dark small,body.hierarchy-dark .subtext,body.hierarchy-dark .helper,body.hierarchy-dark .hint{color:#9fb6c9!important}
body.hierarchy-dark h1,body.hierarchy-dark h2,body.hierarchy-dark h3,body.hierarchy-dark h4,body.hierarchy-dark h5,body.hierarchy-dark h6,body.hierarchy-dark strong,body.hierarchy-dark b,body.hierarchy-dark label{color:#f7fbff!important}
body.hierarchy-dark .btn,body.hierarchy-dark button:not(.red):not(.danger){background:#17324b!important;color:#f7fbff!important;border-color:#355873!important}
body.hierarchy-dark .btn:hover,body.hierarchy-dark button:not(.red):not(.danger):hover{background:#21435f!important;color:#fff!important}
body.hierarchy-dark .badge,body.hierarchy-dark [class*="badge"],body.hierarchy-dark [class*="chip"],body.hierarchy-dark [class*="pill"]{background:#17324b!important;color:#dcecff!important;border-color:#355873!important}
body.hierarchy-dark [class*="role"],body.hierarchy-dark [class*="name"],body.hierarchy-dark [class*="username"]{color:#e9f4ff!important}
body.hierarchy-dark .green,body.hierarchy-dark .success,body.hierarchy-dark .credit,body.hierarchy-dark .plus,body.hierarchy-dark .pos{color:#45e09a!important}
body.hierarchy-dark .red,body.hierarchy-dark .danger,body.hierarchy-dark .debit,body.hierarchy-dark .minus,body.hierarchy-dark .neg{color:#ff6f91!important}
body.hierarchy-dark .yellow,body.hierarchy-dark .warning{color:#ffd75e!important}
body.hierarchy-dark .blue,body.hierarchy-dark .info{color:#7ab8ff!important}
body.hierarchy-dark .purple{color:#c4a7ff!important}
body.hierarchy-dark .orange{color:#ffb26b!important}
body.hierarchy-dark hr,body.hierarchy-dark .divider{border-color:#29465e!important}
body.hierarchy-dark .table-wrap,body.hierarchy-dark .list,body.hierarchy-dark .list-row,body.hierarchy-dark .accordion,body.hierarchy-dark .accordion-item{background:#0a1c2e!important;color:#eef7ff!important;border-color:#254159!important}
body.hierarchy-dark input::placeholder,body.hierarchy-dark textarea::placeholder{color:#6f8aa1!important}
body.hierarchy-dark select option{background:#0b1d31!important;color:#fff!important}
body.hierarchy-dark .history-back-btn,body.hierarchy-dark .book-back-btn{background:#17324b!important;color:#fff!important;border-color:#355873!important}

/* Global hierarchy dark theme across all authenticated hierarchy pages */
body.hierarchy-dark .shell,body.hierarchy-dark .top,body.hierarchy-dark .nav,body.hierarchy-dark main,body.hierarchy-dark section{color:#eef6ff}
body.hierarchy-dark a{color:#9ecbff}
body.hierarchy-dark .btn,body.hierarchy-dark button.gray,body.hierarchy-dark .history-back-btn,body.hierarchy-dark .book-back-btn{background:#163149!important;color:#fff!important;border-color:#3a5e7a!important}
body.hierarchy-dark .card,body.hierarchy-dark .panel,body.hierarchy-dark .report-card,body.hierarchy-dark .report-panel,body.hierarchy-dark .summary-card,body.hierarchy-dark .stat-card,body.hierarchy-dark .user-card,body.hierarchy-dark .account-card{background:#0b1d31!important;color:#eef6ff!important;border-color:#28465f!important;box-shadow:0 8px 24px rgba(0,0,0,.22)!important}
body.hierarchy-dark .muted,body.hierarchy-dark small,body.hierarchy-dark .label,body.hierarchy-dark .subtle,body.hierarchy-dark .hint,body.hierarchy-dark .meta{color:#9fb5c8!important}
body.hierarchy-dark h1,body.hierarchy-dark h2,body.hierarchy-dark h3,body.hierarchy-dark h4,body.hierarchy-dark strong,body.hierarchy-dark b{color:#f7fbff}
body.hierarchy-dark .badge,body.hierarchy-dark [class*="badge"],body.hierarchy-dark [class*="pill"],body.hierarchy-dark [class*="tag"]{background:#17324b!important;color:#dff1ff!important;border-color:#3b5d77!important}
body.hierarchy-dark [class*="master"],body.hierarchy-dark [class*="distributor"],body.hierarchy-dark [class*="super-master"],body.hierarchy-dark [class*="username"],body.hierarchy-dark [class*="display-name"]{text-shadow:0 1px 0 rgba(0,0,0,.35)}
body.hierarchy-dark .red,body.hierarchy-dark [class*="danger"]{color:#ff8aa2!important}
body.hierarchy-dark .green,body.hierarchy-dark [class*="success"]{color:#54e39a!important}
body.hierarchy-dark .yellow,body.hierarchy-dark [class*="warning"]{color:#ffd76a!important}
body.hierarchy-dark hr{border-color:#29465e!important}
body.hierarchy-dark .table-wrap,body.hierarchy-dark [class*="table-wrap"]{background:#0a1c2e!important}
body.hierarchy-dark table thead th{background:#10263a!important;color:#dcebf7!important}
body.hierarchy-dark table tbody tr:nth-child(even) td{background:#0d2135!important}
body.hierarchy-dark table tbody tr:hover td{background:#14304a!important}
body.hierarchy-dark input::placeholder,body.hierarchy-dark textarea::placeholder{color:#6f899f!important}
body.hierarchy-dark .drawer,body.hierarchy-dark [class*="drawer"],body.hierarchy-dark .menu-panel,body.hierarchy-dark [class*="menu-panel"]{background:#0b1d31!important;color:#eef6ff!important;border-color:#28465f!important}

/* Hierarchy dark mode — force all functional pages */
body.hierarchy-dark .balance-update-page,body.hierarchy-dark .result-update-page,body.hierarchy-dark .hierarchy-report-page,body.hierarchy-dark .user-report-page,body.hierarchy-dark .report-page,body.hierarchy-dark .payment-page,body.hierarchy-dark .account-form-page,body.hierarchy-dark .draw-list-page,body.hierarchy-dark .draw-form-page,body.hierarchy-dark .history-page{background:#07111f!important;color:#eef6ff!important}
body.hierarchy-dark .balance-update-page *,body.hierarchy-dark .result-update-page *,body.hierarchy-dark .hierarchy-report-page *,body.hierarchy-dark .user-report-page *,body.hierarchy-dark .report-page *,body.hierarchy-dark .payment-page *,body.hierarchy-dark .account-form-page *,body.hierarchy-dark .draw-list-page *,body.hierarchy-dark .draw-form-page *,body.hierarchy-dark .history-page *{border-color:#29465e}
body.hierarchy-dark .balance-update-page .card,body.hierarchy-dark .result-update-page .card,body.hierarchy-dark .hierarchy-report-page .card,body.hierarchy-dark .user-report-page .card,body.hierarchy-dark .report-page .card,body.hierarchy-dark .payment-page .card,body.hierarchy-dark .account-form-page .card,body.hierarchy-dark .draw-list-page .card,body.hierarchy-dark .draw-form-page .card,body.hierarchy-dark .history-page .card,body.hierarchy-dark .balance-update-page .panel,body.hierarchy-dark .result-update-page .panel,body.hierarchy-dark .hierarchy-report-page .panel,body.hierarchy-dark .user-report-page .panel,body.hierarchy-dark .report-page .panel,body.hierarchy-dark .payment-page .panel,body.hierarchy-dark .account-form-page .panel,body.hierarchy-dark .draw-list-page .panel,body.hierarchy-dark .draw-form-page .panel,body.hierarchy-dark .history-page .panel{background:#0b1d31!important;color:#eef6ff!important;border-color:#2a465e!important;box-shadow:0 8px 24px rgba(0,0,0,.22)!important}
body.hierarchy-dark .balance-update-page table th,body.hierarchy-dark .result-update-page table th,body.hierarchy-dark .hierarchy-report-page table th,body.hierarchy-dark .user-report-page table th,body.hierarchy-dark .report-page table th,body.hierarchy-dark .payment-page table th,body.hierarchy-dark .account-form-page table th,body.hierarchy-dark .draw-list-page table th,body.hierarchy-dark .draw-form-page table th,body.hierarchy-dark .history-page table th{background:#10263a!important;color:#dceaf6!important}
body.hierarchy-dark .balance-update-page table td,body.hierarchy-dark .result-update-page table td,body.hierarchy-dark .hierarchy-report-page table td,body.hierarchy-dark .user-report-page table td,body.hierarchy-dark .report-page table td,body.hierarchy-dark .payment-page table td,body.hierarchy-dark .account-form-page table td,body.hierarchy-dark .draw-list-page table td,body.hierarchy-dark .draw-form-page table td,body.hierarchy-dark .history-page table td{background:#0a1c2e!important;color:#eef7ff!important}
body.hierarchy-dark .balance-update-page input,body.hierarchy-dark .balance-update-page select,body.hierarchy-dark .result-update-page input,body.hierarchy-dark .result-update-page select,body.hierarchy-dark .hierarchy-report-page input,body.hierarchy-dark .hierarchy-report-page select,body.hierarchy-dark .user-report-page input,body.hierarchy-dark .user-report-page select,body.hierarchy-dark .report-page input,body.hierarchy-dark .report-page select,body.hierarchy-dark .payment-page input,body.hierarchy-dark .payment-page select,body.hierarchy-dark .account-form-page input,body.hierarchy-dark .account-form-page select,body.hierarchy-dark .draw-list-page input,body.hierarchy-dark .draw-list-page select,body.hierarchy-dark .draw-form-page input,body.hierarchy-dark .draw-form-page select,body.hierarchy-dark .history-page input,body.hierarchy-dark .history-page select{background:#0b1d31!important;color:#f7fbff!important;border-color:#35516a!important}
body.hierarchy-dark .balance-update-page .muted,body.hierarchy-dark .result-update-page .muted,body.hierarchy-dark .hierarchy-report-page .muted,body.hierarchy-dark .user-report-page .muted,body.hierarchy-dark .report-page .muted,body.hierarchy-dark .payment-page .muted,body.hierarchy-dark .account-form-page .muted,body.hierarchy-dark .draw-list-page .muted,body.hierarchy-dark .draw-form-page .muted,body.hierarchy-dark .history-page .muted{color:#9fb6c9!important}

/* Hierarchy dark mode — full function pages */
body.hierarchy-dark .balance-update-page,body.hierarchy-dark .result-update-page,body.hierarchy-dark .hierarchy-report-page,body.hierarchy-dark .report-page,body.hierarchy-dark .payment-page,body.hierarchy-dark .account-form-page,body.hierarchy-dark .draw-list-page,body.hierarchy-dark .draw-form-page,body.hierarchy-dark .user-report-page{background:#07111f!important;color:#eef6ff!important}
body.hierarchy-dark .balance-update-page *,body.hierarchy-dark .result-update-page *,body.hierarchy-dark .hierarchy-report-page *,body.hierarchy-dark .report-page *,body.hierarchy-dark .payment-page *,body.hierarchy-dark .account-form-page *,body.hierarchy-dark .draw-list-page *,body.hierarchy-dark .draw-form-page *,body.hierarchy-dark .user-report-page *{border-color:#29465e}
body.hierarchy-dark .balance-update-page .card,body.hierarchy-dark .balance-update-page .panel,body.hierarchy-dark .result-update-page .card,body.hierarchy-dark .result-update-page .panel,body.hierarchy-dark .hierarchy-report-page .card,body.hierarchy-dark .hierarchy-report-page .panel,body.hierarchy-dark .report-page .card,body.hierarchy-dark .report-page .panel,body.hierarchy-dark .payment-page .card,body.hierarchy-dark .payment-page .panel,body.hierarchy-dark .account-form-page .card,body.hierarchy-dark .account-form-page .panel,body.hierarchy-dark .draw-list-page .card,body.hierarchy-dark .draw-form-page .card,body.hierarchy-dark .user-report-page .card{background:#0b1d31!important;color:#eef6ff!important;border-color:#29465e!important;box-shadow:0 8px 24px rgba(0,0,0,.22)!important}
body.hierarchy-dark .balance-update-page table th,body.hierarchy-dark .result-update-page table th,body.hierarchy-dark .hierarchy-report-page table th,body.hierarchy-dark .report-page table th,body.hierarchy-dark .payment-page table th,body.hierarchy-dark .account-form-page table th,body.hierarchy-dark .draw-list-page table th,body.hierarchy-dark .user-report-page table th{background:#10263a!important;color:#dcecf8!important}
body.hierarchy-dark .balance-update-page table td,body.hierarchy-dark .result-update-page table td,body.hierarchy-dark .hierarchy-report-page table td,body.hierarchy-dark .report-page table td,body.hierarchy-dark .payment-page table td,body.hierarchy-dark .account-form-page table td,body.hierarchy-dark .draw-list-page table td,body.hierarchy-dark .user-report-page table td{background:#0a1c2e!important;color:#eef7ff!important}
body.hierarchy-dark .balance-update-page input,body.hierarchy-dark .balance-update-page select,body.hierarchy-dark .balance-update-page textarea,body.hierarchy-dark .result-update-page input,body.hierarchy-dark .result-update-page select,body.hierarchy-dark .result-update-page textarea,body.hierarchy-dark .hierarchy-report-page input,body.hierarchy-dark .hierarchy-report-page select,body.hierarchy-dark .report-page input,body.hierarchy-dark .report-page select,body.hierarchy-dark .payment-page input,body.hierarchy-dark .account-form-page input,body.hierarchy-dark .account-form-page select,body.hierarchy-dark .draw-form-page input,body.hierarchy-dark .draw-form-page select{background:#0b1d31!important;color:#fff!important;border-color:#355873!important}
body.hierarchy-dark .balance-update-page .muted,body.hierarchy-dark .result-update-page .muted,body.hierarchy-dark .hierarchy-report-page .muted,body.hierarchy-dark .report-page .muted,body.hierarchy-dark .payment-page .muted,body.hierarchy-dark .account-form-page .muted,body.hierarchy-dark .draw-list-page .muted,body.hierarchy-dark .draw-form-page .muted,body.hierarchy-dark .user-report-page .muted{color:#9fb6c9!important}
body.hierarchy-dark .balance-update-page .pos,body.hierarchy-dark .result-update-page .pos,body.hierarchy-dark .hierarchy-report-page .pos,body.hierarchy-dark .report-page .pos,body.hierarchy-dark .payment-page .pos,body.hierarchy-dark .user-report-page .pos{color:#45e09a!important}
body.hierarchy-dark .balance-update-page .neg,body.hierarchy-dark .result-update-page .neg,body.hierarchy-dark .hierarchy-report-page .neg,body.hierarchy-dark .report-page .neg,body.hierarchy-dark .payment-page .neg,body.hierarchy-dark .user-report-page .neg{color:#ff6f91!important}

/* User entry toolbar spacing: Copy left, Save beside Search */
.purchase-toolbar-delete-search .purchase-toolbar-left{display:flex!important;align-items:center!important;gap:12px!important}
.purchase-toolbar-delete-search .purchase-toolbar-actions{display:flex!important;align-items:center!important;gap:10px!important;margin-left:auto!important;justify-content:flex-end!important}
.purchase-toolbar-delete-search .save-sheet-btn{order:1!important;margin:0!important}
.purchase-toolbar-delete-search .entry-search{order:2!important;margin:0!important}
.purchase-toolbar-delete-search .copy-active-sms-btn{margin-left:4px!important}
@media(max-width:640px){.purchase-toolbar-delete-search{gap:12px!important}.purchase-toolbar-delete-search .purchase-toolbar-left{gap:10px!important}.purchase-toolbar-delete-search .purchase-toolbar-actions{gap:7px!important}.purchase-toolbar-delete-search .entry-search{width:130px!important}}

/* User entry header labels + Save/Search spacing */
.draw-profile-right span>b{color:#ffffff!important;font-weight:1000!important;display:inline-block!important;margin-right:8px!important;letter-spacing:.01em!important}
#draw-upline-label{color:#ffffff!important;font-weight:1000!important}
.purchase-toolbar-delete-search .purchase-toolbar-actions{gap:18px!important;margin-left:auto!important;padding-left:18px!important}
.purchase-toolbar-delete-search .save-sheet-btn{margin-right:2px!important}
@media(max-width:640px){
 .draw-profile-right span>b{font-size:12px!important;margin-right:7px!important}
 .purchase-toolbar-delete-search .purchase-toolbar-actions{gap:13px!important;padding-left:12px!important}
 .purchase-toolbar-delete-search .entry-search{width:130px!important}
}

/* User entry final header/readability spacing */
#draw-upline-label,.draw-profile-right span>b{color:#ffffff!important;font-weight:1000!important;font-size:13px!important;letter-spacing:.01em!important;margin-right:10px!important}
.draw-profile-right .draw-value-sticker{font-weight:1000!important;font-size:15px!important}
#draw-select,.draw-select,.entry-draw-select{font-weight:1000!important}
.purchase-toolbar-delete-search .purchase-toolbar-actions{display:flex!important;align-items:center!important;gap:24px!important;margin-left:auto!important;padding-left:22px!important}
.purchase-toolbar-delete-search .save-sheet-btn{margin-right:0!important}
.purchase-toolbar-delete-search .entry-search{margin-left:0!important}
@media(max-width:640px){
 #draw-upline-label,.draw-profile-right span>b{font-size:12px!important;margin-right:8px!important}
 .draw-profile-right .draw-value-sticker{font-size:14px!important}
 .purchase-toolbar-delete-search .purchase-toolbar-actions{gap:18px!important;padding-left:16px!important}
}

/* User entry toolbar final placement + countdown emphasis */
.purchase-toolbar-delete-search{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;column-gap:14px!important}
.purchase-toolbar-delete-search .purchase-toolbar-left{grid-column:1!important;justify-self:start!important}
.purchase-toolbar-delete-search .purchase-toolbar-center{grid-column:2!important;justify-self:center!important;display:flex!important;align-items:center!important}
.purchase-toolbar-delete-search .purchase-toolbar-actions{grid-column:3!important;justify-self:end!important;margin-left:0!important;padding-left:0!important;display:flex!important;align-items:center!important}
.purchase-toolbar-delete-search .save-sheet-btn{margin:0!important}
.purchase-toolbar-delete-search .entry-search{margin:0!important}
#draw-countdown,.draw-countdown,.remaining-time,[class*="countdown"]{font-weight:1000!important;font-size:14px!important;letter-spacing:.02em!important}
@media(max-width:640px){
 .purchase-toolbar-delete-search{grid-template-columns:auto 1fr auto!important;column-gap:10px!important}
 .purchase-toolbar-delete-search .purchase-toolbar-center{justify-self:center!important}
 .purchase-toolbar-delete-search .entry-search{width:128px!important}
 #draw-countdown,.draw-countdown,.remaining-time,[class*="countdown"]{font-size:13px!important;font-weight:1000!important}
}

/* Report selection fields — soft visual tint only; no report logic changed (2026-08-06) */
.hierarchy-report-filters input[type="date"],
.hierarchy-report-filters select,
.sheet-report-filters input[type="date"],
.sheet-report-filters select,
.total-sale-filters input[type="date"],
.total-sale-filters select,
[class*="report-filters"] input[type="date"],
[class*="report-filters"] select {
  background-color:#f6f8ff!important;
  border-color:#d9def4!important;
  box-shadow:0 1px 3px rgba(15,23,42,.05)!important;
}

.hierarchy-report-filters input[type="date"]:focus,
.hierarchy-report-filters select:focus,
.sheet-report-filters input[type="date"]:focus,
.sheet-report-filters select:focus,
.total-sale-filters input[type="date"]:focus,
.total-sale-filters select:focus,
[class*="report-filters"] input[type="date"]:focus,
[class*="report-filters"] select:focus {
  background-color:#fbfcff!important;
  border-color:#b9c4ef!important;
  outline:none!important;
}

/* Book Details: date first, then draw; existing actions remain unchanged. */
.book-details-page .book-controls{
  grid-template-areas:"date date date" "draw draw draw" "entries pdf search"!important;
}
.book-details-page .book-date-control{grid-area:date!important}
.book-details-page .book-draw-control{grid-area:draw!important}
@media(max-width:720px){
 .book-details-page .book-controls{
   grid-template-areas:"date date date" "draw draw draw" "entries pdf search"!important;
 }
}

/* SMS entry guidance: keep textarea visibly empty while showing lightweight usage rules. */
#sms-entry-text::placeholder{
  font:300 6px/1.25 Arial,sans-serif!important;
  color:#94a3b8!important;
  opacity:.28!important;
  letter-spacing:0!important;
}

/* SMS empty-state guidance: same subtle scale/feel as Palti example text. */
#sms-highlight-wrap{position:relative}
#sms-highlight-wrap .sms-entry-hint{
  position:absolute!important;
  top:12px!important;
  left:14px!important;
  right:14px!important;
  z-index:20!important;
  display:block!important;
  pointer-events:none!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:#9ca3af!important;
  opacity:.9!important;
  letter-spacing:0!important;
  white-space:normal!important;
}
#sms-highlight-wrap.has-sms-value .sms-entry-hint{display:none!important}
#sms-entry-text::placeholder{color:transparent!important;opacity:0!important}

/* SMS textarea native placeholder: compact professional guidance. */
#sms-entry-text{
  -webkit-text-size-adjust:none!important;
  text-size-adjust:none!important;
}
#sms-entry-text::placeholder{
  color:#94a3b8!important;
  opacity:.58!important;
  font-size:6px!important;
  font-weight:400!important;
  line-height:1.35!important;
}

/* SMS guidance rendered inside the proven visible highlight layer. */
#sms-highlight-wrap.has-guidance #sms-entry-text{
  background:transparent!important;
}
#sms-highlight-layer .sms-guidance-in-layer{
  display:block!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:#9ca3af!important;
  -webkit-text-fill-color:#9ca3af!important;
  opacity:.9!important;
  white-space:normal!important;
}

/* SMS static help strip above editor; independent of dual-layer highlight/cursor logic. */
.sms-panel-left .sms-top-help{
  margin:0 2px 7px;
  padding:0;
  font-size:12px;
  font-weight:400;
  line-height:1.45;
  color:#9ca3af;
  opacity:.9;
}

/* SMS modal: keep header/tabs reachable with mobile keyboard and make body scrollable. */
#sms-palti-modal.is-open{
  top:var(--sms-top,0px)!important;
  height:var(--sms-vh,100dvh)!important;
  max-height:var(--sms-vh,100dvh)!important;
}
#sms-palti-modal .sms-palti-dialog{
  max-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}
#sms-palti-modal .sms-palti-content{
  min-height:0!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
}
#sms-palti-modal.keyboard-open .sms-palti-dialog{
  height:100%!important;
}
/* More compact, clearer Urdu help above SMS editor. */
.sms-panel-left .sms-top-help{
  font-size:10px!important;
  line-height:1.5!important;
  color:#94a3b8!important;
  opacity:.95!important;
  direction:rtl;
  text-align:right;
}

/* SMS modal v3: compact help text + keep header/tabs fixed inside keyboard viewport. */
.sms-panel-left .sms-top-help{
  font-size:6px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:#94a3b8!important;
  opacity:.82!important;
  direction:rtl!important;
  text-align:right!important;
}
#sms-palti-modal .sms-palti-dialog{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
}
#sms-palti-modal .sms-palti-header,
#sms-palti-modal .sms-palti-tabs{
  flex:0 0 auto!important;
  position:relative!important;
  z-index:5!important;
}
#sms-palti-modal .sms-palti-content{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
#sms-palti-modal.keyboard-open .sms-palti-dialog{
  height:var(--sms-vh,100dvh)!important;
  max-height:var(--sms-vh,100dvh)!important;
}

/* SMS modal v4: smaller guidance, shorter SMS box, keep top anchored during keyboard. */
.sms-panel-left .sms-top-help{
  font-size:4px!important;
  line-height:1.35!important;
  color:#94a3b8!important;
  opacity:.8!important;
}
#sms-palti-modal #sms-entry-text{
  min-height:125px!important;
}

/* SMS modal v5: lock help to ~40% visual scale and keep mobile modal header/tabs pinned while only content scrolls. */
.sms-panel-left .sms-top-help{
  font-size:10px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:#94a3b8!important;
  opacity:.82!important;
  direction:rtl!important;
  text-align:right!important;
  transform:scale(.4)!important;
  transform-origin:top right!important;
  width:250%!important;
  margin:0 0 -7px -150%!important;
}
@media(max-width:650px){
  #sms-palti-modal.is-open{
    position:fixed!important;
    inset:0!important;
    top:0!important;
    height:100dvh!important;
    max-height:100dvh!important;
    align-items:flex-start!important;
    overflow:hidden!important;
  }
  #sms-palti-modal .sms-palti-dialog{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
  }
  #sms-palti-modal .sms-palti-header,
  #sms-palti-modal .sms-palti-tabs{
    flex:0 0 auto!important;
    position:relative!important;
    z-index:30!important;
  }
  #sms-palti-modal .sms-palti-content{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #sms-palti-modal #sms-entry-text{
    min-height:110px!important;
    max-height:135px!important;
  }
}

/* SMS modal v6 FINAL scoped UI authority: one scroll owner, pinned header/tabs, compact editor/help. */
#sms-palti-modal.is-open{
  position:fixed!important;
  inset:0!important;
  top:0!important;
  height:var(--sms-vh,100dvh)!important;
  max-height:var(--sms-vh,100dvh)!important;
  align-items:flex-start!important;
  justify-content:center!important;
  overflow:hidden!important;
}
#sms-palti-modal .sms-palti-dialog{
  position:relative!important;
  width:min(760px,100vw)!important;
  height:100%!important;
  max-height:100%!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
#sms-palti-modal .sms-palti-header,
#sms-palti-modal .sms-palti-tabs{
  flex:0 0 auto!important;
  position:relative!important;
  z-index:40!important;
}
#sms-palti-modal .sms-palti-content{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
#sms-palti-modal #sms-entry-text{
  min-height:112px!important;
  height:112px!important;
  max-height:150px!important;
  overflow:auto!important;
}
.sms-panel-left .sms-top-help{
  margin:0 2px 6px!important;
  padding:0!important;
  width:auto!important;
  transform:none!important;
  font-size:8px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:#94a3b8!important;
  opacity:.9!important;
  direction:rtl!important;
  text-align:right!important;
}

/* Dashboard role/account summary cards — approved white readability treatment */
.hierarchy-stat-card.online{background:#fff!important;color:#111827!important;border:1px solid #dbe3ec!important;box-shadow:0 4px 12px rgba(15,23,42,.10)!important}
.hierarchy-stat-card.online span{color:#475569!important}
.hierarchy-stat-card.online b{color:#111827!important}
.hierarchy-stat-card.total-accounts{background:linear-gradient(145deg,#7c3aed,#4f46e5)!important;color:#fff!important;border:1px solid rgba(255,255,255,.35)!important;box-shadow:0 6px 14px rgba(79,70,229,.28),inset 0 1px 0 rgba(255,255,255,.28)!important}
.hierarchy-stat-card.total-accounts span,.hierarchy-stat-card.total-accounts b{color:#fff!important}

/* Distributor dashboard: move existing User count into the empty summary slot */
.hierarchy-stat-card.distributor-user-stat{background:linear-gradient(145deg,#16a34a,#15803d)!important;color:#fff!important;cursor:pointer;box-shadow:0 7px 0 #166534,0 12px 24px rgba(21,128,61,.22)!important}
.hierarchy-stat-card.distributor-user-stat span,.hierarchy-stat-card.distributor-user-stat b{color:#fff!important}
.hierarchy-stat-card.distributor-user-stat:active{transform:translateY(3px)}

/* Account create/edit password visibility control */
.account-password-shell{position:relative;display:flex;align-items:center}
.account-password-shell input{width:100%;padding-right:46px!important}
.account-password-shell .password-eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;padding:4px;cursor:pointer}
.account-password-shell .password-eye svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.account-password-shell .password-eye .eye-closed{display:none}
.account-password-shell .password-eye.is-visible .eye-open{display:none}
.account-password-shell .password-eye.is-visible .eye-closed{display:block}

/* Dashboard table Upline header signed total */
.dashboard-table-wrap th .upline-total{display:inline-block;margin-left:5px;font-size:10px;font-weight:800;white-space:nowrap}
.dashboard-table-wrap th .upline-total.positive{color:#15803d!important}
.dashboard-table-wrap th .upline-total.negative{color:#dc2626!important}
.dashboard-table-wrap th .upline-total.zero{color:#64748b!important}

/* Payment Details: separate manual-account filter */
.filter-type-btn.manual-account-btn{background:#0f766e;color:#fff;border-color:#115e59}.filter-type-btn.manual-account-btn.active{box-shadow:0 0 0 3px #fde047,0 3px 8px rgba(15,118,110,.18)}

/* Account password eye state clarity: closed eye = hidden, open eye = visible */
.account-password-shell .password-eye .eye-open{display:none}
.account-password-shell .password-eye .eye-closed{display:block}
.account-password-shell .password-eye.is-visible .eye-open{display:block}
.account-password-shell .password-eye.is-visible .eye-closed{display:none}

/* Dashboard Upline/Downline split card for Super Master, Master, Distributor */
.hierarchy-stat-card.upline-split-card{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;padding:10px 12px!important}
.hierarchy-stat-card.upline-split-card .upline-split-part{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}
.hierarchy-stat-card.upline-split-card .upline-split-part span{font-size:9px!important;line-height:1.1!important;font-weight:700!important;letter-spacing:.02em}
.hierarchy-stat-card.upline-split-card .upline-split-part b{font-size:14px!important;line-height:1.1!important;font-weight:800!important;white-space:nowrap}
.hierarchy-stat-card.upline-split-card .upline-split-divider{height:1px;width:100%;background:rgba(100,116,139,.28);margin:2px 0}

/* Upline/Downline labels follow the signed value color */
.hierarchy-stat-card.upline-split-card .upline-split-label{font-size:9px!important;font-weight:800!important;line-height:1!important;letter-spacing:.02em}
.hierarchy-stat-card.upline-split-card .upline-split-label.positive{color:#15803d!important}
.hierarchy-stat-card.upline-split-card .upline-split-label.negative{color:#dc2626!important}
.hierarchy-stat-card.upline-split-card .upline-split-label.zero{color:#64748b!important}

/* Adaptive Upline/Downline amount sizing */
.hierarchy-stat-card.upline-split-card .upline-split-part b.upline-value-lg{font-size:16px!important}
.hierarchy-stat-card.upline-split-card .upline-split-part b.upline-value-md{font-size:14px!important}
.hierarchy-stat-card.upline-split-card .upline-split-part b.upline-value-sm{font-size:12px!important}
.hierarchy-stat-card.upline-split-card .upline-split-part b.upline-value-xs{font-size:10px!important;letter-spacing:-.02em}

/* Payment wallet compact 3-card identity layout */
.payment-v1-page .payment-wallet-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 6px!important;padding:0 2px;color:#475569!important;font-size:11px!important;line-height:1.2}
.payment-v1-page .payment-wallet-title strong{font-size:12px;font-weight:850;color:#334155}
.payment-v1-page .payment-wallet-title span{font-size:10px;font-weight:700;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62%}
.payment-v1-page .target-wallet-title{border-top:1px solid rgba(100,116,139,.28);padding-top:10px;margin-top:12px!important}
.payment-v1-page .wallets.payment-wallets-3d{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:6px 0 10px!important}
.payment-v1-page .wallets.payment-wallets-3d>.payment-wallet-stat{min-width:0;padding:9px 5px!important;border-radius:12px!important;border:1px solid rgba(148,163,184,.34)!important;box-shadow:0 3px 8px rgba(15,23,42,.13),inset 0 1px 0 rgba(255,255,255,.7)!important}
.payment-v1-page .wallets.payment-wallets-3d>.wallet-credit{background:linear-gradient(180deg,#dcfce7,#bbf7d0)!important}
.payment-v1-page .wallets.payment-wallets-3d>.wallet-balance{background:linear-gradient(180deg,#e0f2fe,#bae6fd)!important}
.payment-v1-page .wallets.payment-wallets-3d>.wallet-upline{background:rgba(255,255,255,.78)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-color:rgba(203,213,225,.9)!important;box-shadow:0 3px 10px rgba(15,23,42,.10),inset 0 1px 0 #fff!important}
.payment-v1-page .wallets.payment-wallets-3d .payment-wallet-stat span{font-size:10px!important;font-weight:800!important;color:#64748b!important;white-space:nowrap}
.payment-v1-page .wallets.payment-wallets-3d .payment-wallet-stat b{font-size:clamp(13px,3.5vw,18px)!important;line-height:1.1!important;margin-top:4px!important;white-space:nowrap;overflow:hidden;text-overflow:clip}
.payment-v1-page .wallets.payment-wallets-3d .wallet-credit b{color:#15803d!important}
.payment-v1-page .wallets.payment-wallets-3d .wallet-balance b{color:#0369a1!important}
@media(max-width:420px){.payment-v1-page .wallets.payment-wallets-3d{gap:5px!important}.payment-v1-page .wallets.payment-wallets-3d>.payment-wallet-stat{padding:8px 3px!important}.payment-v1-page .payment-wallet-title span{max-width:58%;font-size:9px}.payment-v1-page .wallets.payment-wallets-3d .payment-wallet-stat b{font-size:clamp(12px,3.8vw,16px)!important}}

.sheet-table-pagination{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin:10px 0 2px}.sheet-table-pagination button{min-width:30px;height:30px;padding:0 8px;border:1px solid rgba(0,0,0,.14);border-radius:7px;background:#fff;font-size:13px;font-weight:500;line-height:1;box-shadow:none;cursor:pointer}.sheet-table-pagination button:hover:not(:disabled){background:rgba(0,0,0,.04)}.sheet-table-pagination button.is-active{font-weight:600;border-color:rgba(0,0,0,.28);background:rgba(0,0,0,.06)}.sheet-table-pagination button:disabled{opacity:.4;cursor:default}.sheet-table-pagination span{padding:0 2px;font-size:13px;opacity:.65}

/* Saved Sheet pagination readability */
.sheet-table-pagination button{background:#eef6ff!important;color:#1e3a8a!important;border-color:#bfdbfe!important}.sheet-table-pagination button:hover:not(:disabled){background:#dbeafe!important;color:#1d4ed8!important}.sheet-table-pagination button.is-active{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important}.sheet-table-pagination button:disabled{background:#f8fafc!important;color:#94a3b8!important;border-color:#e2e8f0!important;opacity:1!important}
