/* Scoped to INAYA Web Call. Existing Nexviro purple and Inter/Poppins family. */
.iv-page,.iv-console{--iv-purple:#5b2d90;--iv-purple-dark:#46226f;--iv-ink:#241c35;--iv-muted:#625c70;--iv-soft:#f6f3f9;--iv-line:#ded5e7;--iv-white:#fff;--iv-green:#166345;--iv-red:#b42438;--iv-focus:#b44c00;color:var(--iv-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6}
.iv-page{margin:0;background:linear-gradient(145deg,#fcfaf7 0%,#faf8fc 55%,#f1edf8 100%);min-height:100dvh}
.iv-page *,.iv-console *{box-sizing:border-box}.iv-page [hidden],.iv-console [hidden]{display:none!important}
.iv-page a,.iv-console a{color:var(--iv-purple)}.iv-page :where(button,a,input,select,summary):focus-visible,.iv-console :where(button,a,input,select,summary):focus-visible{outline:3px solid var(--iv-focus);outline-offset:4px}
.iv-page button,.iv-console button,.iv-page summary,.iv-console summary{cursor:pointer;touch-action:manipulation}.iv-page button:disabled,.iv-console button:disabled{cursor:not-allowed;opacity:.56}
.iv-page h1,.iv-page h2,.iv-page h3,.iv-console h1,.iv-console h2,.iv-console h3{font-family:Poppins,Inter,system-ui,sans-serif;line-height:1.3;margin-top:0;color:var(--iv-ink)}
.iv-page p,.iv-console p{margin:0 0 16px}.iv-page h2,.iv-console h2{font-size:20px;margin-bottom:12px}.iv-page h3,.iv-console h3{font-size:17px}
.iv-skip{position:fixed;left:16px;top:0;z-index:3000;background:#fff;padding:16px;transform:translateY(-120%)}.iv-skip:focus{transform:translateY(0)}
.iv-site-header{max-width:1200px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}.iv-brand img{width:148px;height:auto;max-height:48px;object-fit:contain;display:block}.iv-text-link{text-decoration:none;font-weight:600;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.iv-shell{max-width:1064px;margin:0 auto;padding:30px 32px 64px}.iv-heading{text-align:center;margin-bottom:36px}.iv-eyebrow{font-size:12px!important;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:var(--iv-purple);margin-bottom:12px!important}.iv-heading h1{font-size:clamp(32px,4.5vw,49px);font-weight:700;letter-spacing:-1.8px;margin-bottom:18px;text-wrap:balance}.iv-heading h1 span{color:var(--iv-purple)}.iv-heading>p:last-child{color:var(--iv-muted);line-height:1.75}.iv-customer-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr);gap:24px;align-items:start}.iv-card{border:1px solid var(--iv-line);background:var(--iv-white);border-radius:24px;padding:28px;box-shadow:0 12px 32px #452a6907;min-width:0}.iv-call-card{text-align:center;padding:25px 28px 30px}.iv-call-top,.iv-section-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:24px}.iv-section-heading h2{margin:0}.iv-status-pill{display:inline-flex;align-items:center;gap:7px;background:var(--iv-soft);color:var(--iv-purple-dark);border:1px solid #e9e0f0;padding:5px 11px;border-radius:30px;font-size:12px;font-weight:650;line-height:1.5}.iv-status-pill[data-tone="connected"]{color:var(--iv-green);background:#eff8f3;border-color:#c6e6d5}.iv-status-pill[data-tone="error"]{color:var(--iv-red);background:#fff2f2;border-color:#f1c9ce}.iv-timer{font-variant-numeric:tabular-nums;font-size:14px;color:var(--iv-muted);white-space:nowrap}.iv-avatar-wrap{position:relative;width:164px;height:164px;margin:20px auto 22px;display:grid;place-items:center}.iv-avatar{position:relative;z-index:1;width:146px;height:146px;object-fit:cover;border-radius:50%;background:#f1e9f7;border:5px solid #fff;box-shadow:0 4px 24px #5b2d9020}.iv-voice-rings{position:absolute;inset:0;border:1px solid #d9c7e9;border-radius:50%;background:#f4edf9}.iv-avatar-wrap[data-connected="true"] .iv-voice-rings{box-shadow:0 0 0 10px #efe7f760;animation:iv-breathe 2.2s ease-in-out infinite}.iv-call-card h2{font-size:27px;letter-spacing:1px;margin:0 0 5px}.iv-call-subtitle{color:var(--iv-muted);font-size:14px}.iv-call-status{font-size:15px;color:var(--iv-muted);min-height:48px;max-width:360px;margin:21px auto!important}.iv-start-actions{margin-top:23px}.iv-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;border:1px solid transparent;padding:12px 18px;min-height:48px;font:600 14px/1.4 Inter,system-ui,sans-serif;text-decoration:none;transition:background-color .16s,border-color .16s,color .16s;max-width:100%;text-align:center}.iv-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.iv-primary{color:#fff!important;background:var(--iv-purple);border-color:var(--iv-purple)}.iv-primary:hover:not(:disabled){background:var(--iv-purple-dark);border-color:var(--iv-purple-dark)}.iv-secondary{color:var(--iv-purple)!important;background:#fff;border-color:#bda8cf}.iv-secondary:hover:not(:disabled){background:var(--iv-soft)}.iv-danger{color:#fff;background:var(--iv-red);border-color:var(--iv-red)}.iv-danger:hover{background:#921b2d}.iv-full,.iv-start{width:100%}.iv-start{font-size:16px;min-height:54px}.iv-start-actions .iv-small{margin:14px 0 0}.iv-small{font-size:13px!important;color:var(--iv-muted);line-height:1.7}.iv-muted{color:var(--iv-muted)}.iv-side{display:grid;gap:20px}.iv-side .iv-card{padding:25px}.iv-side p{font-size:14px}.iv-side h2{font-size:20px}.iv-verified-label{display:inline-block;color:var(--iv-green);border:1px solid #c6e6d5;border-radius:8px;background:#eff8f3;padding:5px 10px;font-weight:650}.iv-identity [data-view="identity-name"]{font-size:19px;font-weight:650}.iv-privacy{padding:0 6px;color:var(--iv-muted);font-size:12px!important;line-height:1.8}.iv-verification{margin-top:20px;border-top:1px solid var(--iv-line);padding-top:15px}.iv-verification summary{font-size:14px;font-weight:600;padding:6px 0;min-height:44px;color:var(--iv-purple)}.iv-verification form{margin-top:16px}.iv-page label,.iv-console label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.iv-page input:not([type="checkbox"]),.iv-console input:not([type="checkbox"]),.iv-console select{font:inherit;width:100%;background:#fff;color:var(--iv-ink);padding:11px 12px;min-height:48px;border:1px solid #ad9bbc;border-radius:10px;margin-bottom:14px}.iv-page input[aria-invalid="true"]{border-color:var(--iv-red)}.iv-text-button{font:600 14px/1.6 Inter,system-ui,sans-serif;border:0;background:none;padding:10px 2px;color:var(--iv-purple);min-height:44px;text-decoration:underline;text-underline-offset:3px}.iv-controls{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:20px}.iv-controls .iv-button{flex:1 1 150px}.iv-ticket{border:1px dashed #c5b5d3;border-radius:12px;background:#fcfaff;padding:13px;margin:17px 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}.iv-ticket>span{font-size:12px;color:var(--iv-muted);flex-basis:100%}.iv-ticket strong{font-size:20px;letter-spacing:2px;font-variant-numeric:tabular-nums}.iv-copy{min-width:44px;min-height:44px;border:0;background:none;color:var(--iv-purple);font-weight:600;text-decoration:underline}.iv-notice{padding:14px 17px;border-radius:12px;font-size:14px;line-height:1.65;margin-bottom:18px;overflow-wrap:anywhere}.iv-error{color:#842332;background:#fff1f2;border:1px solid #edb8c0}.iv-transcript{margin-top:25px;text-align:left;border-top:1px solid var(--iv-line);padding-top:20px}.iv-transcript h3{font-size:14px}.iv-transcript ol{padding:0;list-style:none;margin:0}.iv-transcript li{font-size:13px;line-height:1.7;margin:12px 0;overflow-wrap:anywhere}.iv-transcript strong{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:var(--iv-purple);margin-bottom:3px}.iv-site-footer{border-top:1px solid #e8e0ee;max-width:1200px;margin:0 auto;padding:24px 32px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:13px;color:var(--iv-muted)}.iv-site-footer a{min-height:44px;display:inline-flex;align-items:center}.iv-site-footer span{display:inline-flex;align-items:center}
.iv-console{max-width:1400px}.iv-console-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.iv-console-heading h1{font-size:30px;margin-bottom:8px}.iv-console-heading p:last-child{color:var(--iv-muted);margin:0}.iv-console .iv-card{margin-bottom:24px}.iv-agent-presence{display:flex;justify-content:space-between;align-items:center;gap:24px}.iv-agent-presence p{margin-bottom:0;color:var(--iv-muted);font-size:14px}.iv-agent-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start}.iv-queue{list-style:none;margin:0;padding:0}.iv-queue>li{border-top:1px solid var(--iv-line);padding:18px 0;display:flex;gap:16px;align-items:center;justify-content:space-between}.iv-queue>li>div{min-width:0}.iv-queue h3{font-size:16px;margin-bottom:4px;overflow-wrap:anywhere}.iv-queue p{font-size:13px;margin:3px 0;color:var(--iv-muted);overflow-wrap:anywhere}.iv-queue button{flex-shrink:0}.iv-agent-call>h3{margin-top:20px;font-size:21px}.iv-agent-call>p{font-size:14px;color:var(--iv-muted)}.iv-call-context{background:var(--iv-soft);border-radius:12px;padding:16px;margin:20px 0;overflow-wrap:anywhere}.iv-call-context h3{font-size:14px;margin-bottom:8px}.iv-call-context p{font-size:14px;margin:0}.iv-settings summary{font-weight:650;color:var(--iv-purple);min-height:44px;cursor:pointer}.iv-settings form{max-width:620px;padding-top:15px}.iv-check{display:flex!important;align-items:center;gap:10px;margin:18px 0!important;min-height:44px}.iv-check input{width:20px;height:20px;accent-color:var(--iv-purple)}
@keyframes iv-breathe{0%,100%{transform:scale(1);opacity:.8}50%{transform:scale(1.04);opacity:1}}
.iv-call-context p{white-space:pre-line}
.iv-report-search{display:flex;align-items:end;gap:16px;max-width:650px}.iv-report-search>div{flex:1;min-width:0}.iv-report-search input{margin-bottom:0!important}.iv-report-search+.iv-small{margin-top:16px}.iv-report-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.iv-report-list li{border:1px solid var(--iv-line);border-radius:12px;padding:15px;overflow-wrap:anywhere}.iv-report-list strong{font-variant-numeric:tabular-nums}.iv-report-list p{font-size:13px;color:var(--iv-muted);margin:5px 0}.iv-report-detail{border-top:1px solid var(--iv-line);margin-top:24px;padding-top:22px}.iv-report-detail>p:last-child{white-space:pre-line;font-size:14px;line-height:1.8;max-width:850px}.iv-report-detail h3{font-variant-numeric:tabular-nums}
@media(max-width:500px){.iv-report-search{flex-direction:column;align-items:stretch}}
@media(max-width:800px){.iv-customer-grid,.iv-agent-grid{grid-template-columns:1fr}.iv-shell{max-width:590px;padding-top:20px}.iv-heading h1{letter-spacing:-1.2px}.iv-heading{margin-bottom:26px}.iv-console-heading,.iv-agent-presence{align-items:flex-start;flex-direction:column}.iv-agent-presence .iv-button{width:100%}.iv-call-card{order:0}.iv-side{order:1}.iv-queue>li{flex-wrap:wrap}.iv-queue button{margin-left:auto}.iv-console-heading .iv-button{width:100%}}
@media(max-width:420px){.iv-site-header,.iv-site-footer{padding:18px 20px}.iv-brand img{width:125px}.iv-site-header .iv-text-link{font-size:12px}.iv-shell{padding:16px 18px 35px}.iv-card,.iv-call-card,.iv-side .iv-card{padding:22px 20px;border-radius:20px}.iv-heading h1{font-size:34px}.iv-heading>p:last-child{font-size:14px}.iv-desktop-break{display:none}.iv-avatar-wrap{width:146px;height:146px}.iv-avatar{width:130px;height:130px}.iv-call-top{gap:10px}.iv-status-pill{font-size:11px}.iv-ticket strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.iv-page *,.iv-console *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.iv-embedded .iv-site-header,.iv-embedded .iv-site-footer{display:none}.iv-embedded .iv-shell{padding-top:24px}.iv-embedded .iv-heading{margin-bottom:24px}.iv-embedded .iv-heading h1{font-size:32px}.iv-usage{margin:24px 0;padding:20px;border:1px solid var(--iv-line);border-radius:14px;background:#fcfaff}.iv-usage h4{font-size:16px;margin:0 0 8px}.iv-usage-model{border-top:1px solid var(--iv-line);padding-top:16px;margin-top:18px}.iv-usage-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:12px 0}.iv-usage-values>div{min-width:0}.iv-usage-values dt{font-size:12px;color:var(--iv-muted);font-weight:500;line-height:1.5}.iv-usage-values dd{font-size:15px;font-variant-numeric:tabular-nums;font-weight:650;margin:3px 0 0;overflow-wrap:anywhere}.iv-usage-note{font-size:12px!important;margin:12px 0 0!important;color:var(--iv-muted)}

@media(max-width:600px){.iv-embedded .iv-heading h1{font-size:26px;margin-bottom:8px}.iv-embedded .iv-heading>p:last-child{display:none}.iv-embedded .iv-heading{margin-bottom:18px}.iv-embedded .iv-avatar-wrap{width:104px;height:104px;margin:8px auto 14px}.iv-embedded .iv-avatar{width:96px;height:96px}.iv-embedded .iv-call-status{margin:14px auto!important}.iv-embedded .iv-call-top{margin-bottom:14px}.iv-embedded .iv-call-card h2{font-size:24px}}

/* Compact voice channel inside the existing INAYA chat shell. The shell owns the identity heading. */
.iv-embedded .iv-heading,.iv-embedded .iv-avatar-wrap,.iv-embedded .iv-call-subtitle{display:none}
.iv-embedded .iv-call-card>h2{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.iv-embedded .iv-shell{padding:14px 12px 24px;max-width:600px}
.iv-embedded .iv-customer-grid{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.iv-embedded .iv-side{display:contents}
.iv-embedded .iv-card{padding:18px 16px;border-radius:16px}
.iv-embedded .iv-call-card{order:0}
.iv-embedded .iv-identity{order:1}
.iv-embedded .iv-help{order:2}
.iv-embedded .iv-privacy{order:3;margin:0 3px;font-size:11px!important}
.iv-embedded .iv-shell[data-verified="false"] .iv-identity{order:-1}
.iv-embedded .iv-identity>.iv-eyebrow,.iv-embedded .iv-identity>h2,.iv-embedded .iv-help>h2{display:none}
.iv-embedded .iv-call-top{margin-bottom:12px;gap:8px}
.iv-embedded .iv-call-status{font-size:14px;min-height:0;margin:12px auto!important;line-height:1.65}
.iv-embedded .iv-start-actions{margin-top:14px}
.iv-embedded .iv-start{min-height:48px;font-size:14px}
.iv-embedded .iv-controls{gap:8px;margin-top:12px}
.iv-embedded .iv-controls .iv-button{flex:1 1 125px;padding:11px 10px;font-size:13px}
.iv-embedded .iv-ticket{margin:12px 0;padding:9px}
.iv-embedded .iv-ticket strong{font-size:18px}
.iv-embedded .iv-identity [data-view="identity-name"]{font-size:16px;margin:10px 0 5px}
.iv-embedded .iv-identity p:last-child,.iv-embedded .iv-help p:last-child{margin-bottom:0}
.iv-embedded .iv-small{font-size:12px!important}
.iv-embedded .iv-verification{margin-top:15px;padding-top:14px}
.iv-embedded .iv-verification h3{font-size:17px}
.iv-followup{margin:24px 0;padding:20px;border:1px solid var(--iv-line);border-radius:12px;max-width:850px}.iv-followup form{max-width:700px}.iv-followup textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:112px;border:1px solid var(--iv-line);border-radius:8px;padding:12px;font:inherit;line-height:1.5}.iv-followup-actions{display:flex;gap:12px;flex-wrap:wrap}.iv-followup-history{padding-left:22px;max-height:440px;overflow:auto}.iv-followup-history li{padding:10px 4px;border-bottom:1px solid var(--iv-line);overflow-wrap:anywhere}.iv-followup-history strong{font-size:13px}.iv-followup-history p{white-space:pre-wrap;margin:8px 0;font-size:14px}.iv-followup textarea:focus-visible{outline:3px solid var(--iv-purple,#663399);outline-offset:2px}
@media(max-width:500px){.iv-followup{padding:14px}.iv-followup-actions{flex-direction:column}.iv-followup-actions button{min-height:44px}}
