:root{--bg:#f2ebdf;--surface:#fffcf7;--surface-2:#f8f2e8;--border:#e2d6c3;--text:#2a241d;--muted:#6e6253;--brand:#3b5fa8;--brand-hover:#2f4f8f;--brand-soft:#e5ebf6;--accent:#3a9c97;--ok:#2e7d4f;--ok-soft:#e4f1e6;--warn:#9a5b00;--warn-soft:#fbefd9;--bad:#b42318;--bad-soft:#fbe6e3;--info:#3b5fa8;--info-soft:#e5ebf6;--neutral-soft:#efe7da;--shadow:0 1px 2px #3c2d140f, 0 1px 3px #3c2d1414;--radius:10px;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font:14px/1.55 -apple-system,BlinkMacSystemFont,PingFang TC,Noto Sans TC,Microsoft JhengHei,Segoe UI,sans-serif}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}code,.mono{font-family:var(--mono);font-size:12.5px}.shell{grid-template-columns:228px 1fr;min-height:100%;display:grid}.sidebar{background:var(--surface-2);border-right:1px solid var(--border);flex-direction:column;gap:4px;height:100dvh;padding:18px 12px;display:flex;position:sticky;top:0}.brand{flex-direction:column;align-items:flex-start;gap:6px;padding:4px 10px 18px;display:flex}.brand img{width:auto;height:30px;display:block}.brand .product{font-size:15px;font-weight:700}.brand small{color:var(--muted);font-size:12px;font-weight:400;display:block}.brand small.version{font-variant-numeric:tabular-nums;margin-top:2px;font-size:11px}.nav a{color:var(--text);border-radius:8px;padding:8px 12px;font-weight:500;display:block}.nav a:hover{background:var(--surface-2);text-decoration:none}.nav a.active{background:var(--brand-soft);color:var(--brand)}.nav .group{color:var(--muted);letter-spacing:.04em;margin:14px 12px 4px;font-size:11.5px}.nav{overscroll-behavior:contain;flex:auto;min-height:0;margin-right:-8px;padding-right:4px;overflow-y:auto}.nav::-webkit-scrollbar{width:8px}.nav::-webkit-scrollbar-track{background:0 0}.nav::-webkit-scrollbar-thumb{background:var(--border);border-radius:8px}.nav::-webkit-scrollbar-thumb:hover{background:var(--muted)}@supports not selector(::-webkit-scrollbar){.nav{scrollbar-width:thin;scrollbar-color:var(--border) transparent}}.sidebar .me{border-top:1px solid var(--border);margin-top:auto;padding:12px;font-size:13px}.sidebar .me .who{word-break:break-all;font-weight:600}.sidebar .me .role{color:var(--muted);margin-bottom:8px}.main{min-width:0;padding:26px 32px 48px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.page-head h1{margin:0;font-size:22px}.page-head p{color:var(--muted);margin:4px 0 0}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topbar-mobile{display:none}@media (width<=860px){.shell{grid-template-columns:1fr}.sidebar{height:auto;display:none;position:static}.sidebar.open{border-right:none;border-bottom:1px solid var(--border);display:flex}.nav{margin-right:0;padding-right:0;overflow:visible}.topbar-mobile{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:10px 16px;display:flex}.main{padding:18px 16px 40px}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:18px}.card-head{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.card-head h2{margin:0;font-size:15px}.card-body{padding:18px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:10px 14px}th{color:var(--muted);background:var(--surface-2);white-space:nowrap;font-size:12px;font-weight:600}tr:last-child td{border-bottom:none}td.nowrap,th.nowrap{white-space:nowrap}.empty{text-align:center;color:var(--muted);padding:28px}.payload{overflow-wrap:anywhere;white-space:pre-wrap;min-width:220px;max-width:460px}.payload .hex{font-family:var(--mono);color:var(--muted);font-size:12px}.form-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px 16px;display:grid}.field{flex-direction:column;gap:6px;display:flex}.field.wide{grid-column:1/-1}.field label{flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.field label input,.field label select,.field label textarea{font-weight:400}.field .hint{color:var(--muted);font-size:12px}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;width:100%;padding:8px 10px}textarea{resize:vertical;min-height:84px;font-family:inherit}input:focus,select:focus,textarea:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}input[type=checkbox]{width:auto}.segmented{border:1px solid var(--border);border-radius:8px;display:inline-flex;overflow:hidden}.segmented button{background:var(--surface);color:var(--muted);border:none;border-radius:0;padding:6px 12px}.segmented button.on{background:var(--brand-soft);color:var(--brand);font-weight:600}button,.btn{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap;border-radius:8px;padding:7px 14px;font-weight:600}button:hover{background:var(--surface-2)}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover{background:var(--brand-hover)}button.danger{color:var(--bad);border-color:var(--bad);background:0 0}button.danger:hover{background:var(--bad-soft)}button.small{padding:4px 10px;font-size:12.5px}button.link{color:var(--brand);background:0 0;border:none;padding:0;font-weight:500}.badge{white-space:nowrap;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600;display:inline-block}.badge.ok{background:var(--ok-soft);color:var(--ok)}.badge.warn{background:var(--warn-soft);color:var(--warn)}.badge.bad{background:var(--bad-soft);color:var(--bad)}.badge.info{background:var(--info-soft);color:var(--info)}.badge.neutral{background:var(--neutral-soft);color:var(--muted)}.notice{border:1px solid #0000;border-radius:8px;margin-bottom:16px;padding:12px 14px}.notice.bad{background:var(--bad-soft);color:var(--bad);border-color:var(--bad)}.notice.warn{background:var(--warn-soft);color:var(--warn);border-color:var(--warn)}.notice.ok{background:var(--ok-soft);color:var(--ok);border-color:var(--ok)}.notice.info{background:var(--info-soft);color:var(--info);border-color:var(--info)}.secret-box{background:var(--surface-2);border:1px dashed var(--border);border-radius:8px;align-items:center;gap:8px;padding:10px 12px;display:flex}.secret-box code{word-break:break-all;flex:1;font-size:13px}.muted{color:var(--muted)}.stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.modal-backdrop{z-index:20;background:#0a0e1473;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:12px;width:min(540px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 50px #00000040}.modal.wide{width:min(760px,100%)}.en{opacity:.72;margin-left:.4em;font-size:.92em;font-weight:400}.zh-block{display:block}.en-block{opacity:.8;margin-top:3px;display:block}.nav a .en,th .en,.nav .group .en{margin-left:0;display:block}.nav a .en{font-size:11px}.modal .card-head{background:var(--surface);position:sticky;top:0}.modal-foot{justify-content:flex-end;gap:8px;padding:0 18px 18px;display:flex}.auth-page{justify-content:center;align-items:center;min-height:100%;padding:24px 16px;display:flex}.auth-card{width:min(460px,100%)}.auth-card.wide{width:min(880px,100%)}.terms-frame{border:1px solid var(--border);border-radius:var(--radius);background:#fff;width:100%;height:max(260px,min(640px,100vh - 400px));display:block}.terms-agree{cursor:pointer;align-items:flex-start;gap:8px;font-weight:600;display:flex}.terms-agree input{margin-top:3px}.terms-agree.disabled{cursor:not-allowed;opacity:.7}.auth-card .brand{align-items:center;padding-bottom:6px}.perm-list{margin:0;padding-left:18px}.perm-list li{margin:2px 0}td .row{flex-wrap:nowrap;gap:6px}.send-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}.send-grid>.card,.send-grid>.notice{margin-bottom:18px}@media (width<=860px){.send-grid{grid-template-columns:1fr}}.product-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.product-option{text-align:left;white-space:normal;flex-direction:column;gap:4px;padding:12px 14px;font-weight:400;display:flex}.product-option.selected{border-color:var(--brand);background:var(--brand-soft)}.product-option.selected:hover{background:var(--brand-soft)}.product-option ul{margin:4px 0 0;padding-left:18px;font-size:13px}.progress{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.progress li{grid-template-columns:20px 1fr;align-items:start;gap:10px;display:grid;position:relative}.progress li:before{content:"";background:var(--border);width:2px;position:absolute;top:20px;bottom:-14px;left:9px}.progress li:last-child:before{display:none}.progress .dot{background:var(--surface);border:3px solid var(--border);z-index:1;border-radius:50%;width:20px;height:20px}.progress li.done .dot{background:var(--ok);border-color:var(--ok)}.progress li.now .dot{border-color:var(--brand);animation:1s ease-in-out infinite pulse}.progress li.bad .dot{background:var(--bad);border-color:var(--bad)}.progress.compact{gap:6px;font-size:13px}.progress.compact li{grid-template-columns:12px 1fr;gap:8px}.progress.compact li:before{top:13px;bottom:-6px;left:5px}.progress.compact .dot{border-width:2px;width:12px;height:12px;margin-top:3px}.progress li.bad{color:var(--bad)}.progress li.todo{color:var(--muted)}@keyframes pulse{50%{box-shadow:0 0 0 6px var(--brand-soft)}}@media (prefers-reduced-motion:reduce){.progress li.now .dot{animation:none}}.stations{--sky:#8fd3f4;--sky-deep:#2f8fc4;--sky-soft:#dff2fc;position:relative}.stations-legs{grid-template-columns:repeat(calc(var(--n) * 2), minmax(0, 1fr));text-align:center;align-items:end;min-height:36px;font-size:12px;line-height:1.3;display:grid}.stations-leg{color:var(--muted);padding:0 4px}.stations-leg-secs{color:var(--text);font-variant-numeric:tabular-nums;min-height:1.3em;font-weight:600}.stations-leg.live .stations-leg-secs{color:var(--sky-deep)}.stations-rail{height:16px;margin:2px 0 6px;position:relative}.stations-track{background:var(--border);border-radius:4px;height:8px;position:absolute;top:4px}.stations-fill{background:var(--sky);border-radius:4px;transition:width .4s;position:absolute;top:0;bottom:0;left:0}.stations-moving{background:repeating-linear-gradient(45deg, var(--sky) 0 6px, var(--sky-soft) 6px 12px);opacity:.9;background-size:17px 17px;border-radius:4px;animation:1s linear infinite stations-move;position:absolute;top:0;bottom:0}@keyframes stations-move{to{background-position:17px 0}}.stations-dot{background:var(--surface);border:3px solid var(--border);border-radius:50%;width:16px;height:16px;margin:-8px 0 0 -8px;position:absolute;top:50%}.stations-dot.reached{background:var(--sky);border-color:var(--sky-deep)}.stations-dot.live{animation:1s ease-in-out infinite stations-pulse}@keyframes stations-pulse{50%{box-shadow:0 0 0 6px var(--sky-soft)}}@media (prefers-reduced-motion:reduce){.stations-moving,.stations-dot.live{animation:none}}.stations-labels{grid-template-columns:repeat(var(--n), minmax(0, 1fr));text-align:center;gap:6px;margin:0;padding:0;font-size:12.5px;list-style:none;display:grid}.stations-labels li.todo{color:var(--muted)}.stations-name{font-weight:600;line-height:1.35}.stations-at{color:var(--muted);min-height:1em;font-size:11.5px}.stations-secs{font-variant-numeric:tabular-nums;font-weight:600}.stations-secs.live{color:var(--sky-deep)}.stations-note{color:var(--muted);font-size:11.5px;line-height:1.35}.stations-stopped{color:var(--warn);margin-top:6px;font-size:12.5px}.devkit-main-row td{border-bottom:none;padding-bottom:4px}.devkit-bar-row td{padding-top:4px;padding-bottom:16px}.mo-thumb{border:1px solid var(--border);background:#fff;border-radius:6px;max-width:220px;max-height:160px;display:block}.content-cell{flex-direction:column;gap:6px;display:flex}.content-cell .hex{font-family:var(--mono);color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px}.content-cell .plain{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.content-cell .meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.content-cell img{border:1px solid var(--border);background:#fff;border-radius:6px;max-width:260px;max-height:200px;display:block}.content-cell audio{width:260px;max-width:100%}.preview-box{border:1px dashed var(--border);background:var(--surface-2);border-radius:8px;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;display:flex}.preview-box img{border:1px solid var(--border);background:#fff;border-radius:6px;max-width:100%;max-height:280px}.preview-box audio{width:100%;max-width:420px}.size-line{font-family:var(--mono);font-size:12.5px}.rec-dot{background:var(--bad);border-radius:50%;width:10px;height:10px;margin-right:6px;animation:1s ease-in-out infinite pulse;display:inline-block}.bulk textarea{min-height:160px;font-family:var(--mono);font-size:12.5px}.bulk-errors{color:var(--bad);margin:0;padding-left:18px}tr.row-bad td{background:var(--bad-soft)}.kv{grid-template-columns:160px 1fr;gap:8px 16px;display:grid}.kv dt{color:var(--muted)}.kv dd{overflow-wrap:anywhere;margin:0}a.btn{text-decoration:none;display:inline-block}a.btn:hover{background:var(--surface-2);text-decoration:none}a.btn.primary-link{background:var(--brand);border-color:var(--brand);color:#fff;text-align:center}a.btn.primary-link:hover{background:var(--brand-hover)}a.btn.small{padding:4px 10px;font-size:12.5px}.guide-frame{border:1px solid var(--border);border-radius:var(--radius);width:100%;height:calc(100vh - 150px);min-height:480px;box-shadow:var(--shadow);background:#fff;display:block}@media (width<=860px){.guide-frame{height:calc(100vh - 190px)}}.usage-period{padding:12px 18px 0;font-size:13px}.usage-table th.num,.usage-table td.num{text-align:right;font-variant-numeric:tabular-nums}.usage-table th.usage-group{text-align:center}.usage-table .usage-split{border-left:1px solid var(--border)}.usage-sub{font-size:12px}.usage-bad{color:var(--bad);font-weight:600}.usage-notes{color:var(--muted);padding:4px 18px 16px;font-size:12.5px}.usage-notes>*{margin:8px 0 0}
