:root{color-scheme:dark;--bg:#050709;--panel:#101315;--deep:#0a0d0e;--line:#2a3032;--soft:#1b2022;--text:#edf1ed;--muted:#a4adaa;--quiet:#78847e;--green:#b4f76f;--green-low:#172413;--warn:#f1bf7d;--mono:"IBM Plex Mono","Cascadia Mono",Consolas,monospace;--body:"Inter","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 var(--body);-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
a{color:var(--green);text-underline-offset:.24em}
button,summary{cursor:pointer}
button{color:var(--text);background:transparent;border:1px solid var(--line);border-radius:5px}
button:disabled{cursor:default;opacity:.5}
button:not(:disabled):hover,summary:hover{border-color:var(--quiet);color:#fff}
:focus-visible{outline:2px solid var(--green);outline-offset:3px}
input:focus-visible,textarea:focus-visible{outline-offset:0}
.mono,strong,.metric-label small,.kicker,.range-scale,.connection,.primary small,.signal-label,.feed-time{font-family:var(--mono);font-variant-numeric:tabular-nums}
.appbar{border-bottom:1px solid var(--line);background:#0b0d0e}
.shell,.bar-inner{width:min(1440px,100%);margin:auto;padding-inline:clamp(20px,4.5vw,76px)}
.bar-inner{height:65px;display:flex;align-items:center;gap:22px}
.brand{display:inline-flex;align-items:center;gap:10px;color:#f7faf6;font:800 25px/.95 var(--body);letter-spacing:-.065em;text-decoration:none}
.mark{height:24px;width:27px;display:inline-flex;align-items:center;justify-content:space-between;transform:skew(-9deg)}
.mark b{width:4px;display:block;background:var(--green);height:10px}
.mark b:nth-child(2){height:23px}.mark b:nth-child(3){height:17px}.mark b:last-child{height:8px}
.section-name{border-left:1px solid var(--line);padding-left:22px;font-size:13px;color:var(--muted)}
.clock{margin-left:auto;color:var(--muted);font-size:11px;letter-spacing:.035em}
.shell{padding-block:38px 60px}
h1,h2,h3,p,blockquote{margin:0}
h1{font-size:clamp(30px,3.1vw,47px);line-height:1.23;letter-spacing:-.052em;font-weight:650}
h2{font-size:clamp(20px,2vw,26px);line-height:1.35;letter-spacing:-.045em;font-weight:640}
.telemetry-head,.panel-head,.status-head,.range-label,.toolbar,.mail-label,.mail-row,.entry-meta,.rule-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.telemetry-head{justify-content:flex-start;align-items:flex-end;gap:17px;margin-bottom:23px}
.period{font-size:12px;color:var(--muted);padding-bottom:4px}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-bottom:none;border-radius:7px 7px 0 0;overflow:hidden;background:var(--deep)}
.metric{padding:17px clamp(13px,2vw,32px) 20px;border-right:1px solid var(--line);min-width:0}
.metric:last-child{border:0;background:#12190f}
.metric-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}
.metric-label small{font-size:10px;letter-spacing:.085em;color:var(--quiet)}
.metric strong{font-weight:500;font-size:clamp(32px,3.3vw,53px);line-height:1.2;letter-spacing:-.085em;display:inline-block;margin-top:6px}
.metric-note{font-family:var(--mono);margin-left:8px;color:var(--muted);font-size:12px;white-space:nowrap}
.highlight strong,.highlight .metric-label{color:var(--green)}
.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:var(--green)}
.signal-track{height:4px;background:var(--line);overflow:hidden;border-radius:0 0 4px 4px}
.signal-track span{background:var(--green);height:100%;display:block;margin-left:auto;width:0}
.telemetry-note{font-size:13px;color:var(--warn)}
.telemetry-note:not(:empty){margin-top:8px}
.workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.92fr);gap:20px;margin-top:25px;align-items:start}
.panel{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-width:0;overflow:hidden}
.panel-head{padding:21px 23px 17px;min-width:0;border-bottom:1px solid var(--line)}
.kicker{display:block;font-size:10px;font-weight:600;letter-spacing:.14em;color:var(--quiet);margin-bottom:4px}
.icon-btn{display:grid;place-items:center;width:34px;height:34px;font-size:22px;line-height:1;background:var(--deep)}
.toolbar{padding:14px 22px}.toolbar>.mono{font-size:11px;color:var(--muted)}
.segmented{display:flex;gap:3px;border:1px solid var(--line);border-radius:5px;padding:2px;background:var(--deep)}
.segmented button{border:0;padding:4px 12px;color:var(--muted);font-size:12px}
.segmented button[aria-pressed=true]{background:#2d3431;color:#f4f7f1}
.state-info,.empty{margin:0;padding:13px 22px 23px;font-size:13px;color:var(--muted)}
.state-info:empty{display:none}.state-info:not(:empty)+.entries:not(:empty){border-top:1px solid var(--soft)}
.entry{border-top:1px solid var(--soft);position:relative;overflow-wrap:anywhere}
.entry>summary{list-style:none;padding:14px 23px;display:block}
summary::-webkit-details-marker{display:none}
.entry summary:hover{background:#171c1c}
.entry.fire{background:#141b12}
.entry.fire:before{position:absolute;left:0;top:0;bottom:0;content:"";width:2px;background:var(--green)}
.entry-meta{justify-content:flex-start;gap:9px;flex-wrap:wrap;color:var(--quiet);font-size:11px}
.signal-label{font-size:10px;letter-spacing:.04em;font-weight:600}
.entry.fire .signal-label{color:var(--green)}
.feed-time{margin-left:auto;color:var(--quiet)}
.entry-title{font-size:15px;line-height:1.55;display:block;font-weight:500;margin-top:5px;color:#d6deda}
.entry.silent .entry-title{color:#99a39d;text-decoration:line-through;text-decoration-color:#49534d}
.entry.fire .entry-title{color:#edf7e8}
.entry.pending .signal-label{color:var(--warn)}
.entry-body{padding:0 23px 18px;color:var(--muted);display:grid;gap:8px;font-size:13px}
.entry blockquote{padding:5px 10px;border-left:2px solid var(--green);color:#d5dfd8}
.entry-body a{width:fit-content}.entry-reason{color:var(--text)}
.more{display:block;margin:14px auto;padding:6px 15px;font-size:13px}
.panel-body{padding:19px 22px 22px}
.mail-box{padding:12px 14px;background:var(--deep);border:1px solid var(--line);border-radius:5px;margin-bottom:19px}
.mail-label{font-size:12px;color:var(--muted)}.connection{font-size:10px;color:var(--quiet)}
.connection.ready{color:var(--green)}.mail-row{margin-top:5px}.mail-row a{font:14px var(--mono);overflow-wrap:anywhere}.mail-row a:not([href]){color:var(--quiet)}
.text-btn{font-size:12px;border:0;color:var(--muted);padding:3px}
fieldset{border:0;margin:0;padding:0;min-width:0}
label,legend{display:block;font-size:13px;color:#e0e6df;font-weight:600;margin-bottom:6px}
legend{padding:0}
.sources{display:flex;gap:6px;flex-wrap:wrap}
.source-choice{font-size:12px;color:var(--muted);padding:4px 9px;background:var(--deep)}
.source-choice[aria-pressed=true]{color:#d4efc0;border-color:#4d683a;background:#1b2717}
.custom-source{margin:9px 0 18px}
.custom-source summary{font-size:12px;color:var(--muted);width:fit-content}
.inline-field{display:flex;gap:7px;margin-top:8px}.inline-field input{flex:1;min-width:0}.inline-field button{flex:none}
input:not([type=range]),textarea{width:100%;padding:9px 11px;color:var(--text);background:#0b0e0f;border:1px solid var(--line);border-radius:5px;line-height:1.5;font-size:14px}
textarea{resize:vertical;min-height:79px}input::placeholder,textarea::placeholder{color:#77827a}
#condition{margin-bottom:12px} .optional{font-weight:400;font-size:11px;color:var(--quiet);margin-left:4px}
.range-label{margin-top:16px}.range-label label{margin:0}.range-label output{color:var(--green);font-size:14px;font-weight:600}
input[type=range]{appearance:none;background:transparent;width:100%;margin:6px 0;height:20px;accent-color:var(--green)}
input[type=range]::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,var(--green) var(--fill,53.6%),#303831 var(--fill,53.6%))}
input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;margin-top:-5px;border-radius:50%;background:var(--green)}
input[type=range]::-moz-range-track{height:3px;background:var(--line)}input[type=range]::-moz-range-progress{background:var(--green)}
.range-scale{display:flex;justify-content:space-between;font-size:10px;color:var(--quiet);margin-top:-3px}
.primary,.secondary{font-size:13px;font-weight:600;line-height:1.3;padding:9px 13px}
.primary{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:15px;background:var(--green);color:#101b0b;border:1px solid var(--green);min-height:41px}
.primary small{font-size:10px;letter-spacing:.065em}.primary:not(:disabled):hover{background:#c2ff87;color:#101b0b;border-color:var(--green)}
.secondary{background:#191e1c;color:#dce4dc}.wide{width:100%;margin-top:9px}
.activate{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.feedback{font-size:12px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.feedback:not(:empty){margin-top:7px}
.error{color:var(--warn)}.success{color:var(--green)}
.dry-result{border:1px solid var(--line);border-radius:5px;margin-top:12px;background:var(--deep)}
.dry-result h3{font-size:14px;padding:11px 12px 3px}.dry-result .result-summary{padding:2px 12px 10px;font-size:12px;color:var(--muted)}
.dry-result .entry>summary,.dry-result .entry-body{padding-inline:12px}
.dry-result .entry-title{font-size:13px}.dry-result .feed-time{display:none}
.status-head{margin-bottom:14px}.status-grid{margin-top:20px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:start}
.status-shell>.feedback{margin-bottom:16px}.rule,.history-row{padding:16px 22px;border-top:1px solid var(--soft);overflow-wrap:anywhere}
.rule h3{font-size:16px}.rule p,.history-row p{font-size:14px;margin-top:5px}.rule-meta,.history-meta{font-size:12px;color:var(--muted)}
.rule-actions{display:flex;gap:9px;margin-top:12px}.rule-actions button{font-size:12px;padding:5px 9px}
.danger{color:#eab791}.muted{color:var(--muted);font-size:13px}
.visually-hidden{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@media(max-width:900px){.shell,.bar-inner{padding-inline:22px}.workspace{grid-template-columns:minmax(0,1.14fr) minmax(305px,1fr);gap:13px}.metric{padding-inline:15px}.metric-label small{display:none}.metric-note{font-size:11px}.panel-head,.panel-body,.toolbar,.entry>summary,.entry-body{padding-inline:16px}}
@media(max-width:730px){.shell{padding-block:25px 35px}.workspace,.status-grid{grid-template-columns:1fr}.workspace{margin-top:17px;gap:17px}.bar-inner{height:56px}.panel-head{padding-block:16px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding-block:12px}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.metric strong{font-size:35px}.metric-label small{display:inline}.telemetry-head{margin-bottom:15px}.stream-panel .entries{max-height:480px;overflow:auto}.status-grid{gap:14px}.status-shell .panel-head h2{font-size:19px}}
@media(max-width:410px){.shell,.bar-inner{padding-inline:13px}.bar-inner{gap:14px}.section-name{padding-left:14px}.clock{font-size:10px}.period{font-size:11px}.metric-label small{font-size:9px}.toolbar>.mono{font-size:10px}.feed-time{margin-left:0}.metric{padding-inline:12px}.rule-top{align-items:flex-start}.metric-note{margin-left:5px}}
