aside{width:240px;padding-top:25px;overflow-y:auto}.workspace{margin-left:240px}.brand{margin-bottom:24px}.tenantlabel{margin:0 10px 18px;font-size:10px;text-transform:uppercase;letter-spacing:1px}.tenantlabel select{margin-top:2px;font-size:12px;text-transform:none;letter-spacing:0}nav a{padding:8px 12px;margin:2px 0;font-size:12px}nav .navlabel{margin-top:19px}.asidefoot{position:static;margin-top:30px}.soon{font-size:9px;margin-left:auto;color:var(--muted)}header{gap:10px;padding:0 28px}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.header-actions button{font-size:11px;padding:7px 10px}main{padding:30px 30px}.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.card{padding:19px}.card .metric{font-size:32px}.card .caption{min-height:15px}.card small{font-size:10px}.hero{display:flex;justify-content:space-between;align-items:center;border:1px solid #2c5146;background:linear-gradient(110deg,#15332e,#111b26 75%);border-radius:10px;padding:23px 25px;margin-bottom:24px}.hero h2{font-size:21px;letter-spacing:-.5px;margin-bottom:6px}.hero p{margin:0;color:#a5bdb8;font-size:12px}.hero .status{white-space:nowrap}.resourcecount{font-size:12px;color:var(--muted)}.system-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.meter{height:5px;background:#243242;border-radius:5px;overflow:hidden;margin:15px 0 8px}.meter progress{width:100%;height:5px;display:block;accent-color:var(--accent)}.meterlabel{font-size:25px;letter-spacing:-.8px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature{border:1px solid var(--line);border-radius:8px;padding:18px}.feature h3{margin-bottom:5px}.feature p{font-size:12px;color:var(--muted);margin:0}.emptybox{text-align:center;padding:55px 20px}.emptyicon{color:var(--accent);font-size:36px;margin-bottom:10px}.emptybox p{max-width:420px;margin:0 auto 20px;color:var(--muted)}.tablewrap td{white-space:normal;overflow-wrap:anywhere;max-width:360px}table th{white-space:nowrap}.buttons{display:flex;gap:5px;flex-wrap:wrap}.buttons button{white-space:nowrap}dialog{width:min(780px,94vw)}dialog .actions{align-items:start}dialog .actions small{max-width:320px;font-size:10px}.checkboxes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checkboxes label{display:flex;flex-direction:row;align-items:center}.checkboxes input{width:auto}.fieldhint{font-size:10px;color:var(--muted);margin-top:-3px}.credentials{border:1px solid #386e58;background:#112b25;border-radius:8px;padding:16px}.credentials p{font-size:12px}code{font:12px Consolas,monospace;overflow-wrap:anywhere;user-select:all}.helpgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.status.warn{background:#382f20;color:#e8c78b}.status.bad{background:#392326;color:#ffb2b2}.noticeinfo{border-left:2px solid var(--accent);padding:12px 16px;background:#12251f;color:#b2cec2;margin-bottom:20px;font-size:12px}.wide{grid-column:1/-1}.login-card{width:min(460px,92vw)}.tablehead{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.search{width:260px}.navlabel{margin-top:20px}.detailjson{font-size:12px}.eventsummary{max-width:500px}#passwordhint{margin-bottom:20px}#identity{font-size:11px}@media(max-width:1200px){header{height:auto;min-height:76px;padding:12px 20px}.cards{grid-template-columns:repeat(3,1fr)}.features{grid-template-columns:1fr 1fr}}@media(max-width:900px){.cards{grid-template-columns:repeat(2,1fr)}.system-grid,.helpgrid{grid-template-columns:1fr}aside{width:210px}.workspace{margin-left:210px}main{padding:25px 20px}.header-actions #identity{display:none}}@media(max-width:700px){aside{width:auto;position:relative;overflow:visible}.workspace{margin-left:0}.tenantlabel{max-width:300px}.brand{margin-bottom:12px}nav{display:flex;gap:2px}nav a{font-size:11px;padding:6px}nav .navlabel,.asidefoot,.soon{display:none}header>div:first-child{display:none}.header-actions{justify-content:flex-start}.cards{grid-template-columns:1fr 1fr}.features{grid-template-columns:1fr}.hero{gap:10px;padding:18px}.hero h2{font-size:18px}.search{width:100%}.tablehead{flex-wrap:wrap}.formgrid{grid-template-columns:1fr}.pagehead{gap:10px}.pagehead p{font-size:12px}footer{padding:14px 20px}}

.record-name{background:transparent;border:0;border-radius:3px;padding:0!important;margin:0!important;color:var(--accent);font:inherit;font-weight:600;text-align:left;cursor:pointer}.record-name:hover{text-decoration:underline}.record-name:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

.provisioning-source{max-height:60vh;overflow:auto;white-space:pre;background:#0b1118;border:1px solid var(--line);border-radius:8px;padding:16px;font:12px/1.6 Consolas,monospace}.provisioning-source code{white-space:pre;overflow-wrap:normal;user-select:text}

/* Keep long trunk and destination names inside the editor on every screen size. */
#editor{width:min(900px,94vw);overflow-y:auto}
#editor .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
#editor .formgrid>*,#editor label{min-width:0}
#editor select{max-width:100%;min-width:0}
#editor .actions{flex-wrap:wrap}
@media(max-width:700px){#editor .formgrid{grid-template-columns:minmax(0,1fr)}}
#key-dialog{width:min(1240px,96vw);overflow-y:auto}#key-dialog .key-heading{display:flex;gap:20px;justify-content:space-between}.key-heading p{color:var(--muted);font-size:12px}.key-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:28px}.phone-photo{position:relative;background:#e8edf0;border-radius:12px;overflow:hidden}.phone-photo img{display:block;width:100%;height:auto}.key-hotspot{position:absolute;transform:translate(-50%,-50%);padding:0;width:27px;height:27px;border-radius:50%;font-size:11px;font-weight:700;line-height:1;background:#0b1b2a;color:white;border:2px solid #83e8bd;box-shadow:0 1px 5px #0008}.key-hotspot.chosen{background:#83e8bd;color:#10271e;outline:2px solid white}.key-hotspot:disabled{background:#596573;border-color:#8797a3;color:white;cursor:default}.key-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.key-tile{display:flex;align-items:center;gap:10px;min-width:0;text-align:left;padding:10px}.key-tile span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.key-tile small{font-size:10px}.key-tile.assigned{border-left:3px solid var(--accent)}.key-tile.chosen{background:#1c3c33;border-color:var(--accent)}.key-pages{display:flex;gap:8px;margin:12px 0}.key-settings label{margin-bottom:16px}.key-settings .hint{margin-top:24px}.key-actions{display:flex;flex-wrap:wrap;gap:10px}#key-status{overflow-wrap:anywhere;color:var(--accent)}.key-settings{min-width:0}#key-dialog button:focus-visible{outline:2px solid white;outline-offset:3px}@media(max-width:800px){.key-workspace{grid-template-columns:minmax(0,1fr)}.key-hotspot{width:22px;height:22px;font-size:9px}.key-map{font-size:12px}}
.phone-photo .key-hotspot{width:11px;height:11px;font-size:8px;border-width:1px;box-shadow:0 0 0 1px #102433}.phone-photo .key-hotspot.chosen{outline-width:1px}.key-map .key-tile{min-height:44px}
#ivr-map-dialog{width:min(1450px,97vw);overflow:auto}#ivr-map-canvas{overflow:auto;max-height:65vh;border:1px solid var(--line);border-radius:8px;background:white}#ivr-map-canvas svg{display:block;max-width:none}#ivr-map-dialog .toolbar label{flex-direction:row;align-items:center;gap:8px}

.custom-brand-logo{max-width:180px;max-height:75px;object-fit:contain}.brand .custom-brand-logo{max-width:150px;max-height:48px}#branding-form fieldset{border:0;padding:0}#login .mark{font-size:28px;letter-spacing:0;overflow-wrap:anywhere}aside .brand{overflow-wrap:anywhere}
