:root{color:#e8e8e8;background:#16181c;font-family:system-ui,sans-serif}body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);-webkit-tap-highlight-color:transparent;margin:0}.panel{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.panel input{-webkit-user-select:auto;user-select:auto}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:#2a2d33;border:1px solid #444;border-radius:6px;padding:.5rem 1rem}.install{border-top:1px solid #2f3540;flex-direction:column;gap:.4rem;margin-top:1.5rem;padding-top:1rem;display:flex}button.link{color:#64b5f6;background:0 0;border:none;padding:0;text-decoration:underline}button:disabled{opacity:.5;cursor:default}.login{flex-direction:column;gap:.9rem;max-width:320px;margin:10vh auto;padding:0 1rem;display:flex}.login label{color:#aaa;flex-direction:column;gap:.3rem;font-size:.9rem;display:flex}.login input,.login select{color:#e8e8e8;background:#0f1013;border:1px solid #444;border-radius:6px;padding:.6rem}.panel{max-width:1100px;margin:0 auto;padding:1rem}.panel header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.panel header>div:first-child{flex:1;min-width:0}.link-status{color:#b8c4d6;white-space:nowrap;align-items:center;gap:.4rem;font-size:.85rem;display:inline-flex}.link-status .dot{background:#4caf50;border-radius:50%;width:.6rem;height:.6rem}.link-status.reconnecting .dot{background:#ffb300;animation:.8s infinite alternate blink}.link-status.lost .dot{background:#e53935;animation:.8s infinite alternate blink}@keyframes blink{to{opacity:.25}}.link-banner{border-radius:8px;margin:0 0 1rem;padding:.6rem .8rem;font-weight:600}.link-banner.warn{color:#ffd54f;background:#3d2e00}.link-banner.lost{color:#ff8a80;background:#4a1414}.panel.offline .lines,.panel.offline .group-strip,.panel.offline .incoming{opacity:.35;pointer-events:none;filter:grayscale()}.panel header{flex-wrap:wrap}.view-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.segmented{display:inline-flex}.segmented button{border-radius:0;padding:.4rem .8rem;font-size:.9rem}.segmented button:first-child{border-radius:6px 0 0 6px}.segmented button:last-child{border-radius:0 6px 6px 0}.segmented button+button{border-left:none}.view-bar button.selected,header button.selected{background:#1c2b3d;border-color:#64b5f6}.audio-settings{background:#1c1f25;border:1px solid #2f3540;border-radius:10px;flex-direction:column;gap:.75rem;max-width:34rem;margin:0 0 1rem auto;padding:.9rem 1rem;display:flex}.audio-settings-head{justify-content:space-between;align-items:center;display:flex}.audio-settings h3{margin:0}.audio-settings>label{color:#b8c4d6;flex-direction:column;gap:.3rem;font-size:.9rem;display:flex}.audio-settings select{color:inherit;background:#111317;border:1px solid #3a3f47;border-radius:6px;padding:.45rem}.audio-settings .checks{flex-wrap:wrap;gap:.4rem 1.2rem;display:flex}.audio-settings .inline{align-items:center;gap:.35rem;display:flex}.audio-settings .hint{margin:0}.meter-row,.master-row{align-items:center;gap:.75rem;display:flex}.meter-row span:first-child{color:#b8c4d6;font-size:.9rem}.master-row input{flex:1;min-width:0}.mic-meter{background:#111317;border:1px solid #2f3540;border-radius:4px;flex:1;height:.6rem;overflow:hidden}.mic-meter>span{background:#555;width:0;height:100%;transition:width 60ms linear;display:block}.mic-meter>span.ok{background:#4caf50}.mic-meter>span.clip{background:#e53935}.header-meter{flex:0 0 5rem}.enable-audio{color:#fff;background:#1565c0;border-color:#1e88e5;width:100%;margin:0 0 1rem;padding:.9rem;font-size:1.1rem;font-weight:700;display:block}.sub{color:#999;font-size:.9rem}.lines{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem;display:grid}.line{border:2px solid #333;border-radius:10px;flex-direction:column;gap:.5rem;padding:.75rem;transition:border-color .1s;display:flex}.line.active{border-color:#4caf50}.line-head{justify-content:space-between;align-items:center;display:flex}.line h2{margin:0;font-size:1.1rem}.keynum{text-align:center;color:#888;border:1px solid #444;border-radius:4px;min-width:1.4em;font-size:.8rem;display:inline-block}.conn{color:#ff9800;font-size:.8rem}.speakers{color:#4caf50;min-height:1.2em;font-size:.85rem}.talk{-webkit-user-select:none;user-select:none;touch-action:none;height:90px;font-size:1.3rem;font-weight:600}.talk.on{background:#c62828;border-color:#ff5252}.talk.latched{box-shadow:inset 0 0 0 3px #ff8a80}.talk.placeholder{color:#666;border:1px dashed #333;border-radius:6px;justify-content:center;align-items:center;font-size:.95rem;font-weight:400;display:flex}.listen{align-items:center;gap:.5rem;display:flex}.listen input[type=range]{flex:1;width:auto;min-width:0}.listen-toggle,.call{flex-shrink:0;padding:.5rem .7rem}.listen-toggle.on{background:#1b5e20;border-color:#4caf50}.call{margin-left:auto}.badges{gap:.3rem;display:flex}.badge{color:#b8c4d6;background:#2f3540;border-radius:4px;padding:.1rem .4rem;font-size:.7rem}.badge.priority{color:#ffb74d;background:#5d2a00}.line.group{background:#191c22}.line.direct .talk{height:64px;font-size:1.1rem}.line.calling{animation:.5s step-end infinite call-flash}.line.calling .speakers{color:#ffd54f}@keyframes call-flash{0%{background:#3a3210;border-color:#ffd54f}50%{border-color:#333}}.incoming{flex-direction:column;gap:.5rem;margin-bottom:.75rem;display:flex}.incoming-talk{background:#22252b;border:2px solid #555;border-radius:10px;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem .8rem;display:flex}.incoming-talk.live{background:#3a2a10;border-color:#ff9800}.talk.reply{min-width:11rem;height:56px;font-size:1rem}.group-strip{flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem;display:flex}.group-chip{background:#191c22;border:1px solid #333;border-radius:8px;align-items:center;gap:.5rem;padding:.4rem .6rem;display:flex}.group-chip.active{border-color:#ff9800}.group-name{align-items:center;gap:.4rem;font-size:.9rem;display:flex}.group-chip input[type=range]{width:90px}.section{color:#aaa;margin:1.5rem 0 .75rem;font-size:.95rem;font-weight:600}.members{color:#777;font-size:.8rem}.arrange-controls{gap:.4rem;display:flex}.arrange-controls button{padding:.35rem .7rem}.arrange-controls .hide-toggle{margin-left:auto}.panel.arranging .lines:not(.direct) .line{border-style:dashed;border-color:#64b5f6}.panel.arranging .lines:not(.direct) .line>:not(.arrange-controls):not(.line-head){pointer-events:none;opacity:.5}.line.hidden-key{opacity:.45}.arrange-hint{margin-top:0}.section-toggle{font:inherit;color:inherit;background:0 0;border:none;padding:.2rem 0;font-weight:700}.direct-filter{box-sizing:border-box;width:100%;max-width:24rem;color:inherit;background:#111317;border:1px solid #3a3f47;border-radius:6px;margin-bottom:.75rem;padding:.5rem .6rem}.layout-compact .lines{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.5rem}.layout-compact .line{gap:.35rem;padding:.5rem}.layout-compact .line h2{font-size:.95rem}.layout-compact .talk,.layout-compact .line.direct .talk{height:52px;font-size:1rem}.layout-compact .listen-toggle,.layout-compact .call{padding:.3rem .45rem;font-size:.8rem}.layout-compact .members,.layout-compact .speakers:empty{display:none}.layout-large .lines{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.layout-large .line h2{font-size:1.4rem}.layout-large .talk{height:150px;font-size:2rem}.layout-large .line.direct .talk{height:96px;font-size:1.4rem}.layout-large .listen-toggle,.layout-large .call{padding:.75rem 1rem;font-size:1.05rem}.layout-large .listen input[type=range]{height:2rem}@media (width<=600px){.panel{padding:.6rem}.layout-normal .lines{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.layout-normal .line{padding:.5rem}.layout-normal .talk{height:80px}.layout-normal .listen-toggle,.layout-normal .call{padding:.4rem .5rem;font-size:.85rem}.layout-compact .lines{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.layout-compact .listen input[type=range]{display:none}.layout-large .lines{grid-template-columns:1fr}.layout-large .talk{height:130px}.segmented button{padding:.4rem .6rem}}.hint{color:#777;font-size:.85rem}.error{color:#ff6b6b}.admin{max-width:1300px;margin:0 auto;padding:1rem}.admin-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.admin-actions{align-items:center;gap:.5rem;display:flex}.dirty{color:#ffb74d;font-size:.9rem}button.primary{background:#1565c0;border-color:#42a5f5}button.danger{color:#ff8a80;border-color:#7f2a2a}button.add{border-style:dashed;margin-top:.5rem}button.selected{background:#33404f;border-color:#64b5f6}.ok{color:#81c784}.admin-body{grid-template-columns:200px 1fr;align-items:start;gap:1rem;display:grid}@media (width<=700px){.admin-body{grid-template-columns:1fr}}.admin-nav{flex-direction:column;gap:.4rem;display:flex}.admin-nav h3,.editor h3{color:#aaa;margin:.5rem 0;font-size:.95rem}.admin-nav button{text-align:left}.admin-main{border:1px solid #333;border-radius:10px;min-width:0;padding:1rem}.tabs{gap:.4rem;margin-bottom:1rem;display:flex}.field-row{justify-content:space-between;align-items:end;gap:1rem;display:flex}.editor label{color:#aaa;flex-direction:column;gap:.3rem;font-size:.9rem;display:flex}.editor input:not([type=checkbox]),.editor select{color:#e8e8e8;background:#0f1013;border:1px solid #444;border-radius:5px;padding:.35rem .5rem}.grid{border-collapse:collapse;width:100%}.grid th,.grid td{text-align:left;border-bottom:1px solid #2a2d33;padding:.35rem .4rem}.grid th{color:#999;font-size:.8rem;font-weight:600}.grid .center{text-align:center}.row-actions{white-space:nowrap;text-align:right}.row-actions button{margin-left:.25rem;padding:.3rem .6rem}.matrix-wrap{overflow-x:auto}.matrix .line-col{text-align:center;min-width:70px}.admin>.password-form{max-width:24rem;margin:0 0 1rem auto}.password-form{background:#15181d;border:1px solid #2f3540;border-radius:8px;flex-direction:column;gap:.6rem;padding:.8rem;display:flex}.password-form label{flex-direction:column;gap:.3rem;display:flex}.user-form{background:#15181d;border:1px solid #2f3540;border-radius:8px;flex-direction:column;gap:.6rem;padding:.8rem;display:flex}.user-form .field-row{flex-wrap:wrap;justify-content:flex-start}.user-form h4{margin:.4rem 0 0}.assign-row{flex-wrap:wrap;align-items:center;gap:.4rem 1rem;display:flex}.assign-row strong{min-width:8rem}label.inline{flex-direction:row;align-items:center;gap:.35rem;display:flex}.users tr.disabled td{opacity:.55}.users .badge{margin-left:.5rem}.matrix td.access.has select{background:#15301a;border-color:#4caf50}.live tr.talking td{background:#3a1515}
