:root{font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#262626;background:#fafafa;--blue:#4376ed;--line:#e8e8e8;--sidebar:260px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:3px}button,summary,select{cursor:pointer}button{color:inherit}button:disabled{cursor:default}button svg,a svg,summary svg{flex-shrink:0;vertical-align:middle}.cms-sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid #eee;z-index:30;display:flex;flex-direction:column;transition:width .18s}.cms-logo{height:64px;display:flex;align-items:center;padding:0 30px}.cms-logo img{width:90px;height:auto}.cms-sidebar nav{overflow-y:auto;flex:1;padding:12px 0 24px;scrollbar-width:thin}.nav-group{display:flex;gap:12px;align-items:center;min-height:52px;padding:12px 28px;font-size:14px;list-style:none;white-space:nowrap}.nav-group::-webkit-details-marker{display:none}.nav-group b{font-size:17px;margin-left:auto;font-weight:400;transition:transform .2s}.nav-section[open]>.nav-group{color:var(--blue)}.nav-section[open]>.nav-group b{transform:rotate(180deg)}.nav-group:hover,.submenu a:hover{background:#f5f7fa}.nav-group.active{color:var(--blue);background:#f2f8fd}.submenu a{display:flex;align-items:center;padding:14px 12px 14px 56px;line-height:18px;min-height:46px;white-space:normal;border-right:2px solid transparent}.submenu a.active{color:var(--blue);background:#eaf4fe;border-right-color:var(--blue)}.sidebar-foot{padding:14px 28px;font-size:11px;color:#8a8a8a;border-top:1px solid #f1f1f1}.local-dot{display:inline-block;width:6px;height:6px;background:#35a784;border-radius:50%;margin-right:6px}.cms-topbar{position:fixed;top:0;left:var(--sidebar);right:0;height:64px;display:flex;align-items:center;gap:12px;padding:0 24px 0 8px;background:#fff;border-bottom:1px solid #f0f0f0;z-index:25;transition:left .18s}.icon-button{background:transparent;border:0;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:#6b6f74;flex-shrink:0}.icon-button:hover{background:#f1f4f7;color:var(--blue)}.cms-topbar>.icon-button{background:#f5f5f5;color:#262626}.workspace-tabs{display:flex;overflow-x:auto;align-items:stretch;align-self:stretch;scrollbar-width:none;gap:8px;flex:1;min-width:80px}.workspace-tab{display:flex;white-space:nowrap;align-items:center;border-bottom:2px solid transparent;gap:5px;padding:0 10px;font-weight:600}.workspace-tabs>a{padding:24px 10px;white-space:nowrap}.workspace-tab.selected,.workspace-tabs>a.selected{color:var(--blue);border-bottom:2px solid var(--blue)}.tab-close{border:0;background:none;font-size:21px;line-height:1;padding:4px;color:inherit}.top-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.language-label{font-size:12px;background:#f4f4f4;padding:6px;border-radius:4px}.local-badge{font-size:9px;letter-spacing:.7px;padding:4px 6px;background:#edf8f2;color:#3b8e66;border-radius:3px}.profile-menu{position:relative}.profile-menu summary{display:flex;gap:12px;align-items:center;list-style:none;white-space:nowrap}.profile-avatar{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;background:linear-gradient(135deg,#f5ac42,#315cd1);color:#fff;font-weight:bold}.profile-menu>div{position:absolute;right:0;top:44px;background:#fff;border:1px solid #eee;box-shadow:0 8px 30px #0002;padding:16px;min-width:200px;border-radius:4px}.profile-menu>div>span{display:block;color:#888;font-size:12px;margin-bottom:15px}.profile-menu button{border:0;background:#f6f7f9;padding:9px 16px;width:100%;text-align:left}.cms-main{margin-left:var(--sidebar);padding:24px 40px 40px;min-height:100vh;padding-top:86px;transition:margin-left .18s}.breadcrumb{display:flex;align-items:center;gap:12px;margin:0 0 16px;min-height:28px;color:#999;font-size:14px}.breadcrumb strong{font-weight:600;color:#242424}.breadcrumb a:hover{color:var(--blue)}.data-card{background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 0 6px #00000008;overflow:hidden}.table-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 16px 4px;min-height:50px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:2px}.table-filters{padding:12px 28px 16px}.filter-row{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.filter-row label{font-size:12px;color:#858585;display:flex;flex-direction:column;gap:6px;flex:0 1 160px}.filter-row label.search-label{flex-basis:220px}.filter-row input,.filter-row select{width:100%;min-width:0;height:40px;background:#fff;border:1px solid #d9d9d9;border-radius:3px;padding:8px 11px;color:#555}.filter-row input::placeholder{color:#aaa}.filter-row input:focus,.filter-row select:focus,.record-form input:focus,.record-form textarea:focus,.record-form select:focus{border-color:var(--blue)}.range-dash{padding-bottom:12px;color:#888}.primary-button,.outline-button{border:1px solid var(--blue);border-radius:3px;padding:9px 15px;line-height:18px;display:inline-flex;align-items:center;justify-content:center;min-height:36px}.primary-button{color:white;background:var(--blue)}.primary-button:hover{background:#3266d9}.outline-button{color:var(--blue);background:#fff}.outline-button:hover{background:#eef4ff}.reset-link{font-size:12px;color:#999;padding:12px 0}.quick-dates{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.quick-dates button{padding:8px 15px;min-height:34px}.pagination-bar{display:flex;align-items:center;gap:25px;padding:12px 28px 16px;min-height:64px;flex-wrap:wrap}.pagination-bar label{display:flex;gap:8px;align-items:center;color:#616161}.pagination-bar select{border:0;border-bottom:1px solid #ddd;background:#fff;padding:7px;font-weight:600}.pagination-bar nav{display:flex;align-items:center;gap:12px;color:#999}.page-arrow{font-size:24px;color:#555}.disabled{color:#d5d5d5;font-size:24px}.page-current{font-size:13px;color:var(--blue)}.page-total{font-size:12px}.result-count{font-size:14px}.result-count b{margin-left:8px}.table-scroll{overflow:auto;width:100%;max-height:calc(100vh - 330px);min-height:200px;scrollbar-width:thin}.cms-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;text-align:left}.cms-table th,.cms-table td{padding:14px 16px;border-bottom:1px solid #eee;white-space:nowrap;max-width:310px;overflow:hidden;text-overflow:ellipsis}.cms-table th{font-size:11px;color:#888;text-transform:uppercase;background:#fcfcfc;font-weight:600;height:55px;position:sticky;top:0;z-index:3;letter-spacing:.2px}.cms-table td{height:58px}.cms-table tbody tr:hover td{background:#f8fbff}.cms-table th:not(.sticky-action){min-width:110px}.sort-link{display:flex;align-items:center;gap:12px}.sort-link span{color:#ccc;font-size:15px}.cms-table .sticky-action{position:sticky;right:0;min-width:100px;text-align:center;background:#fff;z-index:4;box-shadow:-4px 0 6px #00000004}.cms-table th.sticky-action{z-index:5;background:#fcfcfc}.cms-table td.sticky-action{padding:5px 8px}.status-pill{font-size:12px;display:inline-block;border-radius:3px;padding:4px 8px;background:#edf7f1;color:#328156}.status-0,.status-4,.status-5{background:#f3f3f3;color:#8c8c8c}.status-2{background:#fff6e0;color:#c78b28}.empty-table{text-align:center!important;height:240px!important;color:#9a9a9a!important}.empty-table>span{display:block;font-size:30px;margin-bottom:10px;color:#c8d0da}.empty-table strong{font-size:14px;font-weight:400}.empty-table p{font-size:12px;color:#aaa}.table-thumb{height:48px;width:76px;object-fit:contain;display:block}.columns-menu{position:relative}.columns-menu>summary{list-style:none}.columns-menu>div{position:absolute;right:0;top:38px;z-index:15;background:#fff;min-width:220px;padding:12px;box-shadow:0 4px 20px #0002;border:1px solid #eee;max-height:350px;overflow-y:auto}.columns-menu label{display:flex;align-items:center;gap:8px;padding:6px;font-size:12px}.columns-menu input{accent-color:var(--blue)}.data-card.fullscreen{position:fixed;inset:0;z-index:100;border-radius:0}.data-card.fullscreen .table-scroll{max-height:calc(100vh - 280px)}.module-note{padding:12px 16px;background:#f3f7fc;border-left:3px solid #b2c8ed;color:#6a798b;line-height:1.6;font-size:12px;margin:0 0 16px}.data-source{font-size:11px;color:#aaa;padding:8px 0}.section-tabs{display:flex;gap:8px;background:#fff;border-bottom:1px solid #ddd;padding:0 15px;margin-bottom:18px;overflow-x:auto}.section-tabs a{white-space:nowrap;display:block;padding:20px 18px;border-bottom:3px solid transparent;font-size:13px;color:#777}.section-tabs .active{color:var(--blue);border-bottom-color:var(--blue)}.builder-section{background:#fff;border:1px solid #d9d9d9;margin-bottom:24px}.builder-section>summary{display:flex;align-items:center;gap:12px;background:#f5f5f5;padding:14px 20px;list-style:none;font-weight:bold}.builder-section>summary svg{color:var(--blue)}.builder-section>summary a{margin-left:auto;font-size:12px;color:var(--blue);font-weight:400}.builder-content{padding:24px 16px}.builder-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:12px 0 36px}.builder-actions .muted{font-size:11px;color:#aaa}.block-row{border:1px solid #d9d9d9;background:#f5f5f5;border-bottom:0}.block-row:last-child{border-bottom:1px solid #d9d9d9}.block-row summary{padding:16px 22px;list-style:none;display:flex;gap:12px;align-items:center}.block-row summary>small{margin-left:auto;color:#999}.block-detail{padding:18px 22px;background:#fff;display:flex;align-items:center;gap:20px;font-size:12px}.block-detail>a{color:var(--blue)}.banner-previews{display:flex;gap:14px;overflow-x:auto}.banner-previews>a{width:220px;flex-shrink:0}.banner-previews img{width:100%;height:64px;object-fit:contain;background:#f1f1f1}.banner-previews span{display:block;font-size:11px;color:#999;margin-top:8px}.flash{padding:12px 16px;background:#edf7f0;border:1px solid #cde7d7;border-radius:4px;color:#3a7953;margin-bottom:16px}.flash.alert{background:#fff4ee;border-color:#f0d0bc;color:#a06641}.edit-card{padding:28px;background:#fff;border:1px solid #eee;border-radius:4px;max-width:1100px}.edit-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding-bottom:20px;margin-bottom:24px;gap:12px}.edit-heading h1{font-size:18px;font-weight:500;margin:0}.edit-heading a{color:var(--blue)}.record-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.form-field{display:flex;flex-direction:column;gap:9px;min-width:0}.form-field label{color:#777;font-size:13px}.form-field input,.form-field textarea,.form-field select{padding:11px 12px;border:1px solid #d9d9d9;background:#fff;border-radius:3px;width:100%;color:#333}.form-field:has(textarea){grid-column:1/-1}.form-actions{display:flex;align-items:center;gap:14px;grid-column:1/-1;border-top:1px solid #eee;padding-top:24px}.form-actions>span{color:#999;font-size:11px}.record-detail{display:grid;grid-template-columns:220px 1fr;font-size:13px;line-height:1.7;margin-bottom:30px}.record-detail dt,.record-detail dd{padding:12px;margin:0;border-bottom:1px solid #eee;white-space:normal;overflow-wrap:anywhere}.record-detail dt{color:#888}.dashboard-info{padding:10px 8px;font-size:13px}.dashboard-info p{margin-bottom:40px}.dashboard-info p:last-child{color:#999;font-size:12px}.dashboard-summary{display:flex;gap:20px;flex-wrap:wrap;margin:35px 8px}.dashboard-summary>a{background:#fff;border:1px solid #eee;padding:20px 24px;min-width:165px;display:flex;flex-direction:column;gap:15px;border-radius:4px}.dashboard-summary small{color:#999}.dashboard-summary strong{font-size:26px;color:var(--blue);font-weight:400}.sidebar-collapsed{--sidebar:60px}.sidebar-collapsed .cms-logo{padding:0 7px}.sidebar-collapsed .cms-logo img{width:46px}.sidebar-collapsed .nav-group{padding-left:20px}.sidebar-collapsed .nav-group span,.sidebar-collapsed .nav-group b,.sidebar-collapsed .submenu,.sidebar-collapsed .sidebar-foot{display:none}.auth-body{background:#fafafa;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px}.auth-card{max-width:480px;width:100%;background:#fff;padding:42px 48px;border:1px solid #eee;border-radius:8px;box-shadow:0 8px 30px #00000006}.auth-logo{width:110px;display:block;margin:0 auto 40px}.auth-card h1{font-size:24px;font-weight:500;text-align:center;margin:0 0 30px}.auth-form{display:flex;flex-direction:column;gap:24px}.auth-form>label{display:flex;flex-direction:column;gap:9px;color:#555}.auth-form input:not([type=radio],[type=submit]),.auth-form select{height:44px;width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;background:#fff}.auth-form fieldset{border:0;padding:0;margin:0}.auth-form legend{margin-bottom:10px;color:#555}.auth-form fieldset label{display:flex;align-items:center;gap:8px}.auth-note{color:#aaa;font-size:11px;text-align:center;margin-top:25px}.muted{color:#999}
@media(max-width:1000px){.cms-main{padding-left:22px;padding-right:22px}.top-actions{gap:7px}.language-label{display:none}.cms-topbar{padding-right:12px}.filter-row label{flex-basis:145px}.filter-row label.search-label{flex-basis:190px}}
@media(max-width:760px){:root{--sidebar:0px}.cms-sidebar{width:260px;transform:translateX(-100%);box-shadow:3px 0 20px #0001}.sidebar-open .cms-sidebar{transform:translateX(0)}.cms-main{padding:82px 12px 22px}.cms-topbar{gap:6px}.profile-menu strong,.language-label,.top-actions>.icon-button{display:none}.workspace-tabs{gap:0}.workspace-tab{padding:0 7px;font-size:12px}.local-badge{font-size:8px}.breadcrumb{font-size:11px;gap:8px;flex-wrap:wrap}.table-filters{padding:12px}.filter-row{gap:10px}.filter-row label,.filter-row label.search-label{flex-basis:calc(50% - 5px)}.range-dash{display:none}.quick-dates{gap:7px}.quick-dates button{font-size:11px;padding:6px 10px}.pagination-bar{padding:10px 12px;gap:15px;font-size:12px}.pagination-bar label,.result-count{font-size:12px}.table-toolbar{padding:8px}.toolbar-right .icon-button{width:31px}.table-scroll{max-height:500px}.cms-table th,.cms-table td{padding:12px;font-size:12px}.cms-table .sticky-action{min-width:90px}.section-tabs{padding:0}.section-tabs a{padding:16px 12px}.record-form{grid-template-columns:1fr}.form-actions{flex-wrap:wrap}.form-actions span{width:100%}.record-detail{grid-template-columns:120px 1fr}.edit-card{padding:18px}.edit-heading h1{font-size:16px}.builder-content{padding:15px 10px}.builder-actions{gap:10px;margin-bottom:20px}.builder-actions .muted{display:none}.block-detail{flex-wrap:wrap;padding:16px}.dashboard-summary{gap:12px;margin:20px 0}.dashboard-summary>a{min-width:0;width:calc(50% - 6px);padding:16px}.auth-card{padding:30px 24px}.auth-body{padding:20px}}
.filter-row input[type=submit]{width:auto;min-width:64px;background:var(--blue);border-color:var(--blue);color:#fff;flex:none}.filter-row label:has(select){flex-basis:110px}.filter-row label.search-label{flex-basis:190px}.filter-row label:has(input[type=datetime-local]){flex-basis:145px}
[hidden]{display:none!important}
.manual-complete-button{border:1px solid #35a784;background:#edf8f2;color:#25775c;border-radius:3px;padding:7px 10px;font-size:11px;font-weight:600}.manual-complete-button:hover{background:#dff3e9}.confirm-dialog{width:min(520px,calc(100% - 28px));border:0;border-radius:8px;padding:0;box-shadow:0 20px 70px #0004}.confirm-dialog::backdrop{background:#17203388}.confirm-dialog form{padding:24px}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.dialog-heading h2{margin:5px 0 0;font-size:20px}.dialog-kicker{font-size:10px;letter-spacing:1px;color:#c07828;font-weight:700}.dialog-close{border:0;background:#f2f3f5;border-radius:50%;width:32px;height:32px;font-size:20px}.dialog-warning{background:#fff6e7;border-left:3px solid #e1a13c;padding:12px 14px;line-height:1.5;color:#77582b}.confirm-dialog dl{display:grid;grid-template-columns:90px 1fr;margin:18px 0}.confirm-dialog dt,.confirm-dialog dd{margin:0;padding:8px 0;border-bottom:1px solid #eee}.confirm-dialog dt{color:#888}.confirm-dialog dd{font-weight:600;overflow-wrap:anywhere}.confirm-dialog label{display:flex;flex-direction:column;gap:8px;color:#666}.confirm-dialog textarea{width:100%;border:1px solid #ccc;border-radius:4px;padding:10px;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}

/* Quiet, minimal backoffice polish. */
:root{font-family:"Segoe UI Variable","Segoe UI",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#20242b;background:#f5f7fa;--blue:#3867d6;--line:#e7eaf0;--sidebar:248px}body{background:#f5f7fa;font-size:13px;line-height:1.45}.cms-sidebar{border-right:1px solid #e8ebf0;box-shadow:1px 0 0 #fff;background:#fff}.cms-logo{height:68px;padding:0 26px;border-bottom:1px solid #f0f2f5}.nav-group{min-height:48px;padding:11px 24px;font-size:13px;color:#4f5865}.nav-group.active,.nav-section[open]>.nav-group{color:#2f5fc9}.submenu a{min-height:42px;padding:11px 16px 11px 52px;color:#66707d;font-size:12.5px}.submenu a.active{background:#f0f5ff;color:#285cc8;border-right-color:#3867d6;font-weight:600}.cms-topbar{height:68px;left:var(--sidebar);border-bottom:1px solid #e8ebf0;padding-right:28px;box-shadow:0 1px 3px #18223008}.cms-main{margin-left:var(--sidebar);padding:92px 28px 40px}.breadcrumb{font-size:12px;margin-bottom:14px}.module-note{background:#eef4ff;border:1px solid #dce8ff;border-left:3px solid #6c91e8;border-radius:5px;color:#5e6d82;padding:13px 16px}.data-card{border:1px solid #e5e8ed;border-radius:8px;box-shadow:0 3px 14px #1720330a}.table-toolbar{padding:12px 18px 6px}.table-filters{padding:14px 24px 16px}.filter-row label{color:#687280;font-size:11.5px;font-weight:500}.filter-row input,.filter-row select{height:38px;border-color:#dce1e8;border-radius:5px}.primary-button,.outline-button{border-radius:5px;padding:8px 14px;font-weight:600}.primary-button{background:#3867d6;border-color:#3867d6}.quick-dates button{border-color:#b9cbed;color:#3867d6;background:#f9fbff}.pagination-bar{min-height:58px;padding:11px 24px 14px}.table-scroll{max-height:calc(100vh - 320px)}.cms-table{font-size:12.5px}.cms-table th{height:50px;padding:12px 15px;background:#fafbfc;color:#737d89;font-size:10.5px;letter-spacing:.45px}.cms-table td{height:54px;padding:12px 15px;color:#343a43}.cms-table tbody tr:nth-child(even) td{background:#fbfcfe}.cms-table tbody tr:hover td{background:#f3f7ff}.cms-table .sticky-action{min-width:148px}.status-pill{border-radius:999px;padding:4px 9px;font-weight:600}.icon-button{border-radius:6px}.manual-complete-button{border:0;background:#eaf7f1;color:#207559;border-radius:5px;padding:7px 11px;box-shadow:inset 0 0 0 1px #c8e9dc}.manual-complete-button:hover{background:#dff2e9}.confirm-dialog{border-radius:10px;box-shadow:0 24px 80px #11182755}.confirm-dialog form{padding:26px}.confirm-dialog textarea{border-color:#d8dde5;border-radius:6px;font-family:inherit}.flash{border-radius:6px}.local-badge{border-radius:999px;padding:4px 8px}.profile-avatar{box-shadow:0 0 0 3px #f2f5fa}

/* Consistent density and typography across every backoffice module. */
:root{--ink:#222934;--muted-ink:#76808e;--surface:#fff;--soft:#f8f9fb;--radius:8px}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cms-logo img{width:84px}.cms-sidebar nav{padding-top:8px}.nav-section{border-bottom:1px solid #f5f6f8}.nav-group svg{width:17px;height:17px}.nav-group b{font-size:14px;color:#a3aab4}.sidebar-foot{padding:13px 24px;color:#9ba3ad}.workspace-tabs{gap:2px}.workspace-tab{font-size:12.5px;padding:0 12px}.workspace-tab.selected{border-bottom-width:2px}.tab-close{font-size:17px;color:#9ca4af;padding:3px}.top-actions{gap:10px}.top-actions .icon-button{width:34px;height:34px}.profile-menu summary strong{font-size:12.5px;font-weight:600}.breadcrumb a,.breadcrumb span{color:#99a1ac}.breadcrumb strong{color:#56606e;font-weight:600}.module-note{margin-bottom:14px;font-size:12px;line-height:1.55}.table-toolbar{min-height:48px;border-bottom:1px solid #f2f3f5}.toolbar-left,.toolbar-right{gap:4px}.table-toolbar .icon-button{width:34px;height:34px}.table-filters{background:#fcfcfd;border-bottom:1px solid #f0f2f4}.filter-row{gap:10px}.filter-row label.search-label{flex-basis:240px}.filter-row label:has(select){flex-basis:120px}.filter-row label:has(input[type=datetime-local]){flex-basis:170px}.filter-row input,.filter-row select,.record-form input,.record-form textarea,.record-form select{transition:border-color .15s,box-shadow .15s}.filter-row input:focus,.filter-row select:focus,.record-form input:focus,.record-form textarea:focus,.record-form select:focus,.confirm-dialog textarea:focus{outline:0;border-color:#7f9fe7;box-shadow:0 0 0 3px #3867d616}.quick-dates{gap:8px;margin-top:10px}.quick-dates button{min-height:32px;padding:6px 12px;font-size:11.5px}.pagination-bar{gap:18px;color:#727b87}.pagination-bar label,.result-count{font-size:12px}.pagination-bar select{padding:6px 22px 6px 6px}.page-arrow{font-size:19px}.page-current{font-weight:700}.cms-table th:not(.sticky-action){min-width:104px}.cms-table th,.cms-table td{border-bottom-color:#edf0f3}.cms-table td:first-child,.cms-table th:first-child{padding-left:20px}.cms-table .sticky-action{box-shadow:-7px 0 14px #18223008;border-left:1px solid #f0f2f4}.status-pill{font-size:11px}.data-source{padding:10px 2px;color:#a4abb4}.columns-menu>div{border-radius:7px;border-color:#e2e5ea;box-shadow:0 14px 36px #1720331a}.columns-menu label{border-radius:4px}.columns-menu label:hover{background:#f6f8fb}.edit-card{padding:24px;border-radius:var(--radius);border-color:#e5e8ed;box-shadow:0 3px 14px #1720330a}.edit-heading{padding-bottom:16px;margin-bottom:20px}.edit-heading h1{font-size:17px;font-weight:650;color:var(--ink)}.record-form{gap:18px 20px}.form-field{gap:7px}.form-field label{font-size:12px;font-weight:600;color:#697382}.form-field input,.form-field textarea,.form-field select{padding:10px 11px;border-color:#dde1e7;border-radius:5px}.form-actions{padding-top:20px;margin-top:4px}.record-detail{grid-template-columns:190px 1fr;line-height:1.55}.record-detail dt,.record-detail dd{padding:11px 12px;border-bottom-color:#eef0f3}.record-detail dt{font-size:12px;font-weight:600}.record-detail dd{color:#343b45}.section-tabs{border:1px solid #e5e8ed;border-radius:8px 8px 0 0;margin-bottom:14px;padding:0 10px}.section-tabs a{padding:15px 14px;font-size:12px}.builder-section{border-color:#e3e6eb;border-radius:7px;overflow:hidden}.builder-section>summary{background:#fafbfc;padding:13px 17px;font-size:13px}.builder-content{padding:20px 16px}.block-row{border-color:#e3e6eb}.block-row summary{padding:14px 18px}.block-detail{padding:15px 18px}.dashboard-info{background:#fff;border:1px solid #e6e9ed;border-radius:8px;padding:20px 22px;box-shadow:0 3px 14px #1720330a}.dashboard-info p{margin:0 0 12px}.dashboard-info p:last-child{margin:0}.dashboard-summary{margin:18px 0;gap:14px}.dashboard-summary>a{border-color:#e5e8ed;border-radius:8px;padding:18px 20px;gap:10px;box-shadow:0 3px 14px #17203308;transition:transform .15s,box-shadow .15s}.dashboard-summary>a:hover{transform:translateY(-1px);box-shadow:0 8px 22px #17203310}.dashboard-summary strong{font-size:23px}.flash{padding:11px 14px;font-size:12px}.confirm-dialog form{padding:24px}.dialog-heading h2{font-size:18px;font-weight:650}.dialog-warning{font-size:12px;border-radius:5px}.confirm-dialog dl{font-size:12.5px}.dialog-actions{margin-top:18px}.auth-card{border-radius:10px;box-shadow:0 18px 50px #17203312}.auth-card h1{font-size:21px}.auth-form{gap:19px}.auth-form>label{font-size:12.5px}.auth-form input:not([type=radio],[type=submit]),.auth-form select{border-color:#dce1e7;border-radius:6px}.empty-table{height:210px!important}
@media(max-width:1000px){:root{--sidebar:224px}.cms-main{padding-left:18px;padding-right:18px}.cms-table th,.cms-table td{padding-left:12px;padding-right:12px}}
@media(max-width:760px){:root{--sidebar:0px}.cms-main{padding:82px 10px 24px}.module-note{padding:11px 12px}.table-filters{padding:12px}.pagination-bar{padding:10px 12px}.edit-card{padding:16px}.confirm-dialog form{padding:19px}.dialog-actions{flex-direction:column-reverse}.dialog-actions>*{width:100%}}
.activity-package-editor{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:20px;border-top:1px solid #eceff3}.activity-package-heading{grid-column:1/-1}.activity-package-heading h2{margin:0 0 5px;font-size:16px}.activity-package-heading p{margin:0;color:#7c8693;font-size:12px}.activity-package-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px;border:1px solid #e1e6ec;border-radius:8px;background:#fafbfd}.activity-package-card legend{padding:0 7px;color:#416bc9;font-weight:700}.activity-package-card label{display:grid;gap:6px;color:#697382;font-size:12px;font-weight:600}.activity-package-card input{width:100%}.activity-package-card label:first-of-type{grid-column:1/-1}@media(max-width:850px){.activity-package-editor,.activity-package-card{grid-template-columns:1fr}}
.activity-settings-card{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px;border:1px solid #e1e6ec;border-radius:8px;background:#fafbfd}.activity-settings-card .activity-package-heading{grid-column:1/-1}.activity-choice-group{border:0;padding:0;margin:0;display:grid;gap:9px}.activity-choice-group legend{font-size:12px;font-weight:700;color:#697382;margin-bottom:3px}.activity-choice{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dfe4ea;border-radius:7px;background:#fff;cursor:pointer}.activity-choice:has(input:checked){border-color:#7f9fe7;background:#f4f7ff;box-shadow:0 0 0 2px #3867d610}.activity-choice input{width:auto;margin-top:3px;accent-color:var(--blue)}.activity-choice span{display:grid;gap:3px}.activity-choice b{font-size:12.5px;color:#354052}.activity-choice small,.activity-member-picker small{font-size:11px;color:#89929f;font-weight:400}.activity-date-range{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px;border-radius:7px;background:#fff;border:1px solid #e3e7ec}.activity-date-range[hidden],.activity-member-picker[hidden]{display:none}.activity-date-range label,.activity-member-picker{display:grid;gap:7px;color:#697382;font-size:12px;font-weight:600}.activity-date-range input,.activity-member-picker select{padding:10px 11px;border:1px solid #d9dfe6;border-radius:5px;background:#fff}.activity-member-picker{grid-column:1/-1}.activity-member-picker select{min-height:150px}.activity-package-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.activity-package-heading h2{margin-right:auto}.activity-package-heading p{width:100%;order:3}.activity-package-card{position:relative;padding-top:22px}.activity-package-remove{position:absolute;right:12px;top:-9px;border:1px solid #e5a6a6;border-radius:5px;background:#fff;color:#b14f4f;padding:4px 8px;font-size:11px}.activity-package-remove:hover{background:#fff2f2}.activity-package-editor template{display:none}.activity-type-setting{grid-column:1/-1;display:grid;grid-template-columns:minmax(260px,420px) 1fr;align-items:end;gap:16px;padding:14px;border:1px solid #dfe5ec;border-radius:8px;background:#fff}.activity-type-setting label{display:grid;gap:7px;color:#697382;font-size:12px;font-weight:700}.activity-type-setting select{padding:10px 34px 10px 11px;border:1px solid #d9dfe6;border-radius:6px;background:#fff}.activity-type-setting p{margin:0 0 9px;color:#7d8795;font-size:12px}@media(max-width:850px){.activity-settings-card,.activity-date-range,.activity-type-setting{grid-template-columns:1fr}}

.theme-toggle{font-size:17px;line-height:1}.theme-toggle span{display:block;transform:translateY(-1px)}
html[data-theme="dark"]{color-scheme:dark;--ink:#edf1f7;--muted-ink:#8f9aab;--surface:#171b22;--soft:#1b2028;--line:#2b313c;--blue:#7ba2ff;background:#101319}html[data-theme="dark"] body{background:#101319;color:#dfe4ec}html[data-theme="dark"] .cms-sidebar,html[data-theme="dark"] .cms-topbar,html[data-theme="dark"] .data-card,html[data-theme="dark"] .edit-card,html[data-theme="dark"] .section-tabs,html[data-theme="dark"] .dashboard-info,html[data-theme="dark"] .dashboard-summary>a{background:#171b22;border-color:#282e38;box-shadow:none}html[data-theme="dark"] .cms-logo,html[data-theme="dark"] .cms-topbar,html[data-theme="dark"] .nav-section{border-color:#252b34}html[data-theme="dark"] .cms-logo img{filter:brightness(1.12)}html[data-theme="dark"] .nav-group{color:#aeb7c5}html[data-theme="dark"] .nav-group:hover,html[data-theme="dark"] .submenu a:hover{background:#1d232c}html[data-theme="dark"] .nav-group.active,html[data-theme="dark"] .nav-section[open]>.nav-group{color:#91b0ff}html[data-theme="dark"] .submenu a{color:#8f99a8}html[data-theme="dark"] .submenu a.active{background:#202a3b;color:#9ab6ff;border-right-color:#6f96ef}html[data-theme="dark"] .breadcrumb strong,html[data-theme="dark"] .edit-heading h1{color:#e7ebf2}html[data-theme="dark"] .breadcrumb a,html[data-theme="dark"] .breadcrumb span,html[data-theme="dark"] .data-source{color:#747f8e}html[data-theme="dark"] .workspace-tab.selected,html[data-theme="dark"] .workspace-tabs>a.selected{color:#8dabf5}html[data-theme="dark"] .icon-button{color:#a3adba}html[data-theme="dark"] .icon-button:hover{background:#232a34;color:#90adf5}html[data-theme="dark"] .language-label{background:#232933;color:#bac2ce}html[data-theme="dark"] .local-badge{background:#183128;color:#67c79b}html[data-theme="dark"] .profile-menu>div,html[data-theme="dark"] .columns-menu>div{background:#1c2129;border-color:#303742;box-shadow:0 16px 40px #0007}html[data-theme="dark"] .profile-menu button{background:#262d37;color:#dce2eb}html[data-theme="dark"] .module-note{background:#182538;border-color:#263a57;border-left-color:#5f86da;color:#9fb1ca}html[data-theme="dark"] .table-toolbar,html[data-theme="dark"] .table-filters{background:#171b22;border-color:#292f39}html[data-theme="dark"] .filter-row label,html[data-theme="dark"] .form-field label{color:#9ca6b4}html[data-theme="dark"] .filter-row input,html[data-theme="dark"] .filter-row select,html[data-theme="dark"] .record-form input,html[data-theme="dark"] .record-form textarea,html[data-theme="dark"] .record-form select,html[data-theme="dark"] .confirm-dialog textarea{background:#11151b;border-color:#343b46;color:#e0e5ed}html[data-theme="dark"] .quick-dates button,html[data-theme="dark"] .outline-button{background:#171d27;border-color:#46659d;color:#8eaff5}html[data-theme="dark"] .cms-table th{background:#1b2027;color:#8e98a6;border-color:#2b313b}html[data-theme="dark"] .cms-table td{color:#d5dae2;border-color:#252b34;background:#171b22}html[data-theme="dark"] .cms-table tbody tr:nth-child(even) td{background:#191e25}html[data-theme="dark"] .cms-table tbody tr:hover td{background:#202938}html[data-theme="dark"] .cms-table .sticky-action{background:#171b22;border-left-color:#292f38;box-shadow:-7px 0 14px #0002}html[data-theme="dark"] .cms-table tbody tr:nth-child(even) .sticky-action{background:#191e25}html[data-theme="dark"] .cms-table tbody tr:hover .sticky-action{background:#202938}html[data-theme="dark"] .status-pill{background:#22332d;color:#75c99f}html[data-theme="dark"] .status-0,html[data-theme="dark"] .status-4,html[data-theme="dark"] .status-5{background:#292e36;color:#a2aab5}html[data-theme="dark"] .status-2{background:#3a3020;color:#e3b568}html[data-theme="dark"] .manual-complete-button{background:#1c352c;color:#71c99f;box-shadow:inset 0 0 0 1px #2f5949}html[data-theme="dark"] .record-detail dt,html[data-theme="dark"] .record-detail dd,html[data-theme="dark"] .edit-heading,html[data-theme="dark"] .form-actions{border-color:#292f38}html[data-theme="dark"] .record-detail dt{color:#929ca9}html[data-theme="dark"] .record-detail dd{color:#d5dbe4}html[data-theme="dark"] .builder-section,html[data-theme="dark"] .block-row{border-color:#303640;background:#1b2027}html[data-theme="dark"] .builder-section>summary,html[data-theme="dark"] .block-row summary{background:#1c2129}html[data-theme="dark"] .builder-content,html[data-theme="dark"] .block-detail{background:#171b22}html[data-theme="dark"] .confirm-dialog{background:#171b22;color:#dce2eb}html[data-theme="dark"] .confirm-dialog::backdrop{background:#05070bcc}html[data-theme="dark"] .dialog-close{background:#272e38;color:#c9d0da}html[data-theme="dark"] .dialog-warning{background:#332a1d;border-left-color:#bf8737;color:#d8b57d}html[data-theme="dark"] .confirm-dialog dt,html[data-theme="dark"] .confirm-dialog dd{border-color:#2b313a}html[data-theme="dark"] .flash{background:#183127;border-color:#29533f;color:#83cfaa}html[data-theme="dark"] .flash.alert{background:#35241d;border-color:#674332;color:#e0a98d}html[data-theme="dark"] .auth-body{background:#101319}html[data-theme="dark"] .auth-card{background:#171b22;border-color:#2a303a;box-shadow:0 18px 50px #0006}html[data-theme="dark"] .auth-form input:not([type=radio],[type=submit]),html[data-theme="dark"] .auth-form select{background:#11151b;border-color:#343b46;color:#e0e5ed}

/* Member bet report and per-game credit records. */
.table-link{color:var(--blue);font-weight:600;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.table-link:hover{text-decoration-color:currentColor}.bet-report-shell{display:grid;gap:16px}.report-heading,.report-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.report-heading{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:20px 22px}.report-heading h1{margin:4px 0 5px;font-size:20px;color:var(--ink)}.report-heading p{margin:0;color:var(--muted-ink);font-size:12px}.report-kicker{font-size:9px;letter-spacing:1.2px;color:var(--blue);font-weight:800}.report-filters{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:18px 22px}.report-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 3px 14px #17203308}.report-card-heading{padding:17px 22px;border-bottom:1px solid var(--line);align-items:center}.report-card-heading h2{font-size:15px;margin:0 0 3px;color:var(--ink)}.report-card-heading span{font-size:11px;color:var(--muted-ink)}.report-member-credit{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:8px 11px}.report-member-credit strong{color:var(--ink);margin-left:4px}.report-table-scroll{max-height:520px;min-height:120px}.bet-report-table th:first-child{min-width:180px}.bet-report-table th{min-width:125px}.report-result{font-weight:700}.report-result.positive{color:#c32738}.report-result.negative{color:#087b85}.report-total td{font-weight:700;background:var(--soft)!important}.bet-number{color:var(--blue);font-variant-numeric:tabular-nums}.detail-report{scroll-margin-top:82px}
html[data-theme="dark"] .report-heading,html[data-theme="dark"] .report-filters,html[data-theme="dark"] .report-card{background:#171b22;border-color:#282e38;box-shadow:none}html[data-theme="dark"] .report-heading h1,html[data-theme="dark"] .report-card-heading h2{color:#e7ebf2}html[data-theme="dark"] .report-card-heading{border-color:#292f38}html[data-theme="dark"] .report-member-credit,html[data-theme="dark"] .report-total td{background:#1d232c!important;border-color:#303742}html[data-theme="dark"] .report-result.positive{color:#ff8792}html[data-theme="dark"] .report-result.negative{color:#5bc4cd}
@media(max-width:760px){.report-heading,.report-card-heading{align-items:stretch;flex-direction:column}.report-heading,.report-filters{padding:16px 14px}.report-heading>.outline-button,.report-card-heading>.outline-button{width:100%}.report-card-heading{padding:15px}.report-member-credit{align-self:flex-start}.report-filters .range-dash{display:none}}
.credit-type{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:800;letter-spacing:.4px}.credit-type.bet{background:#fff0f1;color:#b12d3b}.credit-type.payout{background:#eaf8f3;color:#197659}.credit-type.refund{background:#fff6e3;color:#9a6920}.credit-type.unknown{background:#f0f2f5;color:#68717e}.credit-change{font-weight:700}.credit-change.positive{color:#197659}.credit-change.negative{color:#b12d3b}html[data-theme="dark"] .credit-type.bet{background:#3b2026;color:#ff929d}html[data-theme="dark"] .credit-type.payout{background:#18372d;color:#78d2aa}html[data-theme="dark"] .credit-type.refund{background:#3a301f;color:#e4ba6f}html[data-theme="dark"] .credit-type.unknown{background:#292f38;color:#abb4c1}html[data-theme="dark"] .credit-change.positive{color:#78d2aa}html[data-theme="dark"] .credit-change.negative{color:#ff929d}
.member-credit-table th:nth-child(4),.member-credit-table td:nth-child(4),.member-credit-table th:nth-child(5),.member-credit-table td:nth-child(5){min-width:190px}.bet-detail-dialog{width:min(880px,calc(100% - 28px));max-height:calc(100vh - 36px);padding:0;border:0;border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:0 24px 80px #11182755}.bet-detail-dialog::backdrop{background:#172033aa}.bet-detail-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.bet-detail-heading h2{font-size:17px;margin:0}.bet-detail-body{padding:18px;overflow:auto;max-height:calc(100vh - 105px)}.bet-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px}.bet-detail-grid label{display:flex;flex-direction:column;gap:7px;color:var(--muted-ink);font-weight:600;min-width:0}.bet-detail-grid output,.bet-detail-grid pre{display:block;border:1px solid var(--line);border-radius:5px;background:var(--soft);color:var(--ink);padding:10px 11px;min-height:42px;overflow-wrap:anywhere;font-weight:400}.bet-detail-grid .wide{grid-column:1/-1}.bet-detail-grid pre{margin:0;min-height:190px;white-space:pre-wrap;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}html[data-theme="dark"] .bet-detail-dialog{background:#171b22;color:#e4e9f0}html[data-theme="dark"] .bet-detail-grid output,html[data-theme="dark"] .bet-detail-grid pre{background:#11151b;border-color:#343b46;color:#dfe5ee}@media(max-width:760px){.bet-detail-grid{grid-template-columns:1fr}.bet-detail-grid .wide{grid-column:auto}.bet-detail-heading{padding:15px}.bet-detail-heading h2{font-size:15px}.bet-detail-body{padding:14px}}
.turnover-action { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; border:1px solid transparent; border-radius:7px; color:#28745f; background:#eaf8f3; transition:background .15s,border-color .15s,color .15s,transform .15s; }
.turnover-action:hover { background:#d9f2e9; border-color:#9fd9c5; color:#155e4a; transform:translateY(-1px); }
[data-theme="dark"] .turnover-action { color:#8de0c4; background:#173f38; border-color:#285e53; }
[data-theme="dark"] .turnover-action:hover { color:#bcf5e2; background:#205348; border-color:#3b7d6e; }
.turnover-adjust-dialog{width:min(600px,calc(100% - 28px))}.turnover-adjust-form{display:grid;gap:18px}.turnover-adjust-form .dialog-heading{padding-bottom:17px;border-bottom:1px solid #edf0f3}.turnover-adjust-form .dialog-heading h2{margin-top:4px}.turnover-adjust-form .dialog-heading p{margin:6px 0 0;color:#7d8794;font-size:12px}.turnover-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.turnover-context>div{display:grid;gap:4px;padding:12px 14px;border:1px solid #e7eaf0;border-radius:7px;background:#fafbfc}.turnover-context span{color:#87909c;font-size:10.5px;text-transform:uppercase;letter-spacing:.45px}.turnover-context strong{color:#303741;font-size:13px;overflow-wrap:anywhere}.turnover-form-field{display:grid;gap:7px}.turnover-form-field>label{color:#596473;font-size:11.5px;font-weight:650}.turnover-form-field select,.turnover-form-field input,.turnover-form-field textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid #d8dde5;border-radius:6px;background:#fff;color:#252b34;font:inherit}.turnover-form-field textarea{min-height:92px;resize:vertical}.turnover-form-field small{color:#8b94a0;font-size:10.5px}.turnover-input-suffix,.turnover-input-prefix{display:flex;align-items:stretch}.turnover-input-suffix input{border-radius:6px 0 0 6px}.turnover-input-suffix span,.turnover-input-prefix span{display:grid;place-items:center;min-width:44px;border:1px solid #d8dde5;background:#f5f7fa;color:#697381;font-weight:650}.turnover-input-suffix span{border-left:0;border-radius:0 6px 6px 0}.turnover-input-prefix span{border-right:0;border-radius:6px 0 0 6px;font-size:11px}.turnover-input-prefix input{border-radius:0 6px 6px 0}.turnover-reset-notice{padding:12px 14px;border:1px solid #f1c6ca;border-left:3px solid #d66b76;border-radius:6px;background:#fff6f7;color:#7b3d44}.turnover-reset-notice strong{font-size:12px}.turnover-reset-notice p{margin:4px 0 0;font-size:11px;line-height:1.55}.turnover-adjust-form .dialog-actions{padding-top:17px;margin-top:0;border-top:1px solid #edf0f3}.turnover-adjust-form .dialog-actions button,.turnover-adjust-form .dialog-actions input{min-height:40px}
[data-theme="dark"] .turnover-adjust-form .dialog-heading,[data-theme="dark"] .turnover-adjust-form .dialog-actions{border-color:#2b313a}[data-theme="dark"] .turnover-adjust-form .dialog-heading p,[data-theme="dark"] .turnover-form-field small{color:#8994a3}[data-theme="dark"] .turnover-context>div{background:#1c2129;border-color:#303742}[data-theme="dark"] .turnover-context span{color:#8d97a5}[data-theme="dark"] .turnover-context strong{color:#e0e5ed}[data-theme="dark"] .turnover-form-field>label{color:#aab3c0}[data-theme="dark"] .turnover-form-field select,[data-theme="dark"] .turnover-form-field input,[data-theme="dark"] .turnover-form-field textarea{background:#11151b;border-color:#343b46;color:#e0e5ed}[data-theme="dark"] .turnover-input-suffix span,[data-theme="dark"] .turnover-input-prefix span{background:#232933;border-color:#343b46;color:#aab3c0}[data-theme="dark"] .turnover-reset-notice{background:#3a2228;border-color:#683943;border-left-color:#d66b76;color:#efb7be}
@media(max-width:600px){.turnover-context{grid-template-columns:1fr}.turnover-adjust-form{gap:14px}}
.member-balance-action span{font-size:17px;font-weight:800;line-height:1}.member-balance-dialog{width:min(650px,calc(100% - 28px))}.member-balance-form{display:grid;gap:18px}.member-balance-form .dialog-heading{padding-bottom:17px;border-bottom:1px solid var(--line)}.member-balance-form .dialog-heading p{margin:6px 0 0;color:var(--muted-ink);font-size:12px}.member-balance-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.member-balance-context>div{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:7px;background:var(--soft)}.member-balance-context span{color:var(--muted-ink);font-size:10.5px;text-transform:uppercase;letter-spacing:.45px}.member-balance-context strong{color:var(--ink);font-size:13px}.member-balance-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.member-balance-fields label{display:grid;align-content:start;gap:7px;color:var(--muted-ink);font-size:11.5px;font-weight:650}.member-balance-fields .wide{grid-column:1/-1}.member-balance-fields select,.member-balance-fields input,.member-balance-fields textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font:inherit}.member-balance-fields textarea{resize:vertical}.member-balance-fields small{color:var(--muted-ink);font-size:10.5px;font-weight:400}.member-balance-fields .is-disabled{opacity:.55}.member-balance-notice{margin:0;padding:11px 13px;border-left:3px solid #4f9f83;border-radius:5px;background:#edf8f4;color:#3e6f60;font-size:11px}.member-balance-form .dialog-actions{padding-top:17px;border-top:1px solid var(--line)}html[data-theme="dark"] .member-balance-notice{background:#17342c;color:#9bd3c0}@media(max-width:600px){.member-balance-context,.member-balance-fields{grid-template-columns:1fr}.member-balance-fields .wide{grid-column:auto}}
.turnover-remaining-value{display:inline-flex;align-items:center;min-width:82px;padding:5px 9px;border-radius:6px;font-weight:700;font-variant-numeric:tabular-nums}.turnover-remaining-value.outstanding{color:#9b5a16;background:#fff4df;box-shadow:inset 0 0 0 1px #f2d5a4}.turnover-remaining-value.cleared{color:#26735b;background:#eaf7f2;box-shadow:inset 0 0 0 1px #c5e7da}[data-theme="dark"] .turnover-remaining-value.outstanding{color:#f1c47f;background:#3b3020;box-shadow:inset 0 0 0 1px #66502d}[data-theme="dark"] .turnover-remaining-value.cleared{color:#8cddc1;background:#19382f;box-shadow:inset 0 0 0 1px #2c5b4d}
.turnover-detail-shell{display:grid;gap:16px}.turnover-detail-heading{margin-bottom:0}.turnover-detail-overview{display:grid;grid-template-columns:1.4fr repeat(7,minmax(105px,1fr));gap:1px;overflow:hidden;border:1px solid #e4e8ee;border-radius:8px;background:#e4e8ee;box-shadow:0 3px 14px #1720330a}.turnover-detail-overview>div,.turnover-detail-member{display:grid;align-content:center;gap:5px;min-height:92px;padding:14px 16px;background:#fff}.turnover-detail-overview span{color:#87909c;font-size:10px;text-transform:uppercase;letter-spacing:.45px}.turnover-detail-overview strong,.turnover-detail-member>a{color:#2f3742;font-size:14px;font-weight:700}.turnover-detail-member small{color:#8a94a0;font-size:10.5px}.turnover-detail-remaining{background:#fff8e9!important}.turnover-detail-remaining strong{color:#9b5a16!important;font-size:17px!important}.turnover-detail-source dl{display:grid;grid-template-columns:150px minmax(0,1fr);margin:0;padding:0 22px 20px}.turnover-detail-source dt,.turnover-detail-source dd{margin:0;padding:11px 10px;border-bottom:1px solid #edf0f3}.turnover-detail-source dt{color:#7c8693;font-size:11px;font-weight:600}.turnover-detail-source dd{color:#343b45}.allocation-type{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700}.allocation-type.applied{color:#26735b;background:#eaf7f2}.allocation-type.reversed{color:#a44752;background:#fff0f1}.turnover-drilldown{display:flex;gap:12px;white-space:nowrap}.turnover-history-table th:last-child{min-width:175px}[data-theme="dark"] .turnover-detail-overview{background:#2b313a;border-color:#2b313a}[data-theme="dark"] .turnover-detail-overview>div,[data-theme="dark"] .turnover-detail-member{background:#171b22}[data-theme="dark"] .turnover-detail-overview strong,[data-theme="dark"] .turnover-detail-member>a{color:#e0e5ed}[data-theme="dark"] .turnover-detail-remaining{background:#30291e!important}[data-theme="dark"] .turnover-detail-remaining strong{color:#efc27d!important}[data-theme="dark"] .turnover-detail-source dt,[data-theme="dark"] .turnover-detail-source dd{border-color:#292f38}[data-theme="dark"] .turnover-detail-source dd{color:#d5dbe4}[data-theme="dark"] .allocation-type.applied{color:#8cddc1;background:#19382f}[data-theme="dark"] .allocation-type.reversed{color:#efb3bb;background:#3b242a}@media(max-width:1200px){.turnover-detail-overview{grid-template-columns:repeat(4,minmax(140px,1fr))}.turnover-detail-member{grid-column:span 2}}@media(max-width:760px){.turnover-detail-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.turnover-detail-member{grid-column:1/-1}.turnover-detail-source dl{grid-template-columns:1fr;padding:0 16px 16px}.turnover-detail-source dt{padding-bottom:2px;border-bottom:0}.turnover-detail-source dd{padding-top:2px}.turnover-drilldown{flex-direction:column;gap:5px}}
.audit-transfer-table th small {
  display: block;
  margin-top: 4px;
  color: var(--bo-muted, #8793a5);
  font-size: 10px;
  font-weight: 600;
}

.audit-transfer-table td:nth-child(n + 6) {
  white-space: nowrap;
}

.table-subline {
  display: block;
  margin-top: 5px;
  color: var(--bo-muted, #8793a5);
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}
.audit-session-body{display:grid;gap:22px;padding:22px}.audit-session-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none}.audit-session-timeline li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding-right:24px;min-width:0}.audit-session-timeline li:not(:last-child)::after{content:"";position:absolute;top:16px;left:34px;right:0;height:2px;background:var(--line)}.audit-timeline-marker{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border:2px solid var(--line);border-radius:50%;background:var(--surface);color:var(--muted-ink);font-size:11px;font-weight:800}.audit-session-timeline li.complete .audit-timeline-marker{border-color:#4f9f83;background:#e9f7f1;color:#277158}.audit-session-timeline li.complete:not(:last-child)::after{background:#9fd2c0}.audit-session-timeline li.current .audit-timeline-marker{border-color:#e2ad50;background:#fff6e5;color:#96641d}.audit-session-timeline li>div{display:grid;align-content:start;gap:5px;padding-top:1px;min-width:0}.audit-session-timeline li>div>span{color:var(--muted-ink);font-size:10px;font-weight:750;letter-spacing:.55px;text-transform:uppercase}.audit-session-timeline strong{color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.audit-session-timeline small{color:var(--muted-ink);font-size:10.5px;line-height:1.45}.audit-session-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.audit-session-summary>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid var(--line);border-radius:7px;background:var(--soft)}.audit-session-summary dt{color:var(--muted-ink);font-size:11px;font-weight:650}.audit-session-summary dd{margin:0;color:var(--ink);font-weight:750}.audit-balance-note{display:flex;align-items:flex-start;gap:14px;margin:0;padding:14px 16px;border-left:3px solid #6c91e8;border-radius:6px;background:#f2f6ff;color:var(--muted-ink);font-size:11.5px;line-height:1.55}.audit-balance-note strong{flex:0 0 auto;color:#3f5f9f}.audit-balance-note span{max-width:960px}html[data-theme="dark"] .audit-session-timeline li.complete .audit-timeline-marker{border-color:#397c68;background:#19382f;color:#8cddc1}html[data-theme="dark"] .audit-session-timeline li.complete:not(:last-child)::after{background:#315f52}html[data-theme="dark"] .audit-session-timeline li.current .audit-timeline-marker{border-color:#8a6932;background:#3b3020;color:#efc27d}html[data-theme="dark"] .audit-session-summary>div{background:#1b2028;border-color:#303742}html[data-theme="dark"] .audit-balance-note{background:#182538;border-left-color:#5f86da;color:#9fb1ca}html[data-theme="dark"] .audit-balance-note strong{color:#a8bff1}@media(max-width:760px){.audit-session-body{padding:17px}.audit-session-timeline{grid-template-columns:1fr;gap:18px}.audit-session-timeline li{padding:0 0 18px}.audit-session-timeline li:not(:last-child)::after{top:34px;bottom:-18px;left:16px;right:auto;width:2px;height:auto}.audit-session-summary{grid-template-columns:1fr}.audit-balance-note{flex-direction:column;gap:5px}}
.fund-detail-shell{display:grid;gap:18px}.fund-detail-heading{margin:0}.fund-detail-heading p{margin:6px 0 0;color:var(--muted-ink);font-weight:600}.fund-ledger-card,.fund-record-card{padding:22px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:0 4px 18px #1720330a}.fund-ledger-card h2,.fund-record-card h2{margin:0 0 6px;font-size:18px}.fund-ledger-card>p{margin:0 0 18px;color:var(--muted-ink)}.fund-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line)}.fund-tabs a{padding:4px 4px 12px;color:var(--muted-ink);font-weight:700;text-decoration:none;border-bottom:3px solid transparent}.fund-tabs a.active{color:var(--ink);border-color:#e5b942}.fund-settlement-record+dl{margin-top:18px;border-top:8px solid var(--soft)}.fund-empty{padding:24px;text-align:center;color:var(--muted-ink)}.fund-ledger-table th,.fund-ledger-table td{white-space:nowrap}@media(max-width:760px){.fund-ledger-card,.fund-record-card{padding:15px}}
.withdraw-process-button{display:inline-flex;align-items:center;justify-content:center;min-width:82px;min-height:34px;padding:7px 12px;border:0;border-radius:6px;background:#3867d6;color:#fff;font-size:11px;font-weight:700;cursor:pointer}.withdraw-process-button:hover{background:#2f59bd}.withdraw-process-dialog{width:min(760px,calc(100% - 28px))}.withdraw-process-dialog .dialog-heading p{margin:6px 0 0;color:var(--muted-ink);font-size:12px}.withdraw-process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin-top:22px}.withdraw-process-grid label{display:flex;flex-direction:column;gap:7px;color:var(--muted-ink);font-size:12px;font-weight:650}.withdraw-process-grid output,.withdraw-process-grid select,.withdraw-process-grid textarea{display:block;width:100%;min-height:43px;padding:11px 12px;border:1px solid var(--line);border-radius:6px;background:var(--soft);color:var(--ink);font:inherit;font-weight:500}.withdraw-process-grid output{overflow-wrap:anywhere}.withdraw-process-grid select{background:var(--surface)}.withdraw-process-grid textarea{resize:vertical}.withdraw-process-grid .wide{grid-column:1/-1}.withdraw-process-grid small{font-weight:400;color:var(--muted-ink)}html[data-theme="dark"] .withdraw-process-grid output,html[data-theme="dark"] .withdraw-process-grid select,html[data-theme="dark"] .withdraw-process-grid textarea{background:#11151b;border-color:#343b46;color:#e0e5ed}@media(max-width:650px){.withdraw-process-grid{grid-template-columns:1fr}.withdraw-process-grid .wide{grid-column:auto}}
.activity-status-toggle{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;padding:3px;cursor:pointer}.activity-status-toggle span{position:relative;width:38px;height:21px;border-radius:999px;background:#c9ced6;box-shadow:inset 0 0 0 1px #b9c0ca;transition:.18s}.activity-status-toggle span:after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:.18s}.activity-status-toggle b{font-size:11px;color:#7b8491;font-weight:600}.activity-status-toggle.is-active span{background:#38a875;box-shadow:inset 0 0 0 1px #2f9868}.activity-status-toggle.is-active span:after{transform:translateX(17px)}.activity-status-toggle.is-active b{color:#277a58}.activity-period-pill{display:inline-flex;padding:4px 9px;border-radius:999px;background:#f0f2f5;color:#6f7884;font-size:11px;font-weight:650}.activity-period-pill.is-ongoing{background:#e8f7ef;color:#247a58}.activity-period-pill.is-scheduled{background:#eaf2ff;color:#3867b4}.activity-period-pill.is-ended,.activity-period-pill.is-closed{background:#f1f2f4;color:#858c96}html[data-theme="dark"] .activity-status-toggle b{color:#a5aebb}html[data-theme="dark"] .activity-status-toggle.is-active b{color:#74cba4}html[data-theme="dark"] .activity-period-pill{background:#292f38;color:#aab2be}html[data-theme="dark"] .activity-period-pill.is-ongoing{background:#1d382e;color:#78cba5}html[data-theme="dark"] .activity-period-pill.is-scheduled{background:#202f49;color:#8fb2f2}
.activity-setting-section{grid-column:1/-1;display:grid;gap:12px}.activity-setting-section+.activity-setting-section{padding-top:4px}.activity-setting-section .activity-choice-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.activity-setting-section .activity-choice-group legend{grid-column:1/-1}.activity-setting-section .activity-choice{min-height:64px;align-items:flex-start;padding:14px 16px}.activity-setting-section .activity-date-range,.activity-setting-section .activity-member-picker{grid-column:auto;margin:0 0 2px 0}.activity-setting-section .activity-member-picker{padding:14px;border:1px solid #e3e7ec;border-radius:7px;background:#fff}.activity-setting-section .activity-member-picker select{width:100%;min-height:132px}.activity-setting-section .activity-member-picker small{margin-top:1px}html[data-theme="dark"] .activity-setting-section .activity-choice,html[data-theme="dark"] .activity-setting-section .activity-date-range,html[data-theme="dark"] .activity-setting-section .activity-member-picker{background:#181d24;border-color:#343b46}@media(max-width:720px){.activity-setting-section .activity-choice-group,.activity-setting-section .activity-date-range{grid-template-columns:1fr}}
.activity-package-card{padding-top:30px}.activity-package-remove{z-index:1;right:14px;top:10px;display:inline-flex;align-items:center;justify-content:center;min-height:30px;border-color:#edb3b3;border-radius:6px;background:#fff7f7;color:#b54848;padding:5px 11px;font-weight:650;line-height:1;cursor:pointer;transition:background-color .16s,border-color .16s,color .16s}.activity-package-remove:hover{border-color:#dc8585;background:#feecec;color:#9c3333}.activity-package-remove:focus-visible{outline:2px solid #e69a9a;outline-offset:2px}html[data-theme="dark"] .activity-package-remove{border-color:#704545;background:#321f22;color:#efa5a5}html[data-theme="dark"] .activity-package-remove:hover{border-color:#9a5b5b;background:#45272a;color:#ffc0c0}
.activity-game-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px;border:1px solid #e3e7ec;border-radius:7px;background:#fff}.activity-game-types[hidden]{display:none}.activity-game-types label{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 11px;border:1px solid #e1e6ec;border-radius:6px;background:#fafbfd;color:#4e5968;font-size:12px;font-weight:650;cursor:pointer}.activity-game-types label:has(input:checked){border-color:#7f9fe7;background:#f4f7ff;color:#315dbd}.activity-game-types input{width:auto;margin:0;accent-color:var(--blue)}html[data-theme="dark"] .activity-game-types,html[data-theme="dark"] .activity-game-types label{background:#181d24;border-color:#343b46;color:#bac3cf}html[data-theme="dark"] .activity-game-types label:has(input:checked){border-color:#597cc8;background:#202d47;color:#a9c2f5}@media(max-width:900px){.activity-game-types{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.activity-game-types{grid-template-columns:1fr}}
/* Keep the Member List status dropdown aligned with the surrounding form fields. */
.member-status-field select{min-height:48px;padding:11px 42px 11px 15px;line-height:1.35}
.cms-table td.sticky-action>.icon-button{width:36px;height:36px;margin:0 1px;padding:0;vertical-align:middle}
.member-balance-action span{display:grid;place-items:center;width:20px;height:20px;font-size:17px;font-weight:800;line-height:20px;transform:translateY(-2px)}
.deposit-type-pill{display:inline-flex;align-items:center;max-width:280px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deposit-type-pill.is-normal{background:#eef3f8;color:#5d6d7e}.deposit-type-pill.is-activity{background:#fff5dc;color:#a06a00;border:1px solid #efdca6}
.activity-links-button{display:inline-flex;align-items:center;margin-left:8px;padding:4px 9px;border:1px solid #b9caff;border-radius:999px;color:#315dd8;background:#f3f6ff;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}.activity-links-button:hover{background:#e8eeff}
