:root{--bg:#eef2f7;--surface:#fff;--surface-2:#f7f9fc;--text:#162033;--muted:#5b6677;--border:#d8dee9;--border-input:#c7d0df;--radius:10px;--radius-sm:6px;--shadow-card:0 1px 2px #1620330f, 0 8px 24px #1620330f;--shadow-panel:0 24px 70px #1620331f;--brand:#2563eb;--brand-hover:#1d4ed8;--brand-tint:#2563eb1f;--brand-contrast:#fff;--danger:#dc2626;--danger-hover:#b91c1c;--ok:#15803d;--ok-tint:#15803d1f;--bad-tint:#dc26261a;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{overscroll-behavior-x:none}body{min-width:320px;min-height:100vh;margin:0;font-size:14px;line-height:1.35}button,input,select,textarea{font:inherit}a{color:var(--brand)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--muted)}.btn{border-radius:var(--radius-sm);cursor:pointer;min-height:36px;color:var(--text);background:0 0;border:1px solid #0000;padding:0 12px;font-size:13px;font-weight:700;transition:background .15s,border-color .15s}.btn:disabled{opacity:.6;cursor:default}.btn-primary{background:var(--brand);color:var(--brand-contrast)}.btn-primary:hover:not(:disabled){background:var(--brand-hover)}.btn-ghost{border-color:var(--border);background:var(--surface)}.btn-ghost:hover:not(:disabled){background:var(--surface-2)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:var(--danger-hover)}input:where(:not([type=checkbox]):not([type=radio])),select,textarea{border:1px solid var(--border-input);border-radius:var(--radius-sm);width:100%;min-height:36px;color:var(--text);background:var(--surface);outline:none;padding:6px 9px}input:where(:not([type=checkbox]):not([type=radio])):focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}textarea{resize:vertical}button:focus-visible,a:focus-visible{outline:3px solid var(--brand-tint);outline-offset:2px}.pill{border-radius:999px;padding:2px 7px;font-size:12px;font-weight:700;display:inline-block}.pill--ok{background:var(--ok-tint);color:var(--ok)}.pill--bad{background:var(--bad-tint);color:var(--danger)}.pill--muted{background:var(--surface-2);color:var(--muted)}.note{margin:0;font-size:12px}.note.ok{color:var(--ok)}.note.err{color:var(--danger)}@media (width<=700px){.btn,input:where(:not([type=checkbox]):not([type=radio])),select,textarea{min-height:38px}}input:where([type=checkbox],[type=radio]){vertical-align:middle;width:18px;height:18px;min-height:0;accent-color:var(--brand);cursor:pointer;flex:none;margin:0;padding:0}input:where([type=checkbox],[type=radio]):focus-visible{outline:2px solid var(--brand);outline-offset:3px}input:where([type=checkbox],[type=radio]):disabled{cursor:not-allowed}.checkbox-option{cursor:pointer;align-items:center;gap:8px;min-height:32px;display:flex}:root{--brand:#15803d;--brand-hover:#166534;--brand-tint:#15803d1f;--brand-contrast:#fff;--bg:#f2f4f1;--role-agent:var(--brand);--role-agent-hover:var(--brand-hover);--role-agent-tint:var(--brand-tint);--role-member:#2563eb;--role-member-hover:#1d4ed8;--role-member-tint:#2563eb1f;--report-header:#237a70;--report-focus-band:#fffbeb}.login-page{background:linear-gradient(135deg, #15803d1a, transparent 40%), var(--bg)}.agent-mark{color:#fff;background:var(--brand);border-radius:10px;place-items:center;width:56px;height:56px;font-size:36px;font-weight:900;line-height:1;display:inline-grid}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(100%,420px);box-shadow:var(--shadow-panel);padding:32px}.login-panel h1{align-items:center;gap:16px;margin:0 0 24px;font-size:30px;line-height:1.15;display:flex}.login-form{gap:16px;display:grid}.login-form label,.login-field,.verification-code{color:var(--muted);gap:8px;font-size:14px;font-weight:600;display:grid}.verification-code{border:0;min-width:0;margin:0;padding:0}.verification-code legend{margin:0 0 8px;padding:0}.verification-code__inputs{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.verification-code__input{aspect-ratio:1;text-align:center;min-height:44px;padding:0;font-size:22px;font-weight:800}.password-field{display:block;position:relative}.password-field input{padding-right:48px}.password-toggle{border-radius:var(--radius-sm);width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.password-toggle:hover{color:var(--text);background:var(--surface-2)}.password-toggle:focus-visible{outline:3px solid var(--brand-tint);outline-offset:1px}.password-toggle svg{width:20px;height:20px}.login-form .btn{width:100%}.login-hint{color:var(--muted);margin:0;font-size:14px}.login-banner{border-radius:var(--radius-sm);color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;margin:0 0 4px;padding:10px 12px;font-size:14px}.login-error{color:var(--danger);margin:0;font-size:14px;font-weight:600}@media (width<=380px){.login-panel{padding:24px}.verification-code__inputs{gap:6px}.verification-code__input{font-size:20px}}.app-shell{background:var(--bg);min-height:100vh}.topbar{z-index:20;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0}.topbar__inner{flex-wrap:wrap;align-items:center;gap:16px;width:100%;max-width:1920px;margin:0 auto;padding:10px clamp(16px,2vw,32px);display:flex}.topbar__brand{align-items:center;gap:10px;font-weight:800;display:flex}.brand-mark{background:var(--brand);width:34px;height:34px;color:var(--brand-contrast);border-radius:8px;place-items:center;font-weight:900;display:grid}.topbar__menu-btn{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;width:42px;height:42px;display:none;position:relative}.topbar__nav{gap:4px;display:flex}.nav-link{border-radius:var(--radius-sm);color:var(--text);padding:8px 12px;font-weight:600;text-decoration:none}.nav-link:hover{background:var(--surface-2)}.nav-link.router-link-exact-active{background:var(--brand-tint);color:var(--brand)}.topbar__meta{flex-wrap:wrap;align-items:center;gap:12px;margin-left:auto;display:flex}.server-clock{flex-direction:column;line-height:1.1;display:flex}.server-clock__time{font-variant-numeric:tabular-nums;font-size:15px;font-weight:700}.server-clock__label{color:var(--muted);font-size:11px}.role-badge{letter-spacing:.02em;background:var(--role-agent-tint);color:var(--role-agent);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;display:inline-block}.role-badge[data-role=MEMBER]{background:var(--role-member-tint);color:var(--role-member)}.role-text[data-role=ROOT],.role-text[data-role=HEAD],.role-text[data-role=AGENT]{color:var(--role-agent)}.role-text[data-role=MEMBER]{color:var(--role-member)}.btn-role--agent{border-color:var(--role-agent);background:var(--role-agent-tint);color:var(--role-agent)}.btn-role--agent:hover:not(:disabled){border-color:var(--role-agent);background:var(--role-agent);color:#fff}.btn-role--member{border-color:var(--role-member);background:var(--role-member-tint);color:var(--role-member)}.btn-role--member:hover:not(:disabled){border-color:var(--role-member);background:var(--role-member);color:#fff}.btn-role-solid--agent{background:var(--role-agent)}.btn-role-solid--agent:hover:not(:disabled){background:var(--role-agent-hover)}.btn-role-solid--member{background:var(--role-member)}.btn-role-solid--member:hover:not(:disabled){background:var(--role-member-hover)}@media (width<=860px){.topbar__menu-btn{order:3;margin-left:auto;display:inline-block}.topbar__meta{order:2;gap:10px;margin-left:auto}.server-clock{order:-1}.topbar__nav{border-top:1px solid var(--border);flex-direction:column;flex-basis:100%;order:4;gap:2px;padding-top:8px;display:none}.topbar__nav.is-open{display:flex}}.app-main{width:100%;max-width:1920px;margin:0 auto;padding:24px clamp(16px,2vw,32px) 48px}.page{gap:20px;display:grid}.page__head h1{margin:0 0 4px;font-size:26px}.page__head--row{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-title{margin:8px 0 0;font-size:18px}.cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);padding:20px}.card__title{margin:0 0 12px;font-size:16px}.card__title-row{justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;display:flex}.card__title-row .card__title{margin:0}.peek-toggle{border:1px solid var(--border);border-radius:var(--radius-sm);width:40px;height:40px;color:var(--muted);background:var(--surface);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peek-toggle:hover{color:var(--text);background:var(--surface-2)}.peek-toggle:focus-visible{outline:3px solid var(--brand-tint);outline-offset:2px}.peek-toggle svg{width:20px;height:20px}.card--link{color:inherit;text-decoration:none;transition:border-color .15s,transform 50ms;display:block}.card--link:hover{border-color:var(--brand)}.card__cta{color:var(--brand);margin-top:12px;font-weight:700;display:inline-block}.payout-matrix-section{gap:12px;display:grid}.payout-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.payout-toolbar h2{margin:0 0 4px;font-size:18px}.payout-toolbar p{margin:0}.payout-toolbar__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.modal-backdrop{z-index:110;background:#16203361;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .18s}.modal-fade-enter-from,.modal-fade-leave-to{opacity:0}.workline-create-modal{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(420px,100vw - 32px);max-height:calc(100vh - 32px);box-shadow:var(--shadow-panel);padding:18px;overflow-y:auto}.workline-create-modal__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.workline-create-modal__head h2{margin:0;font-size:20px}.workline-create-form{gap:12px;display:grid}.workline-create-field{color:var(--muted);gap:6px;font-size:14px;font-weight:800;display:grid}.workline-create-field select{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:44px;color:var(--text);outline:none;padding:10px 12px}.workline-create-field select:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.workline-username-control{grid-template-columns:minmax(0,auto) minmax(88px,1fr);width:min(100%,320px);display:grid}.workline-username-control.is-head{grid-template-columns:minmax(120px,180px)}.workline-username-control.is-custom{grid-template-columns:minmax(0,1fr)}.workline-username-prefix{border:1px solid var(--border-input);border-radius:var(--radius-sm) 0 0 var(--radius-sm);background:var(--surface-2);min-height:44px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;border-right:0;align-items:center;padding:10px 12px;display:flex;overflow:hidden}.workline-username-control input,.workline-username-control select{min-width:0}.workline-username-control.has-prefix input,.workline-username-control.has-prefix select{border-radius:0 var(--radius-sm) var(--radius-sm) 0}.workline-create-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.workline-settings-user{color:var(--muted);margin:3px 0 0;font-size:13px;font-weight:800}.workline-status-help{border-collapse:collapse;width:100%;color:var(--text);font-size:12px;line-height:1.45}.workline-status-help th,.workline-status-help td{border:1px solid var(--border);text-align:left;vertical-align:top;padding:8px 10px}.workline-status-help th{background:var(--surface-2);color:var(--muted);font-weight:900}.workline-status-help tbody tr[data-status=SUSPENDED] td{background:#fffbeb}.workline-status-help tbody tr[data-status=LOCKED] td{background:#fef2f2}.workline-status-help tbody tr[data-status=DELETED] td{color:#7f1d1d;background:#fee2e2}.workline-status-help tbody tr[data-status=DELETED] td:first-child{background:#fecaca}.payout-edge-toggle{min-height:44px;color:var(--text);white-space:nowrap;cursor:pointer;align-items:center;gap:10px;padding:0;font-weight:800;display:inline-flex;position:relative}.payout-edge-toggle__label{font-size:16px;line-height:1}.payout-edge-toggle__input{opacity:0;width:1px;height:1px;margin:0;position:absolute}.payout-edge-toggle__track{background:#d8dee9;border-radius:999px;width:48px;height:28px;transition:background-color .16s;position:relative}.payout-edge-toggle__thumb{background:#fff;border-radius:999px;width:20px;height:20px;transition:transform .16s,background-color .16s;position:absolute;top:4px;left:4px;box-shadow:0 1px 2px #16203333}.payout-edge-toggle__input:checked+.payout-edge-toggle__track{background:#c7c9ff}.payout-edge-toggle__input:checked+.payout-edge-toggle__track .payout-edge-toggle__thumb{background:#4f46e5;transform:translate(20px)}.payout-edge-toggle__input:focus-visible+.payout-edge-toggle__track{outline-offset:2px;outline:3px solid #4f46e538}.workline-filter-toggle{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);min-height:36px;color:var(--muted);white-space:nowrap;cursor:pointer;align-items:center;gap:8px;padding:0 10px;font-size:13px;font-weight:800;display:inline-flex}.workline-filter-toggle input{width:14px;height:14px;min-height:14px;accent-color:var(--brand);margin:0}.workline-filter-toggle:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.workline-filter-toggle:has(input:disabled){cursor:wait;opacity:.72}.payout-table-wrap{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:max-content;max-width:100%;overflow-x:auto}.payout-save-actions{justify-content:stretch;display:flex}.payout-save-button{justify-content:center;width:100%;min-height:56px;font-size:18px}.payout-save-button--top{white-space:nowrap;width:auto;min-height:44px;padding:0 16px;font-size:14px}.payout-save-button.btn-primary{color:#fff;background:#2563eb;border-color:#1d4ed8;box-shadow:0 2px 8px #2563eb2e}.payout-save-button.btn-primary:hover:not(:disabled){background:#1d4ed8;border-color:#1e40af}.payout-save-button.btn-primary:focus-visible{outline-offset:2px;outline:3px solid #2563eb3d}.payout-save-toast{z-index:100;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);max-width:min(360px,100vw - 32px);box-shadow:var(--shadow-panel);color:var(--text);border-left-width:6px;margin:0;padding:12px 14px;font-size:14px;font-weight:700;line-height:1.45;position:fixed;top:16px;right:16px}.payout-save-toast.ok{color:#7c2d12;background:#fffbeb;border-color:#fcd34d #fcd34d #fcd34d #f59e0b}.payout-save-toast.err{border-left-color:var(--danger)}.workline-breadcrumb{flex-wrap:wrap;align-items:center;gap:6px;min-height:28px;display:flex}.workline-breadcrumb__item{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);min-height:28px;color:var(--text);font:inherit;cursor:pointer;padding:2px 8px;font-size:12px;font-weight:800}.workline-breadcrumb__item[data-role=ROOT],.workline-breadcrumb__item[data-role=HEAD],.workline-breadcrumb__item[data-role=AGENT]{background:var(--role-agent-tint);color:var(--role-agent);border-color:#0000}.workline-breadcrumb__item[data-role=MEMBER]{background:var(--role-member-tint);color:var(--role-member);border-color:#0000}.workline-breadcrumb__item:after{content:"›";color:var(--muted);margin-left:6px}.workline-breadcrumb__item.is-current{cursor:default;border-color:#0000}.workline-breadcrumb__item.is-current:after{content:"";margin:0}.workline-breadcrumb__item:disabled{opacity:1}.workline-next-select{align-items:center;gap:6px;min-width:0;display:inline-flex}.workline-next-select:before{content:"›";color:var(--muted);font-size:18px;line-height:1}.workline-next-select select{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);width:clamp(170px,20vw,280px);min-height:28px;color:var(--text);font:inherit;cursor:pointer;padding:2px 28px 2px 8px;font-size:12px;font-weight:800}.workline-next-select select:disabled{cursor:wait;opacity:.68}.workline-next-select select:focus-visible{border-color:var(--brand);outline:2px solid var(--brand);outline-offset:1px}.payout-toast-enter-active,.payout-toast-leave-active{transition:opacity .26s,transform .26s cubic-bezier(.22,1,.36,1)}.payout-toast-enter-from,.payout-toast-leave-to{opacity:0;transform:translate(calc(100% + 24px))}.payout-matrix-table{border:0;border-radius:0;width:max-content;min-width:760px;font-size:12px}.payout-matrix-table th,.payout-matrix-table td{border-right:1px solid var(--border);padding:3px 4px;line-height:1.1}.payout-matrix-table th:last-child,.payout-matrix-table td:last-child{border-right:0}.payout-matrix-table thead tr:first-child th{text-align:center}.payout-matrix-table.head-payout-table thead tr:first-child th{color:#fff;background:#1d4ed8;border-bottom:2px solid #1e3a8a;border-right-color:#ffffff3d;font-weight:900}.payout-matrix-table.head-payout-table thead tr:first-child .payout-bet-col strong{color:inherit}.payout-matrix-table .num,.payout-matrix-table th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.payout-apply-col{text-align:center;vertical-align:middle;width:36px;padding-left:0;padding-right:0}.payout-group-col{width:112px}.payout-bet-col{text-align:center;min-width:82px}.payout-batch-row th{background:var(--surface)}.payout-batch-label{color:var(--text)}.payout-batch-label strong{display:block}.payout-batch-tools{justify-items:center;gap:5px;display:grid}.payout-copy-select{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:28px;color:var(--text);font:inherit;padding:2px 4px;font-size:11px;font-weight:700}.payout-copy-select:focus{border-color:var(--brand);outline:2px solid #15803d29}.payout-copy-select:disabled{cursor:wait;opacity:.68}.payout-batch-input-cell{vertical-align:top;text-align:center}.payout-batch-inputs{grid-template-columns:42px 6px 42px;justify-content:center;align-items:center;gap:2px;display:grid}.payout-batch-inputs .payrate-input{min-height:24px}.payout-batch-separator{color:var(--muted);font-weight:900}.payout-share-inputs{grid-template-columns:38px auto;justify-content:center;align-items:center;gap:3px;display:grid}.payout-share-input{min-height:24px}.payout-share-suffix{color:var(--muted);font-size:11px;font-weight:900}.payout-row-check{min-height:20px;color:var(--text);white-space:nowrap;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:800;display:inline-flex}.payout-apply-col .payout-row-check,.payout-apply-cell .payout-row-check{width:100%}.payout-row-check input{width:14px;height:14px;min-height:14px;accent-color:var(--brand);margin:0}.payout-apply-cell{text-align:center;vertical-align:middle;padding-left:0;padding-right:0}.payout-bet-col strong,.payout-group-cell strong{display:block}.payout-bet-col strong{color:var(--text)}.payout-group-cell{background:#15803d0a}.head-payout-table{min-width:940px}.head-payout-name-col{width:124px}.payout-matrix-table.head-payout-table .head-payout-status-col{text-align:center;width:92px}.payout-matrix-table.head-payout-table .head-payout-aun-group-col{text-align:center;width:132px}.payout-matrix-table.head-payout-table .head-payout-share-col{text-align:right;width:72px}.head-payout-name-cell{background:var(--role-agent-tint)}.head-payout-name-cell[data-role=MEMBER]{background:var(--role-member-tint)}.head-payout-name-cell[data-status=DELETED]{background:#fee2e2}.head-payout-name-cell strong,.head-payout-name-cell span,.head-payout-name-cell small{display:block}.head-payout-name-cell span{color:var(--muted);margin-top:0;font-size:11px;font-weight:700}.head-payout-name-cell small{color:var(--muted);margin-top:2px;font-size:10px;font-weight:800}.workline-row-button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.workline-row-shell{grid-template-columns:minmax(0,1fr) 24px;align-items:start;gap:4px;display:grid}.workline-row-shell.is-readonly{grid-template-columns:minmax(0,1fr)}.workline-row-button[data-role=ROOT] strong,.workline-row-button[data-role=HEAD] strong,.workline-row-button[data-role=AGENT] strong,.workline-row-button[data-role=ROOT] span,.workline-row-button[data-role=HEAD] span,.workline-row-button[data-role=AGENT] span,.workline-row-label[data-role=ROOT] strong,.workline-row-label[data-role=HEAD] strong,.workline-row-label[data-role=AGENT] strong,.workline-row-label[data-role=ROOT] span,.workline-row-label[data-role=HEAD] span,.workline-row-label[data-role=AGENT] span{color:var(--role-agent)}.workline-row-button[data-role=MEMBER] strong,.workline-row-button[data-role=MEMBER] span,.workline-row-label[data-role=MEMBER] strong,.workline-row-label[data-role=MEMBER] span{color:var(--role-member)}.workline-row-button:focus-visible{outline-offset:3px;outline:2px solid #15803d3d}.workline-row-button:disabled{cursor:default}.workline-row-label{display:block}.workline-status-text{background:var(--surface-2);width:fit-content;color:var(--muted);border-radius:999px;margin-top:2px;padding:1px 5px;font-size:10px;line-height:1.2}.workline-status-text[data-status=SUSPENDED]{color:#b45309;background:#fef3c7}.workline-status-text[data-status=LOCKED]{color:#b91c1c;background:#fee2e2}.workline-status-text[data-status=DELETED]{color:#fff;background:#991b1b}.workline-user-settings-button{border-radius:var(--radius-sm);background:var(--surface);width:22px;min-height:22px;color:var(--role-agent);cursor:pointer;border:1px solid;padding:0;line-height:1}.workline-user-settings-button[data-role=MEMBER]{color:var(--role-member)}.workline-user-settings-button:hover:not(:disabled){background:currentColor}.workline-user-settings-button span{color:inherit;margin:0;font-size:13px;font-weight:900;display:inline}.workline-user-settings-button:hover:not(:disabled) span{color:#fff}.workline-user-settings-button:disabled{cursor:wait;opacity:.6}.workline-status-select{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:28px;color:var(--text);font:inherit;padding:2px 4px;font-size:11px;font-weight:700}.workline-status-select:focus{border-color:var(--brand);outline:2px solid #15803d29}.workline-status-select:disabled{cursor:wait;opacity:.68}.payout-matrix-table.head-payout-table .head-payout-status-cell{text-align:center}.head-payout-status-cell .workline-status-text{margin-top:0;display:inline-block}.head-payout-aun-group-cell{text-align:center;min-width:132px}.workline-aun-group-select{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:28px;color:var(--text);font:inherit;padding:2px 4px;font-size:11px;font-weight:700}.workline-aun-group-select:focus{border-color:var(--brand);outline:2px solid #15803d29}.workline-aun-group-select:disabled{cursor:wait;opacity:.68}.payout-matrix-table tbody tr.is-drillable{cursor:pointer}.payout-matrix-table tbody tr.is-drillable:hover td{background:#15803d09}.payout-matrix-table.head-payout-table tbody tr.is-focused-node td{background:#f8fafc}.payout-matrix-table.head-payout-table tbody tr.is-focused-node .head-payout-name-cell{box-shadow:inset 3px 0 0 var(--brand)}.payout-matrix-table.head-payout-table tbody tr.is-suspended td{background:#fffbeb}.payout-matrix-table.head-payout-table tbody tr.is-locked td{background:#fef2f2}.payout-matrix-table tbody tr.is-deleted td{color:#7f1d1d;background:#fee2e2}.payout-matrix-table tbody tr.is-deleted .head-payout-name-cell{background:#fecaca}.payout-matrix-table tbody tr.is-deleted .workline-row-button strong,.payout-matrix-table tbody tr.is-deleted .workline-row-button span,.payout-matrix-table tbody tr.is-deleted .workline-row-label strong,.payout-matrix-table tbody tr.is-deleted .workline-row-label span{color:#7f1d1d}.payout-matrix-table tbody tr.is-deleted .workline-user-settings-button{color:#991b1b}.payout-matrix-table tbody tr.is-deleted .payrate-cell,.payout-matrix-table tbody tr.is-deleted .head-payout-share-cell span{opacity:.74}.payout-matrix-table.head-payout-table td.payrate-cell-wrap.is-worse-edge{color:#4c1d95;background:#f3e8ff}.payout-matrix-table.head-payout-table td.payrate-cell-wrap.is-worse-edge .payrate-pair,.payout-matrix-table.head-payout-table td.payrate-cell-wrap.is-worse-edge .payrate-line strong{color:#4c1d95}.payrate-warning{border-radius:var(--radius-sm);color:#fff;white-space:nowrap;background:#7e22ce;justify-self:center;margin-top:2px;padding:2px 5px;font-size:10px;font-weight:900;line-height:1.2;display:inline-flex}.payout-matrix-table.head-payout-table .head-payout-share-col .payout-share-inputs{justify-content:end}.payout-matrix-table.head-payout-table .head-payout-share-cell{text-align:right;font-variant-numeric:tabular-nums;font-weight:800}.head-payout-share-cell span{text-align:right;width:100%;display:block}.credit-summary{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.credit-summary__item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);align-content:center;gap:4px;min-height:70px;padding:12px 14px;display:grid}.credit-summary__item span{color:var(--muted);font-size:12px;font-weight:800}.credit-summary__item strong{font-variant-numeric:tabular-nums;font-size:20px}.credit-toast{max-width:420px;position:static}.credit-table-wrap{width:max-content;max-width:100%}.payout-matrix-table.credit-table{border:1px solid var(--border);border-collapse:separate;border-spacing:0;border-radius:var(--radius-sm);background:var(--surface);width:max-content;min-width:0;overflow:hidden}.payout-matrix-table.credit-table th,.payout-matrix-table.credit-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;padding:8px 10px}.payout-matrix-table.credit-table th{background:var(--surface-2);color:var(--text);font-size:12px;font-weight:900}.payout-matrix-table.credit-table tbody tr:last-child td{border-bottom:0}.payout-matrix-table.credit-table th:last-child,.payout-matrix-table.credit-table td:last-child{border-right:0}.credit-account-col{width:180px}.payout-matrix-table.credit-table .credit-number-col,.credit-number-cell{text-align:right;font-variant-numeric:tabular-nums;width:110px}.credit-adjust-col{width:300px}.credit-reset-col{white-space:pre-line;width:210px;line-height:1.25}.credit-adjust,.credit-reset{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.credit-adjust__inline-form{flex-wrap:nowrap;align-items:center;gap:6px;display:flex}.payrate-input.credit-amount-input{flex:0 0 12ch;width:12ch;min-width:12ch;max-width:12ch}.credit-adjust .btn-small,.credit-reset .btn-small{white-space:nowrap}.credit-reset-confirm-modal{width:min(460px,100vw - 32px)}.credit-reset-target{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);gap:4px;margin-bottom:14px;padding:12px;display:grid}.credit-reset-target span{color:var(--muted);font-size:12px;font-weight:900}.credit-reset-target strong{color:var(--text);font-size:20px;font-weight:900}.credit-reset-target small{color:var(--muted);font-size:14px;font-weight:800}.credit-reset-confirm-count{color:var(--text);margin:0;font-size:18px;font-weight:900}.credit-reset-confirm-copy{margin:-4px 0 0}.credit-report-search{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.credit-report-search__field{min-width:min(100%,260px);color:var(--muted);gap:6px;font-size:14px;font-weight:800;display:grid}.credit-report-search__input{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--text);font:inherit;outline:none;padding:8px 10px;font-weight:800}.credit-report-search__input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.credit-report-search__input:disabled{cursor:wait;opacity:.68}.credit-report-search__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.credit-report-target{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;font-weight:800;display:flex}.credit-report-target strong{color:var(--text)}.credit-report-table{min-width:980px}.payout-matrix-table.credit-report-table .credit-report-group{text-align:center;font-weight:900}.payout-matrix-table.credit-report-table th,.payout-matrix-table.credit-report-table td{vertical-align:top;padding:6px 8px;line-height:1.25}.credit-report-time{white-space:nowrap;min-width:132px}.credit-report-note{white-space:normal;word-break:break-word;min-width:160px;max-width:320px}.user-log-filters{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.user-log-filters__field{min-width:min(100%,220px);color:var(--muted);gap:6px;font-size:14px;font-weight:800;display:grid}.user-log-filters__field.is-date{min-width:min(100%,160px)}.user-log-filters__input{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--text);font:inherit;outline:none;padding:8px 10px;font-weight:800}.user-log-filters__input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.user-log-filters__input:disabled{cursor:wait;opacity:.68}.user-log-filters__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.user-log-table{min-width:1120px}.user-log-summary{min-width:160px}.user-log-details{white-space:normal;word-break:break-word;min-width:240px;max-width:420px}.is-negative{color:var(--danger)}.is-positive{color:var(--brand)}.profit-loss-page{gap:16px}.profit-loss-tabs{border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:4px;padding:0 4px;display:flex}.profit-loss-tab-list{align-self:stretch;min-width:0;display:flex}.profit-loss-tab{min-height:48px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:0 18px;font-weight:800}.profit-loss-tab:hover{color:var(--text);background:var(--surface-2)}.profit-loss-tab.is-active{border-bottom-color:var(--brand);color:var(--brand)}.profit-loss-tab:focus-visible{outline:3px solid var(--brand-tint);outline-offset:-3px}.profit-loss-refresh{border-color:var(--border);background:var(--surface);align-items:center;gap:6px;min-height:36px;margin:4px 4px 4px auto;padding:0 12px;display:inline-flex}.profit-loss-refresh:hover:not(:disabled){background:var(--surface-2)}.profit-loss-refresh>span[aria-hidden=true]{font-size:18px;line-height:1}.profit-loss-draw{gap:14px;width:100%;display:grid}.profit-loss-draw__event{align-items:center;gap:12px;display:flex}.profit-loss-draw__flag{background:linear-gradient(#ed1b2f 0 16%,#fff 16% 29%,#241a4f 29% 71%,#fff 71% 84%,#ed1b2f 84% 100%);border:1px solid #0f172a1a;flex:none;width:58px;height:38px}.profit-loss-draw__event h2{margin:0 0 2px;font-size:24px;line-height:1.15}.profit-loss-draw__event p{color:var(--muted);margin:0;font-size:19px;font-weight:700}.profit-loss-draw__status{border-radius:var(--radius-sm);color:#166534;background:#f0fdf4;border:1px solid #86efac;width:100%;padding:10px 12px;font-weight:800}.profit-loss-draw__status[data-status=RESULTED]{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.profit-loss-draw__status[data-status=CANCELED]{color:#991b1b;background:#fef2f2;border-color:#fecaca}.profit-loss-workline{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.profit-loss-loading{color:var(--brand);font-size:13px;font-weight:800}.profit-loss-table-wrap{margin-inline:calc(8px - clamp(16px,2vw,32px))}.payout-matrix-table.profit-loss-table{width:max-content;min-width:0;font-size:clamp(12px,.78vw,16px)}.payout-matrix-table.profit-loss-table th,.payout-matrix-table.profit-loss-table td{vertical-align:middle;border-right:0;padding:12px clamp(5px,.55vw,12px);line-height:1.3}.payout-matrix-table.profit-loss-table thead th{background:var(--surface-2);color:var(--muted);font-size:.9em;font-weight:900}.payout-matrix-table.profit-loss-table thead tr:first-child th{border-bottom:1px solid var(--border)}.payout-matrix-table.profit-loss-table .profit-loss-group-heading{color:var(--text);font-size:1em}.payout-matrix-table.profit-loss-table thead th.is-current{background:var(--surface-2);color:#2563eb}.profit-loss-name-col{min-width:0}.profit-loss-name-col,.profit-loss-name-cell,.profit-loss-full-bet-col,.profit-loss-full-bet-cell{border-right:1px solid var(--border)!important}.profit-loss-name-cell{min-width:0;color:var(--text)}.profit-loss-name-cell[data-role=ROOT],.profit-loss-name-cell[data-role=HEAD],.profit-loss-name-cell[data-role=AGENT]{background:var(--role-agent-tint);color:var(--role-agent)}.profit-loss-name-cell[data-role=MEMBER]{background:var(--role-member-tint);color:var(--role-member)}.profit-loss-group-end{border-right:2px solid var(--border)!important}.profit-loss-table tbody td.num{font-weight:600}.profit-loss-user-button{width:100%;color:var(--brand);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;padding:0;display:grid}.profit-loss-user-button strong,.profit-loss-user-label strong{display:block}.profit-loss-user-button small,.profit-loss-user-label small{color:var(--muted);font-size:.78em;font-weight:700;display:block}.profit-loss-user-button span{grid-area:1/2/span 2;font-size:20px;line-height:1}.profit-loss-user-button:hover strong{text-decoration:underline}.profit-loss-user-button:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:3px}.profit-loss-table tbody tr.is-total td{background:var(--surface-2);color:var(--text);font-weight:900}.profit-loss-table tbody tr.is-total td.is-negative{color:var(--danger)}.profit-loss-range-filters{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px;display:flex}.profit-loss-range-filter{min-width:min(100%,220px);color:var(--muted);gap:6px;font-size:13px;font-weight:800;display:grid}.profit-loss-range-filter input{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);min-height:42px;color:var(--text);font:inherit;outline:none;padding:8px 10px;font-weight:800}.profit-loss-range-filter input:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.profit-loss-range-filter input:disabled{cursor:wait;opacity:.68}.profit-loss-range-submit{min-height:42px}.profit-loss-range-presets{align-items:center;gap:8px;display:flex}.profit-loss-range-preset{min-height:42px;padding-inline:12px}.payout-matrix-table.profit-loss-range-table th{padding:8px 4px}.payout-matrix-table.profit-loss-range-table td{padding:5px 4px}.payout-matrix-table.profit-loss-range-table thead th{font-size:1em;line-height:1.2}.payout-matrix-table.profit-loss-range-table .num{text-align:right;font-variant-numeric:tabular-nums}.profit-loss-range-meta-col,.profit-loss-range-meta-cell,.profit-loss-range-total-label{border-right:1px solid var(--border)!important}.profit-loss-range-meta-cell{color:var(--text);font-weight:700}.profit-loss-range-date-cell{color:var(--muted);white-space:nowrap}.profit-loss-range-downline-total td{color:var(--text);background:#fff7d6;border-top:1px solid #f0d783;border-bottom:1px solid #f0d783;font-style:italic;font-weight:800}.profit-loss-range-downline-total td.is-negative{color:var(--danger)}.profit-loss-range-downline-total .profit-loss-range-total-label{color:#705400}.profit-loss-range-grand-total td{color:#fff;background:#303241;border-bottom:0;font-weight:900}.profit-loss-range-grand-total td.is-negative{color:#f87171}.profit-loss-range-total-label{text-align:left}.bet-time-report-page{gap:16px}.bet-time-report-controls{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;padding:12px 14px;display:flex}.bet-time-report-checkbox{color:var(--muted);align-items:center;gap:8px;margin-right:auto;font-weight:800;display:inline-flex}.bet-time-report-checkbox input{flex:none;width:18px;min-height:18px}.bet-time-report-refresh,.bet-time-report-export{min-height:40px}.bet-time-report-export{align-items:center;gap:8px;display:inline-flex}.bet-time-report-export__mark{letter-spacing:0;background:#ffffff2e;border-radius:3px;place-items:center;min-width:28px;min-height:20px;padding:0 4px;font-size:11px;font-weight:900;display:inline-grid}.bet-time-report-card{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);padding:14px}.bet-time-report-toolbar h2{color:var(--brand);font-size:19px;line-height:1.35}.bet-time-report-toolbar p{color:var(--brand);font-size:15px;font-weight:800}.payout-matrix-table.bet-time-report-table{width:max-content;min-width:1480px;font-size:13px}.payout-matrix-table.bet-time-report-table th,.payout-matrix-table.bet-time-report-table td{border-right:1px solid var(--border);vertical-align:middle;white-space:nowrap;padding:10px 12px;line-height:1.3}.payout-matrix-table.bet-time-report-table thead th{background:var(--surface-2);color:var(--muted);font-weight:900}.payout-matrix-table.bet-time-report-table thead tr:first-child th{border-bottom:1px solid var(--border)}.payout-matrix-table.bet-time-report-table .num{text-align:right;font-variant-numeric:tabular-nums}.payout-matrix-table.bet-time-report-table .is-current{color:#2563eb}.bet-time-group-heading{color:var(--text)!important;text-align:center!important}.bet-time-group-heading.is-current{color:#2563eb!important}.bet-time-group-end{border-right:2px solid var(--border)!important}.bet-time-total-row td{background:var(--surface-2);color:var(--text);font-weight:900}.bet-time-total-row td.is-negative,.bet-time-report-table td.is-negative{color:#ef4444}.bet-time-report-time{color:var(--text);font-variant-numeric:tabular-nums;font-weight:800}.bet-time-report-no{letter-spacing:0;font-weight:800}.bet-time-report-user strong,.bet-time-report-user small{display:block}.bet-time-report-user small{color:var(--muted);font-size:11px;font-weight:700}.bet-time-report-agent-button{min-width:0;color:var(--brand);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.bet-time-report-agent-button:hover strong{text-decoration:underline}.bet-time-report-agent-button:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:3px}.bet-time-col--time{width:128px}.bet-time-col--player,.bet-time-col--agent{width:112px}.bet-time-col--sai{width:96px}.bet-time-col--bet-type{width:72px}.bet-time-col--no{width:92px}.bet-time-col--amount,.bet-time-col--money{width:118px}.bet-time-col--pay{width:72px}.bet-time-report-card.is-pdf-export{box-shadow:none;border:0;border-radius:0}.bet-time-report-card.is-pdf-export .bet-time-report-table-wrap{margin-inline:0;overflow:visible}.bet-time-report-card.is-pdf-export .payout-matrix-table.bet-time-report-table{min-width:1480px}.bet-number-report-page{gap:16px}.bet-number-report-summary{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:18px;padding:18px;display:flex}.bet-number-report-summary__copy{gap:4px;display:grid}.bet-number-report-summary__copy strong{color:#3fa34d;font-size:clamp(22px,1.8vw,32px);line-height:1.2}.bet-number-report-summary__copy p{color:#4f5cf5;margin:0;font-size:clamp(18px,1.45vw,28px);font-weight:800;line-height:1.3}.bet-number-report-summary__actions{justify-items:end;gap:14px;margin-left:auto;display:grid}.bet-number-report-print{align-items:center;gap:10px;min-height:48px;padding-inline:18px;font-size:16px;font-weight:900;display:inline-flex}.bet-number-report-print__icon{border:2px solid;border-radius:2px;flex:none;width:16px;height:20px;position:relative}.bet-number-report-print__icon:before{content:"";background:currentColor;border-bottom:2px solid;border-left:2px solid;width:7px;height:7px;position:absolute;top:-2px;right:-2px}.bet-number-risk-toggle{color:var(--muted);cursor:pointer;align-items:center;gap:8px;font-size:16px;font-weight:800;display:inline-flex}.bet-number-risk-toggle input{accent-color:#4f5cf5;width:18px;min-height:18px;margin:0}.bet-number-risk-toggle:has(input:disabled){cursor:wait;opacity:.72}.bet-number-report-table-wrap{border-radius:0;width:100%}.payout-matrix-table.bet-number-report-table{border:0;width:max-content;min-width:100%;font-size:clamp(14px,1.05vw,22px)}.payout-matrix-table.bet-number-report-table th,.payout-matrix-table.bet-number-report-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums;min-width:92px;padding:12px 14px}.payout-matrix-table.bet-number-report-table .bet-number-cell--no{text-align:center;min-width:72px}.payout-matrix-table.bet-number-report-table .bet-number-group-heading{color:#fff;text-align:center;background:#82827f;padding-block:14px;font-weight:900}.payout-matrix-table.bet-number-report-table .bet-number-subheading{background:var(--surface);color:var(--muted);text-align:center;font-weight:900}.payout-matrix-table.bet-number-report-table .bet-number-subheading span,.payout-matrix-table.bet-number-report-table .bet-number-subheading strong{line-height:1.25;display:block}.payout-matrix-table.bet-number-report-table .bet-number-subheading strong{color:#3fa34d}.payout-matrix-table.bet-number-report-table .bet-number-subheading strong.is-negative{color:#ff4d5d}.payout-matrix-table.bet-number-report-table th.bet-number-cell--no,.payout-matrix-table.bet-number-report-table td.bet-number-cell--no{color:#4f5cf5;background:#e9f2fb;font-weight:900}.payout-matrix-table.bet-number-report-table tbody td{color:var(--text);font-weight:800}.payout-matrix-table.bet-number-report-table tbody td.is-negative{color:#ff4d5d}.payout-matrix-table.bet-number-report-table tbody td.is-empty{color:#0000}.payout-matrix-table.bet-number-report-table tbody td.bet-number-cell--no.is-aun{text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:2px}.payout-matrix-table.bet-number-report-table tbody td.bet-number-cell--no.is-win{background:#fff7d6}.risk-report-page .bet-number-report-summary__copy strong{color:#ff4d5d}.risk-report-page .bet-number-report-summary__copy p:first-of-type{color:#3fa34d}.payout-matrix-table.risk-report-table tbody td.bet-number-cell--no.is-risk-leader{background:#fff7d6;box-shadow:inset 0 0 0 2px #f0d783}.payout-matrix-table.risk-report-table .bet-number-cell--agentWin,.payout-matrix-table.risk-report-table .bet-number-cell--youPay,.payout-matrix-table.risk-report-table .bet-number-cell--companyPay{min-width:112px}.payout-matrix-table.profit-loss-table thead th,.payout-matrix-table.bet-time-report-table thead th,.payout-matrix-table.bet-number-report-table thead th{background:var(--report-header)!important;color:#fff!important;border-color:#ffffff52!important}.payout-matrix-table.profit-loss-table thead th :is(span,strong),.payout-matrix-table.bet-time-report-table thead th :is(span,strong),.payout-matrix-table.bet-number-report-table thead th :is(span,strong){color:inherit!important}.payout-matrix-table.profit-loss-table tbody td.is-current,.payout-matrix-table.bet-time-report-table tbody td.is-current{color:var(--text);background:var(--report-focus-band)!important}.payout-matrix-table.profit-loss-table tbody td.is-current.is-negative,.payout-matrix-table.bet-time-report-table tbody td.is-current.is-negative{color:var(--danger)}@media (width<=560px){.profit-loss-tabs{padding:0}.profit-loss-tab{flex:1 1 0;padding:0 8px;font-size:13px}.profit-loss-tab-list{flex:auto}.profit-loss-refresh{flex:0 0 36px;justify-content:center;width:36px;margin-right:0;padding:0}.profit-loss-refresh__label{display:none}.profit-loss-draw__event{align-items:flex-start}.profit-loss-draw__event h2{font-size:21px}.profit-loss-draw__event p{font-size:16px}.profit-loss-range-filters{align-items:stretch}.profit-loss-range-filter,.profit-loss-range-submit,.profit-loss-range-presets{width:100%}.profit-loss-range-preset{flex:1 1 0}.bet-time-report-controls{align-items:stretch}.bet-time-report-checkbox,.bet-time-report-refresh,.bet-time-report-export{width:100%}.bet-time-report-checkbox{margin-right:0}.bet-time-report-refresh,.bet-time-report-export{justify-content:center}.bet-number-report-summary,.bet-number-report-summary__actions,.bet-number-report-print{width:100%}.bet-number-report-summary__actions{justify-items:stretch}.bet-number-risk-toggle{justify-content:flex-end}}@media print{@page{size:A4 landscape;margin:8mm}body:has(.bet-number-report-page){background:#fff}:is(body:has(.bet-number-report-page) .app-sidebar,body:has(.bet-number-report-page) .app-sidebar-backdrop,body:has(.bet-number-report-page) .topbar,body:has(.bet-number-report-page) .page__head,body:has(.bet-number-report-page) .profit-loss-workline,body:has(.bet-number-report-page) .bet-number-report-summary__actions,body:has(.bet-number-report-page) .profit-loss-loading,body:has(.bet-number-report-page) .note){display:none!important}:is(body:has(.bet-number-report-page) .app-shell,body:has(.bet-number-report-page) .app-workspace,body:has(.bet-number-report-page) .app-main,body:has(.bet-number-report-page) .bet-number-report-page){background:#fff;min-height:0;margin:0;padding:0;display:block}body:has(.bet-number-report-page) .bet-number-report-summary{border:0;padding:0 0 8px}body:has(.bet-number-report-page) .bet-number-report-summary__copy strong{font-size:18pt}body:has(.bet-number-report-page) .bet-number-report-summary__copy p{font-size:13pt}body:has(.bet-number-report-page) .bet-number-report-table-wrap{border:0;width:100%;max-width:none;overflow:visible}body:has(.bet-number-report-page) .payout-matrix-table.bet-number-report-table{width:100%;min-width:0;font-size:8pt}:is(body:has(.bet-number-report-page) .payout-matrix-table.bet-number-report-table th,body:has(.bet-number-report-page) .payout-matrix-table.bet-number-report-table td){min-width:0;padding:4px 5px}}.receive-settings-page,.receive-settings-page>*,.receive-settings-page .payout-matrix-section{min-width:0}.receive-settings-page{gap:10px}.receive-settings-head{align-items:flex-start}.receive-settings-head p{margin:0;font-size:13px}.receive-settings-head__actions{flex:none;align-items:center;gap:6px;display:flex}.receive-settings-action{white-space:nowrap;min-height:30px;padding:0 10px;font-size:12px}.receive-settings-page .payout-save-button--top{min-height:36px;padding:0 12px}.receive-settings-page .payout-matrix-section{gap:6px}.receive-settings-page .payout-toolbar{align-items:center;gap:8px}.receive-settings-page .payout-toolbar h2{margin-bottom:1px;font-size:16px}.receive-settings-page .payout-toolbar p{font-size:12px}.receive-settings-page .payout-table-wrap{border-radius:6px;width:100%;max-width:100%}.receive-settings-table{width:max-content;min-width:0;font-size:12px}.data-table.payout-matrix-table.receive-settings-table th,.data-table.payout-matrix-table.receive-settings-table td{vertical-align:middle;padding:2px 3px;line-height:1.05}.data-table.payout-matrix-table.receive-settings-table th{white-space:nowrap;font-size:11px}.payout-matrix-table.receive-settings-table .payout-apply-col{width:30px;min-width:30px;padding-left:0;padding-right:0}.receive-lotto-col,.payout-matrix-table.receive-settings-table .receive-batch-label,.receive-lotto-cell{width:150px;min-width:150px}.payout-matrix-table.receive-settings-table .receive-batch-label{padding:2px 3px}.receive-copy-select{min-width:0;min-height:24px;padding-top:1px;padding-bottom:1px}.payout-matrix-table.receive-settings-table .receive-amount-col,.payout-matrix-table.receive-settings-table .receive-batch-input-cell,.payout-matrix-table.receive-settings-table .receive-amount-cell{text-align:right;width:74px;min-width:74px}.payout-matrix-table.receive-settings-table .receive-batch-input-cell{text-align:center;padding:2px 3px}.receive-batch-input{text-align:right;width:7.5ch;min-width:0;max-width:100%;min-height:24px;margin:0 auto;padding:1px 3px}.receive-lotto-cell{text-overflow:ellipsis;white-space:nowrap;background:#15803d0a;font-weight:800;overflow:hidden}.payout-matrix-table.receive-settings-table .receive-amount-cell{font-variant-numeric:tabular-nums;padding-right:6px}.receive-amount-value{text-align:right;white-space:nowrap;width:100%;display:block}.receive-amount-cell.is-empty{color:var(--muted)}.receive-settings-table tbody tr.is-selected td{background:#15803d14}.receive-settings-table tbody tr.is-selected .receive-lotto-cell{background:#15803d26}.receive-settings-page .payout-save-actions{margin-top:2px}.receive-settings-page .payout-save-actions .payout-save-button{min-height:42px;font-size:15px}@media (width<=700px){.receive-settings-head{flex-direction:column;align-items:stretch}.receive-settings-head__actions{width:100%}.receive-settings-head__actions .payout-save-button{flex:auto}.receive-settings-page .payout-toolbar{flex-direction:column;align-items:flex-start}}.lotto-calendar-table{table-layout:fixed;min-width:0}.lotto-calendar-navigation{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.lotto-calendar-navigation__range{min-width:230px;color:var(--text);text-align:center;font-variant-numeric:tabular-nums;font-size:13px}.lotto-calendar-type-col,.lotto-calendar-type-cell{z-index:2;background:var(--surface);text-align:left;width:176px;min-width:176px;max-width:176px;position:sticky;left:0}.lotto-calendar-type-col{z-index:4}.lotto-calendar-type-cell{vertical-align:middle}.lotto-calendar-type-cell strong,.lotto-calendar-type-cell small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.lotto-calendar-type-cell small{color:var(--muted);margin-top:2px;font-size:10px}.lotto-calendar-date-col{vertical-align:bottom;width:38px;min-width:38px;max-width:38px;height:96px;padding:4px 2px}.lotto-calendar-date-col[data-weekday="0"]{background:#fecaca}.lotto-calendar-date-col[data-weekday="1"]{background:#fef3c7}.lotto-calendar-date-col[data-weekday="2"]{background:#fce7f3}.lotto-calendar-date-col[data-weekday="3"]{background:#dcfce7}.lotto-calendar-date-col[data-weekday="4"]{background:#ffedd5}.lotto-calendar-date-col[data-weekday="5"]{background:#dbeafe}.lotto-calendar-date-col[data-weekday="6"]{background:#ede9fe}.lotto-calendar-date-col span{writing-mode:vertical-rl;white-space:nowrap;line-height:1;display:inline-block;transform:rotate(180deg)}.lotto-calendar-cell{text-align:center;vertical-align:middle;width:38px;min-width:38px;max-width:38px;height:30px;padding:2px}.lotto-calendar-cell.is-open{background:#dcfce7}.lotto-calendar-cell.is-closed{background:#fee2e2}.lotto-calendar-cell.is-scheduled{background:#fef3c7}.lotto-calendar-cell.is-resulted{background:#e0e7ff}.lotto-calendar-cell.is-canceled{background:#e5e7eb}.lotto-calendar-status{color:#1f2937;border-radius:4px;place-items:center;min-width:28px;min-height:20px;padding:1px 2px;font-size:9.5px;font-weight:900;line-height:1;display:inline-grid}.lotto-calendar-status.is-open,.lotto-calendar-cell.is-open .lotto-calendar-status{color:#fff;background:#15803d}.lotto-calendar-status.is-closed,.lotto-calendar-cell.is-closed .lotto-calendar-status{color:#fff;background:#dc2626}.lotto-calendar-status.is-scheduled,.lotto-calendar-cell.is-scheduled .lotto-calendar-status{color:#111827;background:#f59e0b}.lotto-calendar-status.is-resulted,.lotto-calendar-cell.is-resulted .lotto-calendar-status{color:#fff;background:#4f46e5}.lotto-calendar-status.is-canceled,.lotto-calendar-cell.is-canceled .lotto-calendar-status{color:#fff;background:#6b7280}.lotto-calendar-legend{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.lotto-calendar-legend__item{color:var(--muted);align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.payout-group-name{border-radius:var(--radius-sm);max-width:100%;display:inline-block;position:relative}.payout-group-name:focus-visible{outline-offset:3px;outline:2px solid #15803d3d}.payout-group-cell strong{font-size:12px}.payout-group-tooltip{z-index:12;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:max-content;max-width:280px;max-height:260px;box-shadow:var(--shadow-panel);color:var(--text);text-align:left;padding:10px 12px;font-size:13px;line-height:1.45;display:none;position:absolute;top:50%;left:calc(100% + 10px);overflow-y:auto;transform:translateY(-50%)}.payout-group-tooltip span{white-space:nowrap;display:block}.payout-group-name:hover .payout-group-tooltip,.payout-group-name:focus-visible .payout-group-tooltip{gap:4px;display:grid}.payrate-cell-wrap{text-align:center;min-width:72px}.payrate-cell-wrap.is-empty{color:var(--muted);text-align:center}.payrate-cell-wrap.is-closed{background:var(--surface-2)}.payrate-cell{gap:2px;display:grid}.payrate-pair{font-variant-numeric:tabular-nums;text-align:center;font-size:12px;display:block}.payrate-edit-line{display:block}.payrate-input{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:24px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;text-align:right;padding:2px 3px;font-weight:800}.payrate-input:focus{border-color:var(--brand);outline:2px solid #15803d29}.payrate-input:disabled{cursor:wait;opacity:.68}.payrate-input--discount{padding-left:3px;padding-right:3px}.payrate-line{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:baseline;gap:4px;display:flex}.payrate-line span{color:var(--muted);font-size:11px;font-weight:700}.payrate-line strong{font-size:12px}.payrate-line--edge strong{color:var(--brand)}.payrate-line--edge{justify-content:center;gap:6px}.payrate-saving{color:var(--muted);font-size:12px;font-weight:700}.payrate-status{justify-self:start;margin-top:0}.lotto-type-layout{grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:start;gap:16px;display:grid}.lotto-type-list{min-width:0}.lotto-type-form-card{position:sticky;top:86px}.lotto-type-table{min-width:980px}.lotto-type-table tr.is-selected td{background:var(--brand-tint)}.code-cell{word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.bet-type-list{max-width:220px;color:var(--muted);font-size:13px;line-height:1.35;display:block}.bet-type-preview{flex-wrap:wrap;gap:6px;display:flex}.schedule-editor{min-height:220px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.45}.form-card{max-width:560px}.stack{gap:14px;display:grid}.field{color:var(--muted);gap:6px;font-size:14px;font-weight:600;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.checkbox-field{color:var(--text);align-items:center;gap:8px;font-weight:600;display:flex}.checkbox-field input{width:18px;min-height:18px}.actions{flex-wrap:wrap;gap:10px;display:flex}.status-line{margin:0 0 14px}.qr-row{flex-wrap:wrap;align-items:flex-start;gap:20px;display:flex}.qr-img{border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff}.qr-side{min-width:180px}.secret-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;display:flex}.secret{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);word-break:break-all;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-block}.data-table{border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;overflow:hidden}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:12px 14px}.data-table th{background:var(--surface-2);color:var(--muted);font-size:13px}.data-table tbody tr:last-child td{border-bottom:0}.data-table .ua{word-break:break-word;max-width:360px;color:var(--muted);font-size:13px}.reason{color:var(--muted);margin-top:4px;font-size:12px;display:block}@media (width<=640px){.lotto-type-layout,.form-grid{grid-template-columns:1fr}.lotto-type-form-card{position:static}.lotto-type-table{min-width:0}.data-table,.data-table tbody,.data-table tr,.data-table td{width:100%;display:block}.data-table thead{display:none}.data-table{background:0 0;border:0}.data-table tr{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-bottom:12px;padding:6px 14px}.data-table td{border-bottom:1px solid var(--surface-2);justify-content:space-between;gap:16px;padding:8px 0;display:flex}.data-table tr td:last-child{border-bottom:0}.data-table td:before{content:attr(data-label);color:var(--muted);font-weight:700}.data-table .ua{text-align:right;max-width:none}.payout-matrix-table{background:var(--surface);border:0;width:100%;min-width:760px;display:table}.payout-matrix-table thead{display:table-header-group}.payout-matrix-table tbody{display:table-row-group}.payout-matrix-table tr{background:0 0;border:0;border-radius:0;margin:0;padding:0;display:table-row}.payout-matrix-table th,.payout-matrix-table td{border-bottom:1px solid var(--border);width:auto;padding:4px 5px;display:table-cell}.payout-matrix-table td{justify-content:normal;gap:0}.payout-matrix-table td:before{content:none}}.aun-legacy-page{width:100%;max-width:832px;margin:0 auto}.aun-legacy-card{padding:0;overflow:hidden}.aun-legacy-head{border-bottom:1px solid var(--border);gap:14px;padding:28px 24px 24px;display:grid}.aun-legacy-head h1{margin:0;font-size:28px;line-height:1.2}.aun-legacy-head p{margin:0}.aun-legacy-event{align-items:center;gap:12px;display:flex}.aun-legacy-flag{background:linear-gradient(#ed1b2f 0 16%,#fff 16% 29%,#241a4f 29% 71%,#fff 71% 84%,#ed1b2f 84% 100%);border:1px solid #0f172a1a;flex:none;width:54px;height:36px}.aun-legacy-event>div{gap:2px;display:grid}.aun-legacy-event span{color:var(--muted);font-size:18px;font-weight:600}.aun-legacy-form{gap:24px;padding:24px;display:grid}.aun-feedback{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);border-left-width:5px;margin:0;padding:12px 14px;font-size:14px;font-weight:700}.aun-feedback.ok{border-left-color:var(--ok);background:var(--ok-tint);color:var(--ok)}.aun-feedback.err{border-left-color:var(--danger);background:var(--bad-tint);color:var(--danger)}.aun-legacy-field{color:var(--muted);gap:8px;font-size:16px;font-weight:700;display:grid}.aun-legacy-field select{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:58px;color:var(--text);outline:none;padding:11px 16px;font-size:17px}.aun-group-picker{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.aun-group-add-button{white-space:nowrap;min-height:58px}.aun-group-create-row{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;display:grid}.aun-group-create-row input{min-width:0;min-height:46px;padding:9px 12px;font-size:16px}.aun-group-create-row input[aria-invalid=true]{border-color:var(--danger)}.aun-legacy-field textarea{min-height:96px;color:var(--text);font-variant-numeric:tabular-nums;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:17px;line-height:1.65}.aun-legacy-field textarea::placeholder{color:var(--muted);opacity:.46}.aun-legacy-field select:focus-visible,.aun-legacy-field textarea:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.aun-legacy-field textarea[aria-invalid=true]{border-color:var(--danger)}.aun-legacy-field small{font-size:13px;line-height:1.45}.aun-number-count{color:var(--brand);font-size:13px;font-weight:800}.aun-legacy-note{border-radius:var(--radius-sm);background:#fef2f2;border:1px solid #fecaca;margin:0;padding:10px 12px;font-size:14px;font-weight:700}.aun-legacy-note.err{color:#991b1b}.aun-legacy-submit{width:100%;min-height:60px;font-size:18px}@media (width<=640px){.aun-legacy-head{padding:24px 20px 20px}.aun-legacy-head h1{font-size:24px}.aun-legacy-form{gap:20px;padding:20px}.aun-legacy-field textarea{min-height:96px}.aun-group-picker,.aun-group-create-row{grid-template-columns:1fr}}.daily-lotto-page{width:100%;max-width:none}.daily-lotto-filters{grid-template-columns:minmax(360px,1.4fr) minmax(150px,.55fr) minmax(170px,.65fr) auto;align-items:end;gap:14px;padding:18px;display:grid}.daily-lotto-date-filter,.daily-lotto-filter-field{min-width:0;color:var(--text);gap:6px;font-size:14px;font-weight:800;display:grid}.daily-lotto-date-range{border:1px solid var(--border-input);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:minmax(135px,1fr) auto minmax(135px,1fr);align-items:center;gap:8px;min-width:0;min-height:44px;padding:0 10px;display:grid}.daily-lotto-date-range input{background:0 0;border:0;min-width:0;padding:0;font-weight:800}.daily-lotto-date-range input:focus{box-shadow:none}.daily-lotto-filter-field select{width:100%;min-height:44px;font-weight:800}.daily-lotto-filter-actions,.daily-lotto-presets{justify-content:flex-end;align-items:center;gap:10px;display:flex}.daily-lotto-filter-actions .btn{white-space:nowrap;min-height:44px}.daily-lotto-filter-actions .btn span{font-size:20px;line-height:1}.daily-lotto-presets{grid-column:1/-1}.daily-lotto-presets .btn{min-width:112px}.daily-lotto-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.daily-lotto-summary-card{text-align:center;place-content:center;gap:12px;min-height:138px;display:grid}.daily-lotto-summary-card h2{color:var(--muted);margin:0;font-size:21px}.daily-lotto-summary-card strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:clamp(28px,3vw,38px);line-height:1}.daily-lotto-summary-card.is-bet h2{color:#3b82f6}.daily-lotto-summary-card.is-winning h2{color:#ef4444}.daily-lotto-summary-card.is-commission h2{color:#8b5cf6}.daily-lotto-summary-card.is-total h2{color:#d99500}.daily-lotto-summary-card.is-positive strong,.daily-lotto-total.is-positive{color:#13b981}.daily-lotto-summary-card.is-negative strong,.daily-lotto-total.is-negative{color:var(--danger)}.daily-lotto-list{padding:0;overflow:hidden}.daily-lotto-list-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:16px 20px;display:flex}.daily-lotto-list-head h2{margin:0;font-size:20px}.daily-lotto-list-head h2 span{color:var(--muted);font-size:15px}.daily-lotto-table-wrap{overflow-x:auto}.daily-lotto-table{border:0;border-radius:0;min-width:980px}.daily-lotto-table th,.daily-lotto-table td{vertical-align:middle}.daily-lotto-table th.num,.daily-lotto-table td.num{text-align:right}.daily-lotto-name-cell{align-items:center;gap:10px;min-width:250px;display:flex}.daily-lotto-name-cell>span:last-child{gap:2px;min-width:0;display:grid}.daily-lotto-name-cell strong{color:#3b82f6;font-size:15px}.daily-lotto-name-cell small{color:var(--muted);font-size:11px}.daily-lotto-flag{background:var(--surface-2);border-radius:999px;flex:none;place-items:center;width:34px;height:34px;font-size:22px;line-height:1;display:grid;box-shadow:0 1px 4px #0f172a29}.daily-lotto-status{color:#fff;background:var(--muted);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;min-height:32px;padding:4px 12px;font-size:13px;font-weight:900;display:inline-flex}.daily-lotto-status.is-open{background:#55a6f7}.daily-lotto-status.is-resulted{background:#68c8b4}.daily-lotto-status.is-canceled{background:#ef4444}.daily-lotto-status.is-processing{background:#f59e0b}.daily-lotto-total{font-weight:900}.daily-lotto-empty{height:100px;color:var(--muted);text-align:center!important}.daily-lotto-create-modal{width:min(460px,100vw - 32px);max-height:calc(100vh - 32px);padding:22px;overflow-y:auto}.daily-lotto-create-modal h2{margin:0 0 20px;font-size:22px}.daily-lotto-create-modal form,.daily-lotto-create-modal label{gap:14px;display:grid}.daily-lotto-create-modal label{color:var(--muted);gap:7px;font-size:14px;font-weight:800}.daily-lotto-create-modal select,.daily-lotto-create-modal input{width:100%;min-height:46px}.daily-lotto-create-actions{justify-content:flex-end;gap:10px;padding-top:6px;display:flex}@media (width<=1100px){.daily-lotto-filters{grid-template-columns:minmax(330px,1.3fr) repeat(2,minmax(150px,.7fr))}.daily-lotto-filter-actions{grid-column:1/-1}}@media (width<=760px){.daily-lotto-filters{grid-template-columns:1fr 1fr}.daily-lotto-date-filter{grid-column:1/-1}.daily-lotto-filter-actions,.daily-lotto-presets{grid-column:1/-1;justify-content:stretch}.daily-lotto-filter-actions .btn,.daily-lotto-presets .btn{flex:1}.daily-lotto-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.daily-lotto-summary-card{min-height:112px;padding:14px 8px}.daily-lotto-summary-card h2{font-size:16px}}@media (width<=640px){.daily-lotto-table-wrap{padding:12px;overflow:visible}.daily-lotto-table{min-width:0}.daily-lotto-table td.num{text-align:right}.daily-lotto-name-cell{min-width:0}.daily-lotto-empty:before{content:none!important}}@media (width<=520px){.daily-lotto-filters,.daily-lotto-summary{grid-template-columns:1fr}.daily-lotto-filter-field,.daily-lotto-date-filter,.daily-lotto-filter-actions,.daily-lotto-presets{grid-column:1}.daily-lotto-date-range{grid-template-columns:1fr;justify-items:stretch;padding:10px}.daily-lotto-date-range>span{text-align:center;transform:rotate(90deg)}.daily-lotto-list-head{flex-direction:column;align-items:stretch}.daily-lotto-list-head .btn{width:100%}}.kick-overlay{z-index:100;background:#0f172a8c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.kick-card{background:var(--surface);border-radius:var(--radius);width:min(100%,380px);box-shadow:var(--shadow-panel);text-align:center;padding:24px}.kick-card h2{margin:0 0 8px}.kick-card p{color:var(--muted);margin:0 0 20px}.kick-card .btn{width:100%}.lotto-overrides-page{justify-items:start;width:fit-content;max-width:100%;margin:0}.override-feedback{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);border-left-width:5px;margin:0;padding:12px 14px;font-size:14px;font-weight:700}.override-feedback.ok{border-left-color:var(--ok);background:var(--ok-tint);color:var(--ok)}.override-feedback.err{border-left-color:var(--danger);background:var(--bad-tint);color:var(--danger)}.lotto-override-panel{width:fit-content;max-width:100%;padding:0;overflow:hidden}.lotto-override-panel__head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.lotto-override-panel__head h1{margin:0;font-size:22px;line-height:1.25}.lotto-override-add{flex:none;justify-content:center;align-items:center;gap:7px;display:inline-flex}.lotto-override-add>span{font-size:21px;font-weight:400;line-height:1}.lotto-override-table-wrap{width:max-content;max-width:100%;overflow-x:auto}.lotto-override-table{border:0;border-radius:0;width:max-content;min-width:720px}.lotto-override-table th,.lotto-override-table td{vertical-align:middle}.lotto-override-table th{background:var(--surface);height:52px}.lotto-override-table th:first-child,.lotto-override-table td:first-child{width:34%}.lotto-override-table th:nth-child(2),.lotto-override-table td:nth-child(2){width:36%}.lotto-override-table th:nth-child(3),.lotto-override-table td:nth-child(3){text-align:center;width:20%}.lotto-override-table th:last-child,.lotto-override-table td:last-child{text-align:center;width:10%}.lotto-override-empty{height:90px;color:var(--muted);text-align:center!important}.override-status-pill{color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:66px;padding:5px 12px;font-size:12px;font-weight:800;line-height:1;display:inline-flex}.override-status-pill.is-open{background:#4f46e5}.override-status-pill.is-close{background:var(--danger)}.override-delete-button{border-radius:var(--radius-sm);width:38px;height:38px;color:var(--danger);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.override-delete-button:hover:not(:disabled){background:var(--bad-tint)}.override-delete-button:disabled{opacity:.5;cursor:default}.override-delete-button:focus-visible{outline:3px solid var(--bad-tint);outline-offset:1px}.override-delete-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:22px;height:22px}.lotto-override-modal{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(480px,100vw - 32px);max-height:calc(100vh - 32px);box-shadow:var(--shadow-panel);padding:22px;overflow-y:auto}.lotto-override-modal h2{margin:0 0 20px;font-size:22px;line-height:1.25}.lotto-override-modal__form{gap:16px;display:grid}.lotto-override-control{display:block}.lotto-override-control select,.lotto-override-control input{border:1px solid var(--border-input);border-radius:var(--radius-sm);width:100%;min-height:50px;color:var(--text);background:var(--surface);outline:none;padding:11px 13px}.lotto-override-control select:focus-visible,.lotto-override-control input:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.lotto-override-switch{min-height:50px;color:var(--muted);cursor:pointer;align-items:center;gap:10px;display:flex;position:relative}.lotto-override-switch>input{opacity:0;width:1px;min-height:1px;margin:0;position:absolute}.lotto-override-switch__track{background:#d8dee9;border-radius:999px;flex:none;width:52px;height:30px;transition:background-color .16s;position:relative}.lotto-override-switch__thumb{background:#fff;border-radius:999px;width:22px;height:22px;transition:transform .16s;position:absolute;top:4px;left:4px;box-shadow:0 1px 3px #16203342}.lotto-override-switch>input:checked+.lotto-override-switch__track{background:#4f46e5}.lotto-override-switch>input:checked+.lotto-override-switch__track .lotto-override-switch__thumb{transform:translate(22px)}.lotto-override-switch>input:focus-visible+.lotto-override-switch__track{outline-offset:2px;outline:3px solid #4f46e533}.lotto-override-switch:has(input:disabled){cursor:default;opacity:.6}.lotto-override-switch__label{font-size:15px}.lotto-override-switch__label strong{color:var(--text)}.lotto-override-submit{width:100%;min-height:50px;margin-top:2px}@media (width<=640px){.lotto-overrides-page,.lotto-override-panel,.lotto-override-table-wrap,.lotto-override-table{width:100%}.lotto-override-panel__head{padding:16px}.lotto-override-panel__head h1{font-size:19px}.lotto-override-table{min-width:0}.lotto-override-table td{text-align:right;width:100%!important}.lotto-override-table tr{margin:0 12px 12px}.lotto-override-table .lotto-override-empty{height:auto;padding:20px 0;display:block}.lotto-override-table .lotto-override-empty:before{display:none}.lotto-override-modal{padding:20px}}.overdue-results-page{max-width:1080px;margin:0}.overdue-results-page .page__head p{max-width:760px;margin:5px 0 0;line-height:1.55}.overdue-results-card{padding:0;overflow:hidden}.overdue-results-card__head{border-bottom:1px solid var(--border);padding:16px 18px}.overdue-results-card__head h2{margin:0;font-size:17px}.overdue-results-table-wrap{overflow-x:auto}.overdue-results-table{border:0;border-radius:0;min-width:820px}.overdue-results-table th,.overdue-results-table td{vertical-align:middle}.overdue-results-table tbody tr.is-oldest td{background:#dc262609}.overdue-results-type{gap:3px;display:grid}.overdue-results-type small{color:var(--muted);font-size:12px}.overdue-results-duration{color:var(--danger);white-space:nowrap}.overdue-results-status{color:#9a3412;white-space:nowrap;background:#ffedd5;border-radius:999px;align-items:center;min-height:26px;padding:4px 10px;font-size:12px;font-weight:800;display:inline-flex}.overdue-results-status.is-processing{color:#3730a3;background:#e0e7ff}.overdue-results-empty{height:48px;color:var(--muted);text-align:center!important}@media (width<=640px){.overdue-results-page .page__head--row{flex-direction:column;align-items:stretch}.overdue-results-page .page__head--row .btn{width:100%}.overdue-results-table{min-width:0}.overdue-results-table tr{margin:0 12px 12px}.overdue-results-table .overdue-results-empty{height:auto;padding:20px 0;display:block}.overdue-results-table .overdue-results-empty:before{display:none}}.app-shell{background:var(--bg);grid-template-columns:minmax(0,1fr);min-height:100vh;display:grid}.app-shell.is-sidebar-open{grid-template-columns:165px minmax(0,1fr)}.app-workspace{min-width:0}.app-sidebar{z-index:30;color:#f8fafc;background:#191d2d;border-right:1px solid #ffffff14;flex-direction:column;min-width:0;height:100vh;display:flex;position:sticky;top:0;overflow:hidden;box-shadow:4px 0 18px #0f172a1f}.app-sidebar-backdrop{display:none}.side-nav__identity{border-bottom:1px solid #ffffff1a;align-items:center;gap:10px;min-height:70px;padding:12px 14px;display:flex}.app-sidebar .brand-mark{border-radius:50%;flex:none;width:36px;height:36px}.side-nav__identity-copy{gap:2px;min-width:0;display:grid}.side-nav__identity-copy strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.side-nav__identity-copy span{color:#aeb6ca;font-size:12px;font-weight:700}.side-nav{scrollbar-width:thin;scrollbar-color:#596078 transparent;flex:auto;min-height:0;padding:6px 6px 14px;overflow-y:auto}.side-nav__section{color:#8f98b0;letter-spacing:.08em;text-transform:uppercase;padding:12px 10px 4px;font-size:10px;font-weight:800;display:block}.side-nav__link{color:#e3e7f0;border-radius:6px;align-items:center;min-height:36px;margin:1px 0;padding:7px 10px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.side-nav__link:hover{color:#fff;background:#ffffff14}.side-nav__link.router-link-exact-active{color:#fff;background:var(--brand)}.side-nav__footer{background:#151827;border-top:1px solid #ffffff1a;flex:none;gap:10px;padding:12px;display:grid}.side-nav__footer .server-clock__time{color:#fff}.side-nav__footer .server-clock__label{color:#8f98b0}.side-nav__logout{min-height:38px;color:var(--brand-contrast);background:var(--brand);cursor:pointer;border:0;border-radius:6px;font-weight:800}.side-nav__logout:hover{background:var(--brand-hover)}.topbar{z-index:20;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;box-shadow:0 1px 8px #0f172a0d}.topbar__inner{flex-wrap:nowrap;align-items:center;gap:14px;width:100%;max-width:none;min-height:64px;margin:0;padding:9px clamp(14px,2vw,28px);display:flex}.topbar__menu-btn{border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:0;flex:none;width:42px;height:42px;display:inline-block;position:relative}.topbar__menu-btn:hover{background:var(--surface-2)}.topbar__page-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:17px;overflow:hidden}.topbar__meta{flex-wrap:nowrap;align-items:center;gap:12px;min-width:0;margin-left:auto;display:flex}.topbar__event-controls{align-items:center;gap:6px;min-width:0;display:flex}.lotto-type-picker{width:174px;min-width:0;position:relative}.lotto-type-picker__button{border:1px solid var(--border-input);border-radius:var(--radius-sm);width:100%;min-height:40px;color:var(--text);background:var(--surface);cursor:pointer;text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:4px 10px;display:grid}.lotto-type-picker__button:hover:not(:disabled){background:var(--surface-2)}.lotto-type-picker__button:disabled{opacity:.65;cursor:default}.lotto-type-picker__label{color:var(--muted);font-size:10px;font-weight:700;line-height:1}.lotto-type-picker__value{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:800;line-height:1.25;overflow:hidden}.lotto-type-picker__chevron{color:var(--muted);grid-area:1/2/span 2;font-size:12px;font-weight:900}.lotto-type-picker__panel{z-index:50;border:1px solid var(--border);background:var(--surface);width:min(740px,100vw - 32px);max-height:calc(100vh - 76px);box-shadow:var(--shadow-panel);border-radius:4px;gap:0;padding:0;display:grid;position:fixed;top:63px;right:16px;overflow:auto}.lotto-type-picker__group{border-bottom:1px solid var(--border);gap:0;display:grid}.lotto-type-picker__group.is-inline{grid-template-columns:128px minmax(0,1fr)}.lotto-type-picker__group:last-child{border-bottom:0}.lotto-type-picker__group-title{color:#fff;background:#4a4641;margin:0;padding:6px 10px;font-size:13px;font-weight:800;line-height:1.2}.lotto-type-picker__group.is-inline .lotto-type-picker__group-title{align-items:center;display:flex}.lotto-type-picker__choices{background:var(--surface);grid-template-columns:repeat(4,minmax(0,1fr));gap:0;display:grid}.lotto-type-picker__group.is-inline .lotto-type-picker__choices{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}.lotto-type-picker__group.is-wide .lotto-type-picker__choices{grid-template-columns:repeat(5,minmax(0,1fr))}.lotto-type-picker__choice{border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);min-height:29px;color:var(--text);background:var(--surface);cursor:pointer;text-align:left;border-radius:0;padding:4px 10px;font-size:13px;font-weight:700}.lotto-type-picker__choice:hover{background:var(--surface-2)}.lotto-type-picker__choice.is-selected{color:var(--brand-contrast);background:var(--brand)}.topbar-date-picker{width:148px;min-width:0;display:grid}.topbar-date-picker select{min-height:40px;padding-top:5px;padding-bottom:5px;font-size:13px;font-weight:800}.topbar__event-status{color:var(--muted);font-size:12px;font-weight:800}.topbar__event-status.is-error{width:22px;height:22px;color:var(--danger);background:var(--bad-tint);border-radius:999px;place-items:center;display:grid}@media (width<=900px){.app-shell,.app-shell.is-sidebar-open{display:block}.app-sidebar{z-index:60;width:min(78vw,180px);height:100dvh;position:fixed;inset:0 auto 0 0}.app-sidebar-backdrop{z-index:55;cursor:pointer;background:#0f172a8f;border:0;padding:0;display:block;position:fixed;inset:0}.topbar__menu-btn{order:initial;margin-left:0}.topbar__meta{order:initial;margin-left:auto}}@media (width<=700px){.topbar__inner{flex-wrap:wrap;padding:8px 12px}.topbar__page-title{flex:auto}.topbar__meta{flex:100%;justify-content:space-between;margin-left:0}.topbar__event-controls{flex:auto}.lotto-type-picker{flex:170px;width:auto}.topbar-date-picker{flex:136px;width:auto}.lotto-type-picker__panel{width:auto;max-height:calc(100vh - 124px);top:112px;left:8px;right:8px}.lotto-type-picker__group.is-inline{grid-template-columns:106px minmax(0,1fr)}.lotto-type-picker__choices,.lotto-type-picker__group.is-wide .lotto-type-picker__choices{grid-template-columns:repeat(2,minmax(0,1fr))}}.worker-monitor-page{gap:18px;display:grid}.worker-monitor-page>.page__head{margin-bottom:0}.worker-log-heading{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.worker-log-heading h2,.worker-log-heading p{margin:0}.worker-log-heading h2{font-size:19px}.worker-log-heading p,.worker-log-heading>span{color:var(--muted);font-size:12px}.worker-log-card{overflow:hidden}.worker-log-table-wrap{overflow-x:auto}.worker-log-table{min-width:720px}.worker-log-table th:first-child,.worker-log-table th:nth-child(2){width:170px}.worker-log-table tr.is-error td{background:color-mix(in srgb, var(--bad-tint) 45%, var(--surface))}.worker-log-time,.worker-log-event{white-space:nowrap;font-variant-numeric:tabular-nums}.worker-log-event-badge{color:var(--brand);background:var(--brand-tint);border-radius:999px;padding:4px 8px;font-size:12px;font-weight:850;display:inline-flex}.worker-log-event-badge[data-level=ERROR]{background:var(--bad-tint);color:var(--danger)}.worker-log-message__content{gap:3px;display:grid}.worker-log-message strong{font-size:13px;line-height:1.45}.worker-log-context{color:var(--muted);font-size:12px;line-height:1.45}.worker-log-message details{margin-top:2px}.worker-log-message summary{color:var(--brand);cursor:pointer;font-size:11px;font-weight:800}.worker-log-message pre{max-width:620px;max-height:260px;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.worker-log-empty{color:var(--muted);text-align:center!important;padding:44px 20px!important}.worker-log-more{border-top:1px solid var(--border);justify-content:center;padding:14px;display:flex}@media (width<=700px){.worker-monitor-page .page__head--row,.worker-log-heading{flex-direction:column;align-items:stretch}.worker-log-heading>span{align-self:flex-start}}@media (width<=640px){.worker-log-table{min-width:0}.worker-log-message{align-items:flex-start}.worker-log-message__content{text-align:right;justify-items:end;max-width:70%}.worker-log-message__content details{justify-self:end}.worker-log-message pre{text-align:left}}@media (width<=480px){.topbar__event-controls{width:100%}.lotto-type-picker,.topbar-date-picker{flex-basis:calc(50% - 3px)}}.topbar__inner{gap:12px;min-height:56px;padding-top:0;padding-bottom:0}.topbar__meta{align-self:stretch}.topbar__event-controls{align-items:stretch;gap:0}.lotto-type-picker{align-self:stretch}.lotto-type-picker__button{border:0;border-left:1px solid var(--border);background:0 0;border-radius:0;height:100%;min-height:56px;padding:7px 14px}.lotto-type-picker__button:hover:not(:disabled),.topbar-date-picker select:hover:not(:disabled){background:var(--surface-2)}.lotto-type-picker__button:focus-visible,.topbar-date-picker select:focus-visible{z-index:1;outline:2px solid var(--brand);outline-offset:-2px;position:relative}.lotto-type-picker__label{font-size:11px}.lotto-type-picker__value{font-size:14px}.lotto-type-picker__chevron{border-bottom:2px solid;border-right:2px solid;width:7px;height:7px;font-size:0;transform:rotate(45deg)translate(-1px,-1px)}.lotto-type-picker__panel{position:absolute;top:100%;left:0;right:auto}.topbar-date-picker{border-left:1px solid var(--border);align-self:stretch;width:158px}.topbar-date-picker select{width:100%;height:100%;min-height:56px;box-shadow:none;cursor:pointer;background-color:#0000;border:0;border-radius:0;padding:0 30px 0 14px;font-size:14px}.topbar-date-picker select:disabled{cursor:default;opacity:.65}.topbar-results{border-left:1px solid var(--border);background:linear-gradient(100deg,#c87805 0%,#e9a40b 48%,#f5c542 100%);align-items:stretch;gap:0;min-width:0;margin:0;display:flex}.topbar-result{text-align:center;white-space:nowrap;background:0 0;border:0;border-right:1px solid #4b2d003d;border-radius:0;align-content:center;gap:4px;min-width:94px;min-height:56px;padding:7px 16px;display:grid}.topbar-result:last-child{border-right:0}.topbar-result.is-wide{min-width:245px}.topbar-result dt,.topbar-result dd{margin:0;line-height:1.05}.topbar-result dt{color:#2b1b00ad;font-size:11px;font-weight:700}.topbar-result dd{color:#2b1b00;font-variant-numeric:tabular-nums;text-overflow:ellipsis;font-size:17px;font-weight:800;overflow:hidden}.topbar-result.is-wide dd{font-size:15px}@media (width<=1200px){.topbar__inner{flex-wrap:wrap}.topbar__page-title{flex:auto}.topbar__meta{flex:100%;margin-left:0}.topbar__event-controls{flex-wrap:wrap;width:100%}}@media (width<=700px){.topbar__inner{padding:0 8px}.lotto-type-picker__button,.topbar-date-picker select,.topbar-result{min-height:50px}.lotto-type-picker__panel{width:calc(100vw - 16px);top:100%;left:0;right:auto}.topbar-results{flex-wrap:wrap;flex:100%;width:100%}.topbar-result{flex:72px}.topbar-result.is-wide{flex-basis:245px}}.lottery-results-page{max-width:1120px}.lottery-results-notice{border-radius:var(--radius-sm);border:1px solid #0000;margin:0 0 14px;padding:11px 14px;font-size:14px;font-weight:800}.lottery-results-notice.is-error{color:var(--danger);background:var(--bad-tint);border-color:#dc26263d}.lottery-results-notice.is-success{color:var(--ok);background:var(--ok-tint);border-color:#15803d38}.lottery-results-tabs{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:4px;margin-bottom:14px;padding:4px;display:flex}.lottery-results-tabs button{border-radius:var(--radius-sm);min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:900;display:inline-flex}.lottery-results-tabs button:hover,.lottery-results-tabs button.is-active{color:var(--text);background:var(--surface-2)}.lottery-results-tabs button.is-active{box-shadow:inset 0 -3px 0 var(--brand)}.lottery-results-tabs button span{min-width:24px;color:var(--muted);background:var(--bg);font-variant-numeric:tabular-nums;border-radius:999px;padding:2px 7px;font-size:12px}.lottery-results-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden}.lottery-results-panel__head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;display:flex}.lottery-results-panel__head h2,.lottery-results-panel__head p{margin:0}.lottery-results-panel__head h2{font-size:20px}.lottery-results-panel__head p{color:var(--muted);margin-top:4px;font-size:14px}.lottery-results-panel__head>strong{color:var(--brand);background:var(--brand-tint);white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:13px}.lottery-results-empty{color:var(--muted);text-align:center;margin:0;padding:56px 20px}.lottery-results-list{display:grid}.lottery-result-card{border-bottom:1px solid var(--border);padding:18px 20px}.lottery-result-card:last-child{border-bottom:0}.lottery-result-card:first-child{box-shadow:inset 4px 0 #f59e0b}.lottery-result-card.is-processing{background:var(--surface-2)}.lottery-result-card__head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.lottery-result-card__identity,.lottery-result-card__close{gap:3px;display:grid}.lottery-result-card__identity>span{color:var(--muted);font-size:12px;font-weight:900}.lottery-result-card__identity>small,.lottery-result-card__close>span{color:var(--muted);font-size:13px}.lottery-result-card__close{text-align:right;justify-items:end}.lottery-result-card__close>strong{color:#92400e;background:#fef3c7;border-radius:999px;padding:4px 8px;font-size:12px}.lottery-result-form{grid-template-columns:minmax(150px,220px) minmax(130px,180px) 1fr;align-items:start;gap:12px;display:grid}.lottery-result-form.is-thai{grid-template-columns:minmax(150px,220px) minmax(130px,180px) minmax(260px,1fr)}.lottery-result-field{min-width:0;color:var(--muted);gap:6px;font-size:13px;font-weight:800;display:grid}.lottery-result-field input,.lottery-result-field select{border:1px solid var(--border-input);border-radius:var(--radius-sm);width:100%;min-height:44px;color:var(--text);background:var(--surface);outline:none;padding:9px 11px}.lottery-result-field input:focus-visible,.lottery-result-field select:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.lottery-result-field small{color:var(--muted);font-size:11px;font-weight:600}.lottery-result-form__actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px;min-height:44px;display:flex}.lottery-result-form__actions>div{min-width:0}.lottery-result-form__error,.lottery-result-form__message{margin:0;font-size:13px;font-weight:800}.lottery-result-form__error{color:var(--danger)}.lottery-result-form__message{color:var(--ok)}.lottery-results-cancel-panel{max-width:720px}.lottery-result-cancel-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px;display:grid}.lottery-result-current{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);grid-column:1/-1;gap:4px;padding:14px 16px;display:grid}.lottery-result-current>span{color:var(--muted);font-size:12px;font-weight:900}.lottery-result-current>strong{font-variant-numeric:tabular-nums;font-size:22px}.lottery-result-current>small{color:var(--muted)}.lottery-result-cancel-button{grid-column:1/-1;justify-self:start}.lottery-result-danger-modal{border:2px solid var(--danger);border-radius:var(--radius);background:var(--surface);width:min(560px,100vw - 32px);max-height:calc(100vh - 32px);overflow-y:auto;box-shadow:0 28px 80px #7f1d1d59}.lottery-result-danger-modal>header{color:#fff;background:var(--danger);align-items:center;gap:12px;padding:18px 20px;display:flex}.lottery-result-danger-modal>header>span{border:2px solid;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:22px;font-weight:1000;display:grid}.lottery-result-danger-modal h2{margin:0;font-size:20px}.lottery-result-danger-modal__lead{color:var(--text);margin:20px 20px 12px;font-size:17px;font-weight:900}.lottery-result-danger-modal__result{border-radius:var(--radius-sm);background:var(--bad-tint);border:1px solid #dc262652;gap:3px;margin:0 20px;padding:14px;display:grid}.lottery-result-danger-modal__result span{color:var(--danger);font-size:12px;font-weight:900}.lottery-result-danger-modal__result strong{font-variant-numeric:tabular-nums;font-size:24px}.lottery-result-danger-modal ul{color:#7f1d1d;gap:8px;margin:16px 20px;padding-left:22px;font-weight:700;display:grid}.lottery-result-danger-modal__check{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);cursor:pointer;align-items:flex-start;gap:10px;margin:0 20px;padding:14px;font-size:14px;font-weight:800;display:flex}.lottery-result-danger-modal__check input{flex:0 0 20px;width:20px;min-height:20px;margin:1px 0 0}.lottery-result-danger-modal>.lottery-result-form__error{margin:12px 20px 0}.lottery-result-danger-modal__actions{justify-content:flex-end;gap:10px;padding:18px 20px 20px;display:flex}@media (width<=800px){.lottery-result-form,.lottery-result-form.is-thai{grid-template-columns:repeat(2,minmax(0,1fr))}.lottery-result-field--wide{grid-column:1/-1}}@media (width<=600px){.lottery-results-page .page__head--row{align-items:stretch}.lottery-results-tabs button{flex:1 1 0;padding:0 10px}.lottery-result-card__head,.lottery-results-panel__head{flex-direction:column;align-items:stretch}.lottery-result-card__close{text-align:left;justify-items:start}.lottery-result-form,.lottery-result-form.is-thai,.lottery-result-cancel-form{grid-template-columns:1fr}.lottery-result-field--wide,.lottery-result-form__actions,.lottery-result-current,.lottery-result-cancel-button{grid-column:1}.lottery-result-form__actions,.lottery-result-danger-modal__actions{flex-direction:column;align-items:stretch}.lottery-result-form__actions .btn,.lottery-result-cancel-button,.lottery-result-danger-modal__actions .btn{width:100%}}.login-page{padding:16px}.login-panel{padding:22px}.login-panel h1{gap:6px;margin-bottom:16px;font-size:24px}.login-form{gap:6px}.login-form label,.login-field,.verification-code{gap:4px;font-size:13px}.verification-code__input{min-height:38px;font-size:18px}.topbar__inner{gap:6px;min-height:48px}.topbar__menu-btn{width:36px;height:36px}.topbar__page-title{font-size:15px}.topbar__meta{gap:6px}.lotto-type-picker__button,.topbar-date-picker select,.topbar-result{min-height:48px}.lotto-type-picker__button,.topbar-date-picker select{padding-top:3px;padding-bottom:3px}.topbar-result{padding:4px 10px}.topbar-result dd{font-size:15px}.side-nav__identity{min-height:56px;padding:8px 10px}.app-sidebar .brand-mark{width:32px;height:32px}.side-nav__wallet{gap:3px;padding:7px 10px 8px}.side-nav{padding:4px 5px 8px}.side-nav__section{padding:8px 8px 2px}.side-nav__link{min-height:30px;padding:4px 8px;font-size:12px}.side-nav__footer{gap:6px;padding:8px}.side-nav__logout{min-height:34px;font-size:12px}.app-main{padding:8px clamp(8px,1vw,16px) 16px}.page{grid-template-columns:minmax(0,1fr);gap:6px}.page__head h1{margin-bottom:1px;font-size:22px;line-height:1.2}.page__head p{margin:0;font-size:12px;line-height:1.3}.page__head--row{gap:6px}.section-title{margin-top:3px;font-size:16px}.cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px}.card{padding:8px}.card__title{margin-bottom:6px;font-size:14px}.card__title-row{gap:6px;margin-bottom:6px}.card__cta{margin-top:6px}.stack,.form-card,.form-grid{gap:6px}.field,.workline-create-field{gap:3px;font-size:12px}.actions,.workline-create-actions{gap:6px}.btn-small{min-height:34px;padding:4px 9px}.data-table,.payout-matrix-table{border-radius:var(--radius-sm);font-size:12.5px}.data-table th,.data-table td,.payout-matrix-table th,.payout-matrix-table td{vertical-align:middle;padding:3px 6px;line-height:1.2}.data-table th,.payout-matrix-table th{font-size:11.5px}.data-table .ua{font-size:12px}.payout-matrix-section{grid-template-columns:minmax(0,1fr);gap:7px}.payout-toolbar{gap:6px}.payout-toolbar h2{margin-bottom:1px;font-size:16px}.payout-toolbar p{font-size:12px;line-height:1.3}.payout-toolbar__actions{gap:6px}.payout-save-button{min-height:34px;font-size:14px}.payout-save-button--top{min-height:36px;padding:0 12px;font-size:12px}.modal-backdrop,.kick-overlay{padding:8px}.workline-create-modal,.kick-card{padding:14px}.workline-create-modal__head{margin-bottom:8px}.workline-create-modal__head h2{font-size:18px}.workline-create-form{gap:6px}.workline-create-field select,.workline-username-prefix{min-height:36px;padding:6px 9px}.credit-summary{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px}.credit-summary__item{gap:2px;min-height:40px;padding:7px 9px}.credit-summary__item strong{font-size:16px}.credit-report-search,.user-log-filters,.credit-report-search__actions,.user-log-filters__actions{gap:6px}.credit-report-search__field,.user-log-filters__field{gap:3px;font-size:12px}.credit-report-search__input,.user-log-filters__input{min-height:36px;padding:6px 9px}.profit-loss-page,.profit-loss-draw,.bet-time-report-page,.bet-number-report-page{gap:6px}.profit-loss-tab{min-height:38px;padding:0 12px;font-size:13px}.profit-loss-refresh{min-height:32px}.profit-loss-draw__event{gap:6px}.profit-loss-draw__flag{width:48px;height:31px}.profit-loss-draw__event h2{font-size:20px}.profit-loss-draw__event p{font-size:15px}.profit-loss-draw__status{padding:6px 9px}.payout-matrix-table.profit-loss-table th,.payout-matrix-table.profit-loss-table td{padding:4px clamp(4px,.45vw,8px);line-height:1.2}.profit-loss-range-filters,.bet-time-report-controls{gap:7px;padding:8px 10px}.profit-loss-range-filter{gap:3px;font-size:12px}.profit-loss-range-filter input,.profit-loss-range-submit,.profit-loss-range-preset,.bet-time-report-refresh,.bet-time-report-export{min-height:36px}.bet-time-report-card{padding:8px}.bet-time-report-toolbar h2{font-size:16px}.bet-time-report-toolbar p{font-size:12px}.bet-time-report-table-wrap{margin-inline:-8px}.payout-matrix-table.bet-time-report-table th,.payout-matrix-table.bet-time-report-table td{padding:3px 6px;line-height:1.2}.bet-number-report-summary{gap:6px;padding:10px}.bet-number-report-summary__copy strong{font-size:clamp(18px,1.4vw,24px)}.bet-number-report-summary__copy p{font-size:clamp(15px,1.15vw,20px)}.bet-number-report-summary__actions{gap:7px}.bet-number-report-print{min-height:38px;padding-inline:12px;font-size:13px}.bet-number-risk-toggle{font-size:13px}.payout-matrix-table.bet-number-report-table{font-size:clamp(12px,.9vw,16px)}.payout-matrix-table.bet-number-report-table th,.payout-matrix-table.bet-number-report-table td{min-width:76px;padding:4px 6px}.aun-legacy-head{gap:6px;padding:14px}.aun-legacy-head h1{font-size:22px}.aun-legacy-event strong{font-size:16px}.aun-legacy-event span{font-size:14px}.aun-legacy-form{gap:12px;padding:14px}.aun-legacy-field{gap:4px;font-size:13px}.aun-legacy-field select{min-height:38px;padding:6px 9px}.aun-legacy-field textarea{min-height:64px;padding:8px;font-size:13px}.daily-lotto-page{gap:6px}.daily-lotto-filters{gap:6px;padding:10px}.daily-lotto-date-filter,.daily-lotto-filter-field{gap:3px;font-size:12px}.daily-lotto-date-range{gap:5px;padding:5px}.daily-lotto-summary{gap:6px}.daily-lotto-summary-card{min-height:72px;padding:8px}.daily-lotto-summary-card h2{font-size:14px}.daily-lotto-summary-card strong{font-size:18px}.daily-lotto-list{padding:0}.daily-lotto-list-head{gap:6px;padding:9px 10px}.daily-lotto-list-head h2{font-size:17px}.daily-lotto-table th,.daily-lotto-table td{padding:3px 6px}.daily-lotto-create-modal{padding:14px}.daily-lotto-create-modal h2{font-size:18px}.daily-lotto-create-modal form{gap:6px}.daily-lotto-create-modal select,.daily-lotto-create-modal input{min-height:36px}.lotto-override-panel__head,.lottery-results-panel__head,.lottery-result-card__head{gap:6px;padding:9px 11px}.lotto-override-panel__head h1,.lottery-results-panel__head h2{font-size:17px}.lotto-override-table th,.lotto-override-table td,.overdue-results-table th,.overdue-results-table td{padding:3px 6px}.lotto-override-modal{padding:14px}.lotto-override-modal h2{font-size:18px}.lotto-override-modal__form{gap:6px}.overdue-results-card__head{padding:8px 10px}.overdue-results-card__head h2{font-size:16px}.lottery-results-notice{padding:7px 9px}.lottery-results-tabs{gap:4px}.lottery-results-tabs button{min-height:36px;padding:0 10px}.lottery-results-panel__head p{font-size:12px}.lottery-results-empty{padding:20px 12px}.lottery-result-card__identity>strong{font-size:16px}.lottery-result-form{gap:6px;padding:10px}.lottery-result-field{gap:3px;font-size:12px}.lottery-result-field input,.lottery-result-field select{min-height:36px;padding:6px 9px}.lottery-result-form__actions{gap:6px;min-height:36px}.lottery-result-cancel-form{gap:6px;padding:10px}.lottery-result-current{padding:8px 10px}.lottery-result-current>strong{font-size:18px}@media (width<=700px){.topbar__inner{padding:0 8px}.lotto-type-picker__button,.topbar-date-picker select,.topbar-result{min-height:44px}.app-main{padding:10px 8px 20px}.page__head--row{align-items:stretch}.daily-lotto-summary-card{min-height:68px;padding:7px}}@media (width<=640px){.data-table tr{margin-bottom:8px;padding:4px 10px}.data-table td{padding:6px 0}.payout-matrix-table tr{padding:0}.payout-matrix-table td{padding:4px 5px}.card{padding:10px}}.page p{margin-block:0}.page .card p+p{margin-top:4px}@media (width>=701px){.page .btn-small{min-height:28px;padding:3px 8px}.page .data-table :is(th,td),.page .payout-matrix-table :is(th,td){padding-block:3px}}.narrow-history-page{width:100%;max-width:1050px}.security-page{width:100%;max-width:960px}.credit-page,.credit-history-page{width:100%;max-width:1200px}.user-history-page{width:100%;max-width:1400px}.overdue-results-page{width:100%;max-width:1050px}.worker-monitor-page{width:100%;max-width:1200px}.lotto-overrides-page{width:100%;max-width:1100px}.bet-number-report-table-wrap{max-width:100%;overflow-x:auto}.payout-matrix-table.bet-number-report-table,.page>*,.payout-matrix-section>*{min-width:0}.canceled-bet-row>:is(th,td){color:#991b1b;-webkit-print-color-adjust:exact;print-color-adjust:exact;border-color:#fecaca;background:#fef2f2!important}.topbar__menu-btn{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--muted);cursor:pointer;box-shadow:none;-webkit-tap-highlight-color:transparent;border-radius:10px;flex:0 0 44px;justify-content:center;align-items:center;padding:0;display:inline-flex}.topbar__menu-btn:hover,.topbar__menu-btn[aria-expanded=true]{color:var(--brand);background:var(--brand-tint);border-color:var(--brand)}.topbar__menu-btn:focus-visible{outline:2px solid var(--brand);outline-offset:2px;box-shadow:none}.topbar__menu-btn:active{background:var(--surface-2)}.topbar__menu-icon{pointer-events:none;flex:none;width:22px;height:22px;display:block}.page-content{min-height:360px;position:relative}.page-content--pending{visibility:hidden;height:0;overflow:hidden}.page-skeleton{min-height:360px;padding:12px 0}.page-skeleton span:not(.page-skeleton__label){background:var(--border,#e5e7eb);opacity:.5;border-radius:6px;display:block}.page-skeleton__title{width:min(320px,65%);height:28px;margin-bottom:12px}.page-skeleton__subtitle{width:min(450px,85%);height:16px;margin-bottom:24px}.page-skeleton__filters{gap:12px;margin-bottom:24px;display:flex}.page-skeleton__filters span{width:160px;max-width:30%;height:40px}.page-skeleton__table{border:1px solid var(--border,#e5e7eb);border-radius:8px;padding:14px}.page-skeleton__table span{height:24px;margin:12px 0}.page-skeleton__label{color:var(--muted,#667085);padding-top:12px;font-size:13px;display:block}.page-refresh-progress{z-index:5;background:var(--border,#e5e7eb);height:2px;position:absolute;top:0;left:0;right:0;overflow:hidden}.page-refresh-progress:after{content:"";background:var(--primary,#237a52);width:35%;height:100%;animation:1.2s ease-in-out infinite page-progress;display:block}@keyframes page-progress{0%{transform:translate(-100%)}to{transform:translate(390%)}}@media (prefers-reduced-motion:reduce){.page-refresh-progress:after{width:100%;animation:none}}
