@font-face{font-family:Inter;src:url('assets/inter-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('assets/inter-700.woff2') format('woff2');font-style:normal;font-weight:600 900;font-display:swap}
:root{color-scheme:light;--surface:#fff;--canvas:#f3f5fa;--ink:#131e32;--muted:#526079;--line:#e4e9f2;--nav:#101c35;--blue:#2853dc;--blue-hover:#1b45c5;--tint:#edf1ff;--green:#14734c;--green-bg:#def4e9;--orange:#855c0b;--orange-bg:#fff0d6;--grey-bg:#edf1f7;--shadow:0 6px 26px rgb(21 34 71 / 5%);font-family:Inter,system-ui,-apple-system,sans-serif;font-size:16px}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--canvas);color:var(--ink);min-width:320px;line-height:1.55}
button,input,textarea,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.62}
:focus-visible{outline:3px solid #6f91ff;outline-offset:3px}
[hidden]{display:none!important}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip:focus{position:fixed;z-index:10;top:10px;left:10px;background:white;padding:10px 16px;border-radius:8px}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.17;letter-spacing:-.03em}
h1{font-size:clamp(2rem,4vw,2.65rem);font-weight:700}
h2{font-size:1.25rem;font-weight:700}
h3{font-size:1rem}
.layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}
.rail{position:sticky;top:0;align-self:start;height:100dvh;background:var(--nav);display:flex;flex-direction:column;padding:31px 18px 22px;color:white}
.brand{display:flex;align-items:center;gap:12px;padding:0 10px;font-size:1rem;line-height:1.13;font-weight:700;letter-spacing:-.026em;align-self:flex-start}
.brand-mark{width:37px;height:37px;border-radius:11px;background:#466bf5;display:flex;align-items:center;justify-content:center;gap:3px;box-shadow:0 4px 17px #456cf85a}
.brand-mark i{width:3px;height:12px;border-radius:3px;background:#fff}.brand-mark i:nth-child(2){height:21px}
.nav{display:grid;gap:5px;margin-top:55px}
.nav a{display:flex;align-items:center;gap:13px;border-radius:10px;padding:11px 12px;color:#c2cde1;font-size:.925rem;white-space:nowrap}
.nav a:hover{background:#1b2b4a;color:white}
.nav a[aria-current=page]{background:#263c6a;color:white;font-weight:700}
.icon{position:relative;width:19px;height:19px;color:inherit;display:inline-block;flex:0 0 19px}
.icon::before,.icon::after{content:'';position:absolute;display:block}
.icon-grid::before{inset:2px;border:1.5px solid currentColor;border-radius:3px}
.icon-grid::after{inset:2px;background:linear-gradient(currentColor,currentColor) center/1px 100% no-repeat,linear-gradient(currentColor,currentColor) center/100% 1px no-repeat}
.icon-layers::before{inset:3px 1.5px 5px;border:1.5px solid currentColor;border-radius:3px}
.icon-layers::after{inset:6px 4px 2px;border-radius:0 0 3px 3px;border:solid currentColor;border-width:0 1px 1px}
.icon-person::before{width:7px;height:7px;top:1px;left:6px;border:1.5px solid currentColor;border-radius:50%}
.icon-person::after{inset:9px 3px 2px;border-radius:7px 7px 2px 2px;border:1.5px solid currentColor}
.icon-voice::before{inset:2px;background:linear-gradient(currentColor,currentColor) 0 center/2px 40% no-repeat,linear-gradient(currentColor,currentColor) 25% center/2px 65% no-repeat,linear-gradient(currentColor,currentColor) 50% center/2px 99% no-repeat,linear-gradient(currentColor,currentColor) 75% center/2px 65% no-repeat,linear-gradient(currentColor,currentColor) 100% center/2px 40% no-repeat}
.icon-check::before{width:12px;height:7px;top:4px;left:3px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.icon-clock::before{inset:2px;border:1.5px solid currentColor;border-radius:50%}
.icon-clock::after{width:4px;height:5px;left:9px;top:5px;border:solid currentColor;border-width:0 0 1.5px 1.5px}
.rail-bottom{margin-top:auto;padding:17px 11px 5px;border-top:1px solid #2c3b59}
.rail-bottom p{font-size:.8rem;color:#a8b5d1;margin-top:8px}
.demo-indicator{display:inline-flex;align-items:center;gap:8px;font-size:.875rem;color:#e3eafe;font-weight:700}
.demo-indicator span{width:7px;height:7px;background:#83a1ff;border-radius:50%}
.workspace{width:100%;max-width:1512px;margin:0 auto;padding:32px clamp(22px,3vw,48px) 48px}
.top,.panel-head,.row-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.top{margin-bottom:26px;align-items:end}
.workspace-label{font-size:.9rem;color:var(--muted);margin-bottom:5px}
.btn{min-height:42px;padding:9px 15px;border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:.875rem;line-height:1.2;text-align:center;white-space:nowrap;transition:background .16s ease,color .16s ease,border-color .16s ease}
.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover:not(:disabled){background:var(--blue-hover)}
.btn.secondary{background:#fff;border-color:#dbe3f1;color:#26385e}.btn.secondary:hover{background:#eef3ff;border-color:#b9c9f3}
.btn.text-button{color:#2449b5;background:transparent;padding-inline:0}.btn.text-button:hover{text-decoration:underline}
.plus{font-size:1.1rem;line-height:1}
.notice{padding:10px 14px;border:1px solid #bdd0ff;border-radius:9px;margin:0 0 16px;background:#e8efff;color:#2244aa;font-size:.925rem}
.hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1.18fr minmax(280px,.82fr);align-items:center;gap:24px;padding:32px clamp(22px,3vw,44px);min-height:228px;border-radius:18px;background:linear-gradient(112deg,#152546 3%,#21366d 50%,#274dba 100%);color:white;box-shadow:0 12px 30px rgb(24 43 90 / 13%)}
.hero::before{content:'';position:absolute;z-index:-1;inset:0;background:repeating-linear-gradient(90deg,transparent 0 39px,#fff0 39px,#d1deff14 40px),repeating-linear-gradient(0deg,transparent 0 39px,#fff0 39px,#d1deff12 40px);mask-image:linear-gradient(100deg,transparent 25%,black 99%);pointer-events:none}
.hero::after{content:'';position:absolute;z-index:-1;width:550px;height:550px;right:-170px;top:-155px;border-radius:50%;border:1px solid #b5c8ff41;box-shadow:0 0 0 35px #cbd9ff13,0 0 0 85px #cbd9ff0e,0 0 0 133px #cbd9ff0a;pointer-events:none}
.hero h2{font-size:clamp(1.7rem,3.8vw,2.65rem);max-width:530px;letter-spacing:-.045em}
.hero p{font-size:1rem;color:#dce7ff;max-width:475px;margin-top:12px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.hero .btn.primary{background:white;color:#1b3e9b}.hero .btn.primary:hover:not(:disabled){background:#e5edff}
.audio-sample{width:min(100%,360px);justify-self:end;padding:18px 19px 16px;border:1px solid #c0d0ff44;border-radius:14px;background:#142859d9;box-shadow:0 14px 28px rgb(10 27 81 / 24%)}
.audio-head{display:flex;align-items:center;gap:12px}
.play{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#c9d7ff;color:#203e95;border:0}
.play:hover{background:#fff}.play .triangle{display:block;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor;margin-left:3px}
.play[aria-pressed=true] .triangle{width:11px;height:13px;border:solid currentColor;border-width:0 3px;margin:0}
.audio-head strong,.audio-head small{display:block;line-height:1.3}
.audio-head strong{font-size:.96rem}.audio-head small{font-size:.8rem;color:#c1d1ff;margin-top:4px}
.wave{display:flex;align-items:center;gap:3px;height:36px;margin-top:14px;pointer-events:none}
.wave i{flex:1;min-width:1px;background:#a0b6ff78;border-radius:7px}
.wave i.played{background:#eef2ff}
.audio-position{display:flex;justify-content:space-between;font-size:.78rem;color:#d4dfff;font-variant-numeric:tabular-nums;margin-top:5px}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}
.metric,.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);min-width:0}
.metric{padding:15px 17px;display:flex;align-items:center;gap:12px;min-height:86px}
.metric-icon{width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px;border-radius:11px;color:#3459c9;background:#edf1ff}
.metric-icon.good{color:var(--green);background:#e6f5ee}.metric-icon.warm{color:var(--orange);background:#fff2da}
.metric small{display:block;color:var(--muted);font-size:.8rem;white-space:normal;line-height:1.3;margin-bottom:3px}
.metric strong{display:block;font-size:1.55rem;font-weight:700;line-height:1.11;font-variant-numeric:tabular-nums}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:18px;align-items:start}
.panel{padding:20px}.panel.full{margin-bottom:18px}.panel-head{margin-bottom:16px;align-items:flex-start}
.panel-head p,.muted{color:var(--muted);font-size:.875rem}.panel-head p{margin-top:5px}
.panel-head .btn{min-height:35px;padding:7px 11px}
.table-scroll{overflow:auto;max-width:100%}
table{width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}
th{font-weight:400;color:var(--muted);font-size:.825rem;text-align:left;background:#f4f6fb;white-space:nowrap}
th,td{padding:10px 12px;border-bottom:1px solid #eef1f7}
th:first-child{border-radius:7px 0 0 7px}th:last-child{border-radius:0 7px 7px 0}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fafbff}
.person{display:inline-flex;align-items:center;gap:9px;text-align:left;background:none;border:0;padding:0;color:var(--ink);font-weight:700;min-height:32px}
.person:hover{color:var(--blue);text-decoration:underline}
.avatar{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#e9efff;color:#2649aa;font-weight:700;font-size:.74rem;letter-spacing:-.025em}
.avatar.alt{background:#e1f3eb;color:#166847}.avatar.violet{background:#efe8ff;color:#6540a3}
.badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.77rem;line-height:1.3;white-space:nowrap;font-weight:700;background:var(--grey-bg);color:#465875;max-width:100%}
.badge.qualified,.badge.done{background:var(--green-bg);color:var(--green)}
.badge.callback,.badge.paused,.badge.retry{background:var(--orange-bg);color:var(--orange)}
.badge.running,.badge.new{background:var(--tint);color:#1e47b8}
.badge.closed{background:#efedf8;color:#5e4d7b}
.funnel{display:grid;gap:12px}
.funnel button{appearance:none;display:block;width:100%;text-align:left;background:none;border:0;padding:0;min-height:35px;border-radius:5px;color:var(--ink)}
.funnel button:hover .funnel-label span{text-decoration:underline}
.funnel-label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.86rem;margin-bottom:5px}
.funnel-label strong{font-size:.875rem}
.bar{height:7px;width:100%;background:#edf1f8;border-radius:10px;display:block;overflow:hidden}
.bar i{display:block;height:100%;background:#a5b1c9;border-radius:10px}
.bar .qualified{background:#3a9670}.bar .callback,.bar .retry{background:#da9d39}.bar .closed{background:#9e87cd}.bar .new{background:#5376ea}
.empty{padding:18px 0;color:var(--muted)}
.campaigns-grid{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.66fr);gap:18px;align-items:start}
.campaign-list{display:grid;gap:8px;margin-top:7px}
.campaign-choice{border:1px solid var(--line);background:#fff;display:flex;gap:8px;align-items:center;justify-content:space-between;text-align:left;color:var(--ink);padding:11px;border-radius:10px;min-height:54px}
.campaign-choice[aria-pressed=true]{border-color:#b1c4fc;background:#edf3ff}
.campaign-choice:hover{border-color:#91adff}
.campaign-choice span:first-child{overflow-wrap:anywhere;min-width:0}
.rounds,.modal-rounds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 20px}
.round,.modal-rounds span{padding:10px 12px;border-radius:9px;border:1px solid var(--line);background:#f5f7fb;color:#506178;font-size:.84rem}
.round.active{background:#e4edff;border-color:#b6caff;color:#2447a6}.round.finished{background:#eaf6ef;border-color:#d5ecdf;color:#1e614a}
.round b,.modal-rounds b{display:block;color:var(--ink);font-size:.97rem;font-weight:700}
.flex-actions,.input-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(164px,240px);gap:12px;margin:0 0 16px}
input:not([type=file]),textarea,select{width:100%;border:1px solid #d6dfef;border-radius:9px;background:#fff;color:var(--ink);padding:9px 11px;min-height:42px}
textarea{resize:vertical;min-height:96px;display:block}
select{appearance:none;padding-right:30px;background:linear-gradient(45deg,transparent 50%,#5f6e8d 50%) calc(100% - 14px) 50%/5px 5px no-repeat,linear-gradient(135deg,#5f6e8d 50%,transparent 50%) calc(100% - 9px) 50%/5px 5px no-repeat,#fff}
.calls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.clip{padding:17px;border-radius:12px;border:1px solid var(--line)}
.clip h3{margin:0 0 5px}.clip .muted{margin-bottom:13px}
.clip .audio-sample,.drawer .audio-sample{width:100%;box-shadow:none;background:linear-gradient(110deg,#22386f,#274897);color:#fff}
.clip .btn,.drawer .audio-sample + .muted{margin-top:12px}
.call-library{margin-bottom:18px}
dialog{background:white;color:var(--ink);border:0;border-radius:17px;max-height:calc(100vh - 26px);max-height:calc(100dvh - 26px);padding:22px;box-shadow:0 22px 80px rgb(11 22 47 / 26%)}
dialog:not([open]){display:none}
dialog::backdrop{background:#07163177;backdrop-filter:blur(2px)}
body.modal-open{overflow:hidden}
body.modal-open::before{content:'';position:fixed;inset:0;z-index:11;background:#07163177}
dialog.modal-fallback[open]{position:fixed;display:block;z-index:12}
.modal.modal-fallback{top:50%;left:50%;right:auto;bottom:auto;margin:0;transform:translate(-50%,-50%);overflow:auto}
.drawer.modal-fallback{top:0;left:auto;right:0;bottom:0}
.fallback p{margin:8px 0 12px;color:var(--muted)}
.fallback audio{width:100%;max-width:380px}
.modal{width:min(580px,calc(100vw - 24px))}
.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.dialog-head p{color:var(--muted);margin-top:5px;font-size:.875rem;overflow-wrap:anywhere}
.close{height:38px;width:38px;flex:0 0 38px;border:1px solid var(--line);border-radius:9px;color:#3d4b68;background:#f5f7fb;font-size:1.5rem;line-height:1;text-align:center}
.close:hover{background:#edf2ff}
#campaign-form label:not(.file-label){font-size:.875rem;font-weight:700;color:#344767;display:block;margin-bottom:5px}
#campaign-form .muted{margin-top:7px}
.import-head{display:flex;justify-content:space-between;align-items:baseline;margin-top:14px;gap:8px}
.import-head output{font-size:.825rem;color:var(--muted);white-space:nowrap}
.input-actions{margin-top:9px}
.form-error{color:#a72936;font-size:.875rem;margin:10px 0;white-space:pre-line}
.drawer{inset:0 0 0 auto;margin:0;border-radius:17px 0 0 17px;max-height:100vh;max-height:100dvh;height:100vh;height:100dvh;width:min(532px,100%);max-width:100%;overflow:auto;overscroll-behavior:contain}
.drawer h3{margin:20px 0 10px}
.drawer dl{margin:10px 0 0;display:grid;grid-template-columns:minmax(92px,.78fr) minmax(0,1.22fr);gap:6px 13px;font-size:.875rem;overflow-wrap:anywhere}
.drawer dt{color:var(--muted)}.drawer dd{margin:0;color:var(--ink)}
.attempts{list-style:none;padding:0;margin:0}
.attempts li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.9rem}
.attempts time{display:block;font-size:.8rem;color:var(--muted)}
.transcript{display:grid;gap:8px;margin:12px 0 0}
.bubble{padding:9px 12px;border-radius:10px;background:#f1f4fa;color:#233659;font-size:.9rem;max-width:96%;overflow-wrap:anywhere}.bubble.agent{background:#eaf0ff;justify-self:end}
.bubble b{display:block;font-size:.78rem;color:#465977;margin-bottom:3px}
@media (max-width:1100px){.layout{grid-template-columns:188px minmax(0,1fr)}.rail{padding-inline:13px}.workspace{padding-inline:22px}.metric{padding:12px}.metric-icon{width:34px;height:34px;flex-basis:34px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.funnel-panel{max-width:none}}
@media (max-width:830px){.layout{grid-template-columns:1fr}.rail{position:static;height:auto;padding:13px 15px 0;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:8px}.brand{padding:0;font-size:.85rem;line-height:1.2}.brand br{display:none}.brand span:nth-child(2){max-width:105px}.brand-mark{width:32px;height:32px;border-radius:9px}.rail-bottom{padding:0;margin:0;border:0;grid-column:2;grid-row:1}.rail-bottom p{display:none}.demo-indicator{font-size:.78rem}.nav{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin:10px 0 0}.nav a{justify-content:center;gap:6px;border-radius:7px 7px 0 0;padding:9px 5px;font-size:.81rem}.nav .icon{width:15px;height:15px;flex-basis:15px}.workspace{padding:20px 16px 34px}.top{margin-bottom:17px}.hero{padding:22px;grid-template-columns:minmax(0,1fr) minmax(220px,.9fr);min-height:206px}.campaigns-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.nav a{font-size:.77rem}.nav .icon{display:none}.top{gap:9px}.top .btn{font-size:.8rem;padding:8px 10px;gap:3px}.workspace-label{font-size:.8rem}.hero{padding:20px;border-radius:14px;grid-template-columns:minmax(0,1fr);gap:19px}.hero p{font-size:.92rem;margin-top:9px}.hero-actions{margin-top:17px}.audio-sample{width:100%;justify-self:stretch}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.metric{min-height:71px}.metric small{font-size:.75rem}.metric strong{font-size:1.32rem}.panel{padding:14px}.dashboard-grid{gap:13px}.panel-head{gap:9px;margin-bottom:13px}.panel-head .btn{font-size:.77rem;padding-inline:7px}.panel-head p{font-size:.8rem}.table-scroll .wide{min-width:445px}.filters{grid-template-columns:1fr}.calls-grid{grid-template-columns:1fr}.rounds,.modal-rounds{gap:6px}.round,.modal-rounds span{padding:8px 6px;font-size:.77rem}.drawer{border-radius:0;padding:16px}.input-actions{gap:7px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.wave .wave-10{height:10%}
.wave .wave-20{height:20%}
.wave .wave-30{height:30%}
.wave .wave-40{height:40%}
.wave .wave-50{height:50%}
.wave .wave-60{height:60%}
.wave .wave-70{height:70%}
.wave .wave-80{height:80%}
.wave .wave-90{height:90%}
.wave .wave-100{height:100%}
.bar .fill-0{width:0%}
.bar .fill-1{width:5%}
.bar .fill-2{width:10%}
.bar .fill-3{width:15%}
.bar .fill-4{width:20%}
.bar .fill-5{width:25%}
.bar .fill-6{width:30%}
.bar .fill-7{width:35%}
.bar .fill-8{width:40%}
.bar .fill-9{width:45%}
.bar .fill-10{width:50%}
.bar .fill-11{width:55%}
.bar .fill-12{width:60%}
.bar .fill-13{width:65%}
.bar .fill-14{width:70%}
.bar .fill-15{width:75%}
.bar .fill-16{width:80%}
.bar .fill-17{width:85%}
.bar .fill-18{width:90%}
.bar .fill-19{width:95%}
.bar .fill-20{width:100%}

@media (max-width:560px){
  .contacts-table.wide{min-width:0}
  .contacts-table :is(th,td):nth-child(2){display:none}
  .contacts-table :is(th,td){padding:8px 7px}
  .contacts-table td:last-child{white-space:nowrap;font-size:.8rem}
  .contacts-table .avatar{display:none}
  .contacts-table .person{font-size:.875rem;overflow-wrap:anywhere}
}
