/* Operations use full-width data tables and labelled forms, shared with the legacy admin. */
.bt-panel{min-width:0;color:var(--t1);font-size:13px;line-height:1.65}
.bt-intro,.bt-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bt-intro{padding:12px 0 18px}.bt-intro b{font-size:20px}.bt-intro p{margin:5px 0;color:#a4a4aa;font-size:12px}.bt-intro__act,.bt-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bt-heading{margin:22px 0 12px}.bt-heading h3{font-size:15px;font-weight:650;margin:0}
.bt-tabs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0 0 12px;margin-bottom:18px}.bt-tabs .btn{border-radius:6px;padding:8px 14px}.bt-tabs .btn--primary{background:rgba(232,35,44,.14);color:#ff8f91;border-color:rgba(232,35,44,.3)}.bt-tabs__sep{width:1px;height:16px;background:var(--line);margin:0 5px}
.bt-crumb{display:flex;gap:8px;font-size:12px;color:#a4a4aa;margin:0 0 16px}.bt-crumb i{font-style:normal}.bt-crumb b,.bt-crumb em{font-style:normal;color:var(--t1)}
.bt-muted{color:#a4a4aa;font-size:12px}.bt-error{color:#ff9898;line-height:1.8;overflow-wrap:anywhere}.bt-error[hidden]{display:none}.bt-notice,.bt-reconciliation{padding:14px 16px;background:#211b13;border:1px solid #54442e;border-left:3px solid #e3ad54;margin:16px 0;color:#eee1ce;line-height:1.8}
.bt-reconciliation{background:#251719;border-color:#633135;color:#ffb3ad}.bt-reconciliation h3{margin:0;font-size:16px}.bt-reconciliation p{margin:5px 0}.bt-record-reconciliation{padding:5px 0;color:#f2be71;font-size:12px;min-width:170px}.bt-record-reconciliation p{margin:3px 0;line-height:1.7}.bt-subsidy{color:#f2be71;min-width:130px}.bt-money{font-weight:650;color:#fafafa;font-variant-numeric:tabular-nums}
.bt-table-wrap{width:100%;max-width:100%;min-width:0;overflow:auto;border:1px solid var(--line);border-radius:9px;background:var(--panel);margin-bottom:24px;overscroll-behavior-x:contain}.bt-table-wrap:focus-visible{outline:2px solid #db6b72;outline-offset:2px}.bt-table{width:100%;border-collapse:collapse;table-layout:auto}.bt-table th{padding:12px 14px;font-size:12px;letter-spacing:0;font-weight:600;color:#b3b3bc;white-space:nowrap;background:#171719;border-bottom:1px solid #39393d}.bt-table td{padding:14px;vertical-align:top;font-size:13px;color:#e0e0e5;border-bottom:1px solid var(--line);line-height:1.8;min-width:92px;max-width:320px;overflow-wrap:anywhere}.bt-table tbody tr:last-child td{border-bottom:0}.bt-table tbody tr:nth-child(even){background:rgba(255,255,255,.022)}.bt-table tbody tr:hover{background:rgba(255,255,255,.045)}.bt-table td b{color:#f5f5f8;font-weight:650}.bt-cell-line+.bt-cell-line{margin-top:4px}.bt-table .mono{font-size:12px;line-height:1.8}.bt-table .pill{font-size:12px;white-space:nowrap;color:#dedee4}.bt-table .empty{padding:35px;text-align:center;color:#b2b2ba}.bt-row-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:170px;max-width:210px}.bt-row-actions .btn{font-size:12px;padding:6px 9px;white-space:nowrap;line-height:1.5;min-height:30px}.bt-summary-table{min-width:760px}.bt-summary-table td{padding-block:20px}.bt-summary-table .bt-money{font-size:20px}.bt-venues-table{min-width:1350px}.bt-venues-table td:nth-child(1){min-width:150px}.bt-venues-table td:nth-child(3),.bt-venues-table td:nth-child(4){min-width:190px}.bt-sessions-table{min-width:1400px}.bt-orders-table{min-width:1780px}.bt-orders-table td:nth-child(1){min-width:175px}.bt-orders-table td:nth-child(3){min-width:220px}.bt-orders-table td:nth-child(5){min-width:180px}.bt-table .bt-visibility{font-size:12px;color:#e7bd7a}.bt-table .is-visible{color:#9bd8ae}.bt-calendar-table{min-width:760px}.bt-table-wrap .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.bt-context{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 0 16px;border-bottom:1px solid var(--line);margin-bottom:18px}.bt-context h3{font-size:15px;margin:4px 0}.bt-context .bt-actions{margin-left:auto}.bt-context .bt-muted{font-size:12px}
.bt-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0;margin-bottom:10px;border-block:1px solid var(--line)}.bt-filters label,.bt-form label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;color:#b5b5bd}.bt-filters>.btn{align-self:end}.bt-chips{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}.bt-chip{background:transparent;border:1px solid var(--line);border-radius:5px;color:#ccc;padding:6px 10px;font:inherit;font-size:12px;cursor:pointer}.bt-chip b{margin-left:6px}.bt-chip.is-on{background:#381e20;border-color:#7a383e;color:#ffb7bc}
.bt-form-section{padding:18px 0;margin:16px 0 24px;border-block:1px solid var(--line)}.bt-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bt-span{grid-column:1/-1}.bt-form label input,.bt-form select,.bt-form textarea,.bt-filters input,.bt-filters select{min-width:0;max-width:100%;width:100%;box-sizing:border-box;background:#0c0c0e;border:1px solid #45454b;color:#f2f2f6;border-radius:6px;padding:10px 12px;font:inherit;font-size:13px;color-scheme:dark;outline:none}.bt-form label input:focus,.bt-form select:focus,.bt-form textarea:focus,.bt-filters select:focus,.bt-filters input:focus{border-color:#db6b72;box-shadow:0 0 0 2px rgba(219,107,114,.12)}.bt-form textarea{min-height:100px;resize:vertical;line-height:1.7}.bt-form p{margin:0;line-height:1.8}.bt-form .bt-check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;line-height:1.8}.bt-form .bt-check input{width:17px;min-width:17px;min-height:17px;margin:3px 0;accent-color:var(--red)}.bt-sec{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:10px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:14px;color:var(--t1)}.bt-sec:first-child{margin-top:0;padding-top:0;border-top:0}.bt-sec span{font-size:12px;color:#a4a4aa;font-weight:400}.bt-rules,.bt-cover{min-width:0;margin:0;border:1px solid var(--line);border-radius:6px;padding:16px}.bt-rules legend,.bt-cover legend{font-size:12px;color:#bbb;line-height:1.8}.bt-rule{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;margin-bottom:12px}.bt-rule .btn{height:40px}.bt-group>#btGroupFields{margin-top:16px}.bt-group [hidden]{display:none!important}.bt-savebar{position:sticky;bottom:0;background:var(--panel);border-top:1px solid var(--line);padding:12px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap;z-index:1}.bt-modal-body{padding:16px 0}.bt-panel .btn--primary,#btForm .btn--primary{width:auto}#btForm .modal__foot{position:sticky;bottom:0;background:var(--panel);padding-bottom:max(12px,env(safe-area-inset-bottom));z-index:1}.bt-card{padding:4px 0}.bt-card h3{margin:8px 0 15px}.bt-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bt-details>div{min-width:0;overflow-wrap:anywhere}.bt-details .bt-muted{display:block;margin-bottom:4px}.bt-cover__row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.bt-cover img{width:90px;height:90px;object-fit:cover;border:1px solid var(--line);border-radius:6px}.bt-cover img[hidden],.bt-cover button[hidden]{display:none}.bt-cover p{margin-top:12px}.bt-cover input[type=file]{font-size:12px}.bt-settle-group{margin:20px 0}
@media(max-width:768px){.bt-tabs{gap:5px}.bt-tabs .btn{padding:8px 10px}.bt-tabs__sep{display:none}.bt-intro b{font-size:18px}.bt-form,.bt-filters{grid-template-columns:minmax(0,1fr)}.bt-form label input,.bt-form select,.bt-form textarea,.bt-filters input,.bt-filters select{font-size:16px}.bt-details{grid-template-columns:1fr}.bt-context .bt-actions{margin-left:0;width:100%}.bt-row-actions{min-width:160px}.bt-table-wrap{border-radius:6px}.bt-rule{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bt-rule>.btn{grid-column:1/-1;justify-self:end}.bt-summary-table .bt-money{font-size:17px}}
@media(max-width:420px){.blindtable-admin .topbar #health{display:none}}
/* Compact filter toolbar and always-visible row actions on wide operational tables. */
.bt-filters{display:flex;flex-wrap:wrap;align-items:flex-end}.bt-filters label{flex:1 1 150px}.bt-filters label:first-child{flex:2 1 240px}.bt-filters>.btn{flex:0 0 auto;min-width:90px}.bt-filters input,.bt-filters select{height:38px;padding:7px 10px}.bt-table--actions th:last-child,.bt-table--actions td:last-child{position:sticky;right:0;background:#151517;border-left:1px solid var(--line);z-index:1;box-shadow:-6px 0 8px rgba(0,0,0,.12)}.bt-table--actions th:last-child{z-index:2}.bt-orders-table td:nth-child(6),.bt-orders-table td:nth-child(7),.bt-orders-table td:nth-child(8){min-width:130px}.bt-orders-table td:nth-child(6) .bt-cell-line,.bt-orders-table td:nth-child(7) .bt-cell-line{white-space:nowrap}
@media(max-width:768px){.bt-filters label,.bt-filters label:first-child{flex:1 1 100%}.bt-table--actions th:last-child,.bt-table--actions td:last-child{position:static;box-shadow:none}}
/* Venue operations: retain the admin's type, red actions and dark surfaces. */
.bt-pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:14px 0;color:var(--t2);font-size:12px}.bt-source,.bt-status{display:inline-block;border:1px solid transparent;padding:2px 8px;border-radius:4px;font-size:12px;white-space:nowrap}.bt-source--official{background:#351b20;color:#ff9ca4;border-color:#68313a}.bt-source--venue{background:#302719;color:#e8c180;border-color:#5e4b2a}.bt-status{background:#242429;color:#c1c1ca;border-color:#42424a}.bt-status--pending,.bt-status--pending_review{background:#332518;color:#f3bd73;border-color:#684827}.bt-status--published,.bt-status--registration{background:#192a3d;color:#9cc8f7;border-color:#2e4d70}.bt-status--upcoming{background:#2c223d;color:#cdb4f3;border-color:#51416c}.bt-status--active,.bt-status--ongoing,.bt-status--approved{background:#1c3028;color:#a4dcb6;border-color:#365b45}.bt-status--rejected,.bt-status--cancelled,.bt-status--terminated{background:#332125;color:#df9fa7;border-color:#5a353c}.bt-match{padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:20px}.bt-match>label{display:flex;gap:8px;align-items:center;margin-bottom:12px}.bt-match select{background:var(--panel);color:var(--t1);border:1px solid var(--line);padding:8px;font:inherit}.bt-match .bt-heading{justify-content:flex-start}.bt-match .bt-heading h3{margin-right:auto}.bt-orders-table input[type=checkbox]{accent-color:var(--red);width:17px;height:17px}.bt-venues-table,.bt-sessions-table{min-width:780px}.bt-venues-table td:nth-child(3),.bt-venues-table td:nth-child(4){min-width:100px}.bt-table-wrap{scrollbar-width:none}.bt-table-wrap::-webkit-scrollbar{display:none}.bt-panel button:focus-visible{outline:2px solid #db6b72;outline-offset:3px}
@media(max-width:768px){.bt-tabs .btn{flex:1 1 90px}.bt-pagination{justify-content:center;gap:10px}.bt-match .bt-heading{align-items:flex-start}.bt-match .bt-heading h3{width:100%}}
.bt-status--open{background:#192a3d;color:#9cc8f7;border-color:#2e4d70}.bt-orders-table{min-width:1040px}.bt-orders-table td:nth-child(1){min-width:155px}.bt-orders-table td:nth-child(3){min-width:150px}.bt-orders-table td:nth-child(5){min-width:150px}.bt-orders-table td:nth-child(6){min-width:90px}.bt-orders-table td:nth-child(7){min-width:170px}

.bt-slide-row{display:grid;grid-template-columns:65px minmax(120px,1fr) minmax(120px,220px);gap:10px;align-items:center;margin:12px 0}.bt-slide-row [data-signup-state]{grid-column:2/-1;color:#b8b1a9;font-size:12px}@media(max-width:600px){.bt-slide-row{grid-template-columns:60px minmax(0,1fr)}.bt-slide-row input[type=file]{grid-column:2}}
/* A form editor beside a quiet document preview; never a grid of business cards. */
.bt-safety-editor{padding:20px 0;border-block:1px solid var(--line,#333);}
.bt-safety-editor>summary{cursor:pointer;font-size:17px;font-weight:650;}
.bt-safety-editor>summary span{font-size:12px;font-weight:400;color:#a7a2a3;margin-left:16px;}
.bt-safety-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,380px);gap:32px;align-items:start;margin-top:22px;}
.bt-safety-fields{min-width:0;}
.bt-safety-fields label{display:block;margin:0 0 16px;}
.bt-safety-fields input:not([type=checkbox]),.bt-safety-fields textarea{display:block;width:100%;margin-top:8px;box-sizing:border-box;}
.bt-safety-fields textarea{resize:vertical;min-height:110px;line-height:1.75;}
.bt-safety-row{margin:22px 0;padding:18px 0;border:0;border-top:1px solid #343235;min-width:0;}
.bt-safety-row legend{padding:0 14px 0 0;color:#d6b1b7;font-size:13px;}
.bt-safety-row__tools{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;}
.bt-safety-row__tools label{margin:0;display:flex;gap:8px;align-items:center;}
.bt-safety-row__tools .btn{margin:0 0 0 6px;}
.bt-safety-preview-wrap{position:sticky;top:18px;min-width:0;}
.bt-safety-preview-label{color:#b3aba6;font-size:12px;margin-bottom:12px;letter-spacing:1px;}
.bt-safety-preview{max-height:700px;overflow:auto;padding:28px 24px;background:#f6f3eb;color:#44483f;line-height:1.9;border-radius:12px;font-size:14px;overflow-wrap:anywhere;}
.bt-safety-preview__brand{font-size:11px;letter-spacing:1px;color:#8b7f69;margin-bottom:18px;}
.bt-safety-preview h2{font-size:25px;line-height:1.45;margin:0;color:#272e29;}
.bt-safety-preview__meta{font-size:12px;color:#7f8178;padding:12px 0 20px;border-bottom:1px solid #dfdbd1;}
.bt-safety-preview p{margin:10px 0 18px;white-space:pre-line;}
.bt-safety-preview .bt-safety-preview__lead{background:#eee8d9;border-left:3px solid #aa8551;padding:16px;margin:24px 0 30px;}
.bt-safety-preview section{border-bottom:1px solid #e0ddd3;padding:0 0 20px;margin:0 0 28px;}
.bt-safety-preview h3{font-size:19px;color:#2f3e34;line-height:1.55;margin:0 0 20px;}
.bt-safety-preview h4{font-size:16px;color:#343d35;line-height:1.65;margin:18px 0 7px;}
.bt-safety-preview .bt-safety-preview__important{padding:18px 15px;background:#f1ecdf;border:1px solid #ded1b6;border-radius:10px;}
@media(max-width:900px){.bt-safety-layout{grid-template-columns:minmax(0,1fr);}.bt-safety-preview-wrap{position:static;}.bt-safety-editor>summary span{display:block;margin:8px 0;}.bt-safety-preview{max-height:500px;}}

/* Official matching: explicit text labels, compact filters, no profile inference. */
.bt-match-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:12px 0 18px}.bt-match-filters label{display:flex;flex-direction:column;gap:6px;color:var(--t2);font-size:13px;min-width:120px}.bt-match-filters input,.bt-match-filters select{max-width:170px;background:var(--panel);color:var(--t1);border:1px solid var(--line);border-radius:6px;padding:10px;font:inherit}.bt-match-summary{padding:10px 0;color:var(--t1)}.bt-person{display:inline-block;padding:3px 10px;border-radius:5px;border:1px solid #50515a;background:#242429;color:#d8d8df;white-space:nowrap}.bt-person--male{background:#192a3d;color:#adcdf0;border-color:#365675}.bt-person--female{background:#382536;color:#edbdd9;border-color:#6a425d}.bt-person--other{background:#2e2938;color:#cdc0e3}.bt-match-filters .bt-error{flex-basis:100%;margin:0}@media(max-width:600px){.bt-match-filters label{min-width:calc(50% - 12px);flex:1}.bt-match-filters input,.bt-match-filters select{max-width:100%;width:100%}}

/* Mobile dialogs must grow with long activity forms, keeping an opaque panel behind every field. */
@media(max-width:768px){.modal__box{align-self:flex-start}}
