.connection-gate{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:rgba(5,13,23,.96);padding:24px;overflow:auto}
.connection-gate[hidden]{display:none}
#dashboardKpis{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:850px){#dashboardKpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#dashboardKpis{grid-template-columns:1fr}}
.connection-card{width:min(500px,100%);padding:36px;border:1px solid #28425a;border-radius:24px;background:linear-gradient(145deg,#122337,#091521);box-shadow:0 30px 100px #0006;color:#edf6ff;display:grid;gap:16px}
.connection-card h1{font-size:38px;line-height:1.1;margin:0}.connection-card p{color:#a8bbce;line-height:1.6;margin:0}.connection-card .eyebrow{font-size:11px;letter-spacing:2px;color:#49e0cd}.connection-card input{background:#07121e;color:#fff;border:1px solid #36526d;padding:14px;border-radius:10px;width:100%}.connection-card small{color:#8fa5c0}.connection-card button{min-height:44px}.connection-card [role=alert]{color:#ff9f9f}
#voiceCount{border-radius:7px;background:#234752;color:#6ef4df;padding:2px 6px;margin-left:6px}.voice-card{padding:24px;margin-bottom:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.voice-card h2{margin:0;font-size:20px}.voice-card header{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.voice-card p{color:var(--muted);line-height:1.6}.voice-card .voice-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.voice-details div{padding:12px;background:var(--bg2);border-radius:10px;overflow-wrap:anywhere}.voice-details small{display:block;color:var(--muted);margin-bottom:6px}.voice-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6;padding:16px;background:var(--bg2);border-radius:10px}.voice-card .page-actions{margin-top:16px}.voice-form{display:grid;gap:14px}.voice-form label{display:grid;gap:7px;color:var(--muted)}.voice-form input,.voice-form select{padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--bg2);color:var(--text);width:100%}.voice-empty{padding:50px 24px;text-align:center;border:1px dashed var(--line);border-radius:20px}.voice-empty h2{color:var(--text)}#recoveryActions{display:grid;gap:12px}#recoveryActions[hidden]{display:none}
@media(max-width:850px){.app{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.sidebar{max-height:180px;padding:10px}.brand{padding-bottom:10px}.nav-group{display:flex;flex-wrap:wrap;gap:4px}.nav-label,.sidebar-foot{display:none}.nav-btn{width:auto;font-size:12px;padding:8px}.nav-btn span:last-child{display:inline!important}.workspace{min-height:0}.topbar{padding:10px}.search-wrap{display:none}.content{padding:14px}.voice-card .voice-details{grid-template-columns:1fr 1fr}.connection-card{padding:24px}.connection-card h1{font-size:30px}}

/* AquaProject identity: vector wave remains sharp at every scale. */
.aquaproject-logo{width:210px;max-width:100%;color:var(--text,#edf6ff);line-height:0}
.aquaproject-logo svg{display:block;width:100%;height:auto}
.brand{flex-direction:column;align-items:flex-start;gap:10px;padding:8px 8px 22px}
.crm-brand-caption{font-size:9px;font-weight:600;letter-spacing:.18em;color:var(--muted)}
.connection-card .aquaproject-logo{width:240px;color:#edf6ff;margin-bottom:4px}
@media(min-width:851px) and (max-width:1200px){
.brand{padding:4px 0 18px;align-items:center}
.brand .aquaproject-logo{width:60px}
.crm-brand-caption{display:none}
}
@media(max-width:850px){
.brand{flex-direction:row;align-items:center;justify-content:space-between;padding:0 6px 10px}
.brand .aquaproject-logo{width:165px}
.crm-brand-caption{font-size:8px;letter-spacing:.08em}
}
.voice-card header>.badge{flex:0 0 auto;align-self:flex-start;white-space:nowrap;border-radius:999px;height:auto}
