/* Staff: dark slate chrome with bright, readable working surfaces. Screen only. */
@media screen {
html[data-staff-theme="dark"] {background:#425163;color-scheme:light}
html[data-staff-theme="dark"] body.room-home-beta2 {
 background:#425163!important;color:#213247;
 font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
}
html[data-staff-theme="dark"] body.room-home-beta2 :focus-visible {outline:3px solid #2465c4;outline-offset:2px}
html[data-staff-theme="dark"] body.room-home-beta2 button {font-family:inherit;text-shadow:none}
/* No filters or remapping of inline colors. Original light panels and media stay intact. */
html[data-staff-theme="dark"] body.room-home-beta2 .room-overview-beta2 {
 background:#394b62;border:1px solid #667b92;border-radius:16px;
 box-shadow:0 4px 14px #17243430;color:#edf4ff;
}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-beta2 {background:#50657d;color:#f5f8fd;border-color:#7589a1;border-radius:10px;font-weight:650}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-beta2 > strong {background:#f2f6fb;color:#273c55}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-beta2.is-active {background:#e6eef9;color:#213b5b;border-color:#f7faff;box-shadow:0 2px 5px #182a4440}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-beta2.is-active > strong {background:#2b639f;color:#fff}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-free {--filter-color:#9ddfb5}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-busy {--filter-color:#ffc37e}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-paying {--filter-color:#a4cfff}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-request {--filter-color:#d5b4f6}
html[data-staff-theme="dark"] body.room-home-beta2 .room-filter-operator {--filter-color:#a4dce8}
html[data-staff-theme="dark"] body.room-home-beta2 .card {
 border-radius:15px;box-shadow:0 5px 12px #18253635,inset 0 1px 0 #ffffff8c;
 border:1px solid #d5e0e9;color:#1e3145;background:#e9f0f7;
}
html[data-staff-theme="dark"] body.room-home-beta2 .card::before {height:4px}
html[data-staff-theme="dark"] body.room-home-beta2 .card.libero {--table-accent:#438765;background:#d4e9dd;color:#244b38;border-color:#c0dccb}
html[data-staff-theme="dark"] body.room-home-beta2 .card.occupato {--table-accent:#b36822;background:#ffdbb5;color:#673c16;border-color:#edc396}
html[data-staff-theme="dark"] body.room-home-beta2 .card.conteggio {--table-accent:#3c70b6;background:#cbdff8;color:#244a7a;border-color:#b8d1f1}
html[data-staff-theme="dark"] body.room-home-beta2 .card h3 {color:#233449;font-weight:650;letter-spacing:-.035em;text-shadow:none}
html[data-staff-theme="dark"] body.room-home-beta2 .card .coperti-badge,
html[data-staff-theme="dark"] body.room-home-beta2 .card .menu-badge {background:#ffffff66;color:#374b60;border-color:#57718e38;font-weight:650}
html[data-staff-theme="dark"] body.room-home-beta2 .card .pin-badge-card,
html[data-staff-theme="dark"] body.room-home-beta2 .card .time-badge-card {color:#42576b}
html[data-staff-theme="dark"] body.room-home-beta2 .card .status-text {font-weight:700;border:1px solid #24415e18}
html[data-staff-theme="dark"] body.room-home-beta2 .card.libero .status-text {background:#b9d9c7;color:#224e37}
html[data-staff-theme="dark"] body.room-home-beta2 .card.occupato .status-text {background:#f6bd87;color:#60360f}
html[data-staff-theme="dark"] body.room-home-beta2 .card.conteggio .status-text {background:#b1cdf3;color:#233e6a}
/* Existing request animations remain visible on light cards. */
html[data-staff-theme="dark"] body.room-home-beta2 .card.waiter-call {border-color:#e5a800!important;animation:roomWaiterPulseBeta2 .86s ease-in-out infinite}
html[data-staff-theme="dark"] body.room-home-beta2 .card.bill-call {border-color:#7c3aed!important;animation:roomBillPulseBeta2 .86s ease-in-out infinite}
html[data-staff-theme="dark"] body.room-home-beta2 .card.waiter-call .status-text {background:#6f4b00;color:#fff}
html[data-staff-theme="dark"] body.room-home-beta2 .card.bill-call .status-text {background:#5b21b6;color:#fff}
/* Dock: distinct, recognizable actions on a compact dark frame. */
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-beta2 {background:rgba(57,75,98,.98);border-color:#7b90a8;border-radius:19px;box-shadow:0 12px 35px #14223566,inset 0 1px 0 #ffffff20}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-item-beta2 {background:#e3edf8!important;color:#294568!important;border:1px solid #becfe4;border-radius:12px;font-weight:650}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-icon-beta2 {color:inherit!important}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaButton {background:#f7d8a6!important;color:#664214!important;border-color:#f8e3c4}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-primary-beta2 {background:#94d9b4!important;color:#16472e!important;border-color:#b6e7cc}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-kitchen-beta2 {background:#d9cef2!important;color:#4f3578!important;border-color:#e6ddf8}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-kitchen-beta2.running {background:#c3e8d7!important;color:#215c43!important}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-kitchen-beta2.alarm-blink {background:#ffd2ce!important;color:#8a251b!important}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-kitchen-beta2.disabled {background:#ccd6e4!important;color:#485971!important}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-dock-more-beta2 {background:#d1dceb!important;color:#304867!important}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-sheet-beta2 {background:#eff4fa;color:#23364c;border-color:#afc1d6;box-shadow:0 -12px 40px #13253d66}
/* Dialog frame. Interior working panels keep light text/background pairs. */
html[data-staff-theme="dark"] body.room-home-beta2 .modal-overlay {background:rgba(17,30,46,.44)}
html[data-staff-theme="dark"] body.room-home-beta2 .popup-box,
html[data-staff-theme="dark"] body.room-home-beta2 .modal-content,
html[data-staff-theme="dark"] body.room-home-beta2 .sumup-wait-box {color:#233449;box-shadow:0 24px 70px #13253b59,0 1px 0 #ffffff40 inset}
html[data-staff-theme="dark"] body.room-home-beta2 .popup-box {border-radius:21px;border:1px solid #c7d3e2}
/* Workspace: cool catalog, warm bill, dark navigation. */
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta {
 --table-bg:#425163;--table-surface:#f2f6fb;--table-text:#213247;--table-secondary:#516174;
 --table-separator:#becbdd;--table-blue:#2567b7;--table-green:#247347;--table-red:#ae302a;
 background:#425163!important;color:#213247;
}
html[data-staff-theme="dark"] body.room-home-beta2.table-workspace-open-beta2 #modalOverlay {background:#425163}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .modal-header {background:#3c5068;color:#f2f7ff;border-color:#8194aa;box-shadow:none}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta #mTitle,
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta #mPin {color:#f5f9ff!important}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .table-context-label,
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .table-setting-control>span,
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .table-control-label {color:#cfdaea}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .table-choice-trigger,
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-tool {background:#e1ebf8;color:#263f61;border-color:#b8cce3;border-radius:10px}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .table-pin-control {background:#415875!important;border-color:#829bb7!important}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-close-header {background:#f0d6d5;color:#7c2f2b;border-color:#ecc6c4;border-radius:10px}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .modal-body-split {background:#425163}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .split-left {background:#ecf2fa;border-color:#cad9eb;border-radius:15px}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .split-right {background:#fff8ee;border-color:#ecdbbf;border-radius:15px}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .workspace-order-label {background:#f3e4cd;color:#4f3922;border-color:#dec7a5}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .workspace-order-label span {color:#4f3922}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .workspace-order-label small {color:#6b5033}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .cat-nav {background:#dce7f4;border-color:#b4c7df}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .cat-tab {background:#f4f8fd;color:#345173;border-color:#aebfd4;border-radius:10px;font-weight:650}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .cat-tab.active {background:#2b6dc8;color:#fff;border-color:#2360b5;box-shadow:0 3px 7px #254d8524}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .products-container {background:#ecf2fa}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .prod-card {background:#fcfdff;color:#213247;border-color:#bdcee1;border-radius:12px;box-shadow:0 3px 7px #233c5914}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .prod-name {color:#24364e;font-weight:650}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .prod-price {color:#235d9f}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .order-list {background:#fff8ee}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .order-row {background:#fffdf9;border-color:#ddcfbc;color:#26364b;border-radius:11px;box-shadow:0 2px 5px #7b5b3410}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .order-row.is-paying {background:#ffe2b5!important;border-color:#cc8928!important;box-shadow:inset 3px 0 #cc8928}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .discount-row {background:#e5f2e8;border-color:#a8ccb0}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .discount-label,
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .discount-amount {color:#28633a}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-circle {border:1px solid #43635a30}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-minus {background:#f0d5d1;color:#843b30}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-plus {background:#bee5cd;color:#255b3a}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-delete-x {background:#f7e0dc;color:#a1372e;border-color:#dab2ab}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-bell-mini {background:#f5deb2;color:#664613}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .pay-btn-zero {background:#e4ebf4;color:#39516f;border:1px solid #acbdd2}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .pay-btn-partial {background:#f1bb72;color:#593511}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .pay-btn-full {background:#a7d9b8;color:#235335}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .modal-footer {background:#3c5068;border-color:#7189a3;box-shadow:none}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-footer-std {border:1px solid #c6d6e8;border-radius:11px;font-weight:650;box-shadow:0 2px 5px #182b4426}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-close-big {background:#f3d5d2;color:#82352c;border-color:#ecc4bf}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-unisci {background:#d4dafa;color:#394b8d}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-separato {background:#f9d5a3;color:#774512;border-color:#f4dfc2}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-diviso {background:#decdf0;color:#62418a}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-discount {background:#d8e8f5;color:#335b7e}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-scontrino {background:#91d7af;color:#184b2e;border-color:#b4e6ca}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .btn-scontrino:disabled {background:#c9d2dc!important;color:#596575!important;border-color:#9babbe!important}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .total-label {color:#cadbef}
html[data-staff-theme="dark"] body.room-home-beta2 .table-workspace-beta .total-value {color:#f5f9ff}
/* Payments: clear total, green cash, blue card, amber and lilac tickets. */
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .payment-modal-box {background:#455972;color:#eaf2ff;border:1px solid #839bb8;box-shadow:0 24px 70px #152b4866}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal #paymentModalTitle {color:#f3f7ff!important;font-weight:700;letter-spacing:-.025em}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .payment-actions-panel {background:#eaf1f9;color:#24364f;border-color:#cbdaec;border-radius:16px}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .vip-payment-box {background:#fff5e4;color:#503d22;border-color:#f1d7ad;border-radius:16px}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .fattura-payment-box {background:#eeeaf8;color:#443456;border-color:#d7c9eb;border-radius:16px}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .vip-payment-title {color:#634619}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .fattura-title {color:#574177}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal #payModalDisplay {background:#d2e3f9!important;color:#193f75!important;border:1px solid #9ab9df!important;border-radius:13px!important;box-shadow:inset 0 1px 0 #ffffff80;font-weight:750!important;font-variant-numeric:tabular-nums}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .vip-pay-btn {border:1px solid #a7c1de;border-radius:12px;font-weight:700!important;box-shadow:0 2px 4px #294f801f,inset 0 1px 0 #ffffff30}
html[data-staff-theme="dark"] body.room-home-beta2 button[data-payment-device="cashmatic"] {background:#86d1ad!important;color:#16452e!important;border-color:#65b98f!important}
html[data-staff-theme="dark"] body.room-home-beta2 button[data-payment-device^="sumup_"],
html[data-staff-theme="dark"] body.room-home-beta2 button[data-pos-iphone] {background:#2b6dcb!important;color:#fff!important;border-color:#1e5caf!important}
html[data-staff-theme="dark"] body.room-home-beta2 button[data-manual-pos] {background:#d8e8fc!important;color:#23538e!important;border-color:#93b6e3!important}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal button[data-staff-permission="table.close_without_receipt"] {background:#f4d7d4!important;color:#87352d!important;border-color:#d7a39c!important}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal button[onclick*="startTicketSplitWizard"] {background:#ddcef1!important;color:#583881!important;border-color:#b49acf!important}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal button[onclick*="startTicketSplitWizard('paper')"] {background:#f7d7a7!important;color:#744514!important;border-color:#d9b273!important}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .btn-conf-no {background:#d0dbe9;color:#30445f;border:1px solid #9cafc8;font-weight:700}
html[data-staff-theme="dark"] body.room-home-beta2 #vipManualButton {background:#8b5a1b;color:#fff;border:1px solid #76501f}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .fattura-search-row button,
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .fattura-new-btn {background:#735598;color:#fff;border:1px solid #694b8f}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .vip-manual-row input,
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .fattura-search-row input {background:#fff;color:#25364e;border-color:#acbad0}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal input::placeholder {color:#596779;opacity:1}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .fattura-only-btn {background:#ded5ef;color:#533d71;border-color:#b6a5cd}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .fattura-only-btn.active {background:#725298;color:#fff;border-color:#68458c}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .vip-pay-btn:disabled {opacity:.45;box-shadow:none}
/* Terminal status is a bright sheet against the room's dark background. */
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug {background:#f1f7f4!important;color:#274236!important;border:1px solid #a4c5b4;border-radius:18px;box-shadow:0 18px 50px #132a4059}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug #cmStatusHeader {background:#d1e8db;color:#274236;border-color:#8eb49e}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug #cmDisplayAmount {color:#22663f}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug #cmMoneySummary {background:#e5f0e9;color:#234434;border-color:#9cbba8}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug #cmLogs {background:#fff;color:#334b3d;border-color:#bbcfc3}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug .cm-btn-grey {background:#d7e2ed;color:#304b6a;border:1px solid #9eb5cd}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug .cm-btn-yellow {background:#f6d19b;color:#734410;border:1px solid #d9ae6d}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug .cm-btn-red {background:#f5cfca;color:#87392e;border:1px solid #d7a49b}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticDebug #cmBtnOk {background:#26764e;color:#fff;border-color:#226a46}
html[data-staff-theme="dark"] body.room-home-beta2 #sumupWaitModal .sumup-wait-box {background:#edf4fd;border-color:#afc7e5}
html[data-staff-theme="dark"] body.room-home-beta2 #sumupWaitModal #sumupWaitAmount {color:#245796}
html[data-staff-theme="dark"] body.room-home-beta2 #sumupWaitModal .sumup-cancel-btn {background:#d8e5f6;color:#304d70;border:1px solid #97b5db}
/* Take Away: distinctly colored tabs, white orders and mint paid orders. */
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel {background:#eff4fa;border:1px solid #adc0d9;border-radius:17px;--takeaway-section-bg:#d7e6f7;--takeaway-section-accent:#2c5c94;box-shadow:0 14px 38px #15273f47}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel[data-order-tab="consegne"] {--takeaway-section-bg:#e5dcf3;--takeaway-section-accent:#65468a}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-head {background:#344c6b;color:#f5f8ff}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-tabs {background:#edf2f8}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-tab {background:#cfdbea;color:#3e5573}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-tab.active {background:var(--takeaway-section-bg);color:var(--takeaway-section-accent);border-top-color:var(--takeaway-section-accent)}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-card,
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-card.consegna:not(.pagato) {background:#fffdf9;color:#23364d;border-color:#b6c5d7;border-left-color:#7695ba}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-card.pagato {background:#cfe9d9;border-color:#8fb59d;border-left-color:#448b61}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-actions button {background:#e0e8f3;color:#364e70;border-color:#aec0d6;border-radius:8px}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-actions .ritiri-pay {background:#27754e;color:#fff;border-color:#216845}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .ritiri-actions .ritiri-receipt {background:#cbdff6;color:#2d5180;border-color:#9ebadb}
html[data-staff-theme="dark"] body.room-home-beta2 #ritiriCassaPanel .tk-live {background:#d5eafa;color:#245b82;border-color:#91bdd9}
/* Secondary dialogs remain light, intentionally, including numeric keypads and logs. */
html[data-staff-theme="dark"] body.room-home-beta2 #romanNumpadModal .popup-box,
html[data-staff-theme="dark"] body.room-home-beta2 #romanMultiModal .popup-box,
html[data-staff-theme="dark"] body.room-home-beta2 #separateModal .popup-box {background:#ecf2fa}
html[data-staff-theme="dark"] body.room-home-beta2 #romanNumpadModal .numpad-btn,
html[data-staff-theme="dark"] body.room-home-beta2 #romanMultiModal .numpad-btn {background:#fff;color:#29466d;border-color:#bdcee4;box-shadow:0 2px 4px #263f641a}
html[data-staff-theme="dark"] body.room-home-beta2 #romanNumpadModal .numpad-btn.btn-enter,
html[data-staff-theme="dark"] body.room-home-beta2 #romanMultiModal .numpad-btn.btn-enter {background:#2b6dcb!important;color:#fff}
html[data-staff-theme="dark"] body.room-home-beta2 #romanNumpadModal .numpad-btn[onclick*="CLEAR"],
html[data-staff-theme="dark"] body.room-home-beta2 #romanMultiModal .numpad-btn[onclick*="CLEAR"] {background:#f4d7d4!important;color:#87352d}
html[data-staff-theme="dark"] body.room-home-beta2 #paymentModal .vip-empty {color:#596472}
html[data-staff-theme="dark"] body.room-home-beta2 #separateModal .btn-big-green[onclick="showSeparatePayment()"] {background:#27754e!important;color:#fff}
html[data-staff-theme="dark"] body.room-home-beta2 #cashmaticManualModal .bar-sale-cart-empty {color:#526278}
@media(prefers-reduced-motion:reduce) {
 html[data-staff-theme="dark"] body.room-home-beta2 .card.waiter-call,
 html[data-staff-theme="dark"] body.room-home-beta2 .card.bill-call {animation:none!important}
}
}

/* Secondary panels share the soft slate frame; status colors remain distinct. */
@media screen {
html[data-staff-theme="dark"] body.room-home-beta2 #notificationHistoryButton,
html[data-staff-theme="dark"] body.room-home-beta2 #operatorInfoButton {
 background:#526982;color:#f5f8fc;border-color:#8fa1b5;
}
html[data-staff-theme="dark"] body.room-home-beta2 #notificationHistoryButton.is-open {
 background:#765c3c;color:#fff3d4;border-color:#e6bd79;
}
html[data-staff-theme="dark"] body.room-home-beta2 #notificationHistoryButton.is-open > strong {
 background:#ffdb9a;color:#59401f;
}
html[data-staff-theme="dark"] body.room-home-beta2 #operatorInfoButton.is-open {
 background:#44685d;color:#f1fff7;border-color:#9bd7b9;
}
html[data-staff-theme="dark"] body.room-home-beta2 #notificationHistoryPanel,
html[data-staff-theme="dark"] body.room-home-beta2 #operatorInfoPanel {
 background:#4b5f74;color:#f4f7fc;border-color:#8b9eb3;
 box-shadow:0 16px 42px #20334b59;
}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-head,
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-foot,
html[data-staff-theme="dark"] body.room-home-beta2 .operator-info-head {
 background:#3e5269;color:#f5f8fc;border-color:#8094ab;
}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-head strong,
html[data-staff-theme="dark"] body.room-home-beta2 .operator-info-row > strong {
 color:#f5f8fc;
}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-head button,
html[data-staff-theme="dark"] body.room-home-beta2 .operator-info-close {
 background:#d3dfed;color:#293f58;
}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-item {
 --history-color:#d1fbe2;background:#566b81;border-color:#8194ab;
 border-left-color:var(--history-color);
}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-item.is-error {--history-color:#ffe7e3}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-item.is-warning {--history-color:#fff0cb}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-item.is-info {--history-color:#d9efff}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-item p {color:#f5f8fc}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-item-head time,
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-empty,
html[data-staff-theme="dark"] body.room-home-beta2 #notificationHistoryReadStatus,
html[data-staff-theme="dark"] body.room-home-beta2 .operator-info-row > span {
 color:#e3ecf6;
}
html[data-staff-theme="dark"] body.room-home-beta2 .notification-history-more {
 background:#d4e5fa;color:#254975;border-color:#9abce7;
}
html[data-staff-theme="dark"] body.room-home-beta2 #notificationHistoryReadStatus {
 background:#765c3c;color:#fff0d8;border-color:#d8ad70;
}
html[data-staff-theme="dark"] body.room-home-beta2 .operator-info-row {
 background:#566b81;color:#f5f8fc;border-color:#8194ab;
}
html[data-staff-theme="dark"] body.room-home-beta2 #staffDockMoreButtonBeta2 {
 background:#556f8b!important;color:#f5f8fc!important;border-color:#9aafc5;
}
html[data-staff-theme="dark"] body.room-home-beta2 #staffDockMoreButtonBeta2.is-open {
 background:#d3dfed!important;color:#293f58!important;border-color:#b6c8df;
}
html[data-staff-theme="dark"] body.room-home-beta2 .top-bar.staff-more-sheet-beta2 {
 background:#4b5f74;color:#f5f8fc;border-color:#8b9eb3;
 box-shadow:0 -12px 40px #20334b59;
}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-handle-beta2 {background:#b5c5d7}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-title-beta2 {color:#f5f8fc}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-close-beta2 {background:#d3dfed;color:#293f58}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-sheet-beta2 .staff-more-action-beta2,
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-sheet-beta2 .btn-style.staff-more-action-beta2 {
 background:#dce7f5;color:#2b435f;border-color:#b4c8df;
}
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-msg {background:#f5d4a2;color:#5c411d;border-color:#d6b27e}
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-whatsapp-staff,
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-theme-open {background:#bce1ce;color:#26543e;border-color:#95c9ae}
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-fatture-list {background:#ddd2f0;color:#513f6f;border-color:#baa6db}
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-special-menus,
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-register {background:#f2d0bb;color:#653f2d;border-color:#d8ad96}
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-menu-open {background:#bedcf5;color:#294c70;border-color:#98bedf}
html[data-staff-theme="dark"] body.room-home-beta2 #staffMoreSheetBeta2 .btn-server-print.running {background:#bce1ce;color:#26543e;border-color:#95c9ae}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-sheet-beta2 .staff-more-action-beta2:active {background:#c7d8eb}
html[data-staff-theme="dark"] body.room-home-beta2 .staff-more-sheet-beta2 .staff-more-reset-beta2 {
 background:#f3ccc8;color:#802f29;border-color:#dca6a0;
}
}
