/* 豆时 OS: presentation only. SVG positions, state transitions and timers stay in their existing modules. */
.shell{--os-violet:#6859b6;--os-amber:#976315;--os-orange:#b84b31;--os-stone:#70757d;background:color-mix(in srgb,var(--bg),#f3f1ed 32%)}
.shell .panel{border-radius:24px;border-color:color-mix(in srgb,var(--ink),transparent 94%);box-shadow:0 4px 20px #302c3904}
.shell .btn,.shell .icon-btn,.shell .text-btn,.shell .duration{border-radius:14px}
.shell input:not([type=checkbox]):not([type=color]),.shell select,.shell textarea{border-radius:16px}
.shell .btn.primary{background:color-mix(in srgb,var(--purple),#5259a5 24%)}
.shell .sidebar .nav-item.active{background:var(--surface);box-shadow:0 2px 10px #29213208;color:var(--os-violet)}
.shell:not(.map-fullscreen) .sidebar{border-right:0;background:color-mix(in srgb,var(--surface),var(--bg) 72%)}
.shell .brand-symbol{transform:none}.shell .nav-label{color:var(--muted)}
.shell.view-desk .page{padding:16px 24px 0}
.shell.view-desk .page-heading{display:flex;align-items:center;gap:20px;margin:0 0 14px;padding:6px 2px;min-height:68px}
.shell.view-desk .page-heading>div:first-child{flex:1;max-width:none;min-width:130px}
.shell.view-desk .page-heading h1{font-size:25px;letter-spacing:-.7px}
.operating-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;margin-top:6px;font-size:10px;color:var(--muted)}
.operating-meta .server-status{font-size:10px;margin:0;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operating-meta .error-banner{font-size:11px;margin:0;padding:3px 7px;border:0;line-height:1.5}
#shop-operating-state{white-space:nowrap}.is-ready:before,.is-limited:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#699882;margin-right:5px}.is-limited:before{background:#bd762f}
.shell.view-desk .service-summary{gap:4px}.shell.view-desk .summary-item{flex-direction:column;gap:2px;align-items:flex-start;padding:5px 13px;min-width:62px;min-height:50px;border-radius:14px}
.shell.view-desk .summary-item strong{font-size:26px;line-height:1.1;font-weight:620}.shell.view-desk .summary-item span{font-size:11px}
.summary-due strong{color:var(--os-orange)}.summary-item[data-value=active] strong{color:var(--os-violet)}
.shell.view-desk .shop-clock{margin:0 0 0 auto;min-width:118px}.shell.view-desk .shop-clock .clock-digits{font-size:25px}
.shell .floor-panel{box-shadow:0 4px 28px #39314007;border:0}.shell .floor-panel .panel-heading{border-bottom:0;padding:8px 20px}.shell .floor-panel .panel-title h2{font-size:14px}
.shell .floor-filters{padding:0 20px 8px}.shell .zone-tab{font-size:12px;min-height:44px}.shell .search-box{background:color-mix(in srgb,var(--surface),var(--ink) 3%)}
.shell .map-scroll{background:color-mix(in srgb,var(--surface),#ece9e3 12%)}
.shell .zone-shape>rect{fill:#eeecf133;stroke:#bab6c777;stroke-dasharray:3 6}.shell .zone-name{fill:#666173;font-size:16px;paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round}
.shell .seat-main{fill:#fcfcfd;stroke:#b4b3bd;stroke-width:1.3}
.shell .seat-shape.active .seat-main{fill:#ece9f9;stroke:#9183cc}.shell .seat-shape.active .seat-back{fill:#9183cc}
.shell .seat-shape.active .seat-number{fill:#675591}.shell .seat-shape .countdown-label{fill:#51418b;font-size:14.5px;letter-spacing:-.65px;font-weight:700}
.shell .seat-substatus{fill:#716491}.shell .seat-status-symbol{color:#716491}
.shell .seat-shape.reserved .seat-main{fill:#e9ecfc;stroke:#8b94c8}.shell .seat-shape.reserved .seat-label{fill:#565e99}.shell .seat-shape.reserved .seat-back{fill:#8b94c8}
.shell .seat-shape.repair .seat-main{fill:#dfe1e5;stroke:#787d86;stroke-dasharray:3 2}.shell .seat-shape.repair .seat-back{fill:#787d86}.shell .seat-shape.repair .seat-number,.shell .seat-shape.repair .seat-label{fill:#4f535e}
.shell .seat-shape.needs-cleaning .seat-main{fill:#efe6e7;stroke:#b7989e;stroke-dasharray:4 2}.shell .seat-shape.needs-cleaning .seat-label{fill:#946774}
.shell .seat-shape.is-soon .seat-main{fill:#fbefcf;stroke:#c49847;stroke-width:2;stroke-dasharray:none}.shell .seat-shape.is-soon .seat-back{fill:#c49847}.shell .seat-shape.is-soon .countdown-label,.shell .seat-shape.is-soon .seat-substatus{fill:#875b14}
.shell .seat-shape.is-overdue .seat-main{fill:#fae7de;stroke:#cf7f64;stroke-width:2.5;stroke-dasharray:none}.shell .seat-shape.is-overdue .seat-back{fill:#cf7f64}.shell .seat-shape.is-overdue .countdown-label,.shell .seat-shape.is-overdue .seat-substatus{fill:#a9452c}.shell .is-overdue .seat-status-symbol{color:#a9452c}
.shell .seat-shape.is-paused:not(.is-overdue) .seat-main{fill:#eceaf2;stroke:#9390a4;stroke-dasharray:3 2}.shell .seat-shape.is-paused:not(.is-overdue) .countdown-label{fill:#625d76}
.shell .seat-shape.is-selected .seat-main{stroke:#6c59b3;stroke-width:2.5}
.shell .seat-shape.needs-reminder>.seat-visual{animation:os-seat-nudge 3.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.shell .seat-shape.needs-reminder .seat-main{animation:os-seat-breathe 3.2s ease-in-out infinite}
.shell .editing .seat-shape .seat-visual,.shell .editing .seat-shape .seat-main{animation:none}
@keyframes os-seat-nudge{0%,78%,100%{transform:translateX(0) rotate(0)}82%{transform:translateX(-.7px) rotate(-.45deg)}88%{transform:translateX(.7px) rotate(.45deg)}94%{transform:translateX(-.3px)}}
@keyframes os-seat-breathe{0%,100%{stroke:#cf7f64;stroke-width:2}50%{stroke:#b85f42;stroke-width:3}}
.shell .status-dot.active{background:#9183cc}.shell .status-dot.reserved{background:#8b94c8}.shell .expired-dot{background:#cf7f64}.shell .cleaning-dot{background:#efe6e7;border-color:#b7989e}
.shell .status-badge.active,.shell .big-seat.active{background:#ece9f9;color:#645097;border-color:#c1b5e6}
.shell .detail-panel:has(.timer-card.overdue) .status-badge,.shell .detail-panel:has(.timer-card.overdue) .big-seat{background:#fae7de;color:#a9452c;border-color:#d7a08c}
.shell .timer-card.overdue{background:#fcf0e9}.shell .timer-card.overdue strong{color:#a9452c}.shell .acknowledge-btn{background:#fff8f3;color:#a45238;border-color:#e1c3b5}
.shell .alert-strip{background:#faf0e9;border-left:2px solid #cd8d6d;color:#935638;min-height:44px;border-radius:14px}.shell .alert-strip strong{font-weight:550}
.shell .map-scroll .map-controls{display:flex;align-items:center;gap:3px;padding:4px 7px;border:1px solid #ffffffbd;border-radius:99px;background:#ffffffe6;box-shadow:0 3px 14px #27233214;backdrop-filter:blur(12px);width:max-content;max-width:calc(100% - 24px)}
.shell .map-controls .icon-btn,.shell .map-controls .fit-btn{border-radius:99px;min-width:44px;min-height:44px;background:none}.shell .map-controls [data-zoom-label]{min-width:44px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums;color:#615b70}.shell .map-controls .fit-btn{border-left:1px solid #e6e2ed;padding:0 12px}
.shell .os-editor-tools{padding:9px 14px;gap:10px;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;border-radius:18px}
.tool-cluster{display:flex;flex-direction:column;gap:3px;padding-right:10px;border-right:1px solid var(--line)}.tool-cluster:last-child{border:0;padding-right:0}.tool-cluster>span{font-size:10px;color:var(--muted);padding:0 9px}.tool-cluster>div{display:flex;gap:2px;flex-wrap:wrap}
.shell .os-editor-tools .btn{font-size:12px;min-height:44px;padding:8px 10px}.shell .os-editor-tools .btn.selected{background:var(--purple-soft);box-shadow:inset 0 0 0 1px #8873bd22}.shell .editor-inspector{border-radius:18px;padding:22px}
.shell .os-editor-tools .icon{width:17px;height:17px}
@media(min-width:1000px){.shell.view-editor .editor-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}.shell.view-editor .editor-workspace>.right-column{display:block;min-width:0}.shell .editor-inspector{max-height:calc(100dvh - 190px);overflow:auto;scrollbar-width:thin}.shell .editor-tip{display:none}.shell .os-editor-tools{gap:6px}.tool-cluster{padding-right:6px}.shell .os-editor-tools .btn{font-size:11px;padding:8px 6px}.shell .os-editor-tools .btn .icon{margin-right:2px}}
.inspector-empty{text-align:center;padding:18px 0 24px}.inspector-empty>span{display:grid;place-items:center;margin:0 auto 16px;width:58px;height:58px;background:#f0ecf7;color:#8d7ab3;border-radius:18px}.inspector-empty>span .icon{width:25px;height:25px}.inspector-empty h2{font-size:16px}.inspector-empty p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:9px}
.shell .layout-summary>div{border-radius:14px;background:#f4f2f7}.shell .alignment-guide,.shell .equipment-snap-guide{stroke:#68a293;stroke-width:1.25;stroke-dasharray:5 4}.shell .selection-outline{stroke:#8e7bc1;stroke-width:1.5}.shell .editor-hint{font-size:11px;line-height:1.6}
.shell .history-summary{gap:12px;margin-bottom:16px}.shell .history-summary>.panel{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:18px}.shell .history-summary strong{font-size:28px;font-variant-numeric:tabular-nums}.shell .history-summary span{font-size:12px}.shell .history-summary small{font-size:11px}
.shell .history-panel td{padding:11px 18px}.shell .history-panel th{font-size:11px;background:color-mix(in srgb,var(--surface),var(--bg) 50%)}.shell .history-panel td:nth-child(4),.shell .history-panel td:nth-child(5),.shell .history-panel th:nth-child(4),.shell .history-panel th:nth-child(5){text-align:right;font-variant-numeric:tabular-nums}.shell .history-panel td:nth-child(5){font-weight:600}
.shell .event-pill{border-radius:8px;font-size:11px;padding:4px 9px;background:#f0f0f3;color:#6a6c77}.shell .event-start{background:#ece8f7;color:#685195}.shell .event-extend{background:#e9ecfa;color:#60669f}.shell .event-transfer{background:#f8eddb;color:#92662c}.shell .event-clear{background:#ececef;color:#6f707a}
.shell .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.shell .settings-panel{padding:24px;border-radius:24px;margin:0}.shell .settings-panel h2{font-size:16px;margin-bottom:14px}.shell .settings-panel>p.muted{font-size:12px;line-height:1.7;margin-bottom:18px}.shell .settings-panel .field-hint{line-height:1.8}.shell .settings-panel label{font-size:13px}.shell .settings-panel .checkbox-label{min-height:44px;align-items:center}.shell .settings-panel .settings-actions{gap:8px;margin-top:16px;flex-wrap:wrap}.shell .settings-panel:last-child{grid-column:1/-1}.shell .settings-notes{columns:2;column-gap:32px;font-size:12px}.shell .settings-notes li{break-inside:avoid}.shell .storage-box{background:color-mix(in srgb,var(--surface),#709982 6%);border-radius:18px;padding:18px}.shell .settings-panel hr{margin:20px 0}
@media(min-width:1600px){.shell.view-desk .page-heading{gap:32px}.shell.view-desk .summary-item{padding:6px 24px}.shell.view-desk .page{padding:20px 30px 0}}
@media(max-width:1200px){.shell.view-desk .page{padding:14px 16px 0}.shell.view-desk .page-heading{gap:10px}.shell.view-desk .page-heading h1{font-size:22px}.shell.view-desk .summary-item{padding:5px 8px;min-width:56px}.shell.view-desk .summary-item strong{font-size:24px}.shell.view-desk .shop-clock{min-width:110px}.shell.view-desk .shop-clock .clock-digits{font-size:23px}.operating-meta{font-size:10px;gap:4px}.operating-meta .server-status{max-width:145px}}
@media(max-width:800px){.shell.view-desk .page-heading{flex-wrap:wrap}.shell.view-desk .service-summary{order:4;width:100%;justify-content:space-between}.shell.view-desk .page-heading>div:first-child{max-width:none}.shell .history-summary>.panel{align-items:flex-start;flex-direction:column;padding:16px}.shell .settings-grid{grid-template-columns:minmax(0,1fr)}.shell .settings-panel:last-child{grid-column:auto}.shell .settings-notes{columns:1}}
@media(max-width:600px){.shell.view-desk .page{padding:12px 10px 0}.shell.view-desk .page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:10px}.shell.view-desk .page-heading>div:first-child{min-width:0}.shell.view-desk .page-heading h1{font-size:22px}.shell.view-desk .heading-actions{grid-row:3;grid-column:1/-1}.shell.view-desk .heading-actions>.btn{width:100%}.shell.view-desk .service-summary{grid-row:2}.shell.view-desk .summary-item{padding:6px 10px;min-width:0}.shell.view-desk .shop-clock{min-width:0}.shell.view-desk .shop-clock .clock-digits{font-size:22px}.shell .floor-panel .panel-heading{padding:6px 12px}.shell .floor-filters{padding:0 12px 6px}.shell .os-editor-tools{padding:10px;gap:8px}.tool-cluster{padding-right:4px}.shell .settings-panel{padding:20px}.shell .map-controls .icon-btn,.shell .map-controls .fit-btn{min-height:44px}.shell .history-summary strong{font-size:23px}.shell .history-summary>.panel{padding:14px 10px}}
@media(prefers-reduced-motion:reduce){.shell .seat-shape.needs-reminder>.seat-visual,.shell .seat-shape.needs-reminder .seat-main{animation:none!important}}
@media(prefers-reduced-transparency:reduce){.shell .map-scroll .map-controls{background:#fff;backdrop-filter:none}}
