*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:linear-gradient(135deg,#070d18,#18243a);color:#e5e7eb;font-family:system-ui,sans-serif}main{min-height:100vh;display:grid;place-items:center;padding:14px}.card{width:min(470px,100%);background:#101827;border:1px solid #334155;border-radius:20px;padding:24px;box-shadow:0 24px 70px #0008}.wide{width:min(960px,100%)}.brand{text-align:center;color:#facc15;font-weight:900;letter-spacing:.14em}h1{text-align:center}p,small{text-align:center;color:#94a3b8;display:block}label{display:block;margin:14px 0 7px;color:#cbd5e1}input{width:100%;padding:13px;border-radius:11px;border:1px solid #475569;background:#0b1220;color:#fff;font-size:16px}button,.button{display:inline-block;width:100%;padding:13px;border:0;border-radius:11px;background:#facc15;color:#111827;font-weight:800;text-decoration:none;text-align:center}.dark{background:#334155;color:#fff}.top{display:flex;justify-content:space-between;align-items:center;gap:12px}.top .button{width:auto}.wallets,.summaries{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.summaries{grid-template-columns:repeat(5,1fr)}.wallets>div,.summaries>div{background:#0b1220;border:1px solid #334155;border-radius:12px;padding:10px;text-align:center}.wallets span,.summaries span{display:block;color:#94a3b8;font-size:12px}.wallets b,.summaries b{display:block;margin-top:4px}.positive{color:#22c55e}.negative{color:#ef4444}.table-wrap{overflow-x:auto;border-radius:12px}.table-wrap table{width:100%;min-width:650px;border-collapse:collapse;background:#0b1220}.table-wrap th,.table-wrap td{padding:10px;border-bottom:1px solid #334155;text-align:left;font-size:13px}.table-wrap th{color:#facc15}.notice,.alert{margin:12px 0;padding:10px;border-radius:10px;text-align:center}.notice{background:#172554;color:#bfdbfe}.alert.error{background:#7f1d1d;color:#fecaca}@media(max-width:650px){main{display:block;padding:8px}.card{padding:16px}.top{flex-direction:column}.top .button{width:100%}.wallets{grid-template-columns:1fr 1fr}.wallets>div:last-child{grid-column:1/-1}.summaries{grid-template-columns:1fr 1fr}.summaries>div:last-child{grid-column:1/-1}}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.form-grid label{margin:0}.form-grid select,.form-grid textarea{width:100%;padding:12px;border-radius:11px;border:1px solid #475569;background:#0b1220;color:#fff}.top-actions{display:flex;gap:8px}.top-actions .button{width:auto}.filters{display:grid;grid-template-columns:1fr 1fr 1fr auto auto auto;gap:8px;margin:16px 0}.filters select{padding:10px;border-radius:10px;background:#0b1220;color:#fff;border:1px solid #475569}.filters .button,.filters button{width:auto}.actor-title{font-size:12px;color:#facc15;margin-top:10px}@media(max-width:650px){.form-grid{grid-template-columns:1fr}.top-actions{width:100%;flex-direction:column}.top-actions .button{width:100%}.filters{grid-template-columns:1fr 1fr}.filters>*{width:100%!important}}

.username-cell{display:inline-flex;align-items:center;gap:4px;position:relative}.row-menu{position:relative;display:inline-block}.row-menu summary{list-style:none;cursor:pointer;color:#facc15;font-size:16px;line-height:1;padding:2px 4px;border-radius:6px}.row-menu summary::-webkit-details-marker{display:none}.row-menu[open] summary{background:#1e293b}.row-menu-box{position:absolute;left:0;top:24px;z-index:50;min-width:105px;background:#0f172a;border:1px solid #475569;border-radius:10px;padding:5px;box-shadow:0 12px 30px #0009}.row-menu-box a{display:block;padding:8px 10px;color:#e5e7eb;text-decoration:none;white-space:nowrap;border-radius:7px;text-align:right}.row-menu-box a:hover{background:#1e293b;color:#facc15}@media(max-width:650px){.row-menu-box{left:0;min-width:96px}.row-menu-box a{font-size:12px;padding:7px 9px}}

.row-menu-trigger{display:inline-grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#facc15;font-size:17px;line-height:1;cursor:pointer}.row-menu-trigger[aria-expanded="true"]{background:#1e293b}.floating-row-menu{position:fixed;z-index:99999;min-width:130px;background:#0f172a;border:1px solid #64748b;border-radius:11px;padding:6px;box-shadow:0 16px 40px #000c}.floating-row-menu[hidden]{display:none!important}.floating-row-menu a{display:block;padding:10px 12px;color:#fff;text-decoration:none;text-align:right;white-space:nowrap;border-radius:7px;font-size:14px}.floating-row-menu a:active,.floating-row-menu a:hover{background:#1e293b;color:#facc15}@media(max-width:650px){.row-menu-trigger{width:27px;height:27px;font-size:18px}.floating-row-menu{min-width:122px}.floating-row-menu a{padding:11px 12px;font-size:13px}}

.inactive-username{color:#ef4444!important}.inactive-username .row-menu-trigger{color:#ef4444!important}.payment-type-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.payment-choice{font-size:20px;padding:18px;border-radius:14px}.cash-choice{background:#38bdf8;color:#fff}.credit-choice{background:#4ade80;color:#fff}.payment-modal[hidden]{display:none!important}.payment-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:14px}.payment-modal-backdrop{position:absolute;inset:0;background:#000a}.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}.modal-close{position:absolute;top:10px;right:12px;width:36px;height:36px;border-radius:50%;background:transparent;color:#6b7280;font-size:28px;padding:0}.modal-kicker{color:#64748b;font-size:14px;margin-bottom:8px}.payment-modal-card h2{font-size:38px;margin:12px 0 18px;color:#64748b;text-align:left}.modal-user-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.modal-user-grid>div{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:10px;padding:10px}.modal-user-grid span{display:block;color:#64748b;font-size:12px}.modal-user-grid b{display:block;margin-top:4px}.payment-modal-card label{color:#374151}.payment-modal-card input,.payment-modal-card textarea{background:#fff;color:#111827;border:1px solid #111827}.modal-action-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.withdraw-btn{background:#ef4444;color:#fff}.deposit-btn{background:#0ea5e9;color:#fff}.modal-open{overflow:hidden}@media(max-width:650px){.payment-choice{font-size:18px;padding:16px}.payment-modal{padding:8px;align-items:center}.payment-modal-card{padding:18px 14px;border-radius:14px}.payment-modal-card h2{font-size:30px}.modal-user-grid{grid-template-columns:1fr}.modal-action-row button{font-size:16px;padding:14px}}

.dashboard-table-wrap{direction:ltr;overflow-x:auto;scroll-behavior:auto}.dashboard-table-wrap table{direction:ltr}

.payment-filters{display:block;margin:16px 0}.payment-filter-types{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.filter-type-btn{width:auto;min-width:82px;padding:10px 16px;border-radius:10px;font-size:14px}.all-btn{background:#64748b;color:#fff}.credit-btn{background:#22c55e;color:#fff}.cash-btn{background:#3b82f6;color:#fff}.filter-type-btn.active{outline:3px solid #facc15;outline-offset:2px}.date-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.date-filter-grid label{margin:0;color:#e5e7eb}.date-filter-grid input{margin-top:6px}.filter-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.apply-filter-btn{background:#facc15;color:#111827}.reset-filter-btn{width:100%}.pdf-filter-btn{margin-top:10px;width:100%}@media(max-width:650px){.payment-filter-types{justify-content:flex-start}.filter-type-btn{min-width:74px;padding:9px 13px;font-size:13px}.date-filter-grid{grid-template-columns:1fr 1fr;gap:8px}.date-filter-grid label{font-size:12px}.date-filter-grid input{font-size:14px;padding:10px}.filter-action-grid{grid-template-columns:1fr 1fr}}

.payment-history-wrap{direction:ltr;overflow-x:auto;scroll-behavior:auto}.payment-history-wrap table{direction:ltr}

.date-input-wrap{position:relative;min-width:0}.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}.date-input-wrap.has-value input[type="date"],.date-input-wrap.is-focus input[type="date"]{color:#fff}.date-placeholder{position:absolute;inset-inline-start:12px;inset-inline-end: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}.date-input-wrap.has-value .date-placeholder,.date-input-wrap.is-focus .date-placeholder{display:none}.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;position:relative;z-index:3}@media(max-width:650px){.date-placeholder{font-size:12px;inset-inline-start:10px;inset-inline-end:34px}.date-input-wrap input[type="date"]{padding:10px 34px 10px 10px}}

.outgoing-row{background:rgba(250,204,21,.04)}.outgoing-badge{display:inline-block;background:#f59e0b;color:#111827;border-radius:7px;padding:3px 7px;font-size:11px;font-weight:700}

.user-empty-panel{margin-top:18px;padding:28px 16px;background:#0b1220;border:1px dashed #475569;border-radius:14px;text-align:center}.user-empty-panel p{margin:10px 0 0;color:#94a3b8}


.account-form-grid{display:grid;grid-template-columns:1fr;gap:12px}.account-form-grid label{margin:0}.account-form-grid input,.account-form-grid select,.account-form-grid textarea{width:100%;min-height:46px;box-sizing:border-box}.account-form-grid textarea{height:46px!important;min-height:46px!important;max-height:92px;resize:vertical}.account-form-grid .errorlist{margin:5px 0 0;padding:0;list-style:none;color:#ef4444;font-size:12px}



.account-form-grid textarea{height:46px!important;min-height:46px!important;max-height:92px;resize:vertical}

.account-form-grid textarea{height:46px!important;min-height:46px!important;max-height:92px;resize:vertical}

.account-form-topbar{display:flex;justify-content:flex-start;margin-bottom:10px}

.global-nav-btn{position:fixed;top:10px;right:10px;z-index:10000;width:auto!important;min-width:0;padding:7px 11px;border-radius:8px;color:#fff;text-decoration:none;font-size:12px;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.global-home-btn{background:#2563eb}.global-home-btn:hover{background:#3b82f6}.global-logout-btn{background:#334155}.global-logout-btn:hover{background:#475569}

.role-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:14px 0}.role-summary-grid .summary-card{padding:14px;border:1px solid #334155;border-radius:12px;background:#111827;text-align:center}.role-summary-grid .summary-card span{display:block;color:#cbd5e1;font-size:13px}.role-summary-grid .summary-card strong{display:block;margin-top:6px;font-size:24px}

.dashboard-mini-actions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.mini-action-btn{display:inline-flex;align-items:center;justify-content:center;width:auto!important;min-width:0;padding:7px 11px;border-radius:9px;background:#0ea5e9;color:#fff;text-decoration:none;font-size:12px;font-weight:700;box-shadow:0 4px 10px rgba(0,0,0,.18)}.mini-action-btn:hover{background:#38bdf8}.draw-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.draw-page-head h1{margin:0}.draw-list-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.draw-list-tools input{max-width:220px}.draw-table-wrap{direction:ltr;overflow-x:auto}.draw-table-wrap table{min-width:820px}.draw-basic-grid{display:grid;grid-template-columns:1fr;gap:12px}.draw-pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.draw-field-section{margin-top:20px;padding-top:14px;border-top:1px solid #334155}.draw-field-section h2{margin:0 0 12px;color:#38bdf8;font-size:18px}.draw-form label{margin:0}.draw-submit-btn{margin-top:18px;background:#facc15;color:#111827}@media(max-width:650px){.draw-pair-grid{grid-template-columns:1fr 1fr;gap:8px}.draw-form label{font-size:12px}.draw-form input{padding:10px;font-size:14px}.draw-page-head .mini-action-btn{font-size:11px;padding:7px 10px}}

.draw-edit-btn{display:inline-block;width:auto!important;padding:6px 9px;border-radius:7px;background:#22c55e;color:#fff;text-decoration:none;font-size:11px;font-weight:700}.draw-edit-btn:hover{background:#4ade80}.draw-table-wrap table{min-width:980px}


.global-inner-nav{position:fixed;top:10px;right:10px;z-index:10000;display:flex;gap:6px;align-items:center}.global-inner-nav .global-nav-btn{position:static!important}.global-back-btn{border:0;cursor:pointer;background:#475569;color:#fff;min-width:34px!important;padding:7px 9px!important;font-size:16px!important}.global-back-btn:hover{background:#64748b}.draw-panel{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}.draw-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x;direction:ltr;scrollbar-width:thin}.draw-table-wrap table{width:max-content!important;min-width:1080px!important;table-layout:auto}.draw-table-wrap th,.draw-table-wrap td{white-space:nowrap}.draw-table-wrap th:first-child,.draw-table-wrap td:first-child{position:sticky;left:0;z-index:3;background:#111827;min-width:64px}.draw-table-wrap thead th:first-child{z-index:4}.draw-edit-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:48px!important}.draw-page-head,.draw-list-tools{min-width:0}.draw-list-tools input{min-width:0;max-width:180px}@media(max-width:650px){.draw-panel{padding-left:10px!important;padding-right:10px!important}.draw-table-wrap{margin-left:0;margin-right:0}.draw-table-wrap table{min-width:1000px!important}.global-inner-nav{top:8px;right:8px}.global-inner-nav .global-nav-btn{font-size:11px}.draw-page-head{padding-top:4px}.draw-page-head h1{font-size:20px}.draw-list-tools{gap:8px}.draw-list-tools input{max-width:150px}}

.draw-status-form{margin:0}.draw-status-btn{display:inline-flex;width:auto!important;min-width:62px!important;align-items:center;justify-content:center;border:0;border-radius:7px;padding:6px 8px;font-size:10px;font-weight:800;cursor:pointer}.draw-status-btn.is-active{background:#16a34a;color:#fff}.draw-status-btn.is-inactive{background:#dc2626;color:#fff}.draw-row-active td{color:#22c55e!important}.draw-row-inactive td{color:#ef4444!important}.draw-row-active td a,.draw-row-inactive td a,.draw-row-active td button,.draw-row-inactive td button{color:#fff!important}.draw-table-wrap th:first-child,.draw-table-wrap td:first-child{background:#111827}.draw-table-wrap th:nth-child(2),.draw-table-wrap td:nth-child(2){white-space:nowrap}

.user-entry-open-btn{display:inline-flex;width:auto!important;padding:10px 16px;border-radius:10px;background:#16a34a;color:#fff;text-decoration:none;font-weight:700}.user-entry-panel{max-width:720px;margin:auto}.entry-head{text-align:center}.active-draw-card{background:#020617;border-radius:12px;padding:12px;text-align:center;margin-bottom:12px}.active-draw-card strong,.active-draw-card span{display:block}.active-draw-card span{margin-top:5px;color:#cbd5e1}.draw-select-label{display:block;margin-bottom:10px}.entry-input-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:8px;align-items:end}.entry-input-grid label{margin:0}.entry-add-btn{width:auto!important;min-width:76px;background:#16a34a}.entry-table-wrap{margin-top:14px;overflow-x:auto}.entry-table-wrap table{min-width:620px}.entry-actions{display:flex;gap:6px;align-items:center}.entry-actions form{margin:0}.entry-edit-btn,.entry-delete-btn{display:inline-flex;width:auto!important;padding:6px 8px;border-radius:7px;color:#fff;text-decoration:none;font-size:11px;border:0}.entry-edit-btn{background:#16a34a}.entry-delete-btn{background:#dc2626}.no-active-draw{padding:20px;text-align:center;border:1px dashed #64748b;border-radius:12px}@media(max-width:650px){.entry-input-grid{grid-template-columns:1fr 1fr 1fr}.entry-add-btn{grid-column:1/-1;width:100%!important}.entry-input-grid input,.entry-input-grid select{padding:9px;font-size:13px}}


.entry-input-grid-ltr{direction:ltr;grid-template-columns:minmax(92px,1.15fr) minmax(82px,1fr) minmax(82px,1fr) auto}.entry-input-grid-ltr label{direction:ltr;text-align:left}.entry-input-grid-ltr input{direction:ltr;text-align:left}.global-back-btn{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px;padding:0!important;border-radius:7px!important;font-size:15px!important;line-height:30px!important}@media(max-width:650px){.entry-input-grid-ltr{grid-template-columns:minmax(88px,1.15fr) minmax(76px,1fr) minmax(76px,1fr);gap:6px}.entry-input-grid-ltr .entry-add-btn{grid-column:1/-1}.global-back-btn{width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;line-height:28px!important}}


.user-entry-panel{max-width:520px!important}.entry-input-grid-ltr{grid-template-columns:82px 82px 82px auto!important;justify-content:start;gap:6px!important}.entry-input-grid-ltr input{width:82px!important;min-width:82px!important;max-width:82px!important;height:40px!important;min-height:40px!important;padding:6px 8px!important}.entry-input-grid-ltr label{width:82px!important}.entry-input-grid-ltr .entry-add-btn{height:40px!important;min-height:40px!important;padding:6px 12px!important}.entry-table-wrap{max-width:100%;overflow-x:auto}.entry-simple-table{min-width:300px!important;width:100%!important;table-layout:fixed}.entry-simple-table th,.entry-simple-table td{text-align:left!important;white-space:nowrap}.entry-simple-table th:nth-child(1),.entry-simple-table td:nth-child(1){width:34%}.entry-simple-table th:nth-child(2),.entry-simple-table td:nth-child(2),.entry-simple-table th:nth-child(3),.entry-simple-table td:nth-child(3){width:33%}.hide-page-brand .site-brand{display:none!important}body:has(.hide-page-brand) .site-brand{display:none!important}@media(max-width:650px){.entry-input-grid-ltr{grid-template-columns:78px 78px 78px!important}.entry-input-grid-ltr input,.entry-input-grid-ltr label{width:78px!important;min-width:78px!important;max-width:78px!important}.entry-input-grid-ltr .entry-add-btn{grid-column:1/-1!important;width:246px!important;max-width:246px!important}.entry-simple-table{min-width:280px!important}}


.entry-table-wrap{margin-top:10px;margin-bottom:12px}.compact-entry-form{margin-top:8px}.entry-entry-row{display:grid;grid-template-columns:76px 28px 76px 28px 76px 52px;gap:5px;align-items:end;justify-content:start}.entry-field{width:76px!important;margin:0!important;font-size:11px}.entry-field input{width:76px!important;min-width:76px!important;max-width:76px!important;height:38px!important;min-height:38px!important;padding:5px 7px!important}.entry-next-btn{width:28px!important;min-width:28px!important;max-width:28px!important;height:38px!important;min-height:38px!important;padding:0!important;border:0;border-radius:7px;background:#475569;color:#fff;font-size:16px;line-height:38px}.entry-add-small{width:52px!important;min-width:52px!important;max-width:52px!important;height:38px!important;min-height:38px!important;padding:0!important;font-size:11px!important;border-radius:7px!important}@media(max-width:650px){.entry-entry-row{grid-template-columns:70px 24px 70px 24px 70px 48px;gap:4px}.entry-field,.entry-field input{width:70px!important;min-width:70px!important;max-width:70px!important}.entry-next-btn{width:24px!important;min-width:24px!important;max-width:24px!important}.entry-add-small{width:48px!important;min-width:48px!important;max-width:48px!important}}


.user-entry-screen{width:100%;max-width:760px;margin:0 auto;padding:10px;box-sizing:border-box}.entry-user-card{border:1px solid #334155;border-radius:12px;background:#0f172a;overflow:hidden;margin-bottom:10px}.entry-user-main{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#334155}.entry-user-main>div,.entry-wallet-strip>div{background:#0f172a;padding:10px}.entry-user-main span,.entry-wallet-strip span{display:block;color:#94a3b8;font-size:11px}.entry-user-main strong,.entry-wallet-strip strong{display:block;margin-top:3px;font-size:15px}.entry-wallet-strip{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#334155}.entry-wallet-strip .positive{color:#22c55e}.entry-wallet-strip .negative{color:#ef4444}.draw-selector-card{background:linear-gradient(90deg,#4f46e5,#7c3aed);border-radius:10px;padding:10px;margin-bottom:10px}.draw-selector-card label{margin:0;color:#fff}.draw-selector-card select{margin-top:6px;background:#fff;color:#111827}.draw-meta-row{display:flex;justify-content:space-between;gap:10px;margin-top:7px;color:#fff;font-size:12px}.purchase-toolbar{display:flex;align-items:center;justify-content:space-between;background:#0ea5e9;color:#fff;border-radius:9px 9px 0 0;padding:8px 10px;font-weight:700}.purchase-count{min-width:28px;text-align:center;border-radius:999px;background:rgba(255,255,255,.2);padding:2px 7px}.entry-table-shell{height:320px;overflow:auto;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{padding:10px 8px;border-bottom:1px solid #334155;text-align:center}.entry-purchase-table th{position:sticky;top:0;background:#cbd5e1;color:#111827;z-index:2}.entry-purchase-table .empty-row td{padding-top:24px;font-weight:700;color:#cbd5e1}.entry-bottom-bar{display:grid;grid-template-columns:1.2fr 1fr 1fr 54px;gap:6px;align-items:end;background:#0f172a;border:1px solid #334155;border-top:0;border-radius:0 0 10px 10px;padding:9px}.entry-bottom-bar label{margin:0;font-size:11px;color:#e2e8f0}.entry-bottom-bar input{width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;padding:6px 8px!important;box-sizing:border-box}.entry-buy-btn{width:54px!important;min-width:54px!important;max-width:54px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:7px!important;background:#16a34a!important;color:#fff!important;font-size:12px!important}@media(max-width:650px){.user-entry-screen{padding:7px}.entry-user-main strong,.entry-wallet-strip strong{font-size:14px}.entry-table-shell{height:300px}.entry-bottom-bar{grid-template-columns:1.15fr 1fr 1fr 50px;gap:4px;padding:7px}.entry-bottom-bar input{height:40px!important;min-height:40px!important;font-size:14px}.entry-buy-btn{width:50px!important;min-width:50px!important;max-width:50px!important;height:40px!important;min-height:40px!important}.draw-meta-row{font-size:11px}}


.user-entry-screen,.user-entry-screen *{box-sizing:border-box}.user-entry-screen{direction:ltr;text-align:left}.entry-form,.draw-selector-card,.bulk-delete-form,.entry-table-shell,.entry-bottom-bar{direction:ltr;text-align:left}.purchase-toolbar-actions{display:flex;align-items:center;gap:6px}.delete-selected-btn{width:auto!important;min-width:58px!important;height:28px!important;min-height:28px!important;padding:0 8px!important;border:0;border-radius:6px;background:#dc2626;color:#fff;font-size:10px;font-weight:800}.delete-selected-btn:disabled{opacity:.45;cursor:not-allowed}.entry-purchase-table th,.entry-purchase-table td{font-weight:700!important;text-align:left!important}.entry-purchase-table .select-col{width:42px!important;text-align:center!important;padding-left:8px!important;padding-right:8px!important}.entry-purchase-table input[type=checkbox]{width:17px!important;height:17px!important;min-height:17px!important;margin:0!important;accent-color:#16a34a}.entry-bottom-bar{position:sticky!important;bottom:0!important;z-index:50!important;box-shadow:0 -6px 18px rgba(0,0,0,.35)}.entry-bottom-bar label{font-weight:800!important}.entry-bottom-bar input{font-weight:700!important}.entry-purchase-table th:nth-child(2),.entry-purchase-table td:nth-child(2){text-align:left!important}@media(max-width:650px){.entry-bottom-bar{bottom:0!important}.delete-selected-btn{min-width:54px!important;font-size:9px}.entry-purchase-table th,.entry-purchase-table td{font-size:13px}}


.entry-bottom-bar label{font-weight:900!important}.entry-purchase-table th,.entry-purchase-table td{border-right:1px solid #475569!important}.entry-purchase-table th:last-child,.entry-purchase-table td:last-child{border-right:0!important}.entry-purchase-table .select-col{border-right:2px solid #64748b!important}.selected-count{font-size:10px;font-weight:800;color:#e2e8f0;white-space:nowrap}.purchase-toolbar-actions{gap:7px!important}.entry-form .errorlist{display:none!important}


.entry-bottom-bar label{font-size:20px!important;font-weight:900!important;line-height:1.1!important}.entry-bottom-bar input{font-size:20px!important;font-weight:900!important}.entry-purchase-table th,.entry-purchase-table td{font-size:20px!important;font-weight:900!important}.entry-purchase-table .select-col{font-size:16px!important}.hidden-draw-field{display:none!important}@media(max-width:650px){.entry-bottom-bar label{font-size:18px!important}.entry-bottom-bar input{font-size:20px!important}.entry-purchase-table th,.entry-purchase-table td{font-size:18px!important}}

.purchase-title-group{display:flex;align-items:center;gap:6px}.purchase-count{min-width:24px!important;padding:1px 6px!important}.entry-search{width:120px!important;min-width:120px!important;max-width:120px!important;height:30px!important;min-height:30px!important;padding:4px 7px!important;border-radius:6px!important;font-size:11px!important}.entry-bottom-bar label{font-size:12px!important;font-weight:700!important;line-height:1.2!important}.entry-bottom-bar input{font-size:16px!important;font-weight:700!important}@media(max-width:650px){.purchase-toolbar{gap:6px}.purchase-toolbar-actions{gap:5px!important}.entry-search{width:92px!important;min-width:92px!important;max-width:92px!important;font-size:10px!important}.entry-bottom-bar label{font-size:11px!important}}

.entry-bottom-bar{grid-template-columns:82px 1fr 1fr 50px!important}.entry-bottom-bar label:first-child{width:82px!important}.entry-bottom-bar label:first-child input{width:82px!important;min-width:82px!important;max-width:82px!important}.entry-bottom-bar input{font-size:20px!important;font-weight:900!important;letter-spacing:.3px}.entry-purchase-table td{font-size:20px!important;font-weight:900!important}@media(max-width:650px){.entry-bottom-bar{grid-template-columns:72px 1fr 1fr 48px!important}.entry-bottom-bar label:first-child,.entry-bottom-bar label:first-child input{width:72px!important;min-width:72px!important;max-width:72px!important}.entry-bottom-bar input{font-size:20px!important}}

.draw-compact-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:5px;font-size:9px!important;line-height:1.15;color:#f8fafc;white-space:nowrap}.draw-compact-meta span{font-size:9px!important}.draw-compact-meta b{font-weight:800}.entry-bottom-bar{grid-template-columns:70px 64px 64px 48px 58px!important;gap:4px!important}.entry-bottom-bar label:nth-child(2),.entry-bottom-bar label:nth-child(3){width:64px!important}.entry-bottom-bar label:nth-child(2) input,.entry-bottom-bar label:nth-child(3) input{width:64px!important;min-width:64px!important;max-width:64px!important}.entry-buy-btn{width:48px!important;min-width:48px!important;max-width:48px!important}.entry-sms-btn{width:58px!important;min-width:58px!important;max-width:58px!important;height:40px!important;min-height:40px!important;padding:0 3px!important;border:0;border-radius:7px;background:#475569;color:#fff;font-size:9px!important;font-weight:800;line-height:1.05}@media(max-width:650px){.draw-compact-meta{font-size:8px!important;gap:4px}.draw-compact-meta span{font-size:8px!important}.entry-bottom-bar{grid-template-columns:66px 58px 58px 46px 54px!important;gap:3px!important}.entry-bottom-bar label:nth-child(2),.entry-bottom-bar label:nth-child(3),.entry-bottom-bar label:nth-child(2) input,.entry-bottom-bar label:nth-child(3) input{width:58px!important;min-width:58px!important;max-width:58px!important}.entry-buy-btn{width:46px!important;min-width:46px!important;max-width:46px!important}.entry-sms-btn{width:54px!important;min-width:54px!important;max-width:54px!important;font-size:8px!important}}


.entry-user-card{display:none!important}.draw-compact-meta{display:none!important}.user-entry-screen{padding-top:4px!important}.draw-selector-card{margin-bottom:6px!important;padding:7px!important}.entry-table-shell{height:244px!important;max-height:244px!important;overflow-y:auto!important;overflow-x:hidden!important}.entry-purchase-table th,.entry-purchase-table td{height:48px!important;min-height:48px!important;padding:8px 7px!important}.entry-purchase-table thead th{height:44px!important;min-height:44px!important}.entry-bottom-bar{grid-template-columns:minmax(88px,1fr) minmax(88px,1fr) minmax(88px,1fr) 52px 64px!important;gap:5px!important}.entry-control-field{width:auto!important;min-width:0!important;max-width:none!important}.entry-control-field input{width:100%!important;min-width:0!important;max-width:none!important}.entry-buy-btn{width:52px!important;min-width:52px!important;max-width:52px!important}.entry-sms-btn{width:64px!important;min-width:64px!important;max-width:64px!important;font-size:10px!important}.entry-bottom-bar label:first-child,.entry-bottom-bar label:first-child input,.entry-bottom-bar label:nth-child(2),.entry-bottom-bar label:nth-child(2) input,.entry-bottom-bar label:nth-child(3),.entry-bottom-bar label:nth-child(3) input{width:100%!important;min-width:0!important;max-width:none!important}@media(max-width:650px){.entry-table-shell{height:236px!important;max-height:236px!important}.entry-purchase-table th,.entry-purchase-table td{height:47px!important;min-height:47px!important}.entry-purchase-table thead th{height:44px!important;min-height:44px!important}.entry-bottom-bar{grid-template-columns:minmax(74px,1fr) minmax(74px,1fr) minmax(74px,1fr) 48px 58px!important;gap:4px!important}.entry-buy-btn{width:48px!important;min-width:48px!important;max-width:48px!important}.entry-sms-btn{width:58px!important;min-width:58px!important;max-width:58px!important;font-size:9px!important}}

.draw-selector-card{padding:10px!important;min-height:78px!important}.draw-info-mini{display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;margin-top:7px;font-size:9px;line-height:1.15;color:#f8fafc}.draw-info-mini span{font-size:9px!important;white-space:nowrap}.draw-info-mini b{font-weight:800}.entry-ajax-error{margin:4px 0;padding:5px 7px;border-radius:6px;background:#7f1d1d;color:#fff;font-size:11px;font-weight:700}

.entry-bottom-bar label:first-child input{font-size:16px!important}

: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}

.entry-sms-btn{background:#2563eb!important;color:#fff!important}.sms-palti-modal[hidden]{display:none!important}.sms-palti-modal{position:fixed;inset:0;z-index:20000;display:flex;align-items:flex-end;justify-content:center}.sms-palti-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.78)}.sms-palti-dialog{position:relative;width:min(680px,100%);max-height:92vh;overflow:auto;background:#17203b;color:#fff;border-radius:22px 22px 0 0;border:1px solid #475569;box-shadow:0 -20px 60px rgba(0,0,0,.45)}.sms-palti-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #64748b}.sms-palti-header h2{margin:0;font-size:24px}.sms-palti-header p{margin:4px 0 0;color:#cbd5e1;font-size:12px}.sms-palti-close{width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;border:0;background:transparent;color:#cbd5e1;font-size:28px}.sms-palti-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:2px solid #94a3b8}.sms-palti-tab{height:54px!important;border:0!important;border-radius:0!important;background:#17203b!important;color:#94a3b8!important;font-size:16px!important;font-weight:800!important}.sms-palti-tab.is-active{background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;color:#fff!important}.sms-palti-content{padding:18px}.sms-tab-panel{display:none}.sms-tab-panel.is-active{display:block}.sms-tab-panel label{display:block;margin-bottom:12px;font-weight:800}.sms-tab-panel textarea,.sms-tab-panel select,.sms-tab-panel input{width:100%!important;box-sizing:border-box;background:#fff!important;color:#111827!important;border:1px solid #cbd5e1!important;border-radius:9px!important;padding:10px!important}.sms-panel-note{padding:10px;border-radius:8px;background:#0f172a;color:#cbd5e1;font-size:12px}.file-scheme-grid{display:grid;grid-template-columns:1fr;gap:8px}.generate-combinations-btn{width:auto!important;margin:10px auto 0!important;display:block!important;background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important}.sms-palti-modal-open{overflow:hidden!important}@media(min-width:560px){.file-scheme-grid{grid-template-columns:1fr 1fr}.sms-palti-dialog{border-radius:22px;align-self:center}}@media(max-width:559px){.sms-palti-dialog{max-height:94vh}.sms-palti-header{padding:14px}.sms-palti-content{padding:14px}.sms-palti-tab{font-size:14px!important}}

.sms-palti-modal.is-open{display:flex!important}.sms-palti-modal.is-open[hidden]{display:flex!important}

.file-scheme-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.file-scheme-grid label{font-size:12px!important;margin:0!important}.file-scheme-grid input{height:42px!important}.file-scheme-preview{max-height:250px;overflow:auto;margin-top:12px;border:1px solid #64748b}.file-scheme-preview table{width:100%;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}.file-scheme-summary{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding:8px;border-radius:8px;background:#0f172a;font-size:12px}.file-scheme-actions{display:flex;justify-content:center;gap:10px;margin-top:12px}.file-scheme-actions button{width:auto!important;min-width:130px!important}.file-scheme-purchase{background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;color:#fff!important}.file-scheme-cancel{background:#94a3b8!important;color:#fff!important}.file-scheme-error{margin-top:8px;padding:8px;border-radius:7px;background:#7f1d1d;color:#fff;font-weight:700;font-size:12px}@media(max-width:559px){.file-scheme-grid{grid-template-columns:1fr 1fr!important}.file-scheme-preview{max-height:220px}.sms-palti-content{padding:10px!important}}

.sms-tab-panel[data-sms-panel="file-scheme"],.sms-tab-panel[data-sms-panel="file-scheme"] *{direction:ltr!important;text-align:left!important}.file-scheme-grid{justify-items:start!important;align-items:end!important}.file-scheme-grid label{width:100%!important;text-align:left!important}.file-scheme-grid input{direction:ltr!important;text-align:left!important}.fs-amount-field{max-width:120px!important}.fs-amount-field input{width:120px!important;min-width:120px!important;max-width:120px!important;height:38px!important}.file-scheme-summary{justify-content:flex-start!important;gap:18px!important;text-align:left!important}.file-scheme-preview table,.file-scheme-preview th,.file-scheme-preview td{text-align:left!important;direction:ltr!important}.file-scheme-actions{justify-content:flex-start!important}.generate-combinations-btn{margin:10px 0 0 0!important}.file-scheme-error{text-align:left!important}@media(max-width:559px){.file-scheme-grid{grid-template-columns:1fr 1fr!important}.fs-amount-field{max-width:100px!important}.fs-amount-field input{width:100px!important;min-width:100px!important;max-width:100px!important}}

.sms-panel-left,.sms-panel-left *,.palti-panel-left,.palti-panel-left *{direction:ltr!important;text-align:left!important}.sms-panel-left label,.palti-panel-left label{display:block!important;text-align:left!important}.sms-panel-left textarea,.palti-panel-left textarea,.palti-panel-left select,.sms-palti-input-left{direction:ltr!important;text-align:left!important}.sms-panel-left button,.palti-panel-left button{margin-left:0!important;margin-right:auto!important}.sms-panel-left table,.sms-panel-left th,.sms-panel-left td,.palti-panel-left table,.palti-panel-left th,.palti-panel-left td{text-align:left!important;direction:ltr!important}.sms-panel-left .sms-panel-note,.palti-panel-left .sms-panel-note{text-align:left!important}.sms-palti-content{direction:ltr!important;text-align:left!important}.sms-tab-panel[data-sms-panel="sms"],.sms-tab-panel[data-sms-panel="palti"]{justify-content:flex-start!important;align-items:flex-start!important}.sms-tab-panel[data-sms-panel="sms"] .file-scheme-summary,.sms-tab-panel[data-sms-panel="palti"] .file-scheme-summary{justify-content:flex-start!important}

.sms-palti-modal{align-items:flex-start!important;justify-content:center!important;padding-top:0!important}.sms-palti-dialog{align-self:flex-start!important;margin-top:0!important;border-radius:0 0 22px 22px!important;max-height:100dvh!important}.sms-palti-tabs{direction:ltr!important;grid-template-columns:repeat(3,1fr)!important}.sms-palti-tab:nth-child(1){grid-column:1!important}.sms-palti-tab:nth-child(2){grid-column:2!important}.sms-palti-tab:nth-child(3){grid-column:3!important}.palti-preview,.palti-preview-table,.palti-preview-table th,.palti-preview-table td{direction:ltr!important;text-align:left!important}.palti-preview-table{width:100%!important;border-collapse:collapse!important}.palti-preview-table th,.palti-preview-table td{padding:8px!important;border:1px solid #d1d5db!important}.palti-preview-table th:nth-child(1),.palti-preview-table td:nth-child(1){width:50%!important}.palti-preview-table th:nth-child(2),.palti-preview-table td:nth-child(2),.palti-preview-table th:nth-child(3),.palti-preview-table td:nth-child(3){width:25%!important}@media(max-width:559px){.sms-palti-dialog{width:100vw!important;max-height:100dvh!important;border-radius:0!important}.sms-palti-modal{padding:0!important}}

.palti-panel-left{direction:ltr!important;text-align:left!important}.palti-panel-left label{font-size:13px!important}.palti-panel-left select,.palti-panel-left textarea{width:100%!important;text-align:left!important}.palti-generate-btn{width:auto!important;margin:8px 0!important;background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;color:#fff!important}.palti-summary{display:flex;justify-content:flex-start;gap:18px;margin:8px 0;padding:8px;background:#0f172a;border-radius:8px}.palti-preview{max-height:240px;overflow:auto;border:1px solid #64748b}.palti-preview-table{width:100%;border-collapse:collapse;background:#fff;color:#111827}.palti-preview-table th,.palti-preview-table td{padding:8px;border:1px solid #d1d5db;text-align:left!important}.palti-preview-table th{position:sticky;top:0;background:#f1f5f9}.palti-actions{display:flex;justify-content:flex-start;gap:10px;margin-top:10px}.palti-actions button{width:auto!important;min-width:125px!important}.palti-purchase{background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;color:#fff!important}.palti-cancel{background:#94a3b8!important;color:#fff!important}.palti-error{padding:8px;background:#7f1d1d;color:#fff;border-radius:7px;font-size:12px;font-weight:700}

.palti-panel-left{direction:ltr!important;text-align:left!important}.palti-panel-left label{font-size:13px!important}.palti-panel-left select,.palti-panel-left textarea{width:100%!important;text-align:left!important}.palti-generate-btn{width:auto!important;margin:8px 0!important;background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;color:#fff!important}.palti-summary{display:flex;justify-content:flex-start;gap:18px;margin:8px 0;padding:8px;background:#0f172a;border-radius:8px}.palti-preview{max-height:240px;overflow:auto;border:1px solid #64748b}.palti-preview-table{width:100%;border-collapse:collapse;background:#fff;color:#111827}.palti-preview-table th,.palti-preview-table td{padding:8px;border:1px solid #d1d5db;text-align:left!important}.palti-preview-table th{position:sticky;top:0;background:#f1f5f9}.palti-actions{display:flex;justify-content:flex-start;gap:10px;margin-top:10px}.palti-actions button{width:auto!important;min-width:125px!important}.palti-purchase{background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;color:#fff!important}.palti-cancel{background:#94a3b8!important;color:#fff!important}.palti-error{padding:8px;background:#7f1d1d;color:#fff;border-radius:7px;font-size:12px;font-weight:700}

.sms-palti-modal-open{overflow:hidden!important;position:static!important}.sms-palti-modal-open .user-entry-screen{pointer-events:none!important}.sms-palti-modal-open .sms-palti-modal{pointer-events:auto!important}.sms-palti-dialog,.sms-palti-content{overscroll-behavior:contain!important}.sms-palti-tab{touch-action:manipulation!important}.sms-palti-modal-open .entry-bottom-bar,.sms-palti-modal-open .bulk-delete-form,.sms-palti-modal-open .draw-selector-card{display:none!important}


/* === FINAL GLOBAL PROFESSIONAL LTR SYSTEM === */
html,body{direction:ltr!important;text-align:left!important}
body,.app-shell,.page-shell,.dashboard,.panel,.card,.modal,.dialog,.toolbar,.content,.container,
main,section,article,aside,header,footer,nav,form,fieldset,table,thead,tbody,tr,th,td,
button,input,select,textarea,label{direction:ltr!important}
main,section,article,aside,header,footer,nav,form,fieldset,.panel,.card,.modal,.dialog,.toolbar,.content,.container{text-align:left!important}
table{direction:ltr!important;border-collapse:collapse}
th,td{text-align:left!important;unicode-bidi:isolate!important}
input,select,textarea,button{direction:ltr!important;text-align:left!important;unicode-bidi:isolate!important}
input[type="number"],input[inputmode="numeric"],input[inputmode="decimal"],.numeric-input,.amount-input,.entry-bottom-bar input{direction:ltr!important;text-align:left!important;unicode-bidi:isolate!important}
.tabs,.tab-list,.sms-palti-tabs,.global-inner-nav,.dashboard-actions,.file-scheme-actions,.palti-actions{direction:ltr!important;justify-content:flex-start!important}
.sms-palti-tab,.tab,.global-nav-btn{direction:ltr!important}
.table-scroll,.entry-table-shell,.payment-table-shell,.role-summary-grid{direction:ltr!important}
.urdu-text,.rtl-label,[lang="ur"]{direction:rtl!important;unicode-bidi:plaintext!important;text-align:right!important}
label.urdu-text,.rtl-label{display:inline-block!important}
/* Urdu words may remain RTL inside labels, but layout/order stays LTR. */

.palti-preview-table .palti-serial-col,.palti-preview-table th:first-child,.palti-preview-table td:first-child{width:42px!important;min-width:42px!important;max-width:42px!important;text-align:center!important}.palti-preview-table th:nth-child(2),.palti-preview-table td:nth-child(2){width:auto!important}.palti-preview-table th:nth-child(3),.palti-preview-table td:nth-child(3),.palti-preview-table th:nth-child(4),.palti-preview-table td:nth-child(4){width:24%!important}

.sms-generate-btn{width:auto!important;background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;color:#fff!important}.sms-parser-summary{display:flex;gap:18px;padding:8px;margin:8px 0;background:#0f172a;border-radius:8px}.sms-parser-preview{max-height:250px;overflow:auto}.sms-parser-preview table{width:100%;border-collapse:collapse;background:#fff;color:#111}.sms-parser-preview th,.sms-parser-preview td{padding:8px;border:1px solid #d1d5db;text-align:left}.sms-parser-actions{display:flex;gap:10px;margin-top:10px}.sms-parser-actions button{width:auto!important}.sms-parser-error{padding:8px;background:#7f1d1d;color:#fff;border-radius:7px}

.entry-inline-error{display:block;max-width:100%;margin:4px 0 6px;padding:6px 8px;border-radius:6px;background:#7f1d1d;color:#fff;font-size:12px!important;line-height:1.25!important;font-weight:700;white-space:normal;overflow-wrap:anywhere;min-height:0!important;height:auto!important}.entry-inline-error[hidden]{display:none!important}


/* User entry slide navigation — approved 2026-07-30 */
.user-menu-toggle{position:fixed;top:10px;left:10px;z-index:10020;width:44px;height:40px;padding:9px 10px;border-radius:8px;background:#cbd5e1;color:#334155;display:flex;flex-direction:column;justify-content:center;gap:4px;box-shadow:0 4px 14px #0005}
.user-menu-toggle span{display:block;width:23px;height:3px;border-radius:3px;background:#475569}
.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:70px 24px 28px}
.user-side-menu.is-open{transform:translateX(0)}
.user-menu-open{overflow:hidden}
.user-menu-profile{position:relative;padding-bottom:24px;border-bottom:1px solid #e5e7eb}
.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-balance-label{font-size:14px;letter-spacing:.02em;color:#111827}
.user-menu-balance{margin-top:8px;font-size:27px;color:#1687d9}
.user-menu-identity{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:25px;font-size:18px}
.user-menu-identity strong{font-weight:500;text-align:right}
.user-menu-role{width:max-content;margin:20px 0 0 auto;border:1px solid #cbd5e1;border-radius:8px;padding:11px 16px;color:#475569;background:#fff}
.user-menu-links{display:grid;gap:9px;padding-top:24px}
.user-menu-links a,.user-menu-links button{width:100%;display:flex;align-items:center;gap:22px;padding:15px 12px;border:0;border-radius:9px;background:#fff;color:#171717;text-decoration:none;text-align:left;font-size:18px;font-weight:700;box-shadow:none}
.user-menu-links a:hover,.user-menu-links button:hover{background:#f1f5f9}
.user-menu-icon{width:34px;color:#c4cbd1;font-size:29px;font-weight:400;text-align:center}
@media(max-width:650px){.user-menu-toggle{top:9px;left:9px}.user-side-menu{width:min(85vw,355px);padding:68px 22px 24px}.user-menu-logo{width:112px;height:112px;font-size:40px}.user-menu-links a,.user-menu-links button{font-size:17px;padding:14px 10px}}


/* User entry header refinement — approved 2026-07-30 */
.user-entry-screen{padding-top:66px!important;position:relative}
.user-menu-toggle{top:12px!important;left:max(12px,calc((100vw - min(760px,100vw))/2 + 12px))!important;width:46px!important;height:44px!important;padding:0!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:12px!important;background:linear-gradient(145deg,#f8fafc,#cbd5e1)!important;box-shadow:0 8px 22px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.9)!important;align-items:center!important;gap:5px!important}
.user-menu-toggle span{width:24px!important;height:3px!important;background:#334155!important;border-radius:999px!important}
.user-menu-toggle:active{transform:translateY(1px);box-shadow:0 4px 12px rgba(0,0,0,.25)!important}
.user-side-menu{padding-top:76px!important}
@media(max-width:650px){.user-entry-screen{padding-top:64px!important}.user-menu-toggle{top:10px!important;left:10px!important;width:45px!important;height:43px!important}.draw-selector-card{margin-top:0!important}}


/* Role-aware impersonation return — approved 2026-07-30 */
.user-menu-links .user-menu-return{margin-top:8px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8}
.user-menu-links .user-menu-return:hover{background:#dbeafe}
.user-menu-links .user-menu-return .user-menu-icon{color:#3b82f6}


/* Return button moved to profile header — approved 2026-07-30 */
.user-menu-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px;flex-wrap:wrap}
.user-menu-profile-actions .user-menu-role{margin:0}
.user-menu-return-top{display:inline-flex;align-items:center;gap:7px;min-height:43px;padding:10px 13px;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#1d4ed8;text-decoration:none;font-size:14px;font-weight:700;line-height:1.2;box-shadow:0 3px 10px rgba(37,99,235,.10)}
.user-menu-return-top:hover{background:#dbeafe}
.user-menu-return-top:active{transform:translateY(1px)}
@media(max-width:420px){.user-menu-profile-actions{justify-content:space-between;gap:8px}.user-menu-return-top{max-width:68%;font-size:13px;padding:9px 10px}.user-menu-profile-actions .user-menu-role{padding:10px 12px}}


/* Colorful 3D user menu buttons — approved 2026-07-30 */
.user-menu-links{gap:13px}
.user-menu-links .user-menu-btn{position:relative;overflow:hidden;min-height:58px;padding:15px 16px;border:1px solid rgba(255,255,255,.35);border-radius:14px;color:#fff!important;font-size:17px;font-weight:800;letter-spacing:.01em;text-shadow:0 1px 2px rgba(0,0,0,.28);box-shadow:0 7px 0 rgba(15,23,42,.24),0 11px 22px rgba(15,23,42,.22),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .14s ease,box-shadow .14s ease,filter .14s ease}
.user-menu-links .user-menu-btn::after{content:"";position:absolute;left:10px;right:10px;top:3px;height:42%;border-radius:11px;background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,0));pointer-events:none}
.user-menu-links .user-menu-btn:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 8px 0 rgba(15,23,42,.24),0 14px 25px rgba(15,23,42,.24),inset 0 1px 0 rgba(255,255,255,.4)}
.user-menu-links .user-menu-btn:active{transform:translateY(5px);box-shadow:0 2px 0 rgba(15,23,42,.28),0 5px 10px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.25)}
.user-menu-links .user-menu-btn .user-menu-icon{position:relative;z-index:1;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.18);color:#fff!important;font-size:24px;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 3px 8px rgba(0,0,0,.18)}
.user-menu-links .user-menu-btn>span:last-child{position:relative;z-index:1}
.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}
.user-menu-return-top.user-menu-return-3d{position:relative;overflow:hidden;min-height:46px;padding:11px 14px;border:1px solid rgba(255,255,255,.45);border-radius:12px;background:linear-gradient(145deg,#22d3ee,#2563eb 58%,#4f46e5)!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.28);box-shadow:0 5px 0 #1e40af,0 9px 17px rgba(37,99,235,.28),inset 0 1px 0 rgba(255,255,255,.38);font-weight:800}
.user-menu-return-top.user-menu-return-3d::after{content:"";position:absolute;left:8px;right:8px;top:3px;height:40%;border-radius:9px;background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,0));pointer-events:none}
.user-menu-return-top.user-menu-return-3d span{position:relative;z-index:1}
.user-menu-return-top.user-menu-return-3d:active{transform:translateY(4px);box-shadow:0 1px 0 #1e40af,0 4px 9px rgba(37,99,235,.22)}
@media(max-width:420px){.user-menu-links .user-menu-btn{min-height:55px;padding:13px 14px;font-size:16px}.user-menu-links .user-menu-btn .user-menu-icon{width:35px;height:35px;font-size:22px}.user-menu-return-top.user-menu-return-3d{font-size:12px;padding:10px 11px;max-width:70%}}


/* Compact colorful 3D user menu buttons — approved 2026-07-30 */
.user-menu-links{gap:9px;justify-items:start}
.user-menu-links .user-menu-btn{width:86%!important;min-height:46px!important;padding:10px 12px!important;border-radius:11px!important;font-size:15px!important;gap:14px!important;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-links .user-menu-btn:hover{box-shadow:0 6px 0 rgba(15,23,42,.24),0 10px 18px rgba(15,23,42,.20),inset 0 1px 0 rgba(255,255,255,.4)!important}
.user-menu-links .user-menu-btn:active{transform:translateY(4px)!important;box-shadow:0 1px 0 rgba(15,23,42,.28),0 3px 7px rgba(15,23,42,.16),inset 0 1px 0 rgba(255,255,255,.25)!important}
.user-menu-links .user-menu-btn .user-menu-icon{width:30px!important;height:30px!important;border-radius:8px!important;font-size:19px!important}
.user-menu-return-top.user-menu-return-3d{min-height:38px!important;padding:8px 10px!important;border-radius:10px!important;font-size:12px!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}
.user-menu-return-top.user-menu-return-3d:active{transform:translateY(3px)!important;box-shadow:0 1px 0 #1e40af,0 3px 7px rgba(37,99,235,.18)!important}
@media(max-width:420px){.user-menu-links .user-menu-btn{width:84%!important;min-height:44px!important;padding:9px 11px!important;font-size:14px!important;gap:12px!important}.user-menu-links .user-menu-btn .user-menu-icon{width:28px!important;height:28px!important;font-size:18px!important}.user-menu-return-top.user-menu-return-3d{font-size:11px!important;padding:7px 9px!important;max-width:64%!important}}


/* Smaller hamburger and complete user profile details — approved 2026-07-30 */
.user-entry-screen{padding-top:50px!important}
.user-menu-toggle{top:9px!important;width:31px!important;height:30px!important;border-radius:8px!important;gap:3px!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{width:16px!important;height:2px!important}
.user-side-menu{padding-top:58px!important}
.user-menu-profile-details{display:grid;gap:10px;margin-top:20px}
.user-menu-profile-details .user-menu-identity{margin-top:0!important;font-size:15px;padding:6px 0;border-bottom:1px dashed #e2e8f0}
.user-menu-profile-details .user-menu-identity:last-child{border-bottom:0}
.user-menu-profile-details .user-menu-identity span{color:#64748b;font-weight:600}
.user-menu-profile-details .user-menu-identity strong{max-width:62%;overflow-wrap:anywhere;color:#0f172a;font-weight:700}
@media(max-width:650px){.user-entry-screen{padding-top:48px!important}.user-menu-toggle{top:8px!important;left:9px!important;width:30px!important;height:29px!important;border-radius:8px!important}.user-menu-toggle span{width:16px!important;height:2px!important}.user-side-menu{padding-top:56px!important}}


/* Balance and Upline top row — approved 2026-07-30 */
.user-menu-wallet-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;margin-top:4px}
.user-menu-wallet-item{min-width:0}
.user-menu-wallet-upline{text-align:right}
.user-menu-wallet-grid .user-menu-balance-label{font-size:12px;line-height:1.25;color:#64748b;font-weight:700;letter-spacing:.02em;white-space:nowrap}
.user-menu-wallet-grid .user-menu-balance{margin-top:6px;font-size:24px;line-height:1.1;color:#1687d9;font-weight:700;overflow-wrap:anywhere}
.user-menu-wallet-upline .user-menu-balance{color:#7c3aed}
@media(max-width:380px){.user-menu-wallet-grid{gap:10px}.user-menu-wallet-grid .user-menu-balance-label{font-size:10px}.user-menu-wallet-grid .user-menu-balance{font-size:20px}}


/* GLOBAL LOCKED UPLINE VALUE COLOURS — 2026-07-30
   Positive: green, Negative: red, Zero: neutral. Apply wherever Upline is displayed. */
.upline-positive{color:#15803d!important;font-weight:700}
.upline-negative{color:#dc2626!important;font-weight:700}
.upline-zero{color:#475569!important;font-weight:700}
.user-menu-wallet-upline .user-menu-balance.upline-positive{color:#15803d!important}
.user-menu-wallet-upline .user-menu-balance.upline-negative{color:#dc2626!important}
.user-menu-wallet-upline .user-menu-balance.upline-zero{color:#475569!important}


/* Entry column summaries and Add/SMS size swap — approved 2026-07-30 */
.entry-purchase-table thead th{vertical-align:middle!important;padding-top:6px!important;padding-bottom:6px!important}
.entry-head-main{display:block;font-size:18px;font-weight:800;line-height:1.05}
.entry-head-main small{font-size:11px;font-weight:700}
.entry-head-total{display:block;margin-top:3px;font-size:10px;font-weight:600;line-height:1;color:#475569}
.entry-bottom-bar{grid-template-columns:minmax(88px,1fr) minmax(88px,1fr) minmax(88px,1fr) 64px 52px!important;gap:5px!important}
.entry-buy-btn{width:64px!important;min-width:64px!important;max-width:64px!important;height:42px!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:0!important;font-size:13px!important}
.entry-sms-btn{width:52px!important;min-width:52px!important;max-width:52px!important;height:40px!important;min-height:40px!important;padding:0 2px!important;font-size:8px!important;line-height:1.05!important}
@media(max-width:650px){.entry-bottom-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 60px 46px!important;gap:4px!important}.entry-buy-btn{width:60px!important;min-width:60px!important;max-width:60px!important;height:40px!important;min-height:40px!important;font-size:12px!important}.entry-sms-btn{width:46px!important;min-width:46px!important;max-width:46px!important;height:38px!important;min-height:38px!important;font-size:7px!important}.entry-head-main{font-size:16px}.entry-head-main small{font-size:10px}.entry-head-total{font-size:9px}}


/* Search/delete/header readability refinement — approved 2026-07-30 */
.purchase-toolbar-search-only{justify-content:flex-end!important;min-height:46px!important}
.purchase-toolbar-search-only .purchase-toolbar-actions{width:100%;justify-content:flex-end!important}
.entry-search{color:#fff!important;background:#111827!important;border:1px solid #475569!important;font-weight:700!important}
.entry-search::placeholder{color:#fff!important;opacity:1!important}
.entry-delete-head{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:5px 3px!important;min-width:74px!important;width:74px!important}
.entry-delete-head .delete-selected-btn{width:68px!important;min-width:68px!important;height:25px!important;min-height:25px!important;padding:0 4px!important;font-size:9px!important;line-height:1!important;border-radius:6px!important}
.entry-delete-head input[type=checkbox]{width:17px!important;height:17px!important}
.entry-head-main small,.entry-head-total{color:#000!important;font-weight:900!important;opacity:1!important}
.entry-head-main small{font-size:12px!important}
.entry-head-total{font-size:12px!important;line-height:1.1!important;margin-top:4px!important}
@media(max-width:650px){.purchase-toolbar-search-only{min-height:42px!important}.entry-delete-head{min-width:68px!important;width:68px!important;gap:4px!important}.entry-delete-head .delete-selected-btn{width:62px!important;min-width:62px!important;height:23px!important;min-height:23px!important;font-size:8px!important}.entry-head-main small{font-size:11px!important}.entry-head-total{font-size:11px!important}}


/* Delete toolbar left + compact checkbox column — approved 2026-07-30 */
.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}}


/* 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}}

/* SMS modal v7 FINAL active-user CSS 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(680px,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: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-panel-left .sms-top-help{
  margin:0 2px 5px!important;
  padding:0!important;
  width:auto!important;
  transform:none!important;
  font-size:8px!important;
  font-weight:400!important;
  line-height:1.4!important;
  color:#000!important;
  opacity:1!important;
  direction:rtl!important;
  text-align:right!important;
}
.sms-palti-modal #sms-entry-text{
  min-height:112px!important;
  height:112px!important;
  max-height:150px!important;
  overflow:auto!important;
}

