:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#15213a;background:#e9eef6;color-scheme:light;--ink:#15213a;--muted:#6d7890;--line:#e3e8f0;--surface:#fff;--soft:#f3f6fa;--brand:#315bea;--brand-dark:#2446bd;--green:#17a673;--amber:#e99b19;--red:#dc4f5f}*{box-sizing:border-box}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}body{margin:0;min-height:100vh;background:radial-gradient(circle at 12% 8%,#f9fbff 0 13%,transparent 35%),linear-gradient(145deg,#dfe7f3,#f4f7fb 60%,#dfe7f3)}.app-shell{width:min(100%,440px);min-height:100vh;margin:0 auto;background:var(--surface);overflow:hidden;position:relative}.screen{min-height:100vh}.hidden{display:none!important}
.auth-screen{display:flex;flex-direction:column;padding:max(56px,8vh) 28px 28px;background:linear-gradient(165deg,#17233b 0 34%,transparent 34.2%),var(--surface)}.brand-block{color:#fff;margin-bottom:clamp(64px,13vh,118px)}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border:2px solid #8ca9ff;border-radius:15px 15px 15px 5px;color:#fff;font-size:1.55rem;font-weight:900;box-shadow:inset 0 0 0 5px #315bea}.brand-name{margin:11px 0 30px;font-weight:800;letter-spacing:.02em}.brand-block h1{margin:0;font-size:clamp(1.75rem,7vw,2.25rem);letter-spacing:-.045em}.login-copy{margin:8px 0 0;color:#bdc8de;font-size:.96rem}.login-form{display:grid}.login-form>label{margin:0 0 7px;color:#4b5871;font-size:.82rem;font-weight:750}.field-wrap{position:relative;margin-bottom:18px}.field-wrap svg{position:absolute;left:14px;top:50%;width:20px;transform:translateY(-50%);fill:none;stroke:#758099;stroke-width:1.8}.field-wrap input,.search-box input{width:100%;border:1px solid #d7deea;border-radius:14px;background:#f8fafe;color:var(--ink);outline:none}.field-wrap input{height:54px;padding:0 16px 0 46px;font-weight:650}.field-wrap input:focus,.search-box input:focus{border-color:#7892ec;box-shadow:0 0 0 4px #315bea14}.login-options{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 20px}.check-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.82rem}.check-label input{accent-color:var(--brand);width:16px;height:16px}.text-button,.trial-button{border:0;background:transparent;color:var(--brand);cursor:pointer;font-weight:750}.text-button{padding:7px;font-size:.8rem}.primary-button{height:54px;border:0;border-radius:15px;background:linear-gradient(135deg,var(--brand),var(--brand-dark));box-shadow:0 12px 28px #315bea38;color:#fff;font-weight:850;cursor:pointer}.trial-button{padding:15px 8px 4px}.form-message{min-height:20px;margin:-7px 0 8px;color:var(--red);font-size:.82rem}.secure-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:auto 0 0;color:#8791a3;font-size:.75rem}.secure-note svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.dialer-screen{padding-bottom:calc(82px + env(safe-area-inset-bottom));background:#fff}.app-header{display:flex;align-items:center;justify-content:space-between;min-height:78px;padding:max(14px,env(safe-area-inset-top)) 20px 12px;border-bottom:1px solid var(--line)}.account{display:flex;align-items:center;gap:11px;min-width:0}.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#e9efff;color:var(--brand);font-weight:900}.account-name,.account-id,.section-kicker{margin:0}.account-name{font-weight:850;font-size:.92rem;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px}.account-id{margin-top:2px;color:var(--muted);font-size:.72rem}.header-actions{display:flex;align-items:center;gap:7px}.connection-pill{display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:99px;background:#eaf8f2;color:#157d5a;font-size:.68rem;font-weight:800}.connection-pill i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #17a6731c}.connection-pill.offline{background:#f1f3f6;color:#7b8495}.connection-pill.offline i{background:#9ba3b1;box-shadow:none}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:11px;background:var(--soft);color:#566177;cursor:pointer}.icon-button svg{width:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.panel{padding:22px 24px 8px}.dialer-panel{display:flex;flex-direction:column}.dial-mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:16px;padding:4px;border:1px solid #e1e7f0;border-radius:16px;background:#f3f6fa}.dial-mode button{display:flex;align-items:center;justify-content:center;gap:7px;height:42px;border:0;border-radius:12px;background:transparent;color:#778196;cursor:pointer;font-size:.8rem;font-weight:800;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.dial-mode button.active{background:#fff;color:var(--brand);box-shadow:0 3px 10px #53627a1c}.dial-mode svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.destination{text-align:center;min-height:86px}.destination-label{margin:0 0 4px;color:var(--muted);font-size:.72rem;font-weight:750;text-transform:uppercase;letter-spacing:.1em}.number-row{display:flex;align-items:center;justify-content:center}.number-row input{width:min(100%,320px);border:0;outline:0;background:transparent;color:var(--ink);text-align:center;font-size:clamp(1.65rem,8vw,2.2rem);font-weight:740;letter-spacing:.025em}.number-row input::placeholder{color:#bcc4d2;font-size:1.15rem;font-weight:600;letter-spacing:0}.clear-button{width:26px;height:26px;padding:0;margin-left:-24px;border:0;border-radius:50%;background:#e7ebf2;color:#657086;cursor:pointer;font-size:1.15rem}.destination-meta{margin:5px 0 0;color:#8892a4;font-size:.77rem}.destination-meta.external{color:#9a6714;font-weight:750}.call-state{display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;margin:3px auto 12px;padding:7px 13px;border-radius:99px;background:#f3f5f8;color:#687286;font-size:.78rem;font-weight:750}.state-dot{width:7px;height:7px;border-radius:50%;background:#a7afbd}.call-state.ready{background:#eef3ff;color:#3152b7}.call-state.ready .state-dot{background:var(--brand)}.call-state.phone-ready{background:#eaf8f2;color:#117553}.call-state.phone-ready .state-dot{background:var(--green)}.call-state.requesting{background:#eef3ff;color:#3152b7}.call-state.requesting .state-dot{background:var(--brand);animation:pulse 1.1s infinite}.call-state.talking{background:#eaf8f2;color:#117553}.call-state.talking .state-dot{background:var(--green);animation:pulse 1.1s infinite}.call-state.busy{background:#fff5df;color:#91600f}.call-state.busy .state-dot{background:var(--amber)}.call-state.error{background:#fff0f2;color:#a93846}.call-state.error .state-dot{background:var(--red)}.timer{padding-left:3px;font-variant-numeric:tabular-nums}
.dial-pad{display:grid;grid-template-columns:repeat(3,76px);justify-content:center;gap:10px 21px}.dial-pad button{display:flex;align-items:center;justify-content:center;flex-direction:column;width:76px;height:62px;border:1px solid #e8edf4;border-radius:23px;background:linear-gradient(180deg,#f8fafe,#f1f4f9);box-shadow:0 3px 8px #34415a0b;color:var(--ink);cursor:pointer;transition:transform .12s ease,background .12s ease,box-shadow .12s ease}.dial-pad button:hover{background:#edf2fa;box-shadow:0 5px 13px #34415a14}.dial-pad button:active{transform:scale(.92);background:#dfe6f1;box-shadow:none}.dial-pad strong{font-size:1.55rem;line-height:1;font-weight:650}.dial-pad small{min-height:10px;margin-top:4px;color:#858fa1;font-size:.55rem;letter-spacing:.14em;font-weight:800}.dial-pad .backspace{border-color:transparent;background:transparent;box-shadow:none;color:#667188}.backspace svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ptt-area{display:flex;align-items:stretch;flex-direction:column;width:100%;margin-top:18px}.ptt{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:116px;border:0;border-radius:24px;background:linear-gradient(145deg,#3f6bf6,#2348bf);box-shadow:0 11px 28px #315bea45,inset 0 1px 1px #ffffff5c;color:#fff;cursor:pointer;touch-action:none;user-select:none;transition:transform .12s ease,filter .2s ease,background .2s ease}.ptt.phone-action{background:linear-gradient(145deg,#20b77e,#0d8059);box-shadow:0 11px 28px #17a67342}.ptt.phone-action:active{transform:scale(.985);filter:brightness(.96)}.ptt-content{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:17px;pointer-events:none}.ptt svg{width:43px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.phone-handset{display:none}.ptt.phone-action .ptt-mic{display:none}.ptt.phone-action .phone-handset{display:block}.ptt-copy{display:flex;align-items:flex-start;flex-direction:column;text-align:left}.ptt-copy strong{font-size:1.06rem;line-height:1.2;letter-spacing:.01em}.ptt-copy small{margin-top:5px;color:#ffffffc7;font-size:.76rem;font-weight:650}.ptt-halo{position:absolute;inset:6px;border:1px solid #ffffff3b;border-radius:18px;pointer-events:none}.ptt:disabled{box-shadow:none;background:#cbd2de;color:#f7f8fa;cursor:not-allowed}.ptt:disabled .ptt-copy small{color:#ffffffd1}.ptt.requesting{animation:breathe .85s infinite alternate}.ptt.talking{transform:scale(.985);background:linear-gradient(145deg,#28bd87,#10845d);box-shadow:0 12px 35px #17a6734f}.ptt.busy{background:linear-gradient(145deg,#f3b23f,#d9860e)}
.bottom-nav{position:absolute;z-index:5;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);min-height:calc(70px + env(safe-area-inset-bottom));padding:7px 8px env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fffffff2;backdrop-filter:blur(14px)}.bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:0;background:transparent;color:#8992a3;cursor:pointer;font-size:.67rem;font-weight:750}.bottom-nav button.active{color:var(--brand)}.bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-keypad{display:grid;grid-template-columns:repeat(3,4px);gap:3px;width:18px;height:18px;align-content:center;justify-content:center}.nav-keypad i{width:4px;height:4px;border-radius:50%;background:currentColor}.list-panel{min-height:calc(100vh - 150px)}.panel-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.panel-heading h2{margin:2px 0 0;font-size:1.65rem;letter-spacing:-.04em}.section-kicker{color:var(--brand);font-size:.7rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.search-box{position:relative;display:block}.search-box svg{position:absolute;top:50%;left:14px;width:19px;transform:translateY(-50%);fill:none;stroke:#788398;stroke-width:1.8}.search-box input{height:48px;padding:0 14px 0 43px}.privacy-note{margin:10px 2px 17px;color:#8992a4;font-size:.72rem}.contact-list{display:grid;gap:8px}.contact-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.contact-avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#e9efff;color:var(--brand);font-weight:900}.contact-copy{flex:1;min-width:0}.contact-copy strong,.contact-copy small{display:block}.contact-copy strong{font-size:.9rem}.contact-copy small{margin-top:4px;color:var(--muted);font-size:.7rem}.presence{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #17a67318}.presence.away{background:var(--amber)}.presence.off{background:#a7afbd}.empty-state{padding:48px 20px;color:var(--muted);text-align:center;font-size:.88rem}.settings-panel{padding-bottom:100px;background:#f7f9fc}.settings-heading{margin-bottom:15px}.identity-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:17px;border-radius:21px;background:linear-gradient(145deg,#172640,#233b65);box-shadow:0 12px 30px #1e315526;color:#fff}.identity-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#ffffff18;border:1px solid #ffffff24;font-weight:900}.identity-copy{min-width:0}.identity-copy strong,.identity-copy span{display:block}.identity-copy strong{font-size:.94rem}.identity-copy span{margin-top:4px;color:#bfcae0;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-button{padding:8px 10px;border:1px solid #ffffff2b;border-radius:10px;background:#ffffff12;color:#fff;cursor:pointer;font-size:.7rem;font-weight:800}.identity-details{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;margin:5px 0 0;padding-top:13px;border-top:1px solid #ffffff1c}.identity-details div+div{padding-left:16px;border-left:1px solid #ffffff1c}.identity-details dt{color:#9facc4;font-size:.66rem;text-transform:uppercase;letter-spacing:.08em}.identity-details dd{margin:3px 0 0;font-size:.85rem;font-weight:800}.settings-group{margin-top:20px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}.settings-group-title{margin:0;padding:12px 15px 8px;color:#7c8799;font-size:.68rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.setting-row{display:flex;align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 14px;border:0;border-top:1px solid #edf0f5;background:#fff;color:var(--ink);text-align:left}.setting-row:first-of-type{border-top:0}.action-row{cursor:pointer}.setting-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px}.setting-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.setting-icon.blue{background:#e9efff;color:#315bea}.setting-icon.violet{background:#f1eaff;color:#7953c8}.setting-icon.green{background:#e8f8f1;color:#13835f}.setting-icon.coral{background:#fff0ed;color:#c95a48}.setting-icon.amber{background:#fff4df;color:#b8750c}.setting-icon.slate{background:#edf1f6;color:#56647b}.setting-copy{flex:1;min-width:0}.setting-copy strong,.setting-copy small{display:block}.setting-copy strong{font-size:.86rem}.setting-copy small{margin-top:4px;color:var(--muted);font-size:.7rem;line-height:1.3}.switch{position:relative;flex:0 0 44px;width:44px;height:26px}.switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.switch i{display:block;width:100%;height:100%;border-radius:99px;background:#cdd4df;transition:background .18s ease}.switch i::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #24334b30;transition:transform .18s ease}.switch input:checked+i{background:var(--brand)}.switch input:checked+i::after{transform:translateX(18px)}.switch input:focus-visible+i{outline:3px solid #315bea30;outline-offset:2px}.chevron{color:#929bad;font-size:1.55rem;font-weight:400}.status-action{padding:6px 8px;border-radius:9px;background:#edf2ff;color:var(--brand);font-size:.68rem;font-weight:850}.app-version{margin:21px 0 3px;color:#9aa3b2;text-align:center;font-size:.7rem}.toast{position:fixed;z-index:20;left:50%;bottom:92px;max-width:calc(100% - 32px);padding:11px 15px;border-radius:12px;background:#15213a;color:#fff;box-shadow:0 12px 34px #15213a4a;opacity:0;transform:translate(-50%,12px);pointer-events:none;transition:.2s ease;font-size:.8rem}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes pulse{50%{box-shadow:0 0 0 5px #17a67320}}@keyframes breathe{to{transform:scale(.985);filter:brightness(1.15)}}@media(min-width:620px){body{padding:28px}.app-shell{min-height:min(860px,calc(100vh - 56px));border:1px solid #dbe2ec;border-radius:34px;box-shadow:0 30px 80px #52607835}.screen{min-height:min(860px,calc(100vh - 56px))}.bottom-nav{border-radius:0 0 34px 34px}}@media(max-height:720px){.app-header{min-height:65px}.panel{padding-top:12px}.destination{min-height:72px}.dial-pad{gap:6px 18px}.dial-pad button{height:52px}.ptt-area{margin-top:10px}.ptt{width:100%;height:86px}.ptt svg{width:32px}.ptt-copy strong{font-size:.95rem}.ptt-copy small{font-size:.68rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
