@font-face{font-family:Myanmar;src:url(assets/myanmar-regular.ttf)}@font-face{font-family:Myanmar;src:url(assets/myanmar-bold.ttf);font-weight:700}
:root{--ink:#142a3b;--muted:#51677a;--nav:#142a3d;--teal:#076b60;--mint:#e0f3ec;--bg:#eef3f4;--paper:#fff;--line:#d6e1e6;--amber:#804919;--warning:#fff0d6}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,Myanmar,sans-serif}html[lang=my] body{font-family:Myanmar,system-ui,sans-serif;line-height:1.7}button,input,select{font:inherit}button,a,select{touch-action:manipulation}a{color:var(--teal)}.skip{position:absolute;left:10px;top:-80px;background:white;padding:10px;z-index:5}.skip:focus{top:7px}
#header{height:65px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 25px;position:sticky;z-index:4;top:0}.brand{font:800 24px/1 system-ui;letter-spacing:-.06em;color:var(--ink);text-decoration:none}.brand span{color:var(--teal)}.header-items,.actions,.tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.header-items select{max-width:170px}.demo{font-size:12px;border-left:1px solid var(--line);padding-left:12px;color:var(--muted)}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 65px)}aside{background:var(--nav);color:#bfd0dc;min-width:0}nav{position:sticky;top:65px;padding:20px 13px}nav small{display:block;padding:0 10px 12px;color:#b4ceda}nav a{display:block;color:#d5e1e9;text-decoration:none;padding:9px 11px;border-radius:7px;margin-bottom:4px}nav a[aria-current=page]{background:#25505a;color:white;font-weight:700}nav a:hover{background:#234453}.nav-foot{margin:18px 0 0;border-top:1px solid #365264;padding-top:10px}main{min-width:0;width:100%;max-width:1420px;margin:0 auto;padding:28px 33px 44px;align-self:start}h1{font-size:clamp(25px,3vw,35px);line-height:1.45;margin:0}h2{font-size:18px;margin:0 0 12px}p{margin:0 0 12px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:17px}.subtle{font-size:13px;color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:11px;padding:19px;margin:0 0 14px;min-width:0}.split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:15px;align-items:start}.formgrid,.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:11px}.metrics{margin-bottom:14px}.metric{padding:13px 15px;background:white;border:1px solid var(--line);border-radius:9px}.metric small{color:var(--muted);display:block}.metric b{font-size:22px;color:var(--teal)}label{font-size:13px;font-weight:650;display:grid;gap:5px}select,input{width:100%;background:white;color:var(--ink);border:1px solid #b9cbd4;border-radius:7px;padding:7px 9px}button{cursor:pointer;color:var(--ink);background:white;border:1px solid #bfced5;border-radius:7px;padding:7px 11px;font-weight:650}button.primary{background:var(--teal);border-color:var(--teal);color:white}button.danger{color:#8a271e;border-color:#dfb7b3}button:disabled{opacity:.6;cursor:not-allowed}button[aria-pressed=true]{background:var(--mint);border-color:#86bfb2;color:#074e45}button:hover:not(:disabled){filter:brightness(.97)}:focus-visible{outline:3px solid #18998a;outline-offset:2px}.tabs{margin:0 0 14px}.actions{margin-top:13px}.actions .subtle{margin:0}.badge{display:inline-block;border-radius:5px;padding:2px 7px;background:var(--mint);color:#07574b;font-size:13px}.badge.warn,.alert{background:var(--warning);color:var(--amber)}.badge.gray{background:#e7edf0;color:#465d6b}.alert{border-radius:8px;padding:9px 11px;margin:0 0 12px}.grid100{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin:14px 0}.grid100 button{min-width:0;padding:7px 0;font-size:13px;background:var(--mint);border-color:#c4e1da}.grid100 button:disabled{opacity:1;background:#e6ecef;color:#546779;border-color:#d7e1e4}.grid100 button[aria-pressed=true]{background:var(--teal);color:white}.grid100 button.hot{background:#f9e6c4;color:#75420f}.grid100 button[aria-pressed=true]:disabled{color:#546779}.legend{display:flex;flex-wrap:wrap;gap:6px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:450px}th,td{padding:8px 9px;text-align:left;border-bottom:1px solid #e1e9ed;font-size:14px}th{background:#eaf1f3;color:#3a5566;font-weight:650}tr:last-child td{border-bottom:0}td button{font-size:13px;padding:4px 7px}.report-filters label{min-width:135px}.report-filters{margin-top:10px}.menu{display:none}#notice{position:fixed;bottom:20px;right:20px;z-index:9;max-width:min(400px,90vw);background:#12374b;color:white;border-radius:8px;padding:9px 14px}#notice:empty{display:none}dialog{max-width:520px;width:calc(100% - 28px);border:1px solid var(--line);border-radius:12px;color:var(--ink);padding:20px}dialog::backdrop{background:#10283a80}form label{margin-bottom:9px}.empty{padding:14px 0;color:var(--muted)}
@media(max-width:950px){.shell{grid-template-columns:184px minmax(0,1fr)}main{padding:22px}.split{grid-template-columns:1fr}}
@media(max-width:690px){#header{height:auto;min-height:60px;padding:8px 12px}.header-items{gap:5px}.header-items button,.header-items select{font-size:12px;padding:5px 6px}.header-items select{max-width:125px}.menu{display:inline-block}.demo{display:none}.shell{display:block}aside{display:none;position:fixed;inset:62px auto 0 0;width:min(250px,78vw);z-index:3;overflow:auto}aside.visible{display:block}nav{position:static}main{padding:15px}.panel{padding:13px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric b{font-size:18px}.grid100{gap:3px}.grid100 button{font-size:12px}.tabs button{font-size:13px}}
@media print{#header,aside,.actions,.tabs,.skip,#notice{display:none!important}.shell{display:block}body{background:white}main{padding:0}.panel{border:0}}
.header-items{flex-wrap:nowrap;min-width:0}.header-items select{width:auto;min-width:0}.header-items button{white-space:nowrap}
@media(max-width:690px){#header{min-height:60px}.header-items{justify-content:flex-end}.header-items select{max-width:min(128px,36vw)}aside{top:60px}}
.entry-owner{margin:13px 0}.entry-owner select{max-width:340px}.digit-keyboard,.exact-keyboard{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:10px 0}.digit-keyboard button{font-size:21px;padding:12px}.exact-keyboard button{padding:8px}.selection-preview{border-top:1px solid var(--line);padding-top:15px;margin:16px 0}.selection-preview .pagehead{margin-bottom:4px}.selection-preview .actions{margin-top:0}.selected-numbers{color:var(--teal);overflow-wrap:anywhere}.selection-preview p{font-size:14px}.selection-preview .alert{color:var(--amber)}

.shortcut-methods{border-bottom:1px solid var(--line);margin:16px 0}.shortcut-methods h3,.panel h3{font-size:13px;color:var(--muted);margin:12px 0 7px}.shortcut-methods .tabs{gap:6px}.shortcut-methods button{font-size:13px;padding:6px 9px}.exact-keyboard:empty{display:none}

.entry-modes{margin:18px 0}.entry-mode-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line);gap:0}.entry-mode-tabs [role=tab]{min-height:48px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);padding:10px 8px;white-space:normal}.entry-mode-tabs [role=tab][aria-selected=true]{border-bottom-color:var(--teal);color:var(--teal);font-weight:750}.entry-mode-tabs [role=tab]:focus-visible{outline-offset:-3px}input[name="direct-number"]{max-width:220px;font-size:22px;letter-spacing:3px}

.shortcut-text-entry{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.text-expansion .metrics{margin-top:12px}.text-expansion .metric{padding:9px}.text-expansion .metric b{font-size:18px}

.completed-shortcut{display:block;font-size:22px;font-weight:700;color:var(--teal);margin:8px 0 16px}.shortcut-builder .selection-preview{margin-top:18px}.shortcut-builder .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.shortcut-builder .metric{padding:10px}.shortcut-builder .metric b{font-size:17px}

.shortcut-digit-pad{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:12px 0 20px}.shortcut-digit-pad button{min-height:44px;font-size:19px}.shortcut-digit-pad button[data-action="shortcut-backspace"],.shortcut-digit-pad button[data-action="shortcut-clear"]{grid-column:span 2;font-size:13px}

.expanded-highlight{background:#e5f5ee;border:2px solid #18806c;border-radius:10px;padding:18px;margin:0 0 18px}.expanded-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}.expanded-highlight h2{font-size:21px;color:#084c40;margin:0;line-height:1.6}.expanded-count{background:#0a6858;color:white;border-radius:20px;padding:3px 11px;font-size:13px;font-weight:700}.expanded-number-list{display:flex;flex-wrap:wrap;gap:9px}.expanded-number{display:inline-flex;align-items:center;justify-content:center;min-width:65px;min-height:59px;padding:6px 12px;background:white;color:#084c40;border:1px solid #79b7a6;border-radius:8px;font:800 29px/1.3 system-ui;font-variant-numeric:tabular-nums}.selection-preview .expanded-empty{color:#315d52;margin:0}.shortcut-builder .completed-shortcut{font-size:16px;color:var(--muted);font-weight:600;margin-bottom:14px}@media(max-width:690px){.expanded-highlight{padding:13px}.expanded-highlight h2{font-size:19px}.expanded-number{min-width:59px;min-height:55px;font-size:27px}}

.combined-shortcut-keyboard{padding:12px;background:#f0f5f6;border:1px solid var(--line);border-radius:10px;margin:12px 0 18px}.combined-shortcut-keyboard .shortcut-digit-pad{margin:0 0 10px}.shortcut-keywords{display:flex;flex-wrap:wrap;gap:7px}.shortcut-keywords button{flex:1 1 auto;min-height:42px;font-size:13px}.shortcut-keywords button[aria-pressed=true]{background:var(--teal);color:white;border-color:var(--teal)}

.ui-icon{width:19px;height:19px;flex:none;vertical-align:middle;pointer-events:none}.has-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px}.icon-button,td .icon-button{width:42px;min-width:42px;min-height:42px;padding:8px;margin:2px}.icon-button[aria-label]{position:relative}.has-icon span{pointer-events:none}nav a{display:flex;align-items:center;gap:10px}nav a .ui-icon{width:18px;height:18px;opacity:.88}.shortcut-digit-pad .icon-button{width:auto;margin:0}.shortcut-digit-pad button[data-action="shortcut-backspace"],.shortcut-digit-pad button[data-action="shortcut-clear"]{grid-column:auto}.shortcut-digit-pad{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:690px){.icon-button,td .icon-button{min-width:44px;min-height:44px}.header-items .icon-button{padding:8px;min-width:44px;min-height:44px}.shortcut-digit-pad{grid-template-columns:repeat(6,minmax(0,1fr))}}
.menu.has-icon{display:none}@media(max-width:690px){.menu.has-icon{display:inline-flex}}

.grid100 button.banned-number,.grid100 button.banned-number:disabled,.grid100 button.banned-number[aria-pressed=true]{background:#fee2e2;color:#a31515;border-color:#dc7373;opacity:1}.grid100 button.banned-number[aria-pressed=true]{outline:2px solid #a31515;outline-offset:1px}.number-legend{display:flex;align-items:center;gap:7px;font-size:13px;color:#922020}.banned-swatch{width:13px;height:13px;border:1px solid #dc7373;background:#fee2e2;border-radius:3px;flex:none}.badge.banned-status{background:#fee2e2;color:#a31515}

.unavailable-numbers{margin:0 0 16px;padding:12px;border:1px solid #dc7373;border-radius:8px;background:#fff5f5;color:#a31515;font-size:13px}.unavailable-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.unavailable-chip{background:#fee2e2;border:1px solid #dc7373;border-radius:6px;padding:5px 10px;font:700 18px/1.4 system-ui}.expanded-number.unavailable-number{background:#fee2e2;color:#a31515;border-color:#dc7373;flex-direction:column;gap:3px}.unavailable-number small{font:600 11px/1.5 Myanmar, sans-serif}

main>.unavailable-numbers{margin:0 0 20px;padding:16px 18px;border:2px solid #cf4545;border-left-width:6px;background:#fff0f0}main>.unavailable-numbers>strong{font-size:18px;line-height:1.6}main>.unavailable-numbers .unavailable-chip{font-size:24px;min-width:53px;text-align:center;font-weight:800;background:#a31515;color:white;border-color:#a31515}main>.unavailable-numbers .unavailable-list{margin-top:10px}

.expanded-number{flex-direction:column}.expanded-number b{font:inherit}.expanded-number small{font-family:inherit;font-size:12px;font-weight:600;line-height:1.6;text-align:center;letter-spacing:0}.expanded-number:has(small){min-width:105px;gap:5px;padding:10px}.direct-limit-numbers{margin:12px 0}.entry-limit-details{margin:14px 0;border-top:1px solid var(--line);padding-top:12px}.entry-limit-details summary{cursor:pointer;font-weight:650;font-size:14px;margin-bottom:10px}.entry-limit-details table{min-width:660px}

.shortcut-option{margin:0 0 14px}.shortcut-option>strong{display:block;font-size:14px;margin-bottom:8px}.shortcut-option .tabs{margin-bottom:0}.expanded-number .number-multiplicity{background:#d0eade;border-radius:4px;padding:2px 6px;color:#084c40}.expanded-number.unavailable-number .number-multiplicity{background:#f8caca;color:#a31515}

[hidden]{display:none!important}
.entry-only{grid-template-columns:minmax(0,1fr);max-width:900px}
.more-shortcuts{margin:10px 0}.more-shortcuts summary,.slip-details summary{cursor:pointer;font-weight:650;padding:10px 0}
.more-shortcuts[open] summary{margin-bottom:8px}
.selection-preview:empty{display:none}
.entry-total{padding:12px 0;font-size:17px}
.slip-details[open] summary{margin-bottom:12px}
.active-filters{font-size:13px;color:var(--teal);overflow-wrap:anywhere}
.secondary-section{margin-top:16px;border-top:1px solid var(--line);padding-top:10px}
.secondary-section>summary,.row-tools>summary{cursor:pointer;font-weight:650;min-height:36px;padding:6px 0}
.secondary-section[open]>summary{margin-bottom:10px}
.row-tools{display:inline-block;vertical-align:middle;margin-left:8px;font-size:13px}
.report-person-search{background:white;border:1px solid var(--line);padding:16px;border-radius:10px;margin-bottom:16px}
#person-search-results{display:grid;gap:6px;margin-top:8px}
#person-search-results:empty{display:none}
#person-search-results button{text-align:left;min-height:44px;white-space:normal}
.selected-report-person{margin:12px 0 0}
.table-tools,.table-pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0}
.table-tools label:first-child{flex:1;min-width:160px}.table-tools label:last-child{max-width:170px}
.table-pager{justify-content:flex-end;font-size:13px}.table-pager span:first-child{margin-right:auto}
.data-table{min-width:0}.data-table th{position:sticky;top:0;z-index:1}
.data-table .tablewrap{max-height:650px}

/* Shared filter controls: fixed control heights, top-aligned labels, stable columns. */
.report-filter-panel{padding:20px}
.report-filter-panel label,.table-tools label,.searchable-select-field>label{margin:0;min-width:0;align-content:start;gap:8px;line-height:1.6}
.report-filter-panel input,.report-filter-panel select,.table-tools input,.table-tools select,.searchable-select-field input,.searchable-select-field select{height:46px;min-width:0;max-width:100%;padding:9px 12px;font-size:14px;font-weight:400}
.report-filter-panel input[type=date],.report-filter-panel input[type=month]{min-inline-size:0}
.report-filter-panel .report-search-inline{border:0;border-radius:0;background:none;padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid var(--line)}
.report-period-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.report-period-row .tabs{margin:0;gap:4px;background:var(--bg);padding:4px;border-radius:8px}
.report-period-row .tabs button{min-height:42px;border-color:transparent;background:transparent;padding:6px 14px}
.report-period-row .tabs button[aria-pressed=true]{background:white;color:var(--teal);border-color:#b4cec8}
.report-timezone{white-space:nowrap}
.report-primary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.report-primary-grid.custom-range{grid-template-columns:repeat(3,minmax(0,1fr))}
.report-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;padding:16px 0 4px}
.report-extra-grid>label{display:flex;flex-direction:column;justify-content:flex-end;align-self:stretch}
.report-extra-grid>label>input,.report-extra-grid>label>select{flex:none}
.report-advanced{border-top:1px solid var(--line);margin-top:20px;padding-top:8px}
.report-advanced>summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:14px;font-weight:600}
.report-filter-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.report-filter-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.report-filter-actions button{min-height:46px;margin:0}
.report-filter-actions .icon-button{width:46px}
.active-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.active-filters>span{padding:4px 8px;border-radius:5px;background:var(--mint)}
.report-view-tabs>.tabs{gap:0;border-bottom:1px solid #bdcdd4;margin:0 0 20px}
.report-view-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;min-height:48px;padding:10px 16px;color:var(--muted)}
.report-view-tabs button[aria-pressed=true]{color:var(--teal);border-bottom-color:var(--teal);background:transparent}
.searchable-select-field{min-width:0}
.select-search-details{margin-top:6px}
.select-search-details>summary{font-size:12px;cursor:pointer;color:var(--teal);padding:4px 0;min-height:28px}
.select-search-details[open]{padding:8px 10px;background:var(--bg);border-radius:6px}
.select-search-details .select-search-label{display:grid;margin:6px 0;gap:6px;font-size:12px}
.select-search-count{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}
#person-search-results{max-height:240px;overflow-y:auto;scrollbar-gutter:stable}
#person-search-results .subtle{margin:0;padding:6px 0}
.selected-report-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--mint);border-radius:6px}
.selected-report-person>span{min-width:0;overflow-wrap:anywhere}
.table-tools{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:end;gap:16px;padding:8px 0 16px}
.table-tools label:first-child{min-width:0}.table-tools label:last-child{max-width:none}
@media(max-width:1050px){
 .report-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .report-primary-grid.custom-range{grid-template-columns:repeat(2,minmax(0,1fr))}
 .report-primary-grid.custom-range>.searchable-select-field,.report-primary-grid.custom-range>label:last-child{grid-column:1/-1}
 .report-period-row{flex-wrap:wrap;gap:8px}
}
@media(max-width:600px){
 .report-filter-panel{padding:16px}
 .report-filter-panel .report-search-inline{padding-bottom:16px;margin-bottom:16px}
 .report-primary-grid,.report-primary-grid.custom-range,.report-extra-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .report-period-row{display:block;margin-bottom:16px}
 .report-period-row .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .report-period-row .tabs button{padding:8px;min-height:44px}
 .report-timezone{display:block;margin-top:8px}
 .report-view-tabs>.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .report-view-tabs button{font-size:13px;padding:8px 6px}
 .report-filter-footer{gap:12px}
 .report-filter-actions{width:100%;justify-content:flex-end}
 .report-filter-actions .primary{flex:1}
 .table-tools{grid-template-columns:minmax(0,1fr) 112px;gap:12px}
 .table-tools label{font-size:12px}
 .selected-report-person{flex-wrap:wrap}
}

/* Consistent secondary actions and accessible tooltips across pages and dialogs. */
.icon-button,td .icon-button{width:44px;min-width:44px;height:44px;min-height:44px;margin:0;flex-shrink:0}
.cell-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.action-cell{min-width:64px}.data-table th{white-space:nowrap}.data-table td{vertical-align:middle}
.row-tools{margin:0}.row-tools>summary{min-height:44px;display:list-item;padding:10px 0}
.actions{align-items:center;gap:10px}.actions>button{min-height:44px}
.formgrid{align-items:start}.formgrid>label{align-content:start;min-width:0}
.formgrid input,.formgrid select{min-height:44px}
.formgrid>.secondary-section{margin:0;min-width:0}
.formgrid>.secondary-section>summary{min-height:44px}
.action-tooltip{position:fixed;z-index:1000;max-width:min(300px,calc(100vw - 16px));padding:8px 12px;border-radius:7px;background:#142a3b;color:#fff;box-shadow:0 3px 12px #142a3b30;font:13px/1.65 Myanmar,system-ui,sans-serif;font-weight:400;overflow-wrap:anywhere;pointer-events:auto}
.touch-action-label{display:none}
@media(hover:none){
 .icon-button.touch-labelled{width:auto;height:auto;min-height:44px;padding:8px 10px}
 .touch-action-label{display:inline;white-space:normal;font-size:13px}
}
@media(max-width:600px){
 .cell-actions{gap:6px}
 .actions>button:not(.icon-button){max-width:100%;white-space:normal}
}
@media print{.action-tooltip{display:none!important}}
.formgrid input,.formgrid select{height:46px}
.formgrid>label{display:flex;flex-direction:column;justify-content:flex-end;align-self:stretch}
form[data-form=commission]>.formgrid{grid-template-columns:minmax(0,1fr)}
form[data-form=commission]>.formgrid>label{max-width:520px;width:100%}
form[data-form=commission]>.formgrid>.secondary-section{border-top:1px solid var(--line);padding-top:12px;margin-top:8px}

#booker-commission-table{margin-top:16px}
form[data-form=commission] .subtle{margin:12px 0 0;max-width:760px}
form[data-form=no-commission]>label{max-width:520px}
.table-tools-size-only{display:flex;justify-content:flex-end}
.table-tools-size-only label{flex:none!important;min-width:150px!important}
#custom-commission-field{margin:12px 0}

input[name="booker-commission-search"]{height:46px;font-weight:400}

/* One searchable choice field instead of a dropdown plus a second search step. */
.searchable-select-field{position:relative}
.searchable-select-field input[role=combobox]{height:46px;width:100%;padding-right:28px;font-weight:400;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2351677a' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.choice-popup{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:10;background:white;border:1px solid #a9c0c9;border-radius:8px;padding:6px;box-shadow:0 6px 20px #142a3b24}
.opens-up .choice-popup{top:auto;bottom:calc(100% + 4px)}
.choice-popup [role=listbox]{max-height:230px;overflow-y:auto}
.choice-popup [role=option]{display:block;text-align:left;border:0;border-radius:4px;width:100%;min-height:44px;padding:8px 10px;white-space:normal;font-size:14px;font-weight:400}
.choice-popup [role=option][aria-selected=true]{color:var(--teal);font-weight:700}
.choice-popup .choice-highlight,.choice-popup [role=option]:hover{background:var(--mint)}
.choice-popup .select-search-count{padding:5px 8px;margin:0}
.check-field{display:flex;align-items:center;gap:10px;margin:16px 0;min-height:44px}
.check-field input{width:20px;height:20px;accent-color:var(--teal)}

/* Admin analytics: shared filters, readable data labels and contained chart scrolling. */
.dashboard-page{max-width:1600px;margin:0 auto}
.dashboard-filter-fields{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(220px,1fr) auto;gap:16px;align-items:end}
.dashboard-filter-fields.custom-range{grid-template-columns:minmax(140px,.7fr) minmax(140px,.7fr) minmax(200px,1fr) auto}
.dashboard-filter-actions{display:flex;gap:8px;align-items:center;padding-bottom:0}.dashboard-filter-actions button{min-height:46px;margin:0}
.dashboard-range{margin:14px 0 0;font-size:12px;color:var(--muted)}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-kpis .metric{border-top:3px solid var(--teal);padding:16px;min-width:0}
.dashboard-kpis .metric b{display:block;font-size:clamp(19px,1.9vw,27px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:6px 0}
.dashboard-kpis .metric small{min-height:24px}.dashboard-kpis .metric .subtle{display:block;font-size:11px}
.dashboard-kpis .metric.blue{border-top-color:#4266ad}.dashboard-kpis .metric.blue b{color:#315691}
.dashboard-kpis .metric.amber{border-top-color:#b67c22}.dashboard-kpis .metric.amber b{color:#865910}
.dashboard-kpis .metric.negative{border-top-color:#bd4545}.dashboard-kpis .metric.negative b{color:#a02828}
.dashboard-context{display:flex;gap:10px 24px;flex-wrap:wrap;padding:17px 0 21px;font-size:13px;color:var(--muted)}
.dashboard-context strong{color:var(--ink);margin-left:5px;font-variant-numeric:tabular-nums}
.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.dashboard-chart-toolbar .tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.dashboard-chart-toolbar button{min-height:44px;font-size:13px}
.chart-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:13px;margin:4px 0 14px}
.chart-legend>span{display:flex;gap:7px;align-items:center}.chart-legend i{display:inline-block;width:12px;height:12px;border-radius:2px}
.chart-stakes{fill:#08786a;background:#08786a}.chart-winnings{fill:#5274bd;background:#5274bd}
.chart-scroll{overflow-x:auto;max-width:100%;scrollbar-gutter:stable;padding-bottom:5px}
.trend-svg{display:block;width:100%;max-height:320px;font-family:system-ui,Myanmar,sans-serif;font-size:11px;fill:var(--muted)}
.chart-gridline{stroke:#dce6e9;stroke-width:1}.dashboard-chart-data{margin-top:12px;border-top:1px solid var(--line);padding-top:6px}
.dashboard-chart-data summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:13px;font-weight:650}
.dashboard-chart-data[open]>summary{margin-bottom:8px}.dashboard-chart-data p{font-size:13px;overflow-wrap:anywhere}
.dashboard-bars{display:grid;gap:4px}.dashboard-bar{display:block;width:100%;border:0;border-radius:6px;padding:11px 5px;text-align:left;font:inherit;background:transparent;min-width:0;color:var(--ink)}
button.dashboard-bar:hover{background:#f0f6f5;filter:none}.bar-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;font-size:13px}
.bar-heading strong{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.bar-label{min-width:0;overflow-wrap:anywhere}
.bar-track{display:block;height:11px;background:#edf2f3;border-radius:3px;overflow:hidden}.bar-fill{display:block;height:100%;background:#08786a;border-radius:3px;max-width:100%}
.bar-fill.blue{background:#5274bd}.bar-fill.amber{background:#b88430}.bar-note{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}
@media(max-width:1200px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-filter-fields,.dashboard-filter-fields.custom-range{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-filter-actions{justify-content:flex-end;align-self:end}}
@media(max-width:800px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-kpis .metric b{font-size:20px}}
@media(max-width:600px){.dashboard-filter-fields,.dashboard-filter-fields.custom-range{grid-template-columns:minmax(0,1fr);gap:14px}.dashboard-filter-actions .primary{flex:1}.dashboard-filter-actions{width:100%}.dashboard-kpis{gap:8px}.dashboard-kpis .metric{padding:12px}.dashboard-kpis .metric small{font-size:12px}.dashboard-kpis .metric b{font-size:17px}.dashboard-context{gap:9px 18px;font-size:12px}.bar-heading{align-items:start;gap:8px;font-size:12px}.bar-heading strong{font-size:12px}.dashboard-range{overflow-wrap:anywhere}}
@media print{.dashboard-filter,.dashboard-chart-toolbar,.dashboard-chart-data{display:none}.dashboard-grid{display:block}.dashboard-page .panel{break-inside:avoid}.chart-scroll{overflow:visible}.trend-svg{min-width:0!important;width:100%}}
.dashboard-side{min-width:0}.chart-scroll-hint{display:none;margin:5px 0 0;text-align:center}
.currency-indicator{display:inline-flex;align-items:center;gap:5px;flex:none;padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--muted);font:700 12px/1.5 system-ui,sans-serif;white-space:nowrap}
.currency-indicator .ui-icon{width:16px;height:16px}
@media(max-width:420px){.currency-indicator{padding:5px}.currency-indicator .ui-icon{display:none}.header-items select{max-width:100px}}
@media(max-width:1250px){.chart-scroll-hint{display:block}}
@media print{.chart-scroll-hint{display:none}}

/* System Overview is the operational landing page; deeper charts stay in Analytics. */
.dashboard-view-tabs>.tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:20px}
.dashboard-view-tabs button{border:0;border-radius:0;border-bottom:3px solid transparent;background:transparent;min-height:48px;color:var(--muted)}
.dashboard-view-tabs button[aria-pressed=true]{border-color:var(--teal);color:var(--teal);background:transparent}
.overview-live{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:16px 20px;background:white;border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:8px}
.overview-live-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 5px}.overview-live-title>strong{font-size:20px}
.overview-live-actions{display:flex;flex-direction:column;gap:7px;align-items:flex-end}.overview-link{display:inline-flex;align-items:center;gap:5px;min-height:40px;text-decoration:none;font-size:13px;font-weight:650;white-space:nowrap}
.overview-link .ui-icon{width:15px;transform:rotate(180deg)}.overview-link:hover{text-decoration:underline}
.overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.overview-action{font:inherit;text-align:left;min-width:0}.overview-metric{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:8px;padding:15px;background:white;min-width:0}
.overview-metric small{font-size:13px;color:var(--muted)}.overview-metric>strong{font:750 30px/1.4 system-ui,sans-serif;margin:4px 0;color:var(--ink)}.overview-metric>span{font-size:12px;color:var(--muted);font-weight:400;overflow-wrap:anywhere}
.overview-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#e2eeeb;border-radius:8px;padding:16px 20px;gap:18px;margin-bottom:20px}
.overview-money>div+div{border-left:1px solid #b8d1ca;padding-left:20px}.overview-money small{font-size:12px;color:#34564f;display:block}.overview-money strong{display:block;font-size:22px;color:#075b50;font-variant-numeric:tabular-nums;margin-top:4px;overflow-wrap:anywhere}.overview-money .negative strong{color:#a02828}
.overview-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:16px}.overview-columns>div{min-width:0}
.overview-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.overview-panel-heading h2{margin:0}.overview-panel-heading>button{min-height:40px;font-size:13px}
.session-time{display:block;font-size:11px;font-weight:400;white-space:nowrap;color:var(--muted);margin-top:5px}
.overview-attention{display:grid;gap:6px}.overview-attention>button{display:flex;align-items:center;gap:10px;border:0;border-radius:6px;background:var(--bg);padding:12px 10px;width:100%;font-size:13px;min-height:48px}
.overview-attention>button.has-attention{background:#fff4e2}.overview-attention>button>span{flex:1}.overview-attention>button>strong{font:700 18px system-ui}.overview-attention>button>.ui-icon:last-child{width:14px;transform:rotate(180deg)}
.overview-number-total{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:12px 0}.overview-number-total>strong{font:750 31px system-ui;color:var(--teal)}.overview-number-total small{font:400 17px system-ui;color:var(--muted)}.overview-number-total>span{font-size:12px;color:var(--muted)}
.number-status-track{display:flex;height:14px;border-radius:4px;overflow:hidden;background:#edf1f3}.number-segment{display:block;height:100%}.number-status-track .open,.number-status-legend i.open{background:#08786a}.number-status-track .manual,.number-status-legend i.manual{background:#b32626}.number-status-track .automatic,.number-status-legend i.automatic{background:#e17676}.number-status-track .session,.number-status-legend i.session{background:#81909b}
.number-status-legend{display:flex;gap:8px 14px;flex-wrap:wrap;margin:12px 0;font-size:12px}.number-status-legend>span{display:flex;gap:5px;align-items:center}.number-status-legend i{width:9px;height:9px;border-radius:2px}
.overview-rules{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:9px;font-size:12px}.overview-rules>span{display:flex;justify-content:space-between;align-items:start;gap:10px}.overview-rules strong{font-variant-numeric:tabular-nums}
.overview-note{margin:12px 0 0;font-size:12px}.overview-settlement{margin:0}.overview-settlement>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.overview-settlement>div:last-child{border:0}.overview-settlement dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.overview-closed-list{display:flex;gap:10px;flex-wrap:wrap}.overview-closed-list button{background:#fee2e2;color:#a31515;border-color:#dc7373;min-width:48px;min-height:48px;text-align:center;font-size:20px}
@media(max-width:1200px){.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-columns{grid-template-columns:minmax(0,1fr)}.overview-columns>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.overview-columns>div:last-child>.panel:last-child{grid-column:1/-1}.overview-columns>div:last-child>.panel{margin-bottom:0}.overview-money strong{font-size:19px}}
@media(max-width:600px){.overview-live{padding:13px;align-items:start;flex-direction:column;gap:9px}.overview-live-actions{width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.overview-live-title>strong{font-size:18px}.overview-live .subtle{font-size:11px}.overview-metrics{gap:9px}.overview-metric{padding:12px}.overview-metric small{font-size:12px}.overview-metric>strong{font-size:26px}.overview-metric>span{font-size:11px}.overview-money{grid-template-columns:1fr;padding:8px 14px;gap:0}.overview-money>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0}.overview-money>div+div{border-left:0;border-top:1px solid #b8d1ca;padding-left:0}.overview-money strong{font-size:18px;margin:0;white-space:nowrap}.overview-money small{font-size:11px}.overview-columns>div:last-child{display:block}.overview-columns>div:last-child>.panel{margin-bottom:14px}.overview-columns .panel{padding:14px}.overview-panel-heading h2{font-size:17px}.overview-settlement dt{font-size:12px}.overview-settlement dd{font-size:12px}}
@media print{.dashboard-view-tabs,.overview-live-actions,.overview-panel-heading>a,.overview-panel-heading>button{display:none}.overview-columns{display:block}.overview-live,.overview-metrics,.overview-money,.overview-columns .panel{break-inside:avoid}}
.overview-columns{grid-template-areas:"sessions attention" "week numbers" "week settlement";align-items:start}
.overview-sessions{grid-area:sessions}.overview-attention-panel{grid-area:attention}.overview-week{grid-area:week}.overview-numbers{grid-area:numbers}.overview-money-panel{grid-area:settlement}
.overview-columns>div>.panel{margin-bottom:0}
@media(max-width:1200px){.overview-columns{grid-template-areas:"attention" "sessions" "numbers" "week" "settlement"}.overview-columns>div:last-child{display:block}}
.overview-session-table table{min-width:620px}.overview-session-table .badge{white-space:nowrap}.overview-session-cards{display:none}
@media(max-width:600px){.overview-session-table{display:none}.overview-session-cards{display:grid;gap:0}.overview-session-cards article{padding:14px 0;border-bottom:1px solid var(--line)}.overview-session-cards article:last-child{border:0}.overview-session-card-heading{display:flex;align-items:start;justify-content:space-between;gap:10px}.overview-session-card-heading .badge{white-space:nowrap;font-size:11px}.overview-session-card-heading>div{font-size:14px}.overview-session-card-heading .session-time{font-size:10px}.overview-session-card-values{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.overview-session-card-values>span{font-size:11px;color:var(--muted)}.overview-session-card-values strong{display:block;font-size:13px;color:var(--ink);margin-top:3px}.overview-session-card-values>.icon-button{flex:none}}

/* Admin groups remain expanded; the entire sidebar scrolls on short screens. */
.nav-group{margin-top:17px}.nav-group-heading{font:650 11px/1.5 system-ui,sans-serif;letter-spacing:.04em;color:#a9becb;margin:0 0 7px;padding:0 10px}
nav a>span{min-width:0;overflow-wrap:break-word}
@media(min-width:691px){#sidebar nav{max-height:calc(100dvh - 65px);overflow-y:auto;scrollbar-width:thin}}
