@font-face{font-family:'Varela Round';src:url('/fonts/VarelaRound-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Varela;src:url('/fonts/Varela-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{font-family:'Varela Round','Segoe UI',Arial,sans-serif;color:#14243b;background:#f5f7f9;font-synthesis:none;--ink:#14243b;--muted:#667784;--brand-blue:#3a72b8;--line:#e3e9ee}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,input,select{transition:border-color .15s,background .15s}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3a72b8;outline-offset:3px}input,select{width:100%;border:1px solid #ccd7de;border-radius:8px;padding:12px;background:#fff;color:var(--ink)}input:focus,select:focus{border-color:var(--brand-blue)}label{display:block;font-size:13px;font-weight:600;margin:0 0 20px}label input,label select{margin-top:8px}h1,h2,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.1px;line-height:1.15;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.4px;margin-bottom:12px}.muted{color:var(--muted);line-height:1.6}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;margin-bottom:12px;color:var(--brand-blue)}.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:700;letter-spacing:-1px;color:white}.brand-mark{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#ef3e33;color:#0c2232;font-size:22px;font-weight:800}.brand-dot{color:#ef3e33}.primary,.secondary,.text-button,.icon-button{border:0;border-radius:8px;font-weight:600;font-size:13px}.primary{background:var(--brand-blue);color:white;padding:13px 19px;box-shadow:0 2px 2px #052b2910}.primary:hover{background:#2c5992}.secondary{background:#fff;border:1px solid #ccd7de;color:var(--ink);padding:12px 18px}.secondary:hover{background:#f3f6f7}.text-button{background:none;color:var(--brand-blue);padding:8px}.wide{width:100%}.badge{display:inline-block;border:1px solid #d8e4f0;background:#edf3fa;color:#2c5992;font-size:11px;padding:6px 10px;border-radius:6px;font-weight:600}.auth-shell{min-height:100vh;display:grid;grid-template-columns:46% 54%}.welcome{background:#0c2232;color:#e2efed;padding:46px 52px;display:flex;flex-direction:column;min-height:100vh;position:relative;overflow:hidden}.welcome:after{content:'';position:absolute;width:380px;height:380px;border:1px solid #6698cb1c;border-radius:50%;right:-160px;bottom:-120px;box-shadow:0 0 0 65px #6698cb07,0 0 0 130px #6698cb07;pointer-events:none}.welcome-copy{margin:auto 0;padding:70px 0}.welcome-copy h1{font-size:clamp(30px,3.8vw,53px);line-height:1.12;font-weight:500;letter-spacing:-1.7px}.welcome-copy .eyebrow{color:#73a0c1;margin-bottom:24px}.welcome-copy p{color:#b0c3d5;font-size:15px;line-height:1.8}.welcome-copy .small{font-size:12px}.welcome-line{width:48px;height:2px;background:#ef3e33;margin:34px 0}.welcome-footer{font-size:9px;letter-spacing:2px;color:#a1bad0}.auth-pane{display:flex;align-items:center;justify-content:center;padding:44px 30px;background:#fff}.auth-card{max-width:370px;width:100%}.auth-card h2{font-size:29px;margin:25px 0 10px;letter-spacing:-1px}.auth-card>.muted{font-size:14px;margin-bottom:26px}.auth-footnote{font-size:11px;line-height:1.7;color:#819098;margin:24px 0 0}.hint{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:7px;font-weight:400}.error{background:#fff0ef;border:1px solid #efceca;border-radius:8px;color:#992f29;padding:12px;font-size:13px;line-height:1.5}.workspace{display:flex;min-height:100vh}.sidebar{width:242px;flex-shrink:0;background:#0c2232;color:#d7e4e4;display:flex;flex-direction:column;padding:29px 20px;position:fixed;top:0;bottom:0;left:0}.sidebar .brand{padding:0 10px}.nav-heading{font-size:9px;letter-spacing:2px;color:#8ea9ad;margin:46px 12px 17px}.tenant-label{font-size:10px;color:#9fb8ba;margin:0 11px 7px}.sidebar select{font-size:12px;color:#e7f1f0;background:#142e46;border:1px solid #38546f;padding:12px;margin-bottom:25px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav button{display:flex;align-items:center;gap:13px;background:none;border:0;border-radius:8px;color:#bacccd;padding:13px 14px;text-align:left;font-size:13px;font-weight:500}.sidebar nav button:hover{background:#1e3c59}.sidebar nav button[aria-current=page]{background:#23486c;color:#ffffff}.nav-icon{font-size:19px;line-height:18px;width:20px;text-align:center}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff14;padding:20px 10px 0;font-size:10px;color:#b7cbcd;line-height:1.7}.sidebar-bottom p{color:#75979b;margin:5px 0 0;font-size:10px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#83d7bb;margin-right:7px}.main-shell{margin-left:242px;flex:1;min-width:0;display:flex;flex-direction:column}.topbar{min-height:76px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:18px 38px;gap:20px}.topbar>div:first-child{display:flex;align-items:center;gap:20px}.breadcrumb{font-size:9px;letter-spacing:1.7px;color:#8999a4}#scope-label{font-size:12px;font-weight:600}.account{display:flex;align-items:center;gap:20px;font-size:12px;color:#667784}main{padding:36px 38px;max-width:1500px;width:100%;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}.page-heading .muted{font-size:13px;margin-bottom:0}.page-heading .primary{flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:21px 24px}.stat-label{color:var(--muted);font-size:11px;margin:0 0 13px}.stat-value{font-size:27px;font-weight:600;letter-spacing:-.6px;margin-bottom:8px}.stat-note{font-size:10px;color:#84949f;margin:0}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 25px;border-bottom:1px solid var(--line)}.panel-toolbar h2{font-size:15px;margin:0 0 4px}.search-label{margin:0;max-width:245px;flex:1}.search-label input{margin:0;background:#fafbfd;padding:10px 12px;font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-transform:uppercase;letter-spacing:1px;font-size:9px;font-weight:600;color:#71828e;text-align:left;background:#fcfdfe;padding:14px 25px;border-bottom:1px solid var(--line)}td{padding:18px 25px;border-bottom:1px solid #edf1f4;vertical-align:middle}tr:last-child td{border:0}td strong{font-size:12px;font-weight:600}td .secondary{padding:7px 12px;font-size:11px}td:last-child{text-align:right}th:last-child{text-align:right}.row-title{display:flex;align-items:center;gap:13px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#edf3fa;color:#3a72b8;border-radius:8px;font-weight:700;font-size:12px;flex-shrink:0}.row-subtitle{display:block;color:#8999a3;font-size:10px;margin-top:4px}.pill{display:inline-block;padding:4px 8px;border-radius:5px;background:#eff5f8;color:#526e80;font-size:10px;white-space:nowrap}.pill.green{background:#edf8f1;color:#317154}.pill.amber{background:#fff6e9;color:#94672d}.panel-footer{padding:15px 25px;font-size:10px;color:#8a99a4;border-top:1px solid var(--line)}.empty{padding:60px 25px;text-align:center}.empty-icon{width:50px;height:50px;border-radius:14px;background:#edf3fa;color:#3a72b8;display:grid;place-items:center;margin:0 auto 18px;font-size:25px}.empty h3{font-size:16px;margin:0 0 9px}.empty p{font-size:12px;max-width:370px;margin:0 auto 20px;color:var(--muted);line-height:1.7}.callout{display:flex;align-items:flex-start;gap:13px;padding:16px 19px;border-radius:9px;border:1px solid #d8e4f0;background:#f0f5fa;margin-bottom:23px;font-size:12px;color:#294c73}.callout p{margin:5px 0 0;font-size:11px;line-height:1.7;color:#546c83}.callout-icon{border:1px solid #73a0c1;border-radius:50%;width:18px;height:18px;text-align:center;flex-shrink:0}.notice{padding:13px 17px;border-radius:8px;background:#e7f6ef;color:#22664e;font-size:12px}.notice.error{background:#fff0ef;color:#992f29}.page-footer{margin-top:auto;padding:10px 38px 25px;color:#90a0a9;font-size:10px;display:flex;justify-content:space-between}.icon-button{background:none;font-size:24px;color:#6c808b;padding:0 8px}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start}.dialog-header h2{font-size:23px}.dialog-header .eyebrow{font-size:8px;margin-bottom:9px}dialog{border:1px solid #d9e2e7;border-radius:14px;width:min(480px,calc(100% - 32px));padding:30px;box-shadow:0 24px 80px #10232e30;color:var(--ink)}dialog::backdrop{background:#112e3b66;backdrop-filter:blur(2px)}dialog>.muted,#editor-description{font-size:12px;line-height:1.7;margin-bottom:24px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.checkbox-label{display:flex;align-items:center;gap:10px;margin-top:20px}.checkbox-label input{width:auto;margin:0;accent-color:var(--brand-blue)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:1000px){.sidebar{width:208px;padding:25px 14px}.main-shell{margin-left:208px}.topbar{padding:17px 24px}main{padding:28px 24px}.account{gap:8px}th,td{padding-left:18px;padding-right:18px}.stats{gap:10px}.stat{padding:17px}.welcome{padding:36px}.welcome-copy h1{font-size:37px}}@media(max-width:720px){.auth-shell{grid-template-columns:1fr}.welcome{min-height:auto;padding:22px}.welcome-copy,.welcome-footer{display:none}.auth-pane{padding:32px 22px}.workspace{display:block}.sidebar{position:static;width:auto;padding:18px}.sidebar .brand{padding:0}.nav-heading,.tenant-label,.sidebar-bottom{display:none}.sidebar select{margin:18px 0 12px}.sidebar nav{flex-direction:row;flex-wrap:wrap;gap:4px}.sidebar nav button{padding:10px;font-size:11px}.nav-icon{display:none}.main-shell{margin:0}.topbar{padding:14px 18px;flex-wrap:wrap;min-height:auto}.breadcrumb{display:none}.account{font-size:10px}main{padding:24px 16px}.page-heading{align-items:flex-start;gap:15px}.page-heading h1{font-size:28px}.page-heading .primary{font-size:11px;padding:11px}.stats{grid-template-columns:1fr 1fr}.stat:last-child{grid-column:1/-1}.stat-value{font-size:22px}.panel-toolbar{padding:17px;flex-wrap:wrap}.search-label{max-width:none;flex-basis:100%}.page-footer{padding:15px 18px}th,td{padding:14px}.callout{padding:13px}.panel-footer{padding:13px}dialog{padding:23px}}

/* Narvi Connect identity foundation. */
:root{--brand-navy:#0c2232;--brand-red:#ef3e33;--brand-sky:#0093c1;--brand-light-blue:#73a0c1}
.sidebar nav button[aria-current=page]{box-shadow:inset 3px 0 var(--brand-red)}
.welcome-line{width:64px;height:3px}
.brand-partners{font-size:11px;line-height:1.7;letter-spacing:.2px;color:#b0c3d5;margin:18px 0 0}
.brand-partners span{color:#fff}

/* Both supplied families have a regular face; preserve their original letterforms. */
body button,body label,body h1,body h2,body h3,body strong,body th,body .brand,body .brand-mark,body .stat-value,body .eyebrow,body .badge,body #scope-label{font-weight:400}
h2,h3,.eyebrow,.welcome-footer,.brand-partners,.page-heading>.muted{font-family:Varela,'Segoe UI',Arial,sans-serif}

.row-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}dialog>button{margin:6px 8px 18px 0}dialog>label{margin-top:16px}

/* Unified person workspace */
dialog.person-editor{width:min(760px,calc(100vw - 32px));max-width:760px} .person-editor #editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}.person-editor #editor-fields label{min-width:0}.person-editor #editor-fields input,.person-editor #editor-fields select{width:100%}@media(max-width:600px){.person-editor #editor-fields{grid-template-columns:1fr}}

.person-editor #editor-fields input[type=checkbox]{width:18px;flex:0 0 18px}.person-editor #editor-fields .checkbox-label{justify-content:flex-start;gap:10px;align-self:center}

dialog.extension-editor{width:min(760px,calc(100vw - 32px));max-width:760px}.extension-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.extension-fields>p,.extension-fields>fieldset,.extension-fields>audio{grid-column:1/-1}.extension-fields input,.extension-fields select{width:100%}.extension-fields fieldset label{display:flex;align-items:center;gap:10px}.extension-fields input[type=checkbox]{width:18px}.voicemail-row{padding:24px 0;border-bottom:1px solid #e3eaf3}.voicemail-row button{margin-right:8px}.voicemail-row audio{display:block;max-width:100%;margin-top:16px}.voicemail-row audio[hidden]{display:none}@media(max-width:600px){.extension-fields{grid-template-columns:1fr}}
