:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f6f4ee;--ink:#14201c;--muted:#5a6762;--line:#dfdbd0}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0}h1,h2,p,dl,dd{margin:0}.center-screen{place-items:center;min-height:100vh;padding:16px;display:grid}.auth-panel{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(380px,100%);padding:28px}.auth-brand{align-items:center;gap:10px;margin-bottom:24px;display:flex}.auth-brand h1{font-size:20px}.auth-alert{margin-bottom:16px}.console{background:var(--paper);min-height:100vh}.console-sider{border-right:1px solid var(--line)}.console-sider .ant-layout-sider-children{height:100vh;position:sticky;top:0;overflow-y:auto}.console-brand{white-space:nowrap;align-items:center;gap:10px;height:64px;padding:0 20px;font-size:17px;font-weight:700;display:flex;overflow:hidden}.console-sider .ant-menu{border-inline-end:0!important}.console-header{border-bottom:1px solid var(--line);background:0 0;justify-content:flex-end;align-items:center;gap:8px;height:64px;padding:0 24px;display:flex}.console-content{width:min(1120px,100%);margin-inline:auto;padding:28px 24px}.page-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.page-title{margin-bottom:20px;font-size:22px;font-weight:700}.page-head .page-title{margin-bottom:0}.page-alert{margin-bottom:16px}.page-note{color:var(--muted);margin-top:16px;font-size:13px}.empty-start{text-align:center;border:1px dashed var(--line);background:#fff;border-radius:12px;padding:40px 24px}.empty-start h2{font-size:18px}.empty-start p{color:var(--muted);margin:6px 0 16px}.console-sider.is-collapsed{flex:0 0 64px!important;width:64px!important;min-width:64px!important;max-width:64px!important}.console-sider.is-collapsed .console-brand span{display:none}.console-sider{transition:none!important}.sider-toggle{z-index:20;width:18px;height:56px;color:var(--muted);cursor:pointer;border:1px solid var(--line);background:#fff;border-left:0;border-radius:0 8px 8px 0;place-items:center;padding:0;font-size:10px;display:grid;position:fixed;top:50%;left:288px;transform:translateY(-50%)}.sider-toggle:hover{color:#0b6e4f;background:#e3f0ea}.sider-toggle.is-collapsed{left:64px}.shop-rail{padding:4px 0}.rail-group{justify-items:center;display:grid}.rail-mark,.rail-shop{cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:44px;min-height:28px;padding:0;display:grid}.rail-mark{min-height:32px}.rail-mark:hover,.rail-shop:hover{background:#0000000a}.rail-shop.is-active{background:#e3f0ea}@media (width<=640px){.console-content{padding:20px 16px}}.console-content-full{min-width:0;height:calc(100vh - 64px)}.bench{grid-template-columns:260px minmax(0,1fr);height:100%;display:grid}.bench-records{border-right:1px solid var(--line);background:#fbfaf6;min-height:0;overflow-y:auto}.bench-records ul{margin:0;padding:0;list-style:none}.bench-records-head{z-index:1;border-bottom:1px solid var(--line);background:#fbfaf6;padding:10px 14px;position:sticky;top:0}.bench-records-head strong,.bench-records-head span{display:block}.bench-records-head span{color:var(--muted);font-size:12px}.chat-records-btn{display:none}.bench-spin{margin:32px auto;display:block}.bench-main{background:#fff;flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}.bench-empty{flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;display:flex}.chat-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 16px;display:flex}.chat-title{flex:1;min-width:120px}.chat-title strong,.chat-title span{display:block}.chat-title span{color:var(--muted);font-size:12px}.chat-head .ant-tag{margin:0}.chat-log,.sim-log{background:var(--paper);flex:1;min-height:0;padding:16px;overflow-y:auto}.chat-older{margin:0 auto 12px;display:block}.bubble-row{flex-direction:column;align-items:flex-start;margin-bottom:12px;display:flex}.bubble-row.is-out{align-items:flex-end}.bubble{overflow-wrap:anywhere;white-space:pre-wrap;border:1px solid var(--line);background:#fff;border-radius:3px 12px 12px;max-width:min(70%,560px);padding:8px 12px}.is-out .bubble{color:#fff;background:#0b6e4f;border-color:#0b6e4f;border-radius:12px 3px 12px 12px}.bubble-meta{color:var(--muted);align-items:center;gap:8px;margin-top:2px;font-size:12px;display:flex}.chat-input{border-top:1px solid var(--line);background:#fff;align-items:flex-end;gap:8px;padding:12px 16px;display:flex}.chat-hint{color:var(--muted);text-align:center;border-top:1px solid var(--line);padding:14px 16px}.page-lead{color:var(--muted);margin:-12px 0 16px}.sim{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;height:calc(100vh - 230px);min-height:420px;display:flex;overflow:hidden}.sim-fields{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 16px;display:grid}.sim-fields label{color:var(--muted);gap:4px;font-size:13px;display:grid}@media (width<=900px){.bench{grid-template-columns:minmax(0,1fr)}.bench .bench-records,.bench.show-records .bench-main{display:none}.bench.show-records .bench-records{display:block}.chat-records-btn{display:inline-flex}.bubble{max-width:85%}}@media (width<=640px){.sim-fields{grid-template-columns:minmax(0,1fr)}}.shop-nav{margin:4px}.shop-nav-head{border-radius:8px;align-items:center;gap:2px;height:40px;padding-right:8px;display:flex}.shop-nav-head:hover{background:#0000000a}.shop-nav-toggle{height:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:0 0 0 24px;display:flex}.shop-panel{padding:6px 8px 8px}.shop-panel-loading{padding:8px 12px}.shop-tab{align-items:center;gap:6px;font-weight:600;display:inline-flex}.shop-tab-count{text-align:center;background:#0b6e4f1f;border-radius:8px;min-width:18px;padding:0 5px;font-size:12px;line-height:16px}.shop-groups{margin:6px 0 0;padding:0;list-style:none}.shop-group{width:100%;height:34px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:0 8px 0 4px;font-size:13px;display:flex}.shop-group:hover{background:#0000000a}.shop-chevron{color:var(--muted);flex:none;font-size:10px}.shop-mark{color:#fff;border-radius:5px;flex:none;place-items:center;width:20px;height:20px;font-size:12px;display:inline-grid}.shop-group-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.shop-group-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.shop-items{margin:0;padding:0 0 4px 14px;list-style:none}.shop-item{border-radius:6px;align-items:center;gap:4px;min-height:30px;padding:0 2px 0 8px;font-size:13px;display:flex}.shop-item:hover{background:#0000000a}.shop-item.is-active{color:#0b6e4f;background:#e3f0ea;font-weight:600}.shop-item-toggle{min-width:0;height:30px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:6px;padding:0;display:flex}.conv-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;border-bottom:1px solid var(--line);background:0 0;border-left:3px solid #0000;padding:8px 12px;font-size:13px;line-height:1.4;display:block}.conv-item:hover{background:#0000000a}.conv-item.is-active{background:#e3f0ea;border-left-color:#0b6e4f}.conv-item-head{justify-content:space-between;align-items:center;gap:6px;display:flex}.conv-item-head strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.conv-item-preview{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.conv-item-head time{color:var(--muted);flex:none;font-size:11px}.conv-item-foot{justify-content:space-between;align-items:center;min-height:18px;display:flex}.conv-item-state{color:var(--muted);font-size:11px}.conv-item-state.is-waiting{color:#c2410c;font-weight:600}.shop-dot{background:#b5bdb9;border-radius:50%;flex:none;width:6px;height:6px}.shop-dot.is-online{background:#0e9f6e}.shop-dot.is-break{background:#d9880d}.shop-dot.is-offline{background:#8a948f}.shop-dot.is-disconnected{background:0 0;box-shadow:inset 0 0 0 1px #8a948f}.shop-item-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.shop-item-off{color:var(--muted);flex:none;font-size:12px}.shop-empty,.shop-note{color:var(--muted);font-size:12px;line-height:1.5}.shop-empty{padding:2px 0 6px 34px}.shop-note{padding:6px 4px 0}.console-content:has(.dash){width:min(1320px,100%)}.dash{gap:14px;display:grid}.dash-card{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;padding:16px 18px}.dash-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;display:flex}.dash-title{align-items:center;gap:10px;display:flex}.dash-title h1{font-size:24px;font-weight:700}.dash-sub{color:var(--muted);font-size:13px}.dash-pill{color:#0b6e4f;background:#e3f0ea;border-radius:999px;align-items:center;gap:6px;padding:1px 10px;font-size:12px;font-weight:600;display:inline-flex}.dash-pill:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.dash-pill.is-alert{color:#b4470b;background:#fdeee0}.dash-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dash-tools .ant-segmented{max-width:100%;overflow-x:auto}.dash-section-title{border-left:3px solid #0b6e4f;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin-bottom:12px;padding-left:8px;display:flex}.dash-section-title h2{font-size:15px;font-weight:700}.dash-section-title span{color:var(--muted);font-size:12px}.dash-grid{gap:10px;margin:0;display:grid}.dash-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dash-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dash-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid+.dash-grid{margin-top:10px}.dash-tile{width:100%;min-width:0;color:inherit;font:inherit;text-align:left;border:1px solid var(--line);background:#fbfaf6;border-radius:12px;padding:12px 14px;display:block}button.dash-tile{cursor:pointer}button.dash-tile:hover{border-color:#0b6e4f}.dash-tile.is-alert{background:#fdf3e9;border-color:#f0c9a4}.dash-tile-label{color:var(--muted);font-size:13px;display:block}.dash-tile-value{overflow-wrap:anywhere;font-size:26px;font-weight:650;line-height:1.3;display:block}.dash-tile-value.is-pending{color:#9aa5a0;font-size:18px;line-height:34px}.dash-tile-note{color:var(--muted);font-size:12px;display:block}.dash-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 12px;margin-bottom:10px;display:flex}.dash-panel-head h3{font-size:15px;font-weight:700}.dash-panel-head span{color:var(--muted);font-size:12px}.dash-empty{color:var(--muted);text-align:center;padding:28px 0;font-size:13px}.dash-list{margin:0;padding:0;list-style:none}.dash-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;border-bottom:1px solid var(--line);background:0 0;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:flex}.dash-row:hover{background:#f3f1e9}.dash-row strong{flex:none}.dash-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dash-hours{border-bottom:1px solid var(--line);grid-template-columns:repeat(24,minmax(0,1fr));align-items:end;gap:2px;height:120px;display:grid}.dash-hour{align-items:flex-end;height:100%;display:flex}.dash-hour-bar{background:#0b6e4f;border-radius:4px 4px 0 0;width:100%;min-height:2px}.dash-hour-bar.is-empty{background:var(--line)}.dash-hour-axis{color:var(--muted);grid-template-columns:repeat(8,minmax(0,1fr));margin-top:4px;font-size:11px;display:grid}.dash-rank{grid-template-columns:minmax(0,1fr) 2fr auto;align-items:center;gap:10px;padding:6px 0;font-size:13px;display:grid}.dash-rank>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dash-rank-track{height:8px;display:block}.dash-rank-bar{background:#0b6e4f;border-radius:4px;min-width:4px;height:100%;display:block}@media (width<=1100px){.dash-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.dash-grid-5,.dash-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid-2.is-stack{grid-template-columns:minmax(0,1fr)}.dash-tile-value{font-size:22px}}.setup-list{margin:0}.setup-list dt{color:var(--muted);margin-top:10px;font-size:13px}.setup-list dd{word-break:break-all}.top-bar{flex:1;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.top-group{align-items:center;gap:8px;display:flex}.top-pill{height:36px;color:inherit;font:inherit;white-space:nowrap;cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:14px;line-height:1;display:inline-flex}.top-pill:hover{border-color:#0b6e4f}.top-pill.is-active{color:#fff;background:#0b6e4f;border-color:#0b6e4f}.top-pill-hint{color:var(--muted)}.top-dot{background:#b5bdb9;border-radius:50%;width:8px;height:8px}.top-dot.is-on{background:#0e9f6e}.top-dot.is-break{background:#d9880d}.mode-panel{gap:6px;width:min(380px,100vw - 40px);display:grid}.mode-option{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:10px;padding:10px 12px;display:block}.mode-option:hover{background:#f3f1e9}.mode-option:disabled{cursor:default}.mode-option.is-active{background:#e3f0ea;border-color:#0b6e4f}.mode-option strong{margin-bottom:2px;display:block}.mode-option span{color:var(--muted);font-size:12px;line-height:1.5;display:block}.mode-extra{justify-content:space-between;align-items:center;gap:8px;padding:6px 12px 8px;font-size:13px;display:flex}.mode-note{color:#b4470b;padding:6px 12px 2px;font-size:12px}@media (width<=1280px){.top-extra{display:none}}@media (width<=1000px){.top-label{display:none}.top-pill{padding:0 10px}}
