:root{--ink:#182d29;--muted:#71847b;--paper:#f3f3ed;--surface:#fffefa;--line:#dce4dc;--green:#244f43;--lime:#dbf28c;--red:#a63334;--blue:#366d95;--radius:20px;font-family:'Avenir Next','PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 0,#e0e9d4 0,transparent 42%),var(--paper);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:var(--green);color:#fff;padding:12px 18px;border-radius:10px;transition:transform .15s}button:hover{transform:translateY(-1px)}button:disabled{opacity:.45;cursor:wait;transform:none}button.secondary{background:#e7ede5;color:var(--green)}button.danger{background:var(--red)}button.ghost{background:transparent;color:var(--green);border:1px solid var(--line)}a{color:var(--green)}input,select,textarea{border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px;width:100%;color:var(--ink)}label{display:grid;gap:8px;margin:14px 0;font-size:13px}h1,h2,h3,p{margin-top:0}h1{font-family:'Songti SC','STSong',serif;font-size:42px;font-weight:500;letter-spacing:1px}h2{font-size:21px}p{line-height:1.7}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:3px;text-transform:uppercase}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{padding:32px 22px;background:#183c33;color:#e3ebdf;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-family:'Songti SC',serif;font-size:31px;margin-bottom:5px}.sidebar .eyebrow{color:#b2c9a9;margin-bottom:42px}.nav{display:grid;gap:8px}.nav button{text-align:left;background:transparent;color:#c2d0c7}.nav button.active{background:var(--lime);color:#16392f}.sidebar .bottom{margin-top:auto;font-size:12px;color:#a9beb4;line-height:1.9}.main{padding:38px 44px;max-width:1600px;width:100%}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}.status-dot{display:inline-block;width:7px;height:7px;background:#719e53;border-radius:50%;margin-right:7px}.hero{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px;gap:20px}.hero p{margin:0;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:24px 0 32px}.metric{border-bottom:1px solid #bacbbb;padding:12px 8px 22px}.metric strong{font-size:38px;font-weight:500;display:block;font-variant-numeric:tabular-nums;margin:9px 0}.metric span{font-size:12px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:17px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:23px;animation:arrive .35s both}.card h3{font-size:18px;margin-bottom:8px}.room-num{font-family:'Baskerville','Songti SC',serif;font-size:44px;line-height:1.15}.room-card{min-height:190px;position:relative;overflow:hidden}.room-card:after{content:'';width:85px;height:85px;border:1px solid #e4e9df;border-radius:50%;position:absolute;right:-18px;top:-18px;pointer-events:none}.room-card.serving{background:#e8eee1}.room-card.dirty{background:#f7edda}.room-card.unpaid{background:#f8e9e1}.badge{display:inline-block;font-size:11px;letter-spacing:.5px;padding:5px 10px;border-radius:20px;background:#e6ecdf;color:#476548}.badge.red{background:#ffe1dd;color:#a23e34}.room-foot{margin-top:28px;font-size:12px;display:flex;align-items:center;justify-content:space-between}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spread{justify-content:space-between}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 18px;gap:12px}.section-head h2{margin:0}.table-wrap{overflow:auto;background:var(--surface);border-radius:16px;border:1px solid var(--line)}table{border-collapse:collapse;width:100%;font-size:13px}td,th{padding:16px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:11px;letter-spacing:1px;color:var(--muted);font-weight:500}tr:last-child td{border-bottom:0}td button{padding:7px 11px;font-size:12px}.empty{padding:55px;text-align:center;color:var(--muted);border:1px dashed #bacbbb;border-radius:15px}.login{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.login-art{background:#193e33;color:#edf4dd;padding:11vw 7vw;position:relative;overflow:hidden}.login-art:after{content:'';position:absolute;right:-180px;bottom:-190px;width:580px;height:580px;border:1px solid #638774;border-radius:50%;box-shadow:0 0 0 65px #244c3f,0 0 0 66px #456753,0 0 0 140px #1d4437}.login-art h1{font-size:68px;line-height:1.4;position:relative;z-index:1}.login-art p{color:#b8cbb8;position:relative;z-index:1}.login-form{max-width:440px;margin:auto;padding:40px;width:100%}.login-form h2{font-size:28px}.notice{font-size:12px;padding:13px 16px;background:#e8edde;border-radius:10px;line-height:1.8}.alert-banner{background:#9b2d2c;color:white;padding:20px;border-radius:15px;margin:20px 0}.alert-banner p{margin:7px 0}.alert-banner button{background:white;color:#8d2525}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 23px;border-radius:12px;background:#173f34;color:#fff;box-shadow:0 8px 30px #163b3022;display:none;z-index:10;max-width:90vw}dialog{border:none;border-radius:20px;padding:30px;max-width:520px;width:calc(100% - 28px);max-height:90vh;box-shadow:0 24px 90px #0003;color:var(--ink)}dialog::backdrop{background:#122a2366;backdrop-filter:blur(4px)}.close{position:absolute;right:15px;top:12px;background:transparent;color:#5d7165;padding:5px;font-size:24px}.preview{background:#eef1e8;border-radius:12px;padding:15px;margin:20px 0;line-height:1.9;word-break:break-word}.checkline{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.checkline input{width:auto}.clock{font-variant-numeric:tabular-nums}.small{font-size:12px}.warning{color:#a75128}.watch-layout{padding:40px;display:grid;grid-template-columns:1fr 330px 1fr;gap:42px;max-width:1350px;margin:auto;align-items:start}.watch-help{margin-top:70px;line-height:1.9}.watch-help h1{font-size:40px}.device{background:#1d2525;border-radius:48px;padding:21px 15px;box-shadow:0 28px 60px #1b332833;border:5px solid #47504b;position:relative}.device:after{content:'';width:6px;height:50px;background:#6c756f;position:absolute;right:-11px;top:95px;border-radius:0 4px 4px 0}.watch-screen{width:284px;height:336px;background:#05090e;border-radius:30px;color:#e6f4ff;overflow:auto;padding:14px 12px;font-family:'PingFang SC',sans-serif;position:relative}.watch-top{display:flex;justify-content:space-between;font-size:13px;align-items:center;position:sticky;top:-14px;background:#05090e;z-index:2;padding:3px 0 7px}.watch-top strong{font-size:20px}.watch-tabs{display:flex;gap:8px;justify-content:center;padding:12px}.watch-tabs button{font-size:12px;padding:8px 12px;background:#253330}.watch-tabs button.active{background:#d9ee92;color:#16392f}.orb{width:78px;height:78px;margin:15px auto 11px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#e8faff 0,#8dcbff 18%,#326bac 50%,#111c31 73%);box-shadow:0 0 24px #75b8fd66,inset 0 0 15px #e0ffff55}.watch-title{text-align:center;font-size:15px;margin:5px 0}.watch-hint{text-align:center;font-size:11px;color:#a0b0c4;line-height:1.6}.watch-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.watch-actions button{background:#162337;color:#dcecff;padding:12px 5px;font-size:14px;border-radius:10px}.watch-actions .danger{background:#ac252f}.watch-item{padding:11px 8px;margin:8px 0;background:#132034;border-radius:9px;font-size:13px;line-height:1.6}.watch-item button{font-size:12px;padding:7px;margin:5px 4px 0 0}.watch-screen.alerted{background:#701923}.watch-screen.alerted .watch-top{background:#701923}.sos-big{font-size:64px;text-align:center;font-weight:700;padding-top:20px}.pair-code{text-align:center;font-size:43px;font-weight:600;letter-spacing:5px;margin:25px 0}.watch-tools{display:grid;gap:10px}.watch-tools textarea{min-height:90px}.timeline{font-size:12px;color:var(--muted);line-height:1.8;max-height:260px;overflow:auto}.tab-title{font-size:15px;margin:8px 0 12px}.watch-login .notice{color:var(--ink)}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:1050px){.main{padding:28px}.shell{grid-template-columns:190px 1fr}.watch-layout{grid-template-columns:1fr 330px}.watch-tools{grid-column:1/-1}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;height:auto;padding:20px}.sidebar .eyebrow,.sidebar .bottom{display:none}.nav{display:flex;overflow:auto;margin-top:17px}.nav button{white-space:nowrap;font-size:13px}.main{padding:22px 18px}.topbar{font-size:12px}.hero{align-items:start;flex-direction:column}h1{font-size:34px}.metrics{gap:10px}.metric strong{font-size:30px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{padding:16px}.room-num{font-size:36px}.login{display:block}.login-art{padding:35px;min-height:240px}.login-art h1{font-size:38px}.login-form{padding:30px}.watch-layout{display:flex;flex-direction:column;padding:25px;align-items:center}.watch-help{margin-top:0}.watch-help h1{font-size:30px}.watch-tools{width:100%}.watch-screen{width:284px}.room-foot{flex-wrap:wrap;gap:6px}.topbar .row{justify-content:end}}

/* Merchant V2 only: shared commercial and watch pages retain their own styling. */
body.merchant-v2{--ink:#202835;--muted:#738096;--paper:#f5f7fb;--surface:#fff;--line:#e6ebf2;--green:#2468f6;--lime:#eaf1ff;--red:#bd3549;--blue:#2468f6;--radius:13px;color:var(--ink);background:radial-gradient(ellipse at 90% 0,#eaf1ff88,transparent 45%),var(--paper);font-family:'Avenir Next','PingFang SC','Microsoft YaHei',sans-serif}
.merchant-v2 button{font-weight:500;border-radius:8px;box-shadow:none;transition:background .16s,color .16s}
.merchant-v2 button:hover{transform:none;filter:brightness(.98)}
.merchant-v2 button:disabled{filter:none;cursor:not-allowed}
.merchant-v2 :is(button,a,input,select,textarea):focus-visible{outline:3px solid #8aafff;outline-offset:3px}
.merchant-v2 button.secondary{background:#edf3ff;color:#2364e8}
.merchant-v2 button.ghost{background:transparent;color:#42628d;border-color:#e1e8f2}
.merchant-v2 button.danger{background:#b93249;color:#fff}
.merchant-v2 h1{font-family:'Avenir Next','PingFang SC','Microsoft YaHei',sans-serif;font-size:32px;line-height:1.3;font-weight:650;letter-spacing:-.5px;color:#151d2a}
.merchant-v2 h2{font-size:18px;letter-spacing:-.2px;font-weight:600}
.merchant-v2 h3{font-weight:600}
.merchant-v2 .shell{grid-template-columns:204px minmax(0,1fr)}
.merchant-v2 .sidebar{padding:30px 16px 20px;background:#fff;color:#253249;border-right:1px solid var(--line)}
.merchant-v2 .brand{font-family:'Avenir Next','PingFang SC',sans-serif;font-size:24px;font-weight:650;letter-spacing:1px;padding-left:12px;display:flex;align-items:center;gap:10px}
.merchant-v2 .brand:before{content:'';width:25px;height:29px;border-radius:7px;background:linear-gradient(135deg,#3981ff,#1756ee);box-shadow:inset -8px 0 0 #ffffff24}
.merchant-v2 .sidebar .eyebrow{font-size:9px;letter-spacing:1.8px;color:#8b97a8;padding-left:12px;margin-top:8px;margin-bottom:38px}
.merchant-v2 .nav{gap:7px}
.merchant-v2 .nav button{display:flex;align-items:center;gap:12px;color:#526078;padding:12px;font-size:14px;min-height:45px}
.merchant-v2 .nav button:hover{background:#f6f8fc}
.merchant-v2 .nav button.active{color:#2064f2;background:#eaf1ff;font-weight:600}
.merchant-v2 .merchant-nav-icon{display:inline-flex;flex:0 0 19px;width:19px;height:19px}
.merchant-v2 .merchant-nav-icon svg{width:100%;height:100%}
.merchant-v2 .sidebar .bottom{color:#8b95a5;font-size:11px;padding:20px 12px 0;border-top:1px solid #eff2f7;line-height:1.9}
.merchant-v2 .main{max-width:none;min-width:0;padding:26px 32px 48px}
.merchant-v2 .topbar{min-height:42px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid var(--line);font-size:13px;gap:16px}
.merchant-v2 .topbar>.row{gap:12px}
.merchant-v2 .topbar a{color:#61718b;text-decoration:none}
.merchant-v2 .topbar button{padding:9px 13px;font-size:12px}
.merchant-v2 .status-dot{background:#30ac87}
.merchant-v2 .hero{margin-bottom:22px;align-items:center}
.merchant-v2 .hero h1{margin-bottom:9px}
.merchant-v2 .hero p{font-size:13px;line-height:1.7}
.merchant-v2 .hero .eyebrow{font-size:10px;letter-spacing:2px;color:#8b99af;margin-bottom:9px}
.merchant-v2 .metrics{gap:14px;margin:20px 0 26px}
.merchant-v2 .metric{border:1px solid var(--line);background:#fff;padding:17px 18px;border-radius:11px;min-width:0}
.merchant-v2 .metric strong{font-family:'Avenir Next','DIN Alternate',sans-serif;font-size:31px;font-weight:600;letter-spacing:-1px;margin:10px 0;overflow-wrap:anywhere}
.merchant-v2 .metric span{font-size:11px;color:#768398}
.merchant-v2 .section-head{margin:24px 0 16px}
.merchant-v2 .section-head h2{font-size:20px}
.merchant-v2 .card{background:#fff;border-color:var(--line);border-radius:12px;padding:20px;animation:merchant-enter .3s ease both}
.merchant-v2 .room-card{min-height:238px;display:flex;flex-direction:column;position:relative;overflow:visible;padding:20px;transition:border-color .16s,box-shadow .16s}
.merchant-v2 .room-card:after{display:none}
.merchant-v2 .room-card:is(.serving,.dirty,.unpaid){background:#fff}
.merchant-v2 .room-card[data-merchant-room-status="serving"]{border-color:#92b4ff;box-shadow:0 0 0 1px #2f73ff0a}
.merchant-v2 .room-card[data-merchant-room-status="awaiting_stop"]{border-color:#eab785}
.merchant-v2 .room-card:hover{border-color:#9bbaff;box-shadow:0 6px 20px #203b6708}
.merchant-v2 .room-card[hidden]{display:none}
.merchant-v2 .room-num{font-family:'Avenir Next','DIN Alternate',sans-serif;font-size:36px;font-weight:650;letter-spacing:-1px;color:#131b28}
.merchant-v2 .merchant-room-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px}
.merchant-v2 .merchant-room-status{background:#f0f3f8;color:#65748c;border-radius:6px;padding:5px 8px;font-size:11px;white-space:nowrap}
.merchant-v2 .merchant-room-status[data-status="idle"]{background:#e8f8ef;color:#238155}
.merchant-v2 .merchant-room-status[data-status="serving"]{background:#edf3ff;color:#2865de}
.merchant-v2 .merchant-room-status:is([data-status="dirty"],[data-status="awaiting_stop"]){background:#fff4e5;color:#9b601d}
.merchant-v2 .merchant-room-status[data-status="unpaid"]{background:#fff0f2;color:#b74658}
.merchant-v2 .merchant-room-detail{font-size:12px;line-height:1.6;min-height:45px;color:#566278}
.merchant-v2 .merchant-room-detail p{margin:0 0 7px;line-height:1.6}
.merchant-v2 .merchant-room-detail strong{display:block;font-weight:500;color:#26344b}
.merchant-v2 .merchant-room-detail span{display:block;overflow-wrap:anywhere;color:#7a8597}
.merchant-v2 .merchant-room-timing{display:flex;flex-wrap:wrap;gap:5px;align-items:baseline;margin:9px 0 15px;font-size:12px;color:#526784;min-height:19px}
.merchant-v2 .merchant-room-timing strong{font-size:17px;color:#2364e8;font-variant-numeric:tabular-nums}
.merchant-v2 .merchant-overdue{display:block;flex-basis:100%;color:#a85e1c;font-size:11px}
.merchant-v2 .merchant-room-actions{display:flex;gap:7px;margin-top:auto}
.merchant-v2 .merchant-room-actions button{flex:1;padding:9px 6px;font-size:12px;background:#fff;color:#4d6586;border:1px solid #e5ebf4}
.merchant-v2 .merchant-room-actions button:hover{background:#f2f6ff;color:#2468f6}
.merchant-v2 .merchant-floor-layout{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:22px;align-items:start}
.merchant-v2 .merchant-floor{min-width:0}
.merchant-v2 .merchant-floor>.grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:14px}
.merchant-v2 .merchant-floor-toolbar{display:grid;gap:14px;margin-bottom:17px}
.merchant-v2 .merchant-filter-row{display:flex;flex-wrap:wrap;gap:7px}
.merchant-v2 .merchant-filter-row button{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;font-size:12px;background:#eef1f6;color:#68758a;border:1px solid transparent;border-radius:18px;white-space:nowrap}
.merchant-v2 .merchant-filter-row button span{font-size:11px;opacity:.8;font-variant-numeric:tabular-nums}
.merchant-v2 .merchant-filter-row button[aria-pressed="true"]{background:#e6eeff;color:#225deb;border-color:#d8e4ff}
.merchant-v2 .merchant-search-label{margin:0;gap:6px;font-size:11px;color:#7a879b;max-width:380px}
.merchant-v2 .merchant-search-label input{padding:11px 13px;border-radius:8px;border-color:#e2e8f2;background:#fff;font-size:13px}
.merchant-v2 .merchant-search-label input::placeholder{color:#a0aabc}
.merchant-v2 .merchant-filter-empty{padding:44px 18px;text-align:center;border:1px dashed #d9e2f1;border-radius:12px;color:#79879d;font-size:13px}
.merchant-v2 .merchant-work-sidebar{padding:19px 17px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}
.merchant-v2 .merchant-side-section+.merchant-side-section{margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}
.merchant-v2 .merchant-side-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.merchant-v2 .merchant-side-heading h2{font-size:16px;margin:0;display:flex;align-items:center;gap:7px}
.merchant-v2 .merchant-side-heading h2 span{color:#7c8aa0;font-size:12px;font-weight:400}
.merchant-v2 .merchant-side-heading button{font-size:11px;padding:5px 7px;border:0;color:#2468f6}
.merchant-v2 .merchant-side-note{font-size:10px;color:#8a95a6;line-height:1.7;margin:0 0 13px}
.merchant-v2 .merchant-task-card{padding:12px;background:#fafcff;border:1px solid #e9eef7;border-radius:9px;margin:10px 0}
.merchant-v2 .merchant-task-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px}
.merchant-v2 .merchant-task-heading strong{font-weight:600}
.merchant-v2 .merchant-task-heading span{font-size:10px;color:#4772b3;white-space:nowrap}
.merchant-v2 .merchant-task-card p{font-size:12px;line-height:1.7;color:#54647e;margin:9px 0;overflow-wrap:anywhere;white-space:pre-wrap}
.merchant-v2 .merchant-task-owner{font-size:10px;color:#8b97aa;margin-bottom:10px}
.merchant-v2 .merchant-task-card button{width:100%;font-size:11px;padding:8px}
.merchant-v2 .merchant-side-empty{font-size:12px;text-align:center;padding:18px 7px;color:#8997aa;line-height:1.7}
.merchant-v2 .merchant-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.merchant-v2 .merchant-person{display:grid;gap:5px;border:1px solid #e9eef5;border-radius:8px;padding:11px;min-width:0}
.merchant-v2 .merchant-person strong{font-size:14px;font-weight:600}
.merchant-v2 .merchant-person span{font-size:11px;color:#75849b;overflow-wrap:anywhere}
.merchant-v2 .merchant-person small{font-size:9px;color:#318867}
.merchant-v2 .merchant-result{padding:5px 9px;border-radius:6px;font-size:11px;background:#f1f4f9;color:#63738d}
.merchant-v2 .merchant-result-succeeded{background:#e9f8f0;color:#258355}
.merchant-v2 .merchant-result-failed{background:#fff0f2;color:#ae374c}
.merchant-v2 :is(.merchant-result-needs_confirmation,.merchant-result-proposed){background:#fff3e2;color:#9a641f}
.merchant-v2 .table-wrap{border-radius:12px;background:#fff}
.merchant-v2 th{background:#f7f9fc;color:#79869c;font-size:12px;letter-spacing:0;font-weight:500}
.merchant-v2 td{color:#36445d;padding:16px}
.merchant-v2 tbody tr:hover{background:#fbfcff}
.merchant-v2 .badge{background:#edf3ff;color:#426cac;border-radius:6px;letter-spacing:0}
.merchant-v2 .badge.red{background:#fff0f2;color:#ae3b50}
.merchant-v2 .notice{background:#edf3ff;color:#587194;border:1px solid #dce7ff;border-radius:8px}
.merchant-v2 .empty{border-color:#dce4f0;color:#8290a6;border-radius:12px}
.merchant-v2 .preview{background:#f3f6fc;border:1px solid #e6ecf5;border-radius:9px;color:#354767}
.merchant-v2 dialog{border-radius:15px;background:#fff;padding:30px;box-shadow:0 24px 90px #152b532e}
.merchant-v2 dialog::backdrop{background:#172a474f;backdrop-filter:blur(3px)}
.merchant-v2 .close{color:#6f7f96}
.merchant-v2 #toast{background:#243248;border-radius:9px;box-shadow:0 8px 25px #182b3e25;font-size:13px}
.merchant-v2 .login-art{background:linear-gradient(145deg,#182236,#223d6d);color:#f3f7ff}
.merchant-v2 .login-art h1{font-family:'Avenir Next','PingFang SC',sans-serif;color:#fff;font-size:56px;font-weight:600;letter-spacing:-1px}
.merchant-v2 .login-art p{color:#b9c8e2}
.merchant-v2 .login-art:after{border-color:#88a8dc33;box-shadow:0 0 0 65px #ffffff04,0 0 0 66px #89aff722,0 0 0 140px #ffffff03}
@keyframes merchant-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.merchant-v2 .main{padding-left:40px;padding-right:40px}.merchant-v2 .merchant-floor-layout{grid-template-columns:minmax(0,1fr) 310px}.merchant-v2 .merchant-floor>.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.merchant-v2 .main{padding:24px}.merchant-v2 .shell{grid-template-columns:184px minmax(0,1fr)}.merchant-v2 .merchant-floor-layout{grid-template-columns:minmax(0,1fr) 235px;gap:15px}.merchant-v2 .merchant-floor>.grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}.merchant-v2 .merchant-work-sidebar{padding:15px 12px}.merchant-v2 .metric strong{font-size:27px}}
@media(max-width:980px){.merchant-v2 .merchant-floor-layout{grid-template-columns:minmax(0,1fr)}.merchant-v2 .merchant-work-sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.merchant-v2 .merchant-side-section+.merchant-side-section{border-top:0;border-left:1px solid var(--line);margin:0;padding:0 0 0 20px}.merchant-v2 .topbar{align-items:flex-start;flex-wrap:wrap}.merchant-v2 .merchant-floor>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.merchant-v2 .shell{display:block}.merchant-v2 .sidebar{position:static;height:auto;padding:17px 18px 12px;border-right:0;border-bottom:1px solid var(--line)}.merchant-v2 .brand{padding-left:0;font-size:21px}.merchant-v2 .nav{display:flex;overflow-x:auto;gap:6px;margin-top:15px;padding:3px 0}.merchant-v2 .nav button{padding:10px;gap:7px;min-height:39px;font-size:12px;flex-shrink:0}.merchant-v2 .merchant-nav-icon{width:15px;height:15px;flex-basis:15px}.merchant-v2 .main{padding:18px 16px 32px}.merchant-v2 .topbar{margin-bottom:20px;font-size:12px;gap:10px}.merchant-v2 .topbar>.row{gap:8px}.merchant-v2 .hero{align-items:flex-start;gap:13px}.merchant-v2 h1{font-size:27px}.merchant-v2 .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.merchant-v2 .metric{padding:13px}.merchant-v2 .metric strong{font-size:26px}.merchant-v2 .merchant-filter-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.merchant-v2 .merchant-filter-row button{flex-shrink:0}.merchant-v2 .merchant-search-label{max-width:none}.merchant-v2 .room-card{padding:15px;min-height:225px}.merchant-v2 .room-num{font-size:31px}.merchant-v2 .merchant-room-heading{gap:5px;flex-wrap:wrap}.merchant-v2 .merchant-room-status{font-size:10px}.merchant-v2 .merchant-floor>.grid{gap:10px}.merchant-v2 .merchant-work-sidebar{display:block}.merchant-v2 .merchant-side-section+.merchant-side-section{border-left:0;border-top:1px solid var(--line);padding:18px 0 0;margin-top:20px}.merchant-v2 .merchant-people-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.merchant-v2 .login-art{padding:35px;min-height:240px}.merchant-v2 .login-art h1{font-size:36px}.merchant-v2 td,.merchant-v2 th{padding:13px}}
@media(max-width:380px){.merchant-v2 .merchant-floor>.grid{grid-template-columns:minmax(0,1fr)}.merchant-v2 .merchant-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.merchant-v2 .card{animation:none}}

/* Batch usability: preserve the established merchant visual language. */
.merchant-v2 button:focus-visible,.merchant-v2 input:focus-visible,.merchant-v2 select:focus-visible,.merchant-v2 a:focus-visible{outline:3px solid #2369df;outline-offset:3px}
.merchant-v2 .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.merchant-v2 article,.merchant-v2 main,.merchant-v2 aside{min-width:0}
.merchant-v2 article p,.merchant-v2 .preview{overflow-wrap:anywhere}
#moshi-session-blocker{position:fixed;inset:0;z-index:2147483647;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(24px,8vw,120px);background:#f5f7fb;color:#182330}
#moshi-session-blocker p{max-width:42rem;line-height:1.8}
#moshi-session-blocker button{min-height:44px;background:#2369df;color:#fff;border:0;border-radius:8px;padding:12px 20px;cursor:pointer}
.password-code-button{width:100%;margin:-4px 0 14px;min-height:42px}
#dialog #entry input[readonly]{background:#f3f6f9;color:#66758a;cursor:not-allowed}
@media(max-width:700px){.merchant-v2 header{flex-wrap:wrap;gap:10px}.merchant-v2 button,.merchant-v2 input,.merchant-v2 select{min-height:44px}.merchant-v2 dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.merchant-v2 input,.merchant-v2 select{max-width:100%}}
@media(prefers-reduced-motion:reduce){.merchant-v2 *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Confirmed V2 commercial web presentation; deliberately no new mobile rules. */
.commerce-v2{--bg:#f3f5f9;--ink:#202b3b;--muted:#727e90;--line:#e1e6ee;--accent:#2869e8;background:radial-gradient(ellipse at 85% 0%,#e9effb 0%,transparent 42%),#f3f5f9;color:#202b3b;font-family:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif}
.commerce-v2 h1,.commerce-v2 h2,.commerce-v2 h3,.commerce-v2 .brand{font-family:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif}
.commerce-v2 h1{font-size:34px;font-weight:650;letter-spacing:-1px}.commerce-v2 h2{font-size:19px;font-weight:650}.commerce-v2 h3{font-size:17px;font-weight:650}
.commerce-v2 .sidebar{background:#202b3b;color:#fff;border-right:1px solid #253247}.commerce-v2 .sidebar .eyebrow,.commerce-v2 .sidebar .bottom{color:#a8b6ca}.commerce-v2 .brand{font-size:29px;font-weight:700;letter-spacing:2px}
.commerce-v2 .nav button{background:transparent;color:#c4cedc;border-radius:8px}.commerce-v2 .nav button.active{background:#2869e8;color:#fff;box-shadow:0 5px 16px #101d3833}.commerce-v2 .nav button:hover{background:#33435d;color:#fff}.commerce-v2 .nav button.active:hover{background:#2869e8}
.commerce-v2 .main{max-width:1680px;padding-top:26px}.commerce-v2 .topbar{border-bottom:1px solid #e1e6ee;padding-bottom:20px;margin-bottom:22px;font-size:13px}.commerce-v2 a{color:#2869e8}
.commerce-v2 button{background:#2869e8;color:#fff;border-radius:8px;font-weight:600}.commerce-v2 button.secondary,.commerce-v2 button.ghost{background:#edf3ff;color:#245bbc;border:1px solid #d9e5fc}.commerce-v2 button:disabled{opacity:.5;cursor:not-allowed}.commerce-v2 button:focus-visible,.commerce-v2 a:focus-visible,.commerce-v2 input:focus-visible,.commerce-v2 select:focus-visible{outline:3px solid #7da9ff;outline-offset:3px}
.commerce-v2 .hero{align-items:center;margin-bottom:24px}.commerce-v2 .hero p{color:#727e90}.commerce-v2 .scope-label{font-size:12px;color:#50647e;border:1px solid #dce4f0;background:#fff;padding:9px 13px;border-radius:20px;white-space:nowrap}
.commerce-v2 .metric{background:#fff;border:1px solid #e1e6ee;border-radius:12px;border-top:3px solid #2869e8;box-shadow:0 6px 22px #263c6005}.commerce-v2 .metric strong{font-family:"Avenir Next","PingFang SC",sans-serif;font-size:31px;font-weight:650;color:#253753;font-variant-numeric:tabular-nums}.commerce-v2 .metric span{color:#727e90;font-size:12px}
.commerce-v2 .card{background:#fff;border:1px solid #e1e6ee;border-radius:12px;box-shadow:0 6px 22px #263c6005}.commerce-v2 .commerce-workbench{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;margin:22px 0}.commerce-v2 .commerce-workbench>.card{min-width:0}.commerce-v2 .commerce-workbench .section-head{margin-top:0}.commerce-v2 .commerce-shortcuts .card{border-top:2px solid #d9e5fb}
.commerce-v2 .work-queue h2{margin:10px 0 18px}.commerce-v2 .work-queue-item{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;text-align:left;padding:14px 0;background:transparent;border:0;border-top:1px solid #edf0f5;border-radius:0;color:#33445d}.commerce-v2 .work-queue-item small{display:block;font-size:11px;color:#8390a3;font-weight:400;margin-top:5px}.commerce-v2 .work-queue-item strong{font-size:24px;color:#2869e8;font-variant-numeric:tabular-nums}.commerce-v2 .work-queue-item:hover{background:#f6f9fe}
.commerce-v2 .table-wrap{border:1px solid #e1e6ee;border-radius:10px;background:#fff;overflow-x:auto}.commerce-v2 table{background:#fff;font-size:13px}.commerce-v2 th{background:#f7f9fc;color:#728097;font-size:12px;white-space:nowrap}.commerce-v2 td{color:#35445b;border-color:#edf0f5}.commerce-v2 tr:last-child td{border-bottom:0}.commerce-v2 .empty{background:#fff;border:1px dashed #dbe3ef;color:#8491a3;border-radius:10px}
.commerce-v2 .notice{background:#f4f7fc;color:#62718a;border:1px solid #e0e7f2;border-radius:8px;font-size:12px}.commerce-v2 .preview{background:#f0f5fe;border:1px solid #d9e5fb;color:#2b4568;line-height:1.85}.commerce-v2 .badge{background:#edf3ff;color:#2861bd}.commerce-v2 .badge.red{background:#fff0ee;color:#b94a3b}
.commerce-v2 dialog{border:1px solid #dce4ee;border-radius:14px;box-shadow:0 24px 80px #15294a30;background:#fff;color:#202b3b}.commerce-v2 dialog::backdrop{background:#15233e66}.commerce-v2 input,.commerce-v2 select{background:#fff;color:#26374f;border:1px solid #d8e0ed;border-radius:7px}.commerce-v2 #toast{background:#233958;color:#fff}
.commerce-v2 .login-art{background:linear-gradient(145deg,#1d2b43,#274d87);color:#fff}.commerce-v2 .login-art h1{font-size:46px;color:#fff}.commerce-v2 .login-art p,.commerce-v2 .login-art .eyebrow{color:#b8cbed}.commerce-v2 .login-form{background:#fff}

/* Watch room status uses the same semantics as the merchant room cards. */
.room-lifecycle-badge { display:block; font-size:18px; font-weight:750; line-height:1.4; padding:5px 0; color:#82c3fc; }
.room-lifecycle-badge.serving { color:#ff848b; }
.room-lifecycle-badge.idle { color:#71da95; }
.room-lifecycle-badge.dirty { color:#ffb962; }
.room-lifecycle-badge.unpaid { color:#ffde6f; }
.room-lifecycle-badge.awaiting_stop { color:#cfa9ff; }
.watch-room-guests { font-size:14px; line-height:1.5; margin-top:5px; }
