@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#263b2d;background:#f6f8f3;font-synthesis:none;--muted:#5f705f;--border:#d9e2d3;--lime:#426c2c;--panel:#ffffff;--side:#fbfcf8;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:3px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}button,select,input{color:inherit}svg{width:18px;height:18px;stroke-width:1.6;flex-shrink:0}a{color:inherit;text-decoration:none}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:var(--side);border-right:1px solid var(--border);padding:33px 18px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 13px;font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:30px;letter-spacing:-1.5px}.brand-icon{display:grid;place-items:center;background:var(--lime);width:31px;height:34px;border-radius:8px;color:#2e4733;transform:rotate(-7deg)}.brand-icon svg{width:24px;height:24px;transform:rotate(7deg);stroke-width:2.4}.brand-dot{color:var(--lime);margin-left:-9px}.workspace{margin:35px 0 29px;display:flex;gap:10px;align-items:center;border:1px solid var(--border);border-radius:9px;padding:12px 10px;background:#ffffff}.server-icon{padding:8px;background:#edf2e8;border-radius:6px;color:#263b2d;display:flex}.workspace b{font-size:15px;font-weight:550;display:block}.workspace small{font-size:13px;display:block;color:var(--muted);margin-top:5px;max-width:117px;overflow:hidden;text-overflow:ellipsis}.connection-dot,.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--lime);flex-shrink:0}.workspace>.connection-dot{margin-left:auto}.nav-label{font-size:13px;color:#5c705f;font-weight:650;letter-spacing:1.3px;padding:0 13px;margin-bottom:12px}nav{display:grid;gap:5px}nav button{width:100%;background:none;border:0;padding:12px 13px;border-radius:7px;justify-content:flex-start;color:#5c705f;font-size:15px;gap:12px}nav button:hover{background:#ffffff;color:#263b2d}nav button.active{background:#edf2e8;color:var(--lime)}nav button svg{width:17px;height:17px}.nav-count{margin-left:auto;border-radius:4px;background:#e0ead7;padding:1px 6px;font-size:13px;color:var(--lime)}.system-label{margin-top:35px}.external{margin-left:auto;width:13px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding:20px 12px 0}.engine-label{display:flex;align-items:center;gap:8px;font-size:14px}.engine-label b{font-weight:500}.sidebar-bottom p{font-size:13px;color:var(--muted);margin:7px 0 22px 14px}.version{font-size:12px;letter-spacing:1px;color:#5c705f;display:flex;justify-content:space-between}.version span{letter-spacing:0}.main-shell{margin-left:236px}.topbar{height:74px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 36px}.breadcrumb,.top-right{display:flex;align-items:center;gap:17px;font-size:14px}.breadcrumb{color:var(--muted)}.breadcrumb svg{width:15px}.breadcrumb b{color:#263b2d;font-weight:450}.slash{color:#5c705f}.local-tag{display:flex;gap:7px;align-items:center;color:#5c705f;font-size:13px}.local-tag .connection-dot{width:5px;height:5px}.icon-button{width:30px;height:30px;border:1px solid transparent;background:none;border-radius:6px;color:#5c705f}.icon-button:hover{background:#edf2e8;color:#263b2d}.icon-button svg{width:16px;height:16px}.avatar{width:28px;height:28px;border:1px solid #d4dfcf;background:#edf2e8;display:grid;place-items:center;font-size:12px;border-radius:50%;color:#426c2c}.top-right{gap:19px}main{max-width:1640px;margin:auto;padding:36px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:20px}.eyebrow{font-size:12px;font-weight:600;letter-spacing:1.5px;color:#5c705f;margin-bottom:10px}h1,h2,h3,p{margin:0}h1{font-family:Manrope,system-ui,sans-serif;font-size:28px;letter-spacing:-.9px;font-weight:650}.page-heading p{margin-top:9px;color:var(--muted);font-size:15px}.heading-actions{display:flex;gap:19px;align-items:center}.heading-actions>span{color:#5c705f;font-size:13px}.primary{background:var(--lime);border:1px solid var(--lime);padding:11px 16px;border-radius:6px;color:#2e4733;font-size:14px;font-weight:700}.primary:hover{background:#cafa96}.primary svg{width:15px;height:15px;stroke-width:2}.secondary{background:#edf2e8;border:1px solid #d4dfcf;padding:9px 13px;border-radius:6px;font-size:14px;color:#263b2d}.secondary:hover{background:#edf2e8}.secondary svg{width:15px;height:15px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat-card{position:relative;overflow:hidden;background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:19px 20px 17px}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#5c705f;font-size:14px}.stat-label svg{color:#5c705f;width:16px;height:16px}.stat-value{display:flex;align-items:baseline;gap:8px;font-family:Manrope,system-ui,sans-serif;font-weight:600;font-size:31px;letter-spacing:-1px;margin:14px 0 13px}.stat-value small{font-size:16px;font-weight:400;color:#5c705f;letter-spacing:0}.stat-note{font-size:12px;color:#426c2c;display:flex;align-items:center;gap:6px;position:relative;z-index:1}.muted{color:var(--muted)}.tiny-dot{width:5px;height:5px}.mini-wave{position:absolute;bottom:8px;right:15px;width:75px;height:25px;stroke:var(--lime);opacity:.28;fill:none}.monitor-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(260px,1fr);gap:22px;margin-bottom:26px}.panel{border:1px solid var(--border);border-radius:10px;background:var(--panel);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;gap:15px}h2{font-size:16px;font-weight:550;letter-spacing:-.1px}.panel-heading p{font-size:13px;color:var(--muted);margin-top:7px}.subtle-pill{display:flex;align-items:center;gap:6px;font-size:12px;background:#ffffff;border:1px solid #d4dfcf;border-radius:5px;padding:6px 8px;color:#5c705f}.subtle-pill svg{width:12px;height:12px}.chart-legend{display:flex;gap:16px;align-items:center;padding:2px 23px 19px;font-size:12px;color:#5c705f}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend em{height:6px;width:6px;border-radius:2px}.legend-in{background:var(--lime)}.legend-out{background:#81a9dd}.chart-legend b{margin-left:auto;font-weight:400;color:#5c705f}.chart{height:146px;display:flex;gap:12px;margin:0 23px 0 21px}.chart-y{font-size:12px;color:#5c705f;display:flex;flex-direction:column;justify-content:space-between;padding:6px 0;width:24px}.chart>svg{height:100%;width:calc(100% - 36px);overflow:visible}.grid-line{stroke:#2e4733;stroke-width:1;stroke-dasharray:3 4;fill:none}.in-line{stroke:var(--lime);fill:none;stroke-width:2;vector-effect:non-scaling-stroke}.out-line{stroke:#315f98;fill:none;stroke-width:1.5;vector-effect:non-scaling-stroke}.chart-x{display:flex;justify-content:space-between;font-size:11px;color:#5c705f;margin:10px 23px 21px 58px}.health-panel .panel-heading{padding-bottom:18px}.health-panel .panel-heading>svg{width:16px;color:#5c705f}.health-state{display:flex;gap:10px;align-items:center;margin:0 22px 22px}.health-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#edf2e8;color:var(--lime)}.health-icon svg{width:16px;height:16px}.health-state b{font-size:14px;font-weight:500;display:block}.health-state small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.resource-row{display:flex;justify-content:space-between;font-size:13px;margin:0 22px 9px;color:#5c705f}.resource-row b{font-weight:400;color:#263b2d}.progress-track{height:4px;border-radius:3px;background:#edf2e8;margin:0 22px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--lime);width:0;border-radius:3px;transition:width .5s}.health-divider{height:1px;background:var(--border);margin:19px 22px 14px}.health-detail{display:flex;justify-content:space-between;margin:0 22px 12px;font-size:12px;color:#5c705f}.health-detail span{display:flex;align-items:center;gap:7px}.health-detail svg{width:12px;height:12px;color:#5c705f}.health-detail b{font-weight:400;color:#263b2d}.health-detail:last-child{margin-bottom:19px}.title-inline{display:flex;align-items:center;gap:9px}.count-pill{background:#edf2e8;color:#5c705f;border:1px solid #d4dfcf;border-radius:5px;font-size:12px;padding:2px 6px}.stream-tools{display:flex;gap:10px}.search-box{display:flex;align-items:center;gap:7px;border:1px solid #d4dfcf;background:#ffffff;border-radius:5px;padding:7px 9px}.search-box svg{width:13px;height:13px;color:#5c705f}.search-box input{border:0;background:transparent;font-size:13px;outline:none;width:140px;min-width:0;padding:0}.search-box kbd{font-size:12px;background:#edf2e8;border:1px solid #d4dfcf;border-radius:3px;padding:0 4px;color:#5c705f}select{border:1px solid #d4dfcf;background:#ffffff;border-radius:5px;padding:7px 9px;font-size:13px;color:#5c705f}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;letter-spacing:.8px;color:#5c705f;font-weight:500;background:#ffffff;border-block:1px solid var(--border);padding:12px 21px}td{padding:17px 21px;border-bottom:1px solid #d4dfcf;font-size:13px;color:#5c705f}.stream-name{display:flex;align-items:center;gap:11px}.stream-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#edf2e8;border:1px solid #d4dfcf;color:#426c2c}.stream-symbol svg{width:16px;height:16px}.stream-name strong{display:block;font-size:14px;font-weight:550;color:#263b2d}.stream-name small{display:block;font-size:12px;color:#5c705f;margin-top:4px;font-family:monospace}.badge{font-size:12px;display:inline-flex;align-items:center;gap:5px;border:1px solid #d4dfcf;border-radius:5px;padding:4px 7px;background:#edf2e8;color:#426c2c}.badge.waiting{background:#fff0eb;border-color:#e1b9ae;color:#765d20}.badge.disabled{background:#edf2e8;border-color:#d4dfcf;color:#5c705f}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.source-cell{max-width:200px}.source-cell span{display:block;overflow:hidden;text-overflow:ellipsis;max-width:180px}.source-cell small{font-size:11px;color:#5c705f;display:block;margin-top:4px}.record-label{display:flex;gap:6px;align-items:center;color:#5c705f}.record-label svg{width:12px;height:12px}.record-label.off{color:#5c705f}.align-right{text-align:right}.row-actions{display:flex;gap:3px;justify-content:flex-end}.row-actions button{background:transparent;border:1px solid transparent;border-radius:5px;width:27px;height:27px;color:#5c705f}.row-actions button:hover{border-color:#d4dfcf;color:var(--lime);background:#edf2e8}.row-actions svg{width:14px;height:14px}.empty-state{text-align:center;padding:37px 20px 35px}.empty-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #d4dfcf;background:linear-gradient(140deg,#edf2e8,#ffffff);border-radius:12px;margin:0 auto 15px;color:var(--lime)}.empty-icon svg{width:21px;height:21px}.empty-state h3{font-family:Manrope,system-ui,sans-serif;font-size:15px;font-weight:550;letter-spacing:-.3px}.empty-state p{font-size:14px;line-height:1.8;color:#5c705f;margin:10px 0 18px}.table-footer{display:flex;justify-content:space-between;padding:14px 22px;border-top:1px solid var(--border);font-size:12px;color:#5c705f}.table-footer>span:last-child{display:flex;align-items:center;gap:6px}.table-footer .tiny-dot{background:#f4f7f0;width:4px;height:4px}.page-footer{margin-top:26px;display:flex;justify-content:space-between;font-size:12px;color:#5c705f}.page-footer>span:first-child{display:flex;align-items:center;gap:6px}.page-footer .connection-dot{width:4px;height:4px;background:#f4f7f0}.hidden{display:none!important}dialog{background:#ffffff;border:1px solid #d4dfcf;border-radius:13px;color:#263b2d;padding:26px;width:min(480px,calc(100% - 32px));max-height:90vh;box-shadow:0 30px 120px #0008}dialog::backdrop{background:#f6f8f3bd;backdrop-filter:blur(6px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:26px}.dialog-heading h2{font-family:Manrope,system-ui,sans-serif;font-size:21px;font-weight:600;letter-spacing:-.5px}.dialog-heading .eyebrow{font-size:11px}form>label{display:grid;gap:8px;font-size:14px;color:#263b2d;margin-bottom:18px}form>label>input,form>label>select{border:1px solid #d4dfcf;background:#f6f8f3;border-radius:6px;padding:11px 12px;font-size:15px;width:100%}form small{font-size:13px;color:#5c705f;font-weight:400;line-height:1.6}.check-option{border:1px solid #d4dfcf;background:#ffffff;border-radius:7px;display:flex;align-items:center;padding:12px;gap:11px;margin-bottom:12px}.check-option>input{width:15px;accent-color:var(--lime)}.check-option span{flex:1}.check-option b{font-size:14px;font-weight:500;display:block}.check-option small{display:block;font-size:12px;margin-top:4px}.check-option>svg{color:#5c705f;width:17px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);margin-top:23px;padding-top:18px}.form-error{color:#a13f2c;font-size:14px;line-height:1.6}.player-dialog{width:min(800px,calc(100% - 32px))}.player-dialog video{background:#f6f8f3;display:block;width:100%;max-height:50vh;aspect-ratio:16/9;border-radius:6px}.player-message{font-size:14px;color:#5c705f;margin:12px 0;line-height:1.6}.stream-links{display:grid;gap:8px}.link-row{display:flex;align-items:center;gap:10px;background:#f6f8f3;padding:10px;border-radius:5px;font-size:13px}.link-row>span{width:40px;color:#5c705f}.link-row code{flex:1;overflow:auto;font-size:13px;white-space:nowrap;color:#426c2c}.guide-step{display:flex;gap:20px;margin:25px 0}.guide-step>span{font-size:16px;color:#426c2c;font-family:Manrope}.guide-step h3{font-size:15px;font-weight:550;margin-bottom:8px}.guide-step p{font-size:14px;line-height:1.9;color:#5c705f}.guide-step code{font-size:13px;color:#263b2d}.full-width{width:100%;margin-top:10px}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%) translateY(20px);padding:12px 20px;border:1px solid #d4dfcf;background:#edf2e8;border-radius:7px;font-size:15px;color:#426c2c;opacity:0;pointer-events:none;transition:all .2s;max-width:90vw;z-index:20}#toast.show{transform:translateX(-50%);opacity:1}#toast.error{background:#fff0eb;border-color:#e1b9ae;color:#a13f2c}.log-list{max-height:600px;overflow:auto;padding:0 22px 18px}.log-row{display:grid;grid-template-columns:75px 42px 1fr;gap:12px;border-top:1px solid #d4dfcf;padding:12px 0;font-size:13px;line-height:1.6;font-family:monospace}.log-row time{color:#5c705f}.log-row .level{color:#426c2c}.log-row .level.error{color:#a13f2c}.log-row .level.warn{color:#765d20}.log-row p{overflow-wrap:anywhere;white-space:pre-wrap;color:#5c705f}.recording-card{display:flex;align-items:center;gap:15px;padding:17px 22px;border-top:1px solid var(--border)}.recording-card>svg{color:#426c2c}.recording-card>div{flex:1;min-width:0}.recording-card b{display:block;font-size:15px;font-weight:500}.recording-card small{display:block;font-size:13px;color:#5c705f;margin-top:6px;overflow-wrap:anywhere}.recording-card>a{font-size:13px;color:var(--lime);display:flex;align-items:center;gap:8px}.settings-panel{max-width:850px}.settings-list{padding:0 22px}.settings-list>div{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--border);padding:20px 0;font-size:14px;color:#5c705f}.settings-list code{color:#263b2d;font-size:14px;text-align:right;overflow-wrap:anywhere}.settings-note{margin:10px 22px 22px;border:1px solid #d4dfcf;background:#edf2e8;border-radius:6px;padding:15px;display:flex;gap:10px;align-items:flex-start;color:#426c2c}.settings-note p{font-size:14px;line-height:1.8}.settings-note svg{width:15px;margin-top:2px}@media(min-width:1550px){main{padding:42px 46px}.stat-card{padding:23px}.stat-value{font-size:36px}.chart{height:180px}.health-state{margin-bottom:30px}.health-detail{margin-bottom:16px}}@media(max-width:1150px){.sidebar{width:205px;padding-inline:13px}.main-shell{margin-left:205px}main{padding:28px 24px}.topbar{padding-inline:24px}.heading-actions>span{display:none}.stats-grid{gap:11px}.stat-card{padding:16px 14px}.stat-label{font-size:13px}.monitor-grid{gap:15px;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr)}th,td{padding-inline:15px}.panel-heading{padding:18px}.stream-tools{gap:7px}.search-box input{width:115px}}@media(max-width:850px){.sidebar{width:68px;padding:25px 8px}.brand{padding:0 9px;font-size:0;gap:0}.brand-dot{display:none}.brand-icon{flex-shrink:0}.workspace,.nav-label,.sidebar-bottom{display:none}nav{margin-top:30px}nav button{font-size:0;padding:13px;justify-content:center;gap:0}nav button svg{width:19px;height:19px}.nav-count,.external{display:none}.main-shell{margin-left:68px}.stats-grid{grid-template-columns:repeat(2,1fr)}.monitor-grid{grid-template-columns:1fr}.health-panel{display:none}.topbar{height:62px}.local-tag{display:none}.eyebrow{font-size:11px}h1{font-size:24px}.stream-tools .search-box input{width:95px}main{padding:25px 20px}.page-heading{align-items:flex-end}.page-heading p{font-size:14px}.stream-tools select{max-width:110px}.streams-panel .panel-heading{flex-wrap:wrap}.stream-tools{margin-left:auto}#toast{left:50%}}@media(max-width:500px){.sidebar{width:56px;padding-inline:4px}.main-shell{margin-left:56px}.brand{padding:0 6px}.brand-icon{width:29px}main{padding:23px 13px}.topbar{padding-inline:16px}.breadcrumb{gap:10px;font-size:13px}.top-right{gap:7px}.page-heading{gap:10px}.page-heading h1{font-size:22px}.page-heading p{max-width:190px;line-height:1.6}.heading-actions .primary{padding:9px;font-size:13px}.heading-actions .primary svg{width:12px}.eyebrow{font-size:10px;letter-spacing:1px}.stats-grid{gap:9px}.stat-card{padding:14px 12px}.stat-label{font-size:12px}.stat-value{font-size:27px;margin:12px 0}.stat-note{font-size:11px}.stat-value small{font-size:14px}.stat-label svg{width:13px}.bandwidth-panel .panel-heading{padding-inline:15px}.subtle-pill{font-size:11px;padding:5px}.panel-heading p{font-size:12px}.chart{margin-inline:15px}.chart-x{margin-right:15px;font-size:10px}.stream-tools{width:100%;justify-content:space-between}.search-box{flex:1}.search-box input{width:100%!important}.table-footer{font-size:11px;padding:13px}.table-footer>span:last-child{gap:4px}.page-footer{font-size:11px}.page-footer>span:last-child{display:none}.empty-state{padding-inline:10px}.empty-state p{font-size:13px}.empty-state h3{font-size:16px}.log-row{grid-template-columns:52px 30px 1fr;gap:7px;font-size:11px}.settings-list>div{flex-direction:column;gap:8px}.settings-list code{text-align:left;font-size:13px}.recording-card{padding:15px;gap:10px}.recording-card>svg{display:none}}
/* Light surfaces keep the original lime identity, with darker accents for legibility. */
:root{--accent-fill:#bcf279;--lime:#426c2c;color-scheme:light}
body{color:#263b2d;background:#f6f8f3}
.primary,.primary:hover{color:#203516;background:var(--accent-fill);border-color:#a9d77d}
.primary:hover{background:#c8f591}
.brand-icon{background:var(--accent-fill);color:#203516}
.brand-dot{color:#628b39}
.sidebar{background:#fbfcf8}
.topbar{background:#ffffffb8}
nav button.active{background:#e6efd9;color:#345a23}
nav button:hover{background:#eef3e8;color:#263b2d}
.nav-count{background:#dcebc9;color:#385d27}
.panel,.stat-card{box-shadow:0 2px 8px #283d2110}
.auth-screen{background:#f6f8f3}
.auth-art{background:radial-gradient(ellipse at 50% 43%,#e5efd0 0%,#f0f5e7 49%,#eaf0e1 100%);border-color:#d6e0ce}
.auth-panel{background:#fbfcf8}
.signal-rings svg{color:#5f852f;filter:drop-shadow(0 0 22px #94b65d25)}
.auth-copy h2,.auth-panel h1,.auth-wordmark{color:#243b29}
.auth-copy p,.auth-panel form>p{color:#5c705c}
input,select,textarea{color-scheme:light}
input::placeholder,textarea::placeholder{color:#73816c;opacity:1}
input[type=checkbox],input[type=radio]{accent-color:#507633}
.badge{color:#365d28}
.badge.disabled{color:#91452f}
.badge.waiting{color:#775c23}
video,.wall-tile video,#player{background:#080c09;color-scheme:dark}
.video-empty{background:#edf2e7}
.dialog-heading,.player-dialog{color:#263b2d}
dialog{box-shadow:0 18px 70px #1c301f28}
dialog::backdrop{background:#1b2a225c}
#toast{box-shadow:0 8px 28px #20331b24}
.debit{color:#a13f2c!important}.credit{color:#426c2c!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Mobile headings and action groups wrap instead of stretching the page. */
.heading-actions{min-width:0;max-width:100%;flex-wrap:wrap}
main,.main-shell,.panel,.two-column>*,.form-grid>*{min-width:0}
.table-scroll{max-width:100%;overflow-x:auto}
@media(max-width:600px){.page-heading{flex-wrap:wrap;align-items:flex-start}.heading-actions{gap:8px}.page-heading>div:first-child{max-width:100%}.heading-actions .primary,.heading-actions .secondary{white-space:normal}.access-row>div{min-width:0;overflow-wrap:anywhere}}
.grid-line{stroke:#d6e0d0}
input::placeholder,textarea::placeholder{color:#65735f;opacity:1}
