:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#17232a;background:#f4f7f5;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.44;cursor:not-allowed}
.topbar{height:64px;background:#172c2b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:12px}.brand{display:flex;align-items:center;gap:12px;font-weight:650}.brand-mark{background:#20b879;color:#102b27;border-radius:6px;width:32px;height:32px;display:grid;place-items:center;font-weight:800}.connection{font-size:13px;color:#a5dcca}
.workspace{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);min-height:calc(100vh - 64px)}.sidebar{background:#fff;border-right:1px solid #dce5e2;min-width:0}.section{padding:20px;border-bottom:1px solid #e4ebe8}.section h1,.section h2,.details h2{font-size:16px;margin:0 0 16px}.section-title{display:flex;align-items:center;justify-content:space-between}.section-title h2{margin:0 0 12px}.section label,.manual label{font-size:12px;font-weight:600;display:block;margin:12px 0 5px;color:#53645e}input,select,textarea{width:100%;border:1px solid #c9d6d1;border-radius:4px;background:#fff;color:#17232a;padding:9px;min-width:0}textarea{resize:vertical;font-size:12px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #138d63;outline-offset:2px}.hint,.muted{color:#66766f;font-size:13px}.hint{line-height:1.5}.call-list{display:grid;gap:8px}.call-item{width:100%;text-align:left;background:#f4f8f6;border:1px solid #d5e2dc;border-radius:5px;padding:11px;color:#24372f}.call-item strong,.call-item small{display:block;overflow-wrap:anywhere}.call-item small{color:#687b72;margin-top:5px}.call-item.selected{border-color:#168a62;background:#e9f6ee}.manual{border-top:1px solid #e4ebe8;margin-top:18px;padding-top:18px}.manual h2{margin-bottom:6px}
.stage{padding:24px min(4vw,40px);min-width:0;max-width:1250px;width:100%;margin:0 auto}.stage-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}.stage-heading h2{font-size:22px;margin:4px 0;overflow-wrap:anywhere}.stage-heading p{margin:0}.eyebrow{font-size:12px;color:#4d6f60;text-transform:uppercase;font-weight:700}.state{font-size:12px;padding:5px 9px;background:#e4f1e9;color:#24664b;border-radius:4px;white-space:nowrap}
.account-title,.contacts-title{margin-top:18px}.account-title h2,.contacts-title h2{margin:0}.account-details{display:grid;grid-template-columns:76px minmax(0,1fr);gap:7px;font-size:12px;margin:10px 0 0}.account-details dt{color:#66766f}.account-details dd{margin:0;overflow-wrap:anywhere}.contact-list{max-height:240px;overflow:auto;display:grid;gap:4px}.contact-item{width:100%;text-align:left;border:1px solid #d5e2dc;background:#f4f8f6;color:#24372f;border-radius:4px;padding:7px 9px}.contact-item strong,.contact-item small{display:block;overflow-wrap:anywhere}.contact-item small{color:#687b72;margin-top:2px}
.dial-warning{color:#ac3d37;margin:6px 0}
.video-stage{height:clamp(250px,45vh,520px);background:#172029;position:relative;overflow:hidden;border-radius:6px}.video-stage canvas{width:100%;height:100%;display:block;object-fit:contain}.remote-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#a9b9b6;background:#172029;pointer-events:none}.remote-placeholder[hidden]{display:none}.local-video{position:absolute;right:14px;bottom:14px;width:min(29%,210px);aspect-ratio:4/3;object-fit:cover;background:#253339;border:1px solid #9eaaa7;border-radius:4px}.video-stage:not(.video-call) .local-video{display:none}.controls{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.controls button,.manual button{border:0;padding:9px 14px;border-radius:4px;min-height:40px;font-weight:600}.answer{background:#1eaa70;color:#fff}.danger{background:#cb504c;color:#fff}.secondary{background:#e5ede9;color:#274639}.quiet{border:0;background:transparent;color:#1e7658;padding:4px 2px}.settings-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}.settings-row select{max-width:260px}.details{border-top:1px solid #dce5e2;margin-top:20px;padding:18px 0}.details h2{margin:0 0 14px}.details dl{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);gap:10px;font-size:13px;margin:0}.details dt{color:#66766f}.details dd{margin:0;overflow-wrap:anywhere}.logs{max-height:200px;overflow:auto;margin:0;padding:0;list-style:none;font:12px/1.5 ui-monospace,monospace;color:#4e6259}.logs li{padding:6px 0;border-bottom:1px solid #e4ebe8;overflow-wrap:anywhere}
@media(max-width:760px){.workspace{display:block}.sidebar{border:0;border-bottom:1px solid #dce5e2}.stage{padding:18px}.video-stage{height:clamp(240px,48vh,460px)}.stage-heading h2{font-size:18px}.details dl{grid-template-columns:120px minmax(0,1fr)}}
