:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#14171c;--muted:#5d6470;--line:#e3e7ee;--bg:#f5f6f8;--surface:#fff;--brand-green:#1ec07a;--brand-blue:#3380ec;--danger:#b4322d;--radius:14px;color:var(--ink);background:var(--bg);font-family:Segoe UI,Inter,system-ui,-apple-system,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0;font-size:15px;line-height:1.5}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.4px;margin-bottom:0;font-size:26px;font-weight:650}h2{margin-bottom:8px;font-size:18px;font-weight:650}h3{margin-bottom:8px;font-size:16px;font-weight:600}p{margin-bottom:12px}small{color:var(--muted);font-size:12px;display:block}.muted{color:var(--muted)}.small{font-size:13px}.intro{margin:-4px 0 20px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.icon{flex:none;width:18px;height:18px}img{max-width:100%}button{font:inherit;background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:600;display:inline-flex}button:hover{background:#2b3038}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--brand-blue);outline-offset:2px}button.wide{width:100%;margin-top:6px;padding:12px 16px}button.start{background:var(--brand-green);color:#06130c}button.start:hover{background:#18a86a}button.secondary{color:var(--ink);background:#eef1f5}button.secondary:hover{background:#e2e7ee}button.link,.icon-button{color:var(--ink);background:0 0;padding:6px 8px;font-weight:500}button.link:hover,.icon-button:hover{background:#eef1f5}button.end{color:var(--danger);background:#fbe3e2}button.end:hover{background:#f6cfcd}a{color:inherit;text-decoration:none}fieldset{border:0;min-width:0;margin:0;padding:0}fieldset:disabled{opacity:.65}label{margin-bottom:16px;font-size:13px;font-weight:600;display:block}input:not([type=checkbox]):not([type=file]),textarea,select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #d5dbe4;border-radius:10px;margin-top:6px;padding:10px 12px;font-size:14px;display:block}textarea{resize:vertical}input:focus,textarea:focus,select:focus{border-color:var(--brand-blue)}.error{color:var(--danger);background:#fdecec;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:10px 14px;font-size:14px;display:flex}.notice{background:#eef1f5;border-radius:10px;margin:14px 0 0;padding:10px 14px;font-size:14px}.global-error{background:var(--ink);color:#fff;z-index:30;border-radius:10px;align-items:center;gap:12px;padding:10px 14px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.auth{flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;width:min(100%,400px);padding:32px 28px}.auth-card .brand-logo{height:44px;margin-bottom:24px}.auth-card h1{margin-bottom:16px;font-size:22px}.credit{color:var(--muted);text-align:center;margin:20px 0 0;font-size:12px}.credit strong,.app-footer strong{color:#0b8a52;font-weight:600}.loading-screen{min-height:100vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.brand-logo{width:auto;max-width:100%;height:36px;display:block}.app{flex-direction:column;min-height:100vh;display:flex}.app-header{background:var(--surface);border-bottom:1px solid var(--line);z-index:10;align-items:center;gap:24px;padding:12px 28px;display:flex;position:sticky;top:0}.app-nav{gap:4px;display:flex;overflow-x:auto}.app-nav button{color:var(--muted);white-space:nowrap;background:0 0;padding:8px 12px;font-weight:500}.app-nav button:hover{color:var(--ink);background:#eef1f5}.app-nav button.active{color:var(--ink);background:#eef1f5;font-weight:600}.header-user{white-space:nowrap;align-items:center;gap:4px;margin-left:auto;display:flex}.page{flex:1;width:100%;min-width:0;max-width:1200px;margin:0 auto;padding:28px}.page-title{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:20px;display:flex}.page-title h1{margin-right:auto}.page-title button.back{margin-left:-8px}.app-footer{text-align:center;color:var(--muted);padding:20px 16px 24px;font-size:12px}.search{max-width:280px;margin:0 0 20px}.avatar-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px;display:grid}.avatar-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;display:flex;overflow:hidden}.avatar-card>.portrait{aspect-ratio:4/5;border-radius:0;width:100%}.avatar-info{flex:1;padding:14px 16px 4px}.avatar-info h2{margin-bottom:4px}.avatar-info p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:0;font-size:14px;display:-webkit-box;overflow:hidden}.avatar-actions{gap:8px;padding:14px 16px 16px;display:flex}.avatar-actions .start{flex:1}.empty-state{text-align:center;padding:48px 16px}.portrait{border-radius:var(--radius);justify-content:center;align-items:flex-end;display:flex;position:relative;overflow:hidden}.portrait img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.portrait svg{width:80%;height:auto}.violet{color:#6b5ca8;background:#e8e6f4}.peach{color:#b8735a;background:#f7e6df}.mint{color:#3f8a69;background:#dfeee7}.blue{color:#4f78ad;background:#e1eaf6}.stage{background:#0d0f12;border-radius:18px;overflow:hidden}.stage-idle{color:#cdd3dc;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:420px;padding:32px 16px;display:flex}.stage-idle .portrait{aspect-ratio:4/5;width:180px}.stage-idle p{margin:0}.call{background:#0d0f12;flex-direction:column;min-height:420px;display:flex;position:relative}.call>video{object-fit:contain;background:#0d0f12;width:100%;height:min(68vh,620px);min-height:360px;display:block}.video-wait{color:#cdd3dc;background:#0d0f12;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0 0 72px}.video-wait p{margin:0}.spinner{border:3px solid #ffffff2b;border-top-color:var(--brand-green);border-radius:50%;width:34px;height:34px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.call-controls{background:#14171c;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:14px 16px;display:flex}.mic-meter{background:#ffffff26;border-radius:99px;flex:none;width:72px;height:8px;overflow:hidden}.mic-meter i{background:var(--brand-green);transform-origin:0;width:100%;height:100%;transition:transform .12s linear;display:block;transform:scaleX(0)}.mic-meter.off i{background:#ffffff40}.frozen-frame{object-fit:contain;z-index:1;display:none;position:absolute;top:0;left:0}.frozen-frame.on{display:block}.handover-note{z-index:3;color:#fff;background:#0d0f12b8;border-radius:99px;margin:0;padding:6px 14px;font-size:12px;position:absolute;top:16px;left:50%;transform:translate(-50%)}.self-view{aspect-ratio:4/3;z-index:3;background:#0d0f12;border:1px solid #ffffff2e;border-radius:12px;width:180px;position:absolute;bottom:88px;right:16px;overflow:hidden}.self-view.off{display:none}.self-view video{object-fit:cover;width:100%;height:100%;display:block;transform:scaleX(-1)}.self-view-count{color:#fff;background:#0d0f12b8;border-radius:99px;padding:3px 8px;font-size:10px;position:absolute;bottom:8px;left:8px}.camera-note{color:#fff;z-index:3;background:#0d0f12b8;border-radius:10px;margin:0;padding:8px 12px;font-size:12px;position:absolute;bottom:88px;left:16px}[hidden]{display:none!important}.panel,.settings{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:20px;padding:24px}.editor-layout{grid-template-columns:180px 1fr;gap:28px;display:grid}.editor-portrait{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.editor-portrait>.portrait{aspect-ratio:4/5;width:160px}.upload-label{cursor:pointer;color:var(--brand-blue);margin:4px 0 0}.upload-label input{max-width:170px;margin-top:6px;font-size:11px;font-weight:400;display:block}.editor-fields{max-width:560px}.field-label{font-size:13px;font-weight:600}.color-options{gap:10px;margin:8px 0 18px;display:flex}.color-chip{width:30px;height:30px;color:var(--ink);border:2px solid #0000;border-radius:50%;padding:0}.color-chip.chosen{outline:2px solid var(--ink);outline-offset:2px}.settings-note{color:var(--muted);max-width:720px;font-size:13px}.service-choice{flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 0;display:flex}.service-choice legend{margin-bottom:8px;padding:0;font-size:13px;font-weight:600}.service-choice label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:8px;margin:0;padding:9px 16px;font-weight:500;display:inline-flex}.service-choice label.chosen{border-color:var(--ink);background:#f3f5f8;font-weight:600}.service-choice input{accent-color:var(--ink)}.service-message{color:var(--muted);margin-left:4px;font-size:13px}.provider-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:16px;display:grid}.provider-card{border:1px solid var(--line);background:#fbfcfd;border-radius:12px;min-width:0;padding:18px}.settings-grid label>span{justify-content:space-between;gap:8px;display:flex}.settings-grid small{font-weight:400}.provider-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.test-results p{margin:12px 0 0;font-size:13px}.test-results .passed{color:#0b7a49}.test-results .failed{color:var(--danger)}.access-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:16px 0;display:grid}.access-person{border:1px solid var(--line);border-radius:10px;align-items:center;gap:10px;margin:0;padding:10px 12px;font-weight:500;display:flex}.access-person small{font-weight:400}.initial{width:32px;height:32px;color:var(--ink);background:#eef1f5;border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:600;display:grid}.people-layout{grid-template-columns:1.4fr 1fr;align-items:start;gap:20px;display:grid}.people-layout .panel{margin-bottom:0}.count{background:#eef1f5;border-radius:6px;margin-left:4px;padding:2px 7px;font-size:12px;font-weight:600}.person-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;display:flex}.person-row:last-child{border-bottom:0}.person-info{flex:1;min-width:140px}.person-actions{gap:4px;display:flex}.form-actions{align-items:center;gap:8px;display:flex}.account-panel{max-width:520px}.log-filters{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.log-filters>button{color:var(--ink);border:1px solid var(--line);background:#fff;padding:7px 12px;font-size:13px}.log-filters>button:hover{background:#eef1f5}.log-filters>button.active{background:var(--ink);color:#fff;border-color:var(--ink)}.log-filters>button span{opacity:.6;font-weight:500}.log-filters .search-label{width:230px;margin:0 0 0 auto}.log-filters .search-label input{margin:0}.log-panel{min-width:0;max-width:100%;padding:4px 0}.log-scroll{position:relative;overflow-x:auto}.log-table{border-collapse:collapse;width:100%;min-width:760px;font-size:13px}.log-table th{text-align:left;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);padding:12px 16px;font-size:11px;font-weight:600}.log-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:12px 16px}.log-table tr:last-child td{border-bottom:0}.log-row{cursor:pointer}.log-row:hover td{background:#f7f9fb}.log-when{white-space:nowrap;color:var(--muted)}.log-num{font-variant-numeric:tabular-nums;white-space:nowrap}.log-detail{max-width:340px}.log-detail small{margin-top:3px}.log-open{padding:6px}.outcome{white-space:nowrap;color:#3a4250;background:#eef1f5;border-radius:99px;padding:3px 9px;font-size:11px;font-weight:600;display:inline-block}.outcome-completed.outcome{color:#0c6b42;background:#dcf5e9}.outcome-failed.outcome{color:#a3261f;background:#fde2e1}.outcome-interrupted.outcome{color:#8a5300;background:#fff1d6}.outcome-active.outcome{color:#1f5fc0;background:#e1ecfd}.eyebrow{letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:4px;font-size:11px;font-weight:600}.drawer-backdrop{z-index:20;background:#0d0f1259;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:#fff;flex-direction:column;width:min(620px,100%);height:100%;display:flex;box-shadow:-12px 0 32px #0d0f1226}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 16px;display:flex}.drawer-head h2{margin:2px 0 8px;font-size:20px}.drawer-head p{margin:0;font-size:13px}.drawer-head .outcome{margin-right:6px}.drawer-close{flex:none}.drawer-body{padding:20px 24px 32px;overflow-y:auto}.facts{background:var(--line);border:1px solid var(--line);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 0 14px;display:grid;overflow:hidden}.facts>div{background:#fff;min-width:0;padding:11px 13px}.facts>div.wide{grid-column:span 2}.facts dt{letter-spacing:.8px;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:600}.facts dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:4px 0 0;font-size:14px}.facts dd small{margin-top:2px;font-size:11px}.drawer-section{margin-top:24px}.drawer-section h3{margin-bottom:10px;font-size:15px}.timeline{border-left:2px solid var(--line);margin:0;padding:0 0 0 14px;list-style:none}.timeline li{gap:12px;padding:5px 0;font-size:13px;display:flex;position:relative}.timeline li:before{content:"";background:#c9d1dd;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;top:11px;left:-20px}.timeline li.tl-joined:before,.timeline li.tl-user-ended:before{background:var(--brand-green)}.timeline li.tl-picture:before,.timeline li.tl-handover:before{background:var(--brand-blue)}.timeline li.tl-failure:before{background:#c93b33}.timeline li.tl-failure{color:#a3261f}.tl-time{font-variant-numeric:tabular-nums;color:var(--muted);flex:none;min-width:46px;font-size:12px}.transcript{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.turn{border-radius:14px;max-width:88%;padding:9px 13px}.turn p{margin:3px 0 0;font-size:14px;line-height:1.6}.turn-agent{background:#f1f4f8;border-bottom-left-radius:4px;align-self:flex-start}.turn-user{background:#e3f7ee;border-bottom-right-radius:4px;align-self:flex-end}.turn-who{color:#4b5563;align-items:baseline;gap:8px;font-size:11px;font-weight:600;display:flex}.turn-who .tl-time{min-width:0;font-weight:400}.turn-who em{color:#8a5300;background:#fff1d6;border-radius:99px;padding:1px 7px;font-style:normal;font-weight:500}.turn-who em.with-picture{color:#1f5fc0;background:#e1ecfd}.turn-picture{color:#1f5fc0;background:#e1ecfd;border-radius:99px;align-self:center;gap:8px;padding:5px 12px;font-size:12px;display:flex}.turn-picture .tl-time{color:#1f5fc0;min-width:0}.tech summary{cursor:pointer;color:#4b5563;font-size:13px;font-weight:600}.tech dl{margin:10px 0 0;font-size:12px}.tech dt{color:var(--muted);margin-top:8px}.tech dd{margin:3px 0 0}.tech code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;font-size:12px}@media (max-width:800px){.app-header{flex-wrap:wrap;gap:12px;padding:10px 16px}.app-header .brand-logo{height:30px}.app-nav{order:3;width:100%}.page{padding:20px 16px}.editor-layout,.people-layout{grid-template-columns:1fr}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){h1{font-size:22px}.avatar-grid{grid-template-columns:1fr 1fr;gap:12px}.avatar-info{padding:10px 12px 2px}.avatar-actions{flex-direction:column;padding:10px 12px 12px}.call>video{height:56vh;min-height:300px}.self-view{width:110px;bottom:120px;right:10px}.log-filters .search-label{width:100%;margin:4px 0 0}.drawer-head{padding:16px}.drawer-body{padding:14px 16px 26px}.turn{max-width:94%}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
