:root{--bg:#f5f6f2;--paper:#fff;--ink:#172b25;--muted:#81908a;--line:#e6eae4;--green:#d9efc2;--accent:#416a35;--red:#b94b40;--yellow:#f9eac6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;transition:background .15s,transform .15s}button:disabled{opacity:.5;cursor:wait}button:active{transform:translateY(1px)}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:550}button:hover{background:#eef2e8}.primary{background:var(--ink);border-color:var(--ink);color:white}.primary:hover{background:#2b473d}.soft{background:var(--green);border-color:var(--green)}.danger{color:var(--red)}.iconbtn{padding:9px}.layout{display:grid;grid-template-columns:225px 1fr;min-height:100vh}.sidebar{background:var(--ink);color:#a7b4ae;position:fixed;inset:0 auto 0 0;width:225px;padding:33px 20px 20px;display:flex;flex-direction:column}.brand{color:white;display:flex;gap:11px;align-items:center;font-weight:750;font-size:20px;letter-spacing:-.7px;padding:0 9px}.brand-mark{width:35px;height:35px;background:#c7e9a4;color:var(--ink);display:grid;place-items:center;border-radius:10px;font-size:24px;font-weight:700}.brand small{display:block;color:#84988b;font-size:9px;letter-spacing:2.1px;margin-top:1px}.nav-label{font-size:10px;letter-spacing:1.8px;margin:42px 13px 12px}.nav{display:grid;gap:6px}.nav button{justify-content:flex-start;border:none;background:none;color:#a7b4ae;padding:13px 15px}.nav button.active{background:#c7e9a4;color:var(--ink)}.nav button:not(.active):hover{background:#294037}.nav button svg{width:18px}.sidebar-footer{margin-top:auto;border-top:1px solid #30443b;padding:21px 10px 0;font-size:11px}.sidebar-footer .connected{color:#bed8a8;display:flex;gap:7px;align-items:center}.dot{width:6px;height:6px;background:currentColor;display:inline-block;border-radius:50%;flex-shrink:0}.main{grid-column:2;padding:0 42px 36px;min-width:0}.topbar{height:90px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:14px}.breadcrumb{color:var(--muted);font-size:12px}.breadcrumb strong{font-weight:500;color:var(--ink);margin-left:10px}.top-actions{display:flex;gap:10px;align-items:center}.clock{font-variant-numeric:tabular-nums;font-size:12px;margin-right:8px}.avatar{background:#dfe7d7;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:11px;font-weight:700}.page-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:34px 0 26px}h1{font-size:29px;line-height:1.2;letter-spacing:-1px;margin:0 0 9px;font-weight:650}p{margin:0;color:var(--muted)}h2{font-size:17px;letter-spacing:-.4px;margin:0}h3{font-size:17px;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.stat .label{color:#78857c;font-size:12px;display:flex;justify-content:space-between;align-items:center}.stat .label svg{width:17px;color:#8b9e82}.stat .value{font-size:27px;letter-spacing:-1px;font-weight:600;margin:12px 0 3px;font-variant-numeric:tabular-nums}.stat .value small{font-size:12px;letter-spacing:0;font-weight:400;margin-left:4px}.stat .caption{font-size:11px;color:var(--muted)}.stat.featured{background:var(--ink);color:white;border-color:var(--ink)}.stat.featured .label,.stat.featured .caption{color:#aabdac}.stat.featured svg{color:#c7e9a4}.sectionbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.tabs{display:flex;gap:3px;padding:4px;background:#eaece6;border-radius:10px;flex-wrap:wrap}.tabs button{padding:6px 14px;border:0;font-size:12px;background:transparent;color:#7b857e}.tabs button.active{background:white;color:var(--ink);box-shadow:0 1px 3px #172b2510}.tabs .count{font-size:10px;background:#eff1eb;border-radius:5px;padding:0 5px}.rooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.room{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;overflow:hidden}.room-top{display:flex;justify-content:space-between;align-items:center}.room-title{display:flex;gap:11px;align-items:center}.room-icon{width:42px;height:42px;border:1px solid var(--line);display:grid;place-items:center;border-radius:12px;background:#f6f8f2}.room-icon svg{width:24px;height:24px}.sub{font-size:11px;color:var(--muted);margin-top:2px}.badge{font-size:10px;border-radius:6px;padding:4px 8px;display:inline-flex;align-items:center;gap:5px;background:#f1f4ee;color:#708365;white-space:nowrap}.badge.busy{background:#e9f2df;color:#66854c}.badge.vip{background:#f3eddf;color:#9b7a32}.badge.expired{background:#fae8e4;color:var(--red)}.room-center{text-align:center;padding:24px 0 20px;min-height:139px}.timer{font-size:34px;letter-spacing:-1.5px;font-weight:550;font-variant-numeric:tabular-nums;line-height:1.25}.timer.empty{color:#abb4a6;font-size:30px;letter-spacing:-1px}.timer-label{font-size:10px;color:var(--muted);letter-spacing:.8px;text-transform:uppercase;margin-bottom:6px}.timer-note{font-size:11px;color:var(--muted);margin-top:7px}.progress{height:4px;background:#edf0e8;border-radius:4px;margin-bottom:19px;overflow:hidden}.progress span{display:block;background:#adc58c;height:100%;transition:width 1s linear}.room.expired .timer{color:var(--red)}.room.expired .progress span{background:#d0887f}.room-cost{display:flex;justify-content:space-between;font-size:12px;padding-bottom:17px;border-bottom:1px solid var(--line);color:#7b877f}.room-cost strong{color:var(--ink);font-size:14px;font-weight:600}.room-actions{display:flex;gap:8px;margin-top:16px}.room-actions button{font-size:12px;padding:9px 10px}.room-actions .start,.room-actions .checkout{flex:1}.room-actions .start{background:#f5f7f1;border-color:#e9eddf}.empty-note{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-top:24px}.panel{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden}.panel-head{padding:21px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-body{padding:24px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted);font-weight:500;background:#fafbf8}td,th{padding:16px 22px;border-bottom:1px solid #edf0e9}tr:last-child td{border-bottom:0}td strong{font-weight:600}.muted{color:var(--muted)}.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}.empty-state svg{width:32px;height:32px;margin-bottom:12px}.empty-state h3{color:var(--ink);margin-bottom:8px;font-size:16px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stack{display:grid;gap:20px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{display:grid;gap:7px;font-size:12px;font-weight:500}input,select{border:1px solid #dfe4d9;background:#fff;padding:11px 12px;border-radius:9px;color:var(--ink);min-width:0;width:100%}input:focus,select:focus{outline:2px solid #adc58c;outline-offset:1px}.field{margin-bottom:17px}.full{grid-column:1/-1}.help{font-size:11px;color:var(--muted);margin-top:8px}.switchrow{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:18px}.switchrow input{width:19px;height:19px;accent-color:var(--ink)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.modal-head h2{font-size:21px}.modal-head button{border:0;padding:5px}.modal-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:23px}.modal-actions button{flex:1}.summary{background:#f5f7f0;padding:16px;border-radius:10px;margin:18px 0;display:grid;gap:9px}.summary-row{display:flex;justify-content:space-between;font-size:12px}.summary-row.total{border-top:1px solid var(--line);padding-top:10px;font-weight:650;font-size:15px}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:min(490px,calc(100% - 28px));max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #0003}dialog::backdrop{background:#152a2560;backdrop-filter:blur(3px)}.notice{font-size:12px;background:#faf0d8;border:1px solid #efdfb3;padding:13px 15px;border-radius:10px;color:#8d7034;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.notice.hidden{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:var(--ink);color:white;border-radius:11px;box-shadow:0 6px 24px #0002;z-index:99;display:none;max-width:90vw}#toast.show{display:block}.auth{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 15% 0%,#e4ecd9,transparent 60%),#f5f6f2}.auth-card{background:#fff;padding:40px;border:1px solid var(--line);border-radius:20px;width:min(420px,100%)}.auth-card .brand{color:var(--ink);padding:0;margin-bottom:35px}.auth-card h1{font-size:25px}.auth-card p{font-size:13px;margin-bottom:25px}.auth-card button[type=submit]{width:100%;margin-top:8px}.err{color:var(--red);font-size:12px;margin-top:10px;min-height:18px}.loading{display:grid;place-items:center;min-height:100vh;color:var(--muted)}.pill{border:1px solid var(--line);border-radius:9px;padding:7px 12px;font-size:11px}.listrow{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);gap:10px}.listrow:last-child{border:0}.listrow .buttons{display:flex;gap:5px}.listrow button{padding:6px;border-radius:7px}.report-bars{display:flex;align-items:flex-end;gap:5px;height:180px;padding:20px 0 0}.bar-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;height:100%;align-items:center;gap:7px}.bar-col .bar{background:#b7d797;width:100%;max-width:32px;min-height:2px;border-radius:4px 4px 0 0}.bar-col small{font-size:8px;color:var(--muted)}.search{max-width:260px;padding:9px 12px}.pagecontrols{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;font-size:12px}.mobile-brand{display:none}.alarm-banner{position:sticky;top:0;z-index:8;background:#fbebe6;border-bottom:1px solid #e9b6a7;padding:11px 15px;display:flex;align-items:center;justify-content:space-between;color:#a14d3f}.alarm-banner button{padding:5px 9px;font-size:11px}.auth-note{margin-top:20px;font-size:11px;color:var(--muted);text-align:center}.tag{font-size:10px;color:#87947e;background:#eff3e9;padding:3px 7px;border-radius:5px}.footer-note{font-size:11px;color:#98a18f;display:flex;justify-content:space-between;margin-top:28px}.receipt-line{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.settings-actions{margin-top:18px}.sectionbar .right{display:flex;gap:10px;align-items:center}.debt-amount{color:var(--red);font-weight:600}a{color:var(--accent);text-decoration:none}button .dot{width:5px;height:5px}@media(min-width:1600px){.main{padding-left:60px;padding-right:60px}.rooms{grid-template-columns:repeat(3,1fr)}}@media(max-width:1200px){.main{padding:0 25px 30px}.rooms{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:200px 1fr}.sidebar{width:200px}.stats{gap:10px}.stat{padding:16px}.stat .value{font-size:23px}.grid2{grid-template-columns:1fr}}@media(max-width:800px){.layout{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:70px;padding:8px 6px;z-index:20;display:block}.sidebar .brand,.nav-label,.sidebar-footer{display:none}.nav{display:flex;justify-content:space-around;gap:0}.nav button{font-size:9px;flex-direction:column;padding:7px 5px;gap:4px;border-radius:9px;flex:1}.nav button svg{width:19px;height:19px}.main{padding:0 18px 96px}.topbar{height:70px}.breadcrumb{display:none}.mobile-brand{display:flex;font-size:17px;font-weight:700;align-items:center;gap:8px}.mobile-brand .brand-mark{width:28px;height:28px;font-size:20px}.clock{display:none}.top-actions{gap:7px}.top-actions .iconbtn{padding:6px}.page-head{margin-top:26px}h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:25px}.stat .value{font-size:24px}.rooms{gap:12px}.room{padding:17px}.room-title{gap:8px}.room-title h3{font-size:15px}.room-icon{display:none}.timer{font-size:29px}.sectionbar{flex-wrap:wrap}.page-head>button{font-size:11px;padding:10px}.room-actions{gap:5px}.room-actions button{padding:8px;font-size:10px}.room-actions svg{width:16px;height:16px}.sectionbar .tabs{max-width:100%}.panel-head{padding:17px}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}.footer-note{font-size:9px}.top-actions button span{display:none}}@media(max-width:470px){.rooms{grid-template-columns:1fr}.room{padding:20px}.room-icon{display:grid}.room-center{padding:20px 0}.timer{font-size:36px}.room-actions button{font-size:12px}.room-title h3{font-size:17px}.page-head{align-items:flex-start}.auth-card{padding:28px}.sectionbar .right{flex-wrap:wrap}.stat .value{font-size:22px}.notice{font-size:10px}}
/* iOS-inspired controls and appearance */
:root{--bg:#f2f3f5;--ios-green:#34c759;--ios-blue:#007aff;--surface:#fff;--surface2:#f5f6f2;--control:#e9ece6;color-scheme:light}body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased}button{border-radius:13px;min-height:42px;font-weight:600;transition:background .18s,box-shadow .18s,transform .15s}button:active{transform:scale(.97)}input,select{border-radius:12px;min-height:44px;background:var(--surface);font-size:15px}input[readonly]{background:var(--surface2);color:var(--accent)}.tabs{background:#e4e7e1;border-radius:11px;padding:3px;gap:2px}.tabs button{min-height:31px;border-radius:8px;box-shadow:none;font-weight:550}.tabs button.active{box-shadow:0 2px 6px #172b2518}.switchrow{padding:15px 16px;border:0;background:var(--surface2);border-radius:15px;gap:18px}.switchrow input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;width:51px;height:31px;min-height:31px;padding:0;border:0;border-radius:20px;background:#dce1da;flex:none;cursor:pointer;transition:background .2s;box-shadow:inset 0 1px 2px #00000008}.switchrow input[type=checkbox]::after{content:"";position:absolute;left:2px;top:2px;width:27px;height:27px;border-radius:50%;background:white;box-shadow:0 2px 4px #0003;transition:transform .22s cubic-bezier(.2,.8,.2,1)}.switchrow input[type=checkbox]:checked{background:var(--ios-green)}.switchrow input[type=checkbox]:checked::after{transform:translateX(20px)}.switchrow input[type=checkbox]:focus-visible{outline:3px solid #007aff88;outline-offset:3px}.switchrow .sub{font-size:11px;max-width:290px}.room{border-radius:20px}.room[data-session]{cursor:pointer}.room[data-session]:hover{border-color:#b7cba7;box-shadow:0 5px 22px #172b2507}.room[data-session]:focus-visible{outline:3px solid #96bd73;outline-offset:3px}dialog{border-radius:23px;background:var(--surface);padding:26px;scrollbar-width:thin}.modal-head{margin-bottom:18px}.modal-head button{width:31px;height:31px;min-height:31px;background:var(--surface2);border-radius:50%}.modal-head button svg{width:17px;height:17px}.modal-actions{position:sticky;bottom:-26px;padding-top:14px;padding-bottom:3px;background:var(--surface);z-index:2}.modal-actions button{border-radius:14px;min-height:46px}.topbar{background:color-mix(in srgb,var(--bg) 84%,transparent);backdrop-filter:blur(20px)}.order-intro{font-size:12px;line-height:1.6;margin:0 0 18px}.order-row{position:relative;padding:15px;background:var(--surface2);border-radius:17px;margin-bottom:12px;border:1px solid var(--line)}.order-row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.row-number{color:var(--muted);font-size:11px;font-weight:600}.order-row-head button{min-height:25px;width:25px;height:25px;padding:3px;background:transparent;border:0}.order-row-head svg{width:16px;height:16px}.order-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px}.name-field{margin-bottom:12px}.price-source{font-size:10px;color:var(--muted);font-weight:400}.price-source.from-catalog{color:var(--accent)}.product-suggestions{position:relative;margin:-4px 0 13px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px;max-height:200px;overflow-y:auto;box-shadow:0 5px 15px #172b250a}.product-suggestions[hidden]{display:none}.product-suggestions button{width:100%;justify-content:space-between;min-height:39px;border:0;font-size:12px;text-align:left;border-radius:8px;background:transparent}.product-suggestions button:hover,.product-suggestions button:focus{background:var(--green)}.product-suggestions strong{font-size:11px;font-weight:500;color:var(--muted)}.add-order{width:100%;background:transparent;border:1px dashed #b7c4ae;color:var(--accent);font-size:13px;min-height:44px}.existing-orders{font-size:12px;color:var(--muted);margin-top:18px}.existing-orders summary{cursor:pointer}.bonus-notice{background:#eaf5df;color:#57783b;padding:12px 14px;border-radius:13px;font-size:12px;margin:0 0 17px}.bonus-notice.is-debt{background:#fbebe4;color:#a15e44}.alarm-dialog{text-align:center;width:min(360px,calc(100% - 35px));padding:30px 24px 23px;border:1px solid #ffffff40;background:color-mix(in srgb,var(--surface) 95%,transparent);backdrop-filter:blur(35px);box-shadow:0 30px 90px #0004;overflow:hidden}.alarm-dialog::backdrop{background:#0d191273;backdrop-filter:blur(7px)}.alarm-symbol{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 18px;border-radius:22px;background:#fff0dc;color:#c58b36;animation:alarm-glow 1.1s ease-in-out infinite}.alarm-symbol svg{width:32px;height:32px}.alarm-dialog h2{font-size:23px;margin:0 0 8px}.alarm-dialog #alarmnames{color:var(--ink);font-size:16px;font-weight:600;margin-bottom:10px}.alarm-dialog #alarmdescription{font-size:12px;line-height:1.6;margin-bottom:22px}.alarm-dialog .alarm-ok{width:100%;font-size:16px;border-radius:14px;min-height:47px}.alarm-dialog #alarmsoundhint button{margin-bottom:14px;font-size:12px;width:100%}@keyframes alarm-glow{0%,100%{box-shadow:0 0 0 0 #dfaa4f20}50%{box-shadow:0 0 0 10px #dfaa4f10}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}[hidden]{display:none!important}
:root[data-theme=dark]{color-scheme:dark;--bg:#101712;--surface:#1b251e;--surface2:#222e25;--paper:#1b251e;--ink:#e6eee4;--muted:#94a490;--line:#324132;--green:#344b29;--accent:#b6dc96;--yellow:#453a21;--red:#f09483}html[data-theme=dark] body{background:var(--bg);color:var(--ink)}[data-theme=dark] .sidebar{background:#132219}[data-theme=dark] .brand-mark{background:#c7e9a4;color:#172b25}[data-theme=dark] .brand{color:#edf4e9}[data-theme=dark] .brand small{color:#94ab8e}[data-theme=dark] .nav button{color:#b6c5af}[data-theme=dark] .nav button.active{background:#c7e9a4;color:#172b25}[data-theme=dark] .sidebar-footer{border-color:var(--line)}[data-theme=dark] .room,[data-theme=dark] .stat,[data-theme=dark] .panel,[data-theme=dark] .auth-card{background:var(--surface);border-color:var(--line)}[data-theme=dark] button{background:#27382b;border-color:var(--line);color:var(--ink)}[data-theme=dark] button:hover{background:#354a2d}[data-theme=dark] button.primary{background:#c4e6a5;color:#172b25;border-color:#c4e6a5}[data-theme=dark] .stat.featured{background:#25432d;border-color:#355d3c}[data-theme=dark] .stat.featured .label,[data-theme=dark] .stat.featured .caption{color:#b2c7aa}[data-theme=dark] input,[data-theme=dark] select{background:var(--surface2);border-color:#42543f;color:var(--ink)}[data-theme=dark] input[readonly]{background:#2c3c28;color:#b7dba0}[data-theme=dark] .room-icon,[data-theme=dark] .summary,[data-theme=dark] .room-actions .start{background:var(--surface2);border-color:var(--line)}[data-theme=dark] .badge{background:#2b3e28;color:#b7cda6}[data-theme=dark] .badge.busy{background:#304929;color:#bdd8a6}[data-theme=dark] .badge.vip{background:#443e27;color:#e4cf8d}[data-theme=dark] .badge.expired{background:#51342d;color:#f1b19e}[data-theme=dark] .tabs{background:#263129}[data-theme=dark] .tabs button{background:transparent;color:#adbaa4}[data-theme=dark] .tabs button.active{background:#40523b;color:#edf4e9}[data-theme=dark] .tabs .count{background:#33432e;color:#c5d8b7}[data-theme=dark] .progress{background:#30402f}[data-theme=dark] .tag{background:#2d3f28;color:#b2c6a1}[data-theme=dark] th{background:#243025}[data-theme=dark] td{border-color:var(--line)}[data-theme=dark] .avatar{background:#384f2e;color:#d2e6bf}[data-theme=dark] .notice{background:#3a3521;border-color:#51492e;color:#d4c394}[data-theme=dark] .bonus-notice{background:#304627;color:#c4dfac}[data-theme=dark] .bonus-notice.is-debt{background:#49332b;color:#e7af95}[data-theme=dark] .timer.empty{color:#6c7c65}[data-theme=dark] .auth{background:radial-gradient(ellipse at 15% 0%,#253c23,transparent 60%),var(--bg)}[data-theme=dark] .switchrow input[type=checkbox]{background:#53604f}[data-theme=dark] .switchrow input[type=checkbox]:checked{background:#30d158}[data-theme=dark] .alarm-symbol{background:#4b3b24;color:#efc17a}[data-theme=dark] .add-order{background:transparent;border-color:#526b45}[data-theme=dark] .product-suggestions button{background:transparent}[data-theme=dark] .product-suggestions button:hover,[data-theme=dark] .product-suggestions button:focus{background:#344b29}[data-theme=dark] .alarm-dialog{background:#202c24f5}[data-theme=dark] .modal-head button{background:var(--surface2)}
@media(max-width:470px){dialog{padding:21px}.modal-actions{bottom:-21px}.order-row{padding:13px}.order-fields{grid-template-columns:minmax(0,1fr) 84px}.top-actions{gap:5px}.alarm-dialog{padding:28px 22px 22px}.switchrow .sub{max-width:225px}}
.topbar{min-height:98px;height:auto;padding:16px 0}.clock{font-size:26px;font-weight:650;letter-spacing:-.8px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:8px 12px;white-space:nowrap;display:inline-block!important;min-width:139px;text-align:center}.language-select{font-size:11px;min-height:38px;width:108px;padding:6px 8px;border-radius:10px;background:var(--surface)}.page-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.page-head-actions button{font-size:12px}.badge.paused{background:#fff0d3;color:#9a7228}.network-banner{padding:11px 15px;background:#fff0bc;border:1px solid #ecd177;color:#70591b;border-radius:12px;margin-top:16px;display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:12px}.network-banner span:first-child{font-weight:600;display:flex;align-items:center;gap:7px}.network-banner button{min-height:27px;padding:4px 9px;border-color:#d4b85c;background:#fff8dd;font-size:11px}.backup-button{width:100%;margin-top:16px;font-size:11px;border:0;background:transparent;color:var(--muted)}#connectionmodal p,#syncmodal p{font-size:13px;line-height:1.7}#syncmodal .summary strong{font-size:16px}.room-actions{flex-wrap:wrap}.room-actions .checkout{min-width:105px}.auth-language{display:flex;justify-content:flex-end;margin:-12px 0 20px}[data-theme=dark] .badge.paused{background:#4a4027;color:#e6cd8b}[data-theme=dark] .network-banner{background:#463e20;border-color:#68592e;color:#e9d590}[data-theme=dark] .network-banner button{background:#63552a;border-color:#8e7839;color:#fff0b5}@media(max-width:1050px){.topbar .breadcrumb{display:none}.top-actions{margin-left:auto}.clock{font-size:23px;min-width:126px}.page-head{align-items:flex-start}.page-head-actions{max-width:260px}}@media(max-width:800px){.topbar{min-height:92px;flex-wrap:wrap;padding:12px 0}.top-actions{gap:6px}.clock{font-size:21px;min-width:116px;padding:7px 8px}.language-select{width:93px;font-size:10px}.top-actions .avatar{display:none}.page-head{gap:10px}.page-head-actions{max-width:210px}.page-head-actions button{font-size:10px;padding:8px 10px;min-height:36px}.network-banner{font-size:10px}.room-actions .checkout{min-width:95px}}@media(max-width:500px){.topbar .mobile-brand{font-size:0;gap:0}.topbar .mobile-brand .brand-mark{font-size:22px;width:31px;height:31px}.top-actions{gap:4px}.clock{font-size:20px;min-width:104px;padding:7px 6px}.language-select{width:82px;padding:5px;font-size:10px}.top-actions .iconbtn{padding:6px;min-height:34px}.top-actions .iconbtn svg{width:16px}.page-head{flex-direction:column}.page-head-actions{max-width:none;justify-content:flex-start}.page-head-actions button{font-size:11px}.room-actions .checkout{flex:1}.network-banner span:last-child{font-size:9px}}
