:root{color-scheme:light;--bg:#eff2f7;--surface:#ffffff;--surface-alt:#f5f7fc;--text:#253147;--muted:#5d6b82;--accent:#2944ae;--accent-hover:#203b9b;--on-accent:#ffffff;--soft:#e1e7f3;--soft-hover:#d6def0;--line:#d4dbea;--success:#236948;--success-bg:#e6f3ee;--warning:#875900;--warning-bg:#fff1db;--warning-line:#e3cda4;--danger:#ab3030;--danger-bg:#fbe9e9;--danger-line:#e4bcbc;--overlay:rgba(23,37,64,.38);--shadow:rgba(23,37,64,.16);accent-color:var(--accent)}
@font-face{font-family:system;src:local("Microsoft YaHei UI")}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:system,"Segoe UI",sans-serif;font-size:14px;line-height:1.6}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:9px 15px;background:var(--soft);color:var(--text);transition:background .15s}button:hover{background:var(--soft-hover)}button:disabled{opacity:.4;cursor:default}button.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:bold}button.primary:hover{background:var(--accent-hover)}button.quiet{background:transparent}button.danger{color:var(--danger);border-color:var(--danger-line)}input,select{width:100%;background:var(--surface-alt);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:10px 12px}input:focus,select:focus,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}label{display:block;color:var(--muted);font-size:13px;margin:13px 0 6px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:1px}h2{font-size:19px}h3{font-size:16px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;color:var(--accent);letter-spacing:3px;font-weight:bold}.layout{max-width:1500px;margin:auto;padding:30px 38px}.top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.top p{margin-top:5px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.banner{padding:12px 16px;border:1px solid var(--warning-line);background:var(--warning-bg);color:var(--warning);border-radius:10px;margin-bottom:22px}.banner strong{color:var(--warning)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:18px 22px}.stat b{display:block;font-size:29px;line-height:1.3;margin-top:7px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 15px;gap:14px}.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.device{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px;min-height:153px;display:flex;flex-direction:column;gap:7px}.device .row{display:flex;align-items:center;justify-content:space-between;gap:10px}.device h3{font-size:18px}.device .actions{margin-top:auto;padding-top:7px}.device button{font-size:12px;padding:5px 10px}.dot{display:inline-block;background:var(--success);width:7px;height:7px;border-radius:50%;margin-right:6px}.dot.offline{background:var(--muted)}.pill{display:inline-block;border-radius:6px;background:var(--soft);color:var(--accent);padding:3px 9px;font-size:12px}.pill.ready,.pill.working{background:var(--success-bg);color:var(--success)}.pill.cleanup{background:var(--warning-bg);color:var(--warning)}.pill.logging_in{background:var(--soft);color:var(--accent)}.pill.completed{color:var(--muted)}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}table{border-collapse:collapse;width:100%;white-space:nowrap}th,td{padding:13px 18px;text-align:left;border-bottom:1px solid var(--line)}th{font-size:12px;color:var(--muted);font-weight:normal;background:var(--surface-alt)}td .actions{flex-wrap:nowrap}td button{font-size:12px;padding:5px 11px}tbody tr:last-child td{border-bottom:0}.empty{text-align:center;color:var(--muted);padding:35px}.activity{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;color:var(--muted);font-size:12px}.event{padding:8px 14px;background:var(--surface);border-radius:6px}.bottom-note{margin-top:26px;color:var(--muted);font-size:12px}.overlay{position:fixed;inset:0;background:var(--overlay);display:grid;place-items:center;padding:24px;z-index:5}.modal{width:min(100%,470px);background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:30px;box-shadow:0 20px 80px var(--shadow)}.modal h2{font-size:23px;margin-bottom:9px}.modal .actions{margin-top:23px;justify-content:flex-end}.modal input.link{font-size:12px}.modal .message{color:var(--danger);min-height:24px;margin-top:12px}.error{color:var(--danger)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:10px;background:var(--soft);border:1px solid var(--line);z-index:10;max-width:90vw}.code{font-family:Consolas,monospace;word-break:break-all;font-size:21px;color:var(--accent);padding:14px 0}.hidden,[hidden]{display:none!important}.customer{max-width:630px;margin:auto;padding:55px 22px}.customer .brand{margin-bottom:35px}.customer .card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:28px}.customer h1{font-size:25px}.customer .lead{margin:8px 0 24px;color:var(--muted)}.customer .target{display:flex;justify-content:space-between;gap:16px;padding:17px;background:var(--surface-alt);border-radius:11px;margin:22px 0}.customer .target b{display:block;font-size:20px}.customer .check{display:flex;align-items:flex-start;gap:12px;color:var(--text)}.customer .check input{width:19px;height:19px;flex-shrink:0;margin-top:4px}.customer .wide{display:block;width:100%;margin-top:22px}.steps{display:flex;gap:6px;margin:25px 0}.step{flex:1;color:var(--muted);font-size:12px;border-top:3px solid var(--line);padding-top:9px}.step.active{color:var(--warning);border-color:var(--accent)}.status-title{font-size:24px;margin:25px 0 10px}.customer .notice{padding:16px;background:var(--surface-alt);border-radius:10px;margin:20px 0;color:var(--muted)}.customer footer{margin-top:24px;color:var(--muted);font-size:12px;text-align:center}.customer #message{margin-top:14px}.customer .demo-action{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.customer .demo-action button{width:100%;margin-top:13px}@media(max-width:1150px){.grid{grid-template-columns:repeat(3,1fr)}.layout{padding:25px}}@media(max-width:650px){.layout{padding:20px 16px}.top{align-items:flex-start;flex-direction:column}.grid,.stats{grid-template-columns:repeat(2,1fr)}h1{font-size:24px}.stat{padding:13px 16px}.device{padding:13px;min-height:155px}.activity{grid-template-columns:1fr}.customer{padding-top:28px}.customer .card{padding:22px}.modal{padding:23px}.section-head{align-items:flex-start}.top .actions button{font-size:12px}}

textarea{font:inherit;width:100%;resize:vertical;background:var(--surface-alt);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:10px 12px}.modal{max-height:92vh;overflow-y:auto}.owner-entry{margin-top:20px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:12px}.owner-entry button{margin-top:14px}.machine-detail{display:grid;gap:2px;min-width:0}.machine-detail b{font-size:13px;font-weight:500;overflow-wrap:anywhere}.machine-detail .small{font-size:11px}.device{min-height:255px}.device h3{overflow-wrap:anywhere;min-width:0}.device .pill{flex-shrink:0}.device .row{align-items:flex-start}.account-create{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px}.account-create .actions{margin-top:20px}.customer .target{flex-direction:column}.customer .target .business{border-top:1px solid var(--line);padding-top:12px}.customer .target .business b{font-size:16px}.customer .account-info{font-size:13px;color:var(--muted);overflow-wrap:anywhere;margin-top:10px}@media(max-width:650px){.form-grid{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.device{min-height:240px}.customer .target b{overflow-wrap:anywhere}}
.settlement-filter{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.settlement-filter label{margin:0;min-width:170px}.settlement-filter input{margin-top:8px}.settlement-total{margin:20px 0;color:var(--accent);font-size:18px}.commission-value{color:var(--accent);font-weight:600}.rule-create{margin-top:24px}.rule-create .table-wrap{margin-top:24px}.rate-input{display:inline-block!important;width:85px!important}#users input[type=password]{max-width:210px}
:is(.payroll-section,.work-records) .settlement-filter label{display:flex;flex-direction:column}:is(.payroll-section,.work-records) .settlement-filter :is(input,select){height:44px;margin-top:8px}:is(.payroll-section,.work-records) .settlement-filter>button{height:44px}

.cloud-note{color:var(--warning);font-size:12px;line-height:1.65;margin-top:12px}.unsubscribe{color:var(--danger);border-color:var(--danger-line);background:var(--danger-bg)}.machine-notice{color:var(--accent);font-size:13px;font-weight:600}.customer .target .business{border-top:0;padding-top:0}

.cloud-guide{display:block;width:100%;height:auto;border-radius:12px;margin-top:18px}.cloud-guide-details{margin:12px 0;color:var(--warning);font-size:13px}.cloud-guide-details summary{cursor:pointer}
.work-timer{display:flex;gap:24px;flex-wrap:wrap;align-items:center;background:var(--surface);border:1px solid var(--line);padding:16px 20px;border-radius:12px;margin:20px 0}.work-timer[hidden]{display:none}.work-timer b{color:var(--accent);font-variant-numeric:tabular-nums}.work-timer small{color:var(--muted)}.payroll-section{margin-top:32px}.payroll-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.payroll-cards .stat b{font-size:24px}.payroll-section details{margin:24px 0}.payroll-section summary{cursor:pointer;color:var(--accent)}.payroll-section h3{margin-top:28px}@media(max-width:700px){.payroll-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-cards .stat b{font-size:18px}.work-timer{gap:10px;flex-direction:column;align-items:flex-start}}

.check{display:flex;align-items:center;gap:10px}.check input[type=checkbox]{width:18px;height:18px;flex-shrink:0}.pill.price-flag{display:inline-block;color:#495b7a;background:#eef1f7;border:1px solid #b8c5d8;border-radius:4px;padding:2px 7px;font-size:11px;line-height:1.5;font-weight:500;margin-top:5px;white-space:nowrap}.order-amount-cell{font-variant-numeric:tabular-nums}.cost-section .payroll-cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.cost-section .payroll-cards{grid-template-columns:1fr}}

/* 白瓷钴蓝：一致的浅色工作台与客户页面。 */
.device,.stat,.table-wrap,.account-create,.work-timer{border-radius:6px}.modal,.customer .card{border-radius:10px}button.primary{color:var(--on-accent)}.machine-notice{background:var(--soft);padding:8px 10px;border-radius:5px}input[type=checkbox]{accent-color:var(--accent)}.cloud-guide-details{color:var(--accent)}.step.active{color:var(--accent)}

/* 分栏工作台：同页切换，工作计时和当前筛选保持连续。 */
.workbench{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;background:var(--surface);border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;gap:25px}
.sidebar-brand{display:flex;gap:11px;align-items:center;padding:0 6px}.brand-mark{display:block;width:44px;height:52px;flex:0 0 44px;object-fit:contain;background:transparent;border-radius:0}
.sidebar-brand b{display:block;font-size:17px}.sidebar-brand span{display:block;font-size:8px;color:var(--muted);letter-spacing:1px;margin-top:3px}
.nav-caption{font-size:11px;color:var(--muted);letter-spacing:2px;margin:10px 11px -14px}.sidebar-nav{display:flex;flex-direction:column;gap:7px}
.nav-item{display:flex;align-items:center;gap:12px;padding:13px 11px;background:transparent;border:1px solid transparent;border-radius:6px;color:var(--muted);text-decoration:none;font-size:13px;text-align:left;width:100%;white-space:nowrap}
.nav-item span{font-size:10px;min-width:20px;font-variant-numeric:tabular-nums;opacity:.75}.nav-item:hover{background:var(--surface-alt);color:var(--accent)}.nav-item.active{background:var(--accent);color:white;font-weight:600;border-color:var(--accent)}
.sidebar-footer{margin-top:auto;padding:18px 10px 0;border-top:1px solid var(--line);font-size:12px}.sidebar-footer b,.sidebar-footer span{display:block;overflow-wrap:anywhere}.sidebar-footer span{font-size:10px;color:var(--muted);margin-top:5px}
.work-main{min-width:0;width:100%;max-width:1740px;padding:30px 34px 40px}.work-main .top{margin-bottom:12px}.work-main h1{font-size:25px;letter-spacing:.5px}.work-main .top .actions{justify-content:flex-end}.work-main .preview-note{color:var(--muted);font-size:11px;margin-bottom:23px}
.workspace-page{min-width:0}.workspace-page .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.workspace-page .device{min-height:246px;padding:17px;gap:8px}.workspace-page .device h3{font-size:16px}.workspace-page .device .row{align-items:center}
.workspace-page .stats{gap:13px;margin:12px 0 24px}.workspace-page .stat{padding:16px 19px}.workspace-page .stat b{font-size:27px}.orders-section{margin-top:34px}.orders-section .table-wrap{margin-top:16px}.order-table th,.order-table td{padding:12px 15px}.order-table .business-cell{min-width:200px;max-width:310px;white-space:normal}.order-table .order-name{font-size:11px;margin-top:4px;overflow-wrap:anywhere}.orders-section #orders-message{margin-top:10px;min-height:0}
.pill.machine-idle,.pill.order-completed{background:var(--success-bg);color:var(--success)}.pill.machine-assistant{background:#e5ebff;color:#2944ae}.pill.machine-takeover{background:#fff0d5;color:#805500}.pill.machine-exit{background:#eee5f6;color:#7045a0}.pill.machine-waiting,.pill.machine-unknown{background:#edf0f5;color:#5d6b82}
.live-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--success)}.live-status:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}.live-status.reconnecting{color:var(--warning)}
#work-timer-mount .work-timer{margin-top:5px}.workspace-page>.payroll-section{margin-top:30px}.workspace-page .cost-section{margin-top:0}.workspace-page .section-head:first-child{margin-top:12px}
@media(min-width:1750px){.workspace-page .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){.workbench{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:25px 12px}.work-main{padding:25px 22px}.workspace-page .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-main .top{align-items:flex-start}.work-main .top .actions{gap:6px}.work-main .top button{font-size:12px;padding:7px 10px}}
@media(max-width:900px){.work-main .top{flex-direction:column}.work-main .top .actions{justify-content:flex-start}.workspace-page .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-page .grid{grid-template-columns:1fr}}
@media(max-width:650px){.workbench{display:block}.sidebar{position:relative;top:auto;width:100%;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--line);gap:14px}.sidebar-brand{padding:0}.sidebar-brand span{font-size:9px}.brand-mark{height:44px;width:36px;flex-basis:36px}.nav-caption,.sidebar-footer{display:none}.sidebar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.nav-item{padding:10px 9px;font-size:12px;gap:7px}.nav-item span{font-size:9px;min-width:15px}.work-main{padding:20px 16px 30px}.work-main h1{font-size:23px}.work-main .top{gap:13px}.workspace-page .device{min-height:235px}.workspace-page .stats{gap:10px}.workspace-page .stat{padding:13px}.workspace-page .stat b{font-size:23px}.settlement-filter{gap:10px}.settlement-filter label{min-width:0;flex:1 1 140px}#orders-count{flex-basis:100%}.work-main .preview-note{line-height:1.6}.order-table .business-cell{min-width:180px}}
#dialog-overlay .modal{display:flex;flex-direction:column;overflow:hidden;max-height:92vh}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-shrink:0;margin-bottom:8px}.dialog-header h2{margin-bottom:0;min-width:0}.dialog-header button{flex-shrink:0;padding:6px 11px;font-size:12px;background:transparent}#dialog-body{overflow-y:auto;min-height:0;overscroll-behavior:contain;padding-right:7px}#dialog-actions{flex-shrink:0}.custom-business{border:1px solid var(--line);border-radius:6px;background:var(--surface-alt);padding:12px;margin-top:12px}.custom-business label{margin-top:8px}.custom-business button{margin-top:12px;font-size:12px;padding:5px 10px}
.workspace-page .grid{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-page .device{min-height:178px;padding:14px;gap:7px}.device .machine-name{padding:0;border:0;border-radius:0;background:transparent;color:var(--text);font-size:16px;font-weight:700;text-align:left;overflow-wrap:anywhere}.device .machine-name:hover{color:var(--accent);background:transparent}.machine-account{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.machine-business{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;min-height:40px}.machine-source{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.machine-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.machine-amount{color:var(--accent);font-size:14px;font-variant-numeric:tabular-nums}.workspace-page .device .machine-notice{font-size:11px;padding:5px 7px}.workspace-page .device .pill{font-size:12px;font-weight:600;line-height:1.45;padding:4px 7px;flex:0 1 auto;max-width:140px;white-space:normal;text-wrap:balance;text-align:center}.workspace-page .device .row{gap:7px;min-height:25px}
@media(min-width:1880px){.workspace-page .grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1250px){.workspace-page .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.workspace-page .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-page .device{padding:11px;min-height:180px}.workspace-page .device .row{align-items:flex-start;gap:5px}.workspace-page .device h3,.device .machine-name{font-size:13px}.workspace-page .device .pill{font-size:10px;padding:4px 5px;max-width:90px}.machine-business{font-size:12px;min-height:37px}.machine-footer{gap:4px}.machine-footer button{padding:4px 6px;font-size:10px}.machine-amount{font-size:12px}}
#page-payroll>section>.table-wrap{max-height:430px;overflow:auto}#page-payroll>section th{position:sticky;top:0;z-index:1}
.workspace-page .device{min-height:162px}.machine-business{min-height:20px}.machine-footer{justify-content:flex-end}@media(max-width:650px){.workspace-page .device{min-height:166px}.machine-business{min-height:19px}}

.machine-info{display:flex;flex-direction:column;min-width:0}.machine-info .machine-field{padding:7px 0}.machine-info .machine-field:first-child{padding-top:3px}.machine-info .machine-field:last-child{padding-bottom:2px}.machine-info .machine-field+.machine-field{border-top:1px solid var(--line)}.workspace-page .device .row>.machine-name,.workspace-page .device .row>h3{min-width:0;flex:1 1 auto;overflow-wrap:anywhere}@media(max-width:650px){.machine-info .machine-field{padding:6px 0}}
.machine-info .machine-business{display:block;overflow:visible;-webkit-line-clamp:unset}.machine-business-list{list-style:none;margin:0;padding:0}.machine-business-item{display:inline;overflow-wrap:anywhere}.machine-business-item+.machine-business-item::before{content:'｜';color:var(--accent);font-weight:700;margin:0 4px}
#dialog-close{background:#e5e7eb;border-color:#d1d5db;color:#4b5563}#dialog-close:hover{background:#d8dce2}
#after-sale-lookup{display:block;margin-top:10px;padding:6px 11px;font-size:12px;line-height:1.5}#after-sale-message{margin-top:8px;line-height:1.5}#after-sale-message:empty{display:none}
.notification-trigger{display:inline-flex;align-items:center;gap:6px}.notification-trigger svg{width:17px;height:17px}.notification-count{padding:0 5px;border-radius:10px;background:var(--accent);color:white;font-size:10px;min-width:18px;line-height:18px}.notification-panel{position:fixed;z-index:7;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 35px var(--shadow);overflow:auto}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:1}.notification-heading h2{font-size:15px}.notification-heading button{padding:4px 7px;font-size:11px}.notification-item{display:block;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:13px 16px;background:var(--surface);text-align:left;white-space:normal;overflow-wrap:anywhere}.notification-item.unread{background:#f3f6ff}.notification-item b{font-size:12px;display:block}.notification-item.unread b:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:6px}.notification-business{display:block;font-size:12px;color:var(--muted);margin-top:4px}.notification-item time{display:block;font-size:10px;color:var(--muted);margin-top:6px}.notification-empty{padding:25px 16px;font-size:12px;color:var(--muted)}.completion-alert{position:fixed;top:18px;right:18px;z-index:10;width:min(360px,calc(100vw - 36px));background:var(--surface);border:1px solid var(--success-bg);border-left:4px solid var(--success);border-radius:10px;box-shadow:0 8px 30px var(--shadow);padding:16px 34px 16px 15px}.completion-alert-close{position:absolute;top:5px;right:5px;border:0;padding:0 5px;background:transparent;font-size:19px;color:var(--muted)}.completion-alert-details{padding:0;text-align:left;border:0;background:transparent;width:100%;font-size:12px;overflow-wrap:anywhere}.completion-alert-details:hover{background:transparent}.completion-alert-details b{display:block;color:var(--success)}.completion-alert-details span{display:block;margin-top:5px;color:var(--muted)}

.payroll-section{margin-top:20px}.payroll-section #payroll-total{gap:12px;margin:14px 0 10px}.payroll-section #payroll-total .stat{padding:10px 14px;min-width:0}.payroll-section #payroll-total .stat b{display:flex;align-items:center;height:30px;margin-top:3px;font-size:25px;line-height:1.2}.payroll-section #payroll-total .payroll-duration b{font-size:20px;line-height:1.25;white-space:nowrap;font-variant-numeric:tabular-nums}.payroll-section details{margin:14px 0}.payroll-section h3{margin-top:16px;margin-bottom:8px}.payroll-section .table-wrap th,.payroll-section .table-wrap td{padding:10px 13px}.payroll-section .table-wrap .empty{padding:18px 13px}.payroll-section #payroll-message:empty{display:none}@media(max-width:650px){.payroll-section #payroll-total{gap:10px}.payroll-section #payroll-total .stat{padding:10px 14px}.payroll-section #payroll-total .stat b{font-size:23px}.payroll-section #payroll-total .payroll-duration b{font-size:16px}}
.notification-item.notice-completed b,.completion-alert.notice-completed .completion-alert-details b{color:var(--success)}
.completion-alert.notice-unsubscribed{border-left-color:var(--danger)}.completion-alert.notice-handoff{border-left-color:var(--warning)}.completion-alert.notice-unsubscribed .completion-alert-details b,.notification-item.notice-unsubscribed b{color:var(--danger)}.completion-alert.notice-handoff .completion-alert-details b,.notification-item.notice-handoff b{color:var(--warning)}
.notification-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.notification-heading h2{white-space:nowrap}.notification-feedback{padding:9px 16px;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line)}
.stats .stat-filter{text-align:left;min-width:0;font-weight:normal;background:var(--surface);color:var(--text);border-radius:6px}.stats .stat-filter:hover{background:var(--surface-alt);border-color:var(--accent)}.stats .stat-filter.selected{background:#edf1ff;border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.stats .stat-filter.selected .muted{color:var(--accent)}.device-filter-info{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;margin-bottom:14px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-size:12px;color:var(--accent)}.device-filter-info button{padding:4px 9px;font-size:12px;flex-shrink:0}.device-empty{grid-column:1/-1;padding:24px;text-align:center;border:1px dashed var(--line);border-radius:6px;background:var(--surface);color:var(--muted);font-size:13px}
.pill.order-cancelled{background:#f1f2f5;color:#727b89;border-color:#dfe2e7}
.pill.order-refunded{background:var(--danger-bg);color:var(--danger)}
.pill.machine-assigned{background:#f1edfa;color:#675099;border:1px solid #cdc0e7}
.pill.machine-exiting{background:#fff0eb;color:#965c48;border:1px solid #e8c7ba}
.order-table td:nth-last-child(2){text-align:center;vertical-align:middle}.order-table td:last-child{vertical-align:middle}
.order-table td .actions{flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;gap:7.2px}
.order-table td .actions button.order-action{flex:0 0 auto;width:auto;max-width:100%;font-size:9.6px;padding:4px 8.8px;border-width:.8px;border-radius:7.2px;min-height:25.6px;text-align:center;white-space:nowrap;background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:600}
.order-table td .actions button.order-action:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.order-table td .actions.order-actions-multiple button.order-action-start{background:#24345e;border-color:#24345e}
.order-table td .actions.order-actions-multiple button.order-action-start:hover{background:#1a284b;border-color:#1a284b}
.order-table td .actions.order-actions-multiple button.order-action-cancel{background:#586b8c;border-color:#586b8c}
.order-table td .actions.order-actions-multiple button.order-action-cancel:hover{background:#455774;border-color:#455774}

#dialog-overlay .restore-order-dialog,#dialog-overlay .after-sale-dialog{padding:24px;border-radius:14px}
#dialog-overlay .restore-order-dialog{width:min(100%,480px)}
#dialog-overlay .after-sale-dialog{width:min(100%,520px)}
#dialog-overlay :is(.restore-order-dialog,.after-sale-dialog) .dialog-header{margin-bottom:16px;gap:14px}
#dialog-overlay :is(.restore-order-dialog,.after-sale-dialog) .dialog-header h2{font-size:21px;line-height:1.4}
#dialog-overlay :is(.restore-order-dialog,.after-sale-dialog) #dialog-body{padding:4px}
#dialog-overlay :is(.restore-order-dialog,.after-sale-dialog) #dialog-actions{gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
#dialog-overlay :is(.restore-order-dialog,.after-sale-dialog) #dialog-actions button{min-height:40px;padding:8px 14px;font-size:13px;line-height:1.5}
.restore-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:14px;background:var(--surface-alt);border:1px solid var(--line);border-radius:9px}
.restore-summary-wide{grid-column:1/-1}
.restore-summary .machine-detail{gap:3px;min-width:0}
.restore-summary .machine-detail b{font-size:13px;line-height:1.6;font-weight:500}
.restore-summary .machine-detail .small{font-size:11px}
.restore-notice{font-size:12px;line-height:1.65;margin:14px 0}
.restore-device-field{width:min(100%,280px);margin-top:16px}
.restore-device-field label,.after-sale-field>label,.after-sale-search>label{margin:0 0 7px;font-size:12px}
.restore-device-field select,.after-sale-dialog input:not([type=checkbox]),.after-sale-dialog select{height:40px;font-size:13px;line-height:1.5;padding:8px 11px}
.restore-device-field select,.after-sale-dialog select{padding-right:30px}
.after-sale-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px}
.after-sale-search-row #after-sale-lookup{height:40px;margin:0;padding:8px 12px;font-size:13px;white-space:nowrap}
.after-sale-search-hint{margin-top:9px;font-size:12px;line-height:1.6}
.after-sale-form{display:grid;gap:16px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.after-sale-field{min-width:0}
.after-sale-order-detail{font-size:12px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}
.after-sale-business-field{margin:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt);min-width:0}
.after-sale-business-field legend{padding:0 5px;font-size:12px;color:var(--muted)}
.after-sale-items{display:grid;gap:9px}
.after-sale-items .check{margin:0;font-size:13px;align-items:flex-start;color:var(--text)}
.after-sale-items .check input{margin-top:2px}
.after-sale-assignment-row{display:flex;flex-wrap:wrap;gap:14px}
.after-sale-assignment-row>.after-sale-field{flex:1 1 180px}
.after-sale-assignment-row>.after-sale-device-field{max-width:280px}
.after-sale-assignment-row>.after-sale-employee-note{flex-basis:100%}
.after-sale-reason-field textarea{font-size:13px;line-height:1.6;padding:9px 11px;min-height:78px}
.after-sale-settlement-note,.after-sale-employee-note{font-size:12px;line-height:1.65;color:var(--muted)}
.after-sale-message{font-size:12px;line-height:1.6}
@media(max-width:520px){#dialog-overlay :is(.restore-order-dialog,.after-sale-dialog){padding:18px}.restore-summary{grid-template-columns:1fr;gap:10px;padding:12px}.restore-device-field{width:100%}.after-sale-search-row{grid-template-columns:1fr}.after-sale-search-row #after-sale-lookup{justify-self:start}.after-sale-assignment-row{flex-direction:column}.after-sale-assignment-row>.after-sale-field{flex:auto;width:100%;max-width:none}#dialog-overlay :is(.restore-order-dialog,.after-sale-dialog) #dialog-actions button{flex:1 1 auto}}

.notification-trigger.has-unread{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600;box-shadow:0 0 0 3px rgba(41,68,174,.12)}
.notification-trigger.has-unread:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.notification-trigger.has-unread .notification-count{background:#c33f4b;color:#fff;min-width:23px;line-height:21px;padding:0 6px;border-radius:11px;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}

#dialog-overlay .create-order-dialog{width:min(100%,520px);padding:24px;border-radius:14px}
#dialog-overlay .create-order-dialog .dialog-header{margin-bottom:16px;gap:14px}
#dialog-overlay .create-order-dialog .dialog-header h2{font-size:21px;line-height:1.4}
#dialog-overlay .create-order-dialog #dialog-body{padding:6px 10px 6px 6px}
.create-order-dialog .order-create-field{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin-bottom:16px;min-width:0}
.create-order-dialog .order-create-field>label{margin:0;font-size:12px;line-height:1.5}
.create-order-dialog input:not([type=checkbox]),.create-order-dialog select{display:block;height:40px;font-size:13px;line-height:1.5;padding:8px 11px}
.create-order-dialog select{padding-right:30px}
.create-order-dialog .custom-business label>input,.create-order-dialog .custom-business label>select{margin-top:6px}
#dialog-overlay .create-order-dialog #dialog-actions{gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
#dialog-overlay .create-order-dialog #dialog-actions button{min-height:40px;padding:8px 14px;font-size:13px;line-height:1.5}
@media(max-width:520px){#dialog-overlay .create-order-dialog{padding:18px}#dialog-overlay .create-order-dialog #dialog-actions button{flex:1 1 auto}}

/* 表单焦点框保持在控件边界内，避免被滚动容器裁切。 */
input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-2px}

.order-pagination{display:flex;align-items:center;gap:14px;margin-top:14px}
.order-pagination>label{display:inline-flex;align-items:center;gap:7px;margin:0;white-space:nowrap;font-size:12px}
.order-pagination select{width:auto;min-width:70px;height:34px;padding:4px 9px;font-size:12px}
.order-pagination #orders-page-info{flex:1;text-align:center;font-variant-numeric:tabular-nums}
.order-pagination-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}
.order-pagination-controls button{padding:6px 12px;font-size:12px}
@media(max-width:650px){.order-pagination{flex-wrap:wrap;gap:10px}.order-pagination-controls{margin-left:auto}.order-pagination #orders-page-info{order:3;flex-basis:100%;text-align:left}}

.order-related{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 6px;max-width:250px;margin-top:4px;white-space:normal;font-size:11px;line-height:1.6;color:var(--muted)}
:is(.order-table,.completed-orders-table,.receipts-table) .order-history-link{padding:0;border:0;border-radius:3px;background:transparent;color:var(--accent);font-size:11px;line-height:1.6;text-decoration:underline;text-underline-offset:2px;font-variant-numeric:tabular-nums}
:is(.order-table,.completed-orders-table,.receipts-table) .order-history-link:hover{color:var(--accent-hover);background:var(--soft)}
:is(.order-table,.completed-orders-table,.receipts-table) .order-history-link.order-history-after-sale{color:var(--danger)}:is(.order-table,.completed-orders-table,.receipts-table) .order-history-link.order-history-after-sale:hover{color:var(--danger);background:var(--danger-bg)}
.completed-orders-table{table-layout:fixed;white-space:normal;min-width:800px}.completed-orders-table th{text-align:center}.completed-orders-table th,.completed-orders-table td{padding:13px 12px}.completed-orders-table td{vertical-align:middle;overflow-wrap:anywhere}.completed-orders-table :is(th,td):nth-child(1){width:17%}.completed-orders-table :is(th,td):nth-child(2){width:36%}.completed-orders-table :is(th,td):nth-child(3){width:23%}.completed-orders-table :is(th,td):nth-child(4),.completed-orders-table :is(th,td):nth-child(5){width:12%}.completed-orders-table .order-history-link{font-size:13px}.completed-orders-table .completed-business-cell{line-height:1.65}.completed-orders-table .commission-value{font-variant-numeric:tabular-nums}
.order-table .order-number-cell .order-name{margin-top:0}.order-table .order-number-cell .order-history-link{font-size:13px}
.order-history-login{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.order-history-generated-link{display:block;margin-top:4px;color:var(--accent);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.order-history-generated-link:hover{color:var(--accent-hover)}
#dialog-overlay .order-history-dialog{width:min(100%,640px);padding:24px;border-radius:14px}
#dialog-overlay .order-history-dialog .dialog-header{margin-bottom:16px;gap:14px}
#dialog-overlay .order-history-dialog .dialog-header h2{font-size:21px;line-height:1.4}
#dialog-overlay .order-history-dialog #dialog-body{padding:6px 10px 6px 6px}
#dialog-overlay .order-history-dialog #dialog-actions{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.order-history-root{font-size:12px;margin-bottom:12px;font-variant-numeric:tabular-nums}
.order-history-list{display:grid;gap:12px;padding:0;margin:0;list-style:none}
.order-history-entry{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt)}
.order-history-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.order-history-heading>b{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.order-history-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.order-history-summary>.machine-detail{align-self:start}
.order-history-times{display:grid;gap:10px;min-width:0}
.order-history-copy-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}
.order-history-copy-actions button{padding:5px 11px;font-size:12px;min-height:32px;background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.order-history-copy-actions button:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.order-history-copy-feedback{font-size:12px;color:var(--success);overflow-wrap:anywhere}
.order-history-copy-feedback.error{color:var(--danger)}
.order-history-reason{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.order-history-message{font-size:13px;line-height:1.6}
@media(max-width:520px){#dialog-overlay .order-history-dialog{padding:18px}.order-history-summary{grid-template-columns:1fr}.order-history-entry{padding:12px}}

.order-table th{text-align:center}
.machine-assignment-hold{display:block;font-size:11px;line-height:1.55;color:var(--accent);overflow-wrap:anywhere}
.device-lease-message{font-size:12px;line-height:1.6;margin-top:10px;min-height:20px}

.shops-editor .shop-actions{flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:7px}
.shops-editor .shop-actions button{min-width:96px}
.shop-prices-overlay{z-index:8}
.shop-prices-modal{display:flex;flex-direction:column;width:min(100%,720px);max-height:92vh;padding:24px;overflow:hidden;border-radius:14px}
.shop-prices-modal .dialog-header{margin-bottom:16px}
.shop-prices-modal .dialog-header h2{font-size:21px;line-height:1.4;overflow-wrap:anywhere}
.shop-prices-body{overflow-y:auto;min-height:0;overscroll-behavior:contain;padding:6px 8px 6px 6px}
.shop-prices-hint{line-height:1.65;margin:7px 0 16px}
.shop-prices-table{white-space:normal}
.shop-prices-table th{font-size:12px}
.shop-prices-table th,.shop-prices-table td{padding:12px;vertical-align:top}
.shop-prices-table td:first-child{min-width:135px;overflow-wrap:anywhere}
.shop-prices-table td:nth-child(2){white-space:nowrap;font-variant-numeric:tabular-nums}
.shop-price-field{display:grid;gap:6px;min-width:155px}
.shop-price-field input{width:160px;max-width:100%;height:40px;padding:8px 11px;font-size:13px}
.shop-price-field p{line-height:1.55;max-width:220px}
.shop-price-custom-hint{color:var(--accent)}
.shop-price-field .shop-price-clear{justify-self:start;padding:3px 0;border:0;background:transparent;color:var(--accent);font-size:12px}
.shop-price-field .shop-price-clear:hover{color:var(--accent-hover);text-decoration:underline}
.shop-prices-message{margin-top:10px;font-size:12px;line-height:1.6;min-height:20px;color:var(--accent)}
.shop-prices-message.error{color:var(--danger)}
.shop-prices-modal .shop-prices-actions{flex-shrink:0;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);gap:10px}
.shop-prices-actions button{min-height:40px;padding:8px 14px;font-size:13px}
@media(max-width:650px){.shop-prices-overlay{padding:16px}.shop-prices-modal{padding:18px}.shop-prices-modal .dialog-header h2{font-size:19px}.shop-prices-actions button{flex:1 1 auto}.shop-prices-table th,.shop-prices-table td{padding:10px}.shop-prices-table td:first-child{min-width:120px}}

.shop-export-overlay{z-index:8}
.shop-export-modal{display:flex;flex-direction:column;width:min(100%,500px);padding:24px;overflow:hidden;border-radius:14px}
.shop-export-modal .dialog-header{margin-bottom:16px}
.shop-export-modal .dialog-header h2{font-size:21px;line-height:1.4;overflow-wrap:anywhere}
.shop-export-body{overflow-y:auto;min-height:0;padding:6px;overscroll-behavior:contain}
.shop-export-scope{margin-top:14px;font-size:13px;color:var(--accent);font-weight:600}
.shop-export-hint{margin-top:12px;line-height:1.65}
.shop-export-message{margin-top:12px;min-height:20px;font-size:12px;line-height:1.6;color:var(--accent)}
.shop-export-message.error{color:var(--danger)}
#orders-filter{padding-right:var(--after-sale-right-gap,0px)}
#orders-filter #after-sale{margin-left:auto;align-self:flex-end;min-height:40px;background:var(--danger);color:#fff;border-color:var(--danger);font-weight:600;white-space:nowrap}
#orders-filter #after-sale:hover{background:#922828;border-color:#922828}
@media(max-width:650px){#orders-filter #after-sale{margin-left:auto;flex:0 0 auto}}
.shop-export-modal .shop-export-actions{flex-shrink:0;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.shop-export-actions button{min-height:40px;font-size:13px}
@media(max-width:650px){.shop-export-overlay{padding:16px}.shop-export-modal{padding:18px}.shop-export-modal .dialog-header h2{font-size:19px}}

#page-payroll table :is(th,td){text-align:center}
#page-payroll .completed-orders-table :is(th,td):nth-child(2),#page-payroll .payroll-section details table :is(th,td):nth-child(2){text-align:left}

/* Shared admin finance layout. */
.finance-note{margin:12px 0}.cost-profit-option{min-width:0!important;align-self:center}.cost-profit-option input{margin-top:0}.receipts-section h3{margin:26px 0 14px}.receipts-section fieldset{border:0;margin:0;padding:0;min-width:0}.finance-wide{grid-column:1/-1}.receipts-section #receipts-submit{margin-top:18px}.receipts-section #receipts-save-message{margin-top:12px}.receipts-section .settlement-filter select{margin-top:8px}.receipts-table th,.receipts-table td{text-align:center}.receipts-table .finance-business{text-align:left;white-space:normal;min-width:160px;max-width:300px;overflow-wrap:anywhere}.receipts-section .payroll-cards{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.receipts-section .payroll-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.finance-wide{grid-column:auto}.receipts-section .payroll-cards{grid-template-columns:1fr}}

.receipts-table .order-history-link{font-size:13px}.cost-section .profit-card{grid-column:1/-1;background:var(--surface-alt);border-color:#b8c5e7}.cost-section .profit-card b{color:var(--accent)}

.work-records{margin:24px 0}.work-records h3{margin-bottom:12px}.work-records .table-wrap{margin-top:14px}.work-records table{white-space:normal;min-width:900px}.work-records th,.work-records td{text-align:center;vertical-align:middle}.work-records td:last-child{max-width:280px;overflow-wrap:anywhere}.work-record-abnormal td{background:#fff6f5}.work-correction-form{max-width:680px;margin:0 auto;text-align:left}.work-correction-form fieldset{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.work-correction-form .check{grid-column:1/-1}.work-correction-form button{margin:10px 8px 0 0}.work-correction-history{border-top:1px solid var(--line);padding:10px 0;text-align:left}.work-records details{margin:8px 0}.work-records .pill.cancelled{color:var(--danger);background:var(--danger-bg)}
#page-payroll :is(#payroll-title,#work-records-title,#payroll-history-title){font-size:19px;font-weight:700;line-height:1.6;color:var(--text)}
.payroll-history-section{margin-top:24px}.payroll-history-section .table-wrap{margin-top:14px}

.steam-login-panel{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.steam-login-panel h2{margin-bottom:6px}.steam-login-tabs{display:flex;gap:10px;margin:18px 0}.steam-qr-image{display:block;width:min(100%,260px);height:auto;margin:18px auto;border:1px solid var(--line);border-radius:8px;background:#fff}.steam-login-panel form .small{margin-top:10px}.steam-login-panel #steam-login-status{margin-top:12px}.steam-login-panel #steam-use-code{margin-top:16px}.steam-login-panel #steam-login-message{margin-top:12px;overflow-wrap:anywhere}

/* Customer login: familiar Steam layout within the store service entrance. */
body.steam-auth-active{color-scheme:light;background:#fff;color:var(--text)}
.steam-auth-active .customer{max-width:960px;padding-top:38px}
.steam-auth-active .customer .brand{margin-bottom:22px}.steam-auth-active .customer .brand .eyebrow{color:var(--accent)}.steam-auth-active .customer .card .muted{color:#a4aebb}.steam-auth-active .customer footer{color:var(--muted)}
.steam-auth-active .customer .card{position:relative;color-scheme:dark;color:#eef1f5;background:#212833;border-color:#354051;padding:46px 38px 28px;box-shadow:0 12px 40px #0003}
.steam-auth-active :is(#page-title,#page-intro,#login-banner,#confirm,#progress){display:none}
.steam-auth-active .customer .target{background:#1b222d;margin:0 0 18px;padding:14px 18px;border-radius:4px}.steam-auth-active .customer .target .business b{font-size:14px;font-weight:500;color:#d2d9e3}
.steam-auth-active .steam-login-panel{margin:0;padding:0;border:0}
.steam-auth-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.steam-auth-heading h2{font-size:29px;font-weight:600;letter-spacing:1px}.steam-auth-heading span{font-size:11px;color:#a4aebb;border:1px solid #475363;border-radius:4px;padding:3px 8px}
.steam-auth-active #steam-login-status{color:#a4aebb;font-size:13px;margin-top:6px}.steam-auth-active #steam-login-expiry{position:absolute;top:12px;right:18px;margin:0;font-size:11px;line-height:18px;color:#a4aebb;white-space:nowrap;font-variant-numeric:tabular-nums}
.steam-auth-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr);gap:40px;margin-top:18px;align-items:start}.steam-auth-grid.verification{grid-template-columns:minmax(0,1fr);max-width:500px;margin-left:auto;margin-right:auto}.steam-credentials{min-width:0}
.steam-auth-active .steam-login-panel label{color:#67baff;font-size:13px;font-weight:600;margin:0 0 18px}.steam-auth-active .steam-login-panel label+label{color:#b8c0cb}.steam-auth-active .steam-login-panel input{display:block;min-width:0;width:100%;margin-top:7px;height:46px;padding:10px 12px;border-radius:3px;background:#323945;border:1px solid #414b59;color:#fff;box-shadow:none}.steam-auth-active .steam-login-panel input:focus{outline:2px solid #67baff;outline-offset:1px}.steam-auth-active .steam-login-panel input::placeholder{color:#8995a5;font-size:12px}
.steam-auth-active .steam-login-panel button{border-radius:3px;background:#344052;color:#dbe2eb;border-color:#47566b}.steam-auth-active .steam-login-panel button:hover{background:#40516a}.steam-auth-active .steam-login-panel button.primary{background:linear-gradient(90deg,#06b6e7,#1478eb);border:0;color:#fff;font-weight:500;font-size:16px;min-height:46px}.steam-auth-active .steam-login-panel button.primary:hover{background:linear-gradient(90deg,#18c4ed,#2588f6)}.steam-auth-active .steam-login-panel .wide{margin-top:20px}.steam-auth-active #steam-edit-login{display:block;margin:12px auto 0;font-size:12px}
.steam-auth-active #steam-password-form>.small{text-align:center;font-size:11px;margin-top:14px}.steam-auth-active .steam-login-tabs{display:none}
.steam-auth-active #steam-qr-mode{text-align:center}.steam-auth-active #steam-qr-mode h3{font-size:13px;color:#67baff;font-weight:600;margin-bottom:12px}.steam-auth-active #steam-qr-mode>.small{max-width:220px;margin:14px auto 0;line-height:1.8}
.steam-auth-active .steam-qr-image{width:210px;max-width:100%;aspect-ratio:1;margin:0 auto;border:8px solid #fff;border-radius:6px}.steam-qr-wait{width:210px;max-width:100%;aspect-ratio:1;margin:0 auto;background:#2b3441;border:1px solid #414d5d;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;font-size:12px;color:#9eabbc}
.steam-auth-spinner{width:30px;height:30px;border:3px solid #526077;border-top-color:#67baff;border-radius:50%;animation:steam-auth-spin 1s linear infinite}@keyframes steam-auth-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.steam-auth-spinner{animation:none}}
.steam-auth-active #steam-login-message{color:#f2a5a5;font-size:12px}.steam-auth-active #steam-login-message:empty,.steam-auth-active #message:empty{display:none}.steam-auth-active .unsubscribe{background:transparent;border-color:#75545b;color:#e0a2ac;font-size:13px;margin-top:28px}.steam-auth-active .unsubscribe:hover{background:#382e38}
@media(max-width:719px){.steam-auth-active .customer{padding:24px 16px}.steam-auth-active .customer .card{padding:46px 20px 22px}.steam-auth-active #steam-login-expiry{right:14px}.steam-auth-heading h2{font-size:25px}.steam-auth-grid{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:16px}.steam-auth-active .steam-login-tabs{display:flex}.steam-auth-active .steam-login-tabs button{flex:1;font-size:13px;min-height:40px}.steam-auth-active .steam-login-tabs button.primary{font-size:13px;min-height:40px}.steam-auth-active #steam-login-status{min-height:21px}}

.rank-editor-modal{width:900px;max-width:calc(100vw - 40px)}.rank-editor-table{min-width:660px}.rank-editor-table td{vertical-align:top}.rank-editor-table input{min-width:90px;width:100%;margin:0}.rank-editor-table .rank-name{min-width:160px}.rank-row-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.rank-row-actions button{padding:8px 10px;white-space:nowrap}.service-type-cell select+select{margin-top:8px}.rank-order-options{margin:4px 0 14px 28px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.rank-order-options .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rank-order-options select{margin:6px 0}.rank-order-quote{margin:8px 0 0;font-weight:600;color:var(--accent)}.rank-order-breakdown{margin:6px 0 0;line-height:1.7}.rank-order-options[hidden]{display:none}@media(max-width:520px){.rank-order-options{margin-left:0}.rank-order-options .form-grid{grid-template-columns:minmax(0,1fr)}}

.rank-packages{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.rank-packages .table-wrap{margin-top:12px}.rank-editor-modal>select{margin:12px 0}.rank-editor-modal .rank-packages .actions{justify-content:flex-start}

/* 所有业务展开选项使用同一套紧凑布局。 */
.business-order-options{width:min(280px,calc(100% - 28px));min-width:0;margin:4px 0 10px 28px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}
.business-order-options label,.business-option-label{margin:0;font-size:12px;line-height:1.5;min-width:0}
.business-order-options>label+label{margin-top:8px}
.create-order-dialog .business-order-options select,.create-order-dialog .business-order-options input,.create-order-dialog .business-option-label select{height:34px;margin:4px 0 0;padding:5px 10px;font-size:13px}
.create-order-dialog .business-order-options select,.create-order-dialog .business-option-label select{padding-right:30px}
.business-option-label{max-width:280px}
.business-group-header td{background:var(--surface-alt)}
.business-group-heading{display:flex;align-items:center;gap:12px;white-space:normal}
.business-group-heading span{color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.business-group-heading button{margin-left:auto;flex-shrink:0}
.business-order-options.rank-order-options{width:min(320px,calc(100% - 28px))}
.business-order-options .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.business-order-options .rank-order-quote,.business-option-quote{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--accent)}
.business-option-quote:empty{display:none}
.business-order-options .rank-order-breakdown{margin:4px 0 0;font-size:11px;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:520px){.business-order-options,.business-order-options.rank-order-options{width:min(280px,100%);margin-left:0}.business-order-options .form-grid{grid-template-columns:minmax(0,1fr)}.create-order-dialog .business-order-options select,.create-order-dialog .business-order-options input,.create-order-dialog .business-option-label select{height:40px}}

/* Account-bound remote game preflight customer warning. */
.remote-game-warning{background:#fff6e5;border:1px solid #e6d3aa;color:#795a20;padding:14px 16px;border-radius:8px;margin:16px 0}.remote-game-warning p{margin:8px 0 12px;line-height:1.6}.remote-game-warning button{min-height:36px}
.customer .status-title:focus{outline:none}
.customer{--customer-summary-inset:17px}
.customer #order-summary{padding-inline:var(--customer-summary-inset)}
.customer :is(#state-title,#state-description){padding-inline:var(--customer-summary-inset);overflow-wrap:anywhere}
.steam-auth-active .customer{--customer-summary-inset:18px}
.game-choice-dialog{width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;padding:24px;background:#fff;color:#253147;overscroll-behavior:contain}.game-choice-dialog::backdrop{background:rgba(23,37,64,.5)}.game-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.game-choice-heading h2{font-size:20px;min-width:0}.game-choice-heading button{flex-shrink:0;font-size:12px;padding:6px 11px}.game-choice-dialog>p{margin:12px 0;line-height:1.65}.game-choice-dialog .remote-game-actions{margin-top:18px}.game-choice-dialog .remote-game-actions>div{border-color:var(--line)}.game-choice-dialog .remote-game-actions p{color:var(--muted)}.game-choice-dialog .unsubscribe{margin:0}.game-choice-dialog .error:empty{display:none}@media(max-width:520px){.game-choice-dialog,.game-risk-dialog{padding:18px}.game-choice-heading h2{font-size:18px}}
.remote-game-actions{display:grid;gap:12px}.remote-game-actions>div{border-top:1px solid #e6d3aa;padding-top:12px}.remote-game-actions button{width:100%;min-height:40px;white-space:normal}.remote-game-actions p{font-size:12px;margin:6px 0 0}.game-risk-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;padding:24px;background:#fff;color:#253147}.game-risk-dialog::backdrop{background:rgba(23,37,64,.5)}.game-risk-dialog p{margin-top:12px}.game-risk-check{display:flex;align-items:flex-start;gap:10px;margin:18px 0;color:#795a20}.game-risk-check input{width:18px;height:18px;flex:0 0 18px;margin-top:3px}.game-risk-dialog .actions{justify-content:flex-end}.game-risk-dialog .error:empty{display:none}

.model-selection{margin-top:24px;padding:20px var(--customer-summary-inset) 0;border-top:1px solid var(--line)}
.model-requirement{margin:16px 0}.model-requirement h3{font-size:16px;margin:0 0 6px}.model-save-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.model-save{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f6f7fb;min-width:0}.model-save-check{display:flex;align-items:flex-start;gap:10px;margin:0}.model-save-check input{flex:0 0 18px;width:18px;height:18px;padding:0;margin:3px 0 0}.model-save-check>span{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.model-save-check b{font-size:14px}.model-save-check .small{font-size:12px;color:#687588;line-height:1.6}.model-preview-button{font-size:12px;padding:6px 12px;margin:10px 0 0 28px}.model-preview-dialog{width:min(480px,calc(100vw - 36px));max-height:85vh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:14px;color:#233247;background:white}.model-preview-dialog::backdrop{background:#1e2a3b66}.model-preview-dialog table{width:100%;border-collapse:collapse;margin-bottom:16px;font-size:13px}.model-preview-dialog :is(th,td){padding:7px;text-align:center;border-bottom:1px solid #e2e7ef}.model-preview-dialog :is(th,td):first-child{text-align:left}.model-preview-dialog h2{font-size:19px;margin-top:0}
@media(max-width:600px){.model-save-list{grid-template-columns:minmax(0,1fr)}.model-preview-dialog{padding:18px}}

.customer #login-banner{padding:9px 14px;margin-bottom:16px;line-height:1.5}
.steam-auth-active #ownership-choose{display:none}

#dialog-overlay .after-sale-dialog #dialog-actions{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px}
#dialog-overlay .after-sale-dialog #dialog-actions button{width:100%;padding-inline:8px;min-width:0}
@media(max-width:420px){#dialog-overlay .after-sale-dialog #dialog-actions{grid-template-columns:1fr 1fr}#dialog-overlay .after-sale-dialog #after-sale-create{grid-column:1/-1}}

#dialog-overlay .cloud-review-dialog{width:min(100%,480px);padding:24px;border-radius:14px}
#dialog-overlay .cloud-review-dialog .dialog-header{margin-bottom:16px;gap:14px}
#dialog-overlay .cloud-review-dialog .dialog-header h2{font-size:21px;line-height:1.4}
#dialog-overlay .cloud-review-dialog #dialog-body{padding:4px}
#dialog-overlay .cloud-review-dialog #dialog-actions{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
#dialog-overlay .cloud-review-dialog #dialog-actions button{min-height:40px;font-size:13px}
.cloud-review-notice{margin:14px 0;font-size:12px;line-height:1.7}
.cloud-review-checks{display:grid;gap:12px;margin:18px 0}
.cloud-review-check{display:flex;align-items:flex-start;gap:10px;margin:0;color:var(--text);font-size:13px;line-height:1.6}
.cloud-review-check input{width:17px;height:17px;flex:0 0 17px;padding:0;margin:2px 0 0;accent-color:var(--accent)}
.cloud-review-dialog textarea{display:block;width:100%;resize:vertical;min-height:84px;background:var(--surface-alt);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:9px 11px;font:inherit;font-size:13px}
.cloud-review-dialog textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
.cloud-review-message{margin-top:10px;font-size:12px;line-height:1.6}
.cloud-review-message:empty{display:none}
@media(max-width:520px){#dialog-overlay .cloud-review-dialog{padding:18px}#dialog-overlay .cloud-review-dialog #dialog-actions button{width:100%}}

.steam-auth-active .steam-account-change-note{margin:0 0 20px;padding:12px 14px;border:1px solid #786444;background:#332d23;color:#f0cf92;border-radius:6px;line-height:1.6}

.customer #order-summary{gap:12px;min-width:0}
.customer .customer-account{display:flex;align-items:center;gap:12px;min-width:0;padding-bottom:12px;border-bottom:1px solid var(--line)}
.customer .customer-avatar{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:8px;overflow:hidden;background:#e3e8f2;color:#8995a9}
.customer .customer-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.customer .customer-avatar svg{width:34px;height:34px}
.customer .customer-account-details{min-width:0;flex:1}
.customer #order-account-name{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.customer .customer-account-details .account-info{font-size:12px;line-height:1.5;margin-top:4px}
.customer #order-summary .business{min-width:0;overflow-wrap:anywhere}
.steam-auth-active .customer .customer-account{border-color:#354051}
.steam-auth-active .customer .customer-avatar{background:#344052;color:#9aa8bb}
.steam-auth-active .customer #order-account-name{color:#eef1f5}
.steam-auth-active .customer .customer-account-details .account-info{color:#a4aebb}
@media(max-width:420px){.customer .customer-account{gap:10px}.customer .customer-avatar{width:42px;height:42px;flex-basis:42px}.customer #order-account-name{font-size:15px}}

.machine-footer{justify-content:flex-end}.machine-footer>.primary{margin-left:auto}.removable-device-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.removable-device-row>span{min-width:0;overflow-wrap:anywhere}.removable-device-row>button{flex-shrink:0}
/* Keep editable service controls inside their own columns. */
.service-price-table{table-layout:fixed;min-width:1050px;width:100%;white-space:normal}
.service-price-table th:nth-child(1){width:23%}.service-price-table th:nth-child(2),.service-price-table th:nth-child(3){width:13%}.service-price-table th:nth-child(4){width:23%}.service-price-table th:nth-child(5){width:7%}.service-price-table th:nth-child(6){width:21%}
.service-price-table th,.service-price-table td{vertical-align:middle;padding:12px;white-space:normal;overflow-wrap:anywhere}
.service-price-table input,.service-price-table select{display:block;width:100%;min-width:0;max-width:100%;margin:0}
.service-price-table .service-type-cell select+select{margin-top:8px}.service-price-table .service-type-cell p{margin:6px 0 0;font-size:12px}
.service-price-table th:nth-child(5),.service-price-table th:nth-child(6),.service-price-table td:nth-child(5){text-align:center}
.service-row-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}.service-row-actions button{margin:0;white-space:nowrap;padding:7px 10px}.service-row-actions button[hidden]{display:none}

#orders-filter #manual-order{margin-left:auto;align-self:flex-end;min-height:40px;white-space:nowrap}#orders-filter #after-sale{margin-left:0}

/* Compact specialty checkbox rows in order creation. */
.create-order-dialog .specialty-order-options>label.check{margin:0;min-height:28px;gap:8px;align-items:center}
.create-order-dialog .specialty-order-options input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px;margin:0;padding:0}

/* Compact secondary Steam login actions; retain their original widths. */
.steam-login-panel #steam-use-code,.steam-login-panel #steam-login-restart{height:32px;min-height:32px;padding-block:4px;line-height:22px;white-space:nowrap}
.steam-login-panel #steam-use-code{width:calc(5em + 32px);padding-inline:8px}

.steam-login-panel #steam-use-backup,.steam-login-panel #steam-use-mobile{margin-top:12px;height:32px;min-height:32px;padding:4px 12px;line-height:22px}

.steam-auth-active #steam-password-form.is-submitting label,.steam-auth-active #steam-password-form.is-submitting input{color:#9299a3;-webkit-text-fill-color:#9299a3}
.steam-login-panel #steam-login-message.submission-success{color:#69c995}

/* Steam mobile confirmation: original client artwork and matching copy. */
.steam-auth-heading h2 .steam-heading-login{font:inherit;color:inherit;border:0;padding:0}
.steam-login-panel.approval-stage{padding-bottom:26px}
.steam-login-panel.approval-stage .steam-heading-login,.steam-login-panel.approval-stage #steam-login-status,.steam-login-panel.approval-stage .steam-login-tabs{display:none}
.steam-login-panel.approval-stage .steam-auth-heading h2{font-size:29px;letter-spacing:2px}
.steam-approval-account{text-align:center;margin:30px 0 24px;color:#aaa;font-size:16px}
.steam-approval-account b{margin-left:8px;color:#f4f4f4;font-weight:600}
.steam-login-panel.approval-stage .steam-auth-grid{max-width:432px;margin:0 auto;gap:0}
.steam-approval-card{display:flex;align-items:center;gap:20px;min-height:152px;padding:8px 20px;background:linear-gradient(110deg,#303236,#2c2e32);text-align:left}
.steam-approval-card[hidden]{display:none}
.steam-approval-card img{flex:0 0 94px;width:94px;height:136px;object-fit:contain}
.steam-approval-card p{font-size:16px;line-height:1.65;color:#f4f4f4}
.steam-auth-active .approval-stage #steam-use-code,.steam-auth-active .approval-stage #steam-login-restart{display:block;width:auto;height:32px;min-height:32px;padding:4px 0;margin:22px auto 0;border:0;border-radius:0;background:transparent;color:#b8b8b8;font-size:12px;text-decoration:underline;font-weight:400}
.steam-auth-active .approval-stage #steam-use-code:hover,.steam-auth-active .approval-stage #steam-login-restart:hover{color:#fff;background:transparent}
.steam-auth-active .approval-stage #steam-login-restart{margin-top:8px}
.steam-auth-active .approval-stage #steam-login-message{text-align:center}
.steam-auth-active .approval-stage #steam-login-restart[hidden],.steam-auth-active .approval-stage #steam-use-code[hidden]{display:none}
@media(max-width:480px){.steam-approval-card{padding:12px;gap:12px}.steam-approval-card img{width:72px;height:auto;flex-basis:72px}.steam-approval-card p{font-size:14px}.steam-approval-account{margin-top:24px}.steam-login-panel.approval-stage .steam-auth-heading h2{font-size:25px}}

/* Steam Guard card; one accessible input supports typing, pasting and autofill. */
.steam-login-panel.guard-stage{padding-bottom:26px}
.steam-login-panel.guard-stage .steam-heading-login,.steam-login-panel.guard-stage #steam-login-status,.steam-login-panel.guard-stage .steam-login-tabs{display:none}
.steam-login-panel.guard-stage .steam-auth-grid{max-width:378px;margin:0 auto;gap:0}
.steam-code-card{background:#303338;padding:20px;color:#f4f4f4}
.steam-code-entry{position:relative;background:#272a2e;height:76px;padding:0 16px}
.steam-code-slots{height:100%;display:flex;align-items:center;gap:16px}
.steam-code-slots span{flex:1;min-width:0;height:38px;line-height:36px;border-bottom:2px solid #4b4e53;text-align:center;font-family:Consolas,monospace;font-size:26px;color:#fff}
.steam-auth-active .steam-login-panel #steam-guard-code{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:transparent;-webkit-text-fill-color:transparent;caret-color:transparent;letter-spacing:0}
.steam-code-entry:focus-within{outline:1px solid #66b8ee;outline-offset:2px}
.steam-code-caption{display:flex;align-items:center;justify-content:center;gap:14px;text-align:center;min-height:90px;padding:18px 14px 0}
.steam-code-caption p{font-size:14px;line-height:1.65;font-weight:400;color:#f4f4f4}
.steam-code-caption img{flex:0 0 33px;width:33px;height:49px}
.steam-code-caption #steam-backup-note{font-size:11px;color:#aaa}
.backup-mode .steam-code-caption{justify-content:center;text-align:center;min-height:72px;padding-inline:0}
.backup-mode .steam-code-slots{gap:12px}
.steam-auth-active .guard-stage #steam-guard-submit{display:block;width:100%;min-height:32px;height:32px;padding:4px 18px;font-size:12px;margin:14px auto 0}
.steam-auth-active .guard-stage #steam-use-backup,.steam-auth-active .guard-stage #steam-use-mobile,.steam-auth-active .guard-stage #steam-login-restart{display:block;margin:12px auto 0;border:0;background:transparent;color:#b8b8b8;font-size:12px;height:32px;min-height:32px;padding:4px 0;text-decoration:underline}
.steam-auth-active .guard-stage #steam-use-backup:hover,.steam-auth-active .guard-stage #steam-use-mobile:hover,.steam-auth-active .guard-stage #steam-login-restart:hover{color:#fff;background:transparent}
.steam-auth-active .guard-stage button[hidden]{display:none!important}
.steam-auth-active .guard-stage #steam-login-message{text-align:center}
@media(max-width:480px){.steam-code-card{padding:14px}.steam-code-entry{padding:0 10px}.steam-code-slots{gap:12px}.backup-mode .steam-code-slots{gap:7px}.steam-code-caption{padding-inline:2px}.steam-code-caption p{font-size:13px}}

/* Preserve the disabled appearance until the next Steam verification screen is confirmed. */
.steam-login-panel.is-switching .steam-code-caption p,.steam-login-panel.is-switching .steam-code-slots span{color:#9299a3}
.steam-auth-active .steam-login-panel.is-switching button:disabled:hover{color:#b8b8b8}

.steam-login-panel.is-code-waiting .steam-code-caption p,.steam-login-panel.is-code-waiting .steam-code-slots span{color:#9299a3}
.steam-auth-active .steam-login-panel.is-code-waiting button:disabled:hover{color:#b8b8b8}

.order-table td .actions button.order-action-delete{background:#c43535;border-color:#c43535;color:#fff}
.order-table td .actions button.order-action-delete:hover{background:#a92727;border-color:#a92727}

.order-table:not(.show-order-delete) .order-action-delete{display:none}
.order-actions-heading{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.order-delete-toggle{display:inline-flex;align-items:center;width:32px;height:18px;min-width:32px;padding:2px;border:0;border-radius:10px;background:#b9c2d2;vertical-align:middle}
.order-delete-toggle:hover{background:#a9b5c8}
.order-delete-toggle span{display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transform:translateX(0);transition:transform .15s}
.order-delete-toggle[aria-checked="true"]{background:var(--accent)}
.order-delete-toggle[aria-checked="true"] span{transform:translateX(14px)}
.order-delete-toggle[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.order-delete-toggle span{transition:none}}


.workspace-account{display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:100%}
.income-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 22px;font-size:13px}
.income-item{display:flex;align-items:baseline;gap:8px;color:var(--muted,#687582)}
.income-item strong{color:#263d77;font-size:17px;font-variant-numeric:tabular-nums}
@media(max-width:640px){.workspace-account{align-items:flex-start}.income-summary{justify-content:flex-start}}

/* Compact workstation card actions and read-only customer preview. */
.workspace-page .machine-footer{justify-content:flex-end;min-height:30px}
.workspace-page .machine-footer button{font-size:12px;padding:6px 10px;line-height:1.3}
.machine-footer .machine-view-link{margin-left:auto}
.model-adjust-form{display:flex;flex-direction:column;gap:12px}.model-adjust-item{border:1px solid var(--line);border-radius:6px;padding:12px}.model-adjust-item label{margin:0;font-weight:600}.model-adjust-item p{margin:6px 0 10px}.model-adjust-item input{max-width:150px;margin:0}.model-adjust-total{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;flex-wrap:wrap;font-variant-numeric:tabular-nums}.model-adjust-total span{color:var(--muted);font-size:13px}.model-adjust-total strong{color:var(--accent);font-size:18px}.model-adjust-dialog .error:empty{display:none}
.staff-customer-view .customer button:not(#model-preview-close):not(.model-preview-button),
.staff-customer-view #steam-login-panel,.staff-customer-view #confirm,.staff-customer-view dialog:not(#model-preview-dialog){display:none!important}
@media(max-width:650px){.workspace-page .machine-footer button{font-size:10px;padding:4px 6px}}

.customer-view-modal{width:min(680px,94vw);max-width:680px;height:min(900px,92vh);display:flex;flex-direction:column;overflow:hidden}
.customer-view-modal #dialog-body{flex:1;min-height:0;display:flex}
.customer-view-frame{width:100%;height:100%;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.customer-view-modal #dialog-actions{flex-shrink:0}

.customer-view-modal{width:min(1100px,96vw);max-width:1100px}
.customer-view-modal #dialog-body{flex-direction:column;gap:8px}
.customer-screen-viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:#eef1f5;border-radius:10px}
.customer-screen-viewport .customer-view-frame{position:absolute;top:0;left:0;border:0;border-radius:0;transform-origin:top left;pointer-events:none}
.customer-screen-replay .screen-open-dialog{position:fixed;top:50%;left:50%;right:auto;bottom:auto;margin:0;transform:translate(-50%,-50%);z-index:9999}
