:root{color-scheme:dark;--bg: #0c0e12;--surface: #141820;--surface-hover: #1a1f2a;--border: #2a3344;--text: #e8ecf4;--muted: #8b95a8;--accent: #5b8def;--accent-dim: #3d6cc4;--success: #3ecf8e;--danger: #f07178;--radius: 10px;--font: "DM Sans", system-ui, sans-serif;--mono: "JetBrains Mono", ui-monospace, monospace}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}#root{min-height:100vh}button,input,textarea{font:inherit}.app{max-width:1440px;margin:0 auto;padding:2.5rem 1.5rem 4rem}.app-narrow{max-width:440px}.header{margin-bottom:2rem}.header h1{margin:0 0 .35rem;font-size:1.65rem;font-weight:600;letter-spacing:-.02em}.header p{margin:0;color:var(--muted);font-size:.95rem}.header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.header-row .btn{flex-shrink:0;margin-top:.15rem}.grid{display:grid;gap:1.25rem}@media(min-width:720px){.grid:not(.grid-single){grid-template-columns:1fr 1fr;align-items:start}}.grid-single{grid-template-columns:1fr;max-width:520px}.workspace-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:1.25rem}.history-sidebar{position:static;width:100%;max-height:34rem;display:flex;flex-direction:column;min-height:220px;padding:1rem}.history-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding-bottom:.85rem;border-bottom:1px solid var(--border)}.history-header h2,.history-unavailable h2{margin:0;font-size:.9rem;color:var(--text)}.history-header p,.history-unavailable p{margin:.2rem 0 0;font-size:.78rem;color:var(--muted)}.history-refresh{padding:.35rem .55rem;font-size:.75rem}.history-list{overflow-y:auto;min-height:0;padding-right:.2rem}.history-item{border-bottom:1px solid var(--border)}.history-item summary{position:relative;display:grid;gap:.2rem;padding:.8rem 1.3rem .8rem .1rem;cursor:pointer;list-style:none}.history-item summary::-webkit-details-marker{display:none}.history-item summary:after{position:absolute;right:.2rem;top:.9rem;content:"›";color:var(--muted);transform:rotate(90deg)}.history-item[open] summary:after{transform:rotate(-90deg)}.history-number{font-size:.9rem;font-weight:600}.history-time{font-size:.75rem;color:var(--muted)}.history-subline{display:flex;justify-content:space-between;gap:.5rem;font-size:.72rem;color:var(--muted)}.call-details{padding:0 .1rem 1rem;animation:reveal .15s ease-out}.call-metadata{display:grid;gap:.45rem;margin:.2rem 0 1rem}.call-metadata div{display:flex;justify-content:space-between;gap:.6rem;font-size:.75rem}.call-metadata dt{color:var(--muted)}.call-metadata dd{margin:0;text-align:right;overflow-wrap:anywhere}.recording-block h3,.transcript-block h3{margin:.85rem 0 .45rem;font-size:.78rem;font-weight:600}.recording-block audio{width:100%;height:38px}.history-muted{color:var(--muted);font-size:.78rem}.history-error{color:#ffb4b9;font-size:.78rem;overflow-wrap:anywhere}.transcript-list{display:grid;gap:.55rem;margin:0;padding:0;list-style:none}.transcript-list li{padding:.55rem .65rem;border-radius:8px;background:var(--bg)}.transcript-list p{margin:.18rem 0 0;font-size:.78rem;white-space:pre-wrap;overflow-wrap:anywhere}.transcript-speaker{font-size:.68rem;font-weight:600;color:var(--muted)}.transcript-bot{border-left:2px solid var(--accent)}.transcript-user{border-left:2px solid var(--success)}.history-unavailable{position:static;max-height:none}.call-workspace{display:grid;gap:1.25rem;min-width:0}.web-voice-hidden{display:none}@keyframes reveal{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:820px){.history-sidebar{max-height:55vh}.app{padding:1.25rem 1rem 2rem}}.card{background:var(--surface);border:1px solid var(--border);border-radius:calc(var(--radius) + 2px);padding:1.25rem 1.35rem}.card h2{margin:0 0 1rem;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.field{margin-bottom:1rem}.field:last-child{margin-bottom:0}.field label{display:block;font-size:.8rem;font-weight:500;color:var(--muted);margin-bottom:.35rem}.field input,.field textarea,.field select{width:100%;padding:.55rem .7rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg);color:var(--text)}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px #5b8def33}.field input.phone-input{font-family:var(--mono);font-size:.9rem;letter-spacing:.02em}.field textarea{min-height:88px;resize:vertical;font-family:var(--mono);font-size:.8rem}.actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.1rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem 1rem;border-radius:var(--radius);border:none;font-weight:600;font-size:.875rem;cursor:pointer;transition:background .15s ease,opacity .15s ease}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-dim)}.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border)}.btn-ghost:hover:not(:disabled){background:var(--surface-hover)}.banner{margin-top:1rem;padding:.65rem .85rem;border-radius:var(--radius);font-size:.85rem}.banner-error{background:#f071781f;border:1px solid rgba(240,113,120,.35);color:#ffb4b9}.banner-success{background:#3ecf8e1a;border:1px solid rgba(62,207,142,.35);color:#8fe9c0}.success-panel{margin-top:1.25rem;padding:1rem 1.1rem;border-radius:var(--radius);background:#3ecf8e14;border:1px solid rgba(62,207,142,.3)}.success-panel h3{margin:0 0 .75rem;font-size:.95rem;font-weight:600;color:var(--success)}.success-dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;font-size:.85rem}.success-dl dt{margin:0;color:var(--muted);font-weight:500}.success-dl dd{margin:0;word-break:break-word}.mono{font-family:var(--mono);font-size:.8rem}.results-card{max-height:none;min-width:0;padding:0;overflow:hidden}.results-card .history-header{padding:1.5rem 1.5rem 1.25rem;border-bottom:0;align-items:center}.results-heading .results-eyebrow{display:block;margin-bottom:.5rem;font-size:.65rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}.results-heading h2{display:flex;align-items:center;gap:.6rem;margin:0;font-size:1.1rem;font-weight:600;color:var(--text);letter-spacing:-.02em;text-transform:none}.results-heading p{margin-top:.45rem;font-size:.8rem}.results-count{padding:.15rem .5rem;border-radius:6px;background:#94a3b81a;color:#b6c0ce;font-size:.75rem;font-variant-numeric:tabular-nums}.history-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.results-card .history-refresh{padding:.5rem .7rem;border-radius:7px;font-size:.75rem;font-weight:500}.results-card .banner,.results-card>.history-muted{margin:0 1.5rem 1rem}.results-toolbar{display:flex;justify-content:space-between;gap:.75rem;padding:.7rem 1.5rem;border-top:1px solid var(--border);color:var(--muted);font-size:.7rem}.results-live{display:inline-flex;align-items:center;gap:.5rem}.results-live>span{width:6px;height:6px;border-radius:50%;background:#64c9a6;box-shadow:0 0 0 3px #64c9a614}.results-scroll{max-height:39rem;overflow:auto;min-height:0;border-top:1px solid var(--border)}.results-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;font-size:.8rem;table-layout:fixed}.results-table th{position:sticky;top:0;z-index:1;background:#181d26;color:#a8b1bf;text-align:left;font-size:.67rem;font-weight:500;padding:.8rem 1rem;border-bottom:1px solid var(--border)}.results-table th:nth-child(1){width:17%}.results-table th:nth-child(2){width:16%}.results-table th:nth-child(3){width:27%}.results-table th:nth-child(4){width:22%}.results-table th:nth-child(5){width:18%}.result-row>td{padding:1.15rem 1rem .65rem;vertical-align:top;overflow-wrap:anywhere}.result-row>td:first-child{padding-left:1.5rem}.result-phone{display:block;font-size:.85rem;font-weight:600;font-variant-numeric:tabular-nums}.result-subline{display:block;margin-top:.45rem;font-size:.7rem;color:var(--muted)}.result-duration{display:inline-block;margin-top:.55rem;padding:.15rem .4rem;border-radius:4px;font:.68rem var(--mono);color:#a8b1bf;background:#94a3b812}.result-summary{line-height:1.65;white-space:pre-wrap;color:#d1d8e1}.result-row-callback{background:#f0717809}.result-row-callback>td:first-child{box-shadow:inset 3px 0 #d98489}.result-topics{display:grid;gap:.38rem;margin:0}.result-topics>div{display:flex;align-items:baseline;justify-content:space-between;gap:.65rem}.result-topics dt{font-size:.68rem;color:#929eae}.result-topics dd{margin:0;text-align:right}.result-rating{display:inline-block;font-size:.68rem}.result-rating-positive{color:#8ecdb4}.result-rating-negative{color:#efa6ac}.result-rating-neutral,.result-rating-mixed{color:#d8c18e}.result-rating-unknown,.result-rating-not_discussed{color:#7f8a9b}.callback-badge,.call-status{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .5rem;border-radius:5px;background:#94a3b817;color:#a8b1bf;font-size:.68rem;line-height:1.4}.callback-required{color:#f0a8ad;background:#f071781f}.callback-required:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.call-status-closed,.callback-not-required{color:#8ecdb4;background:#3ecf8e14}.call-status-dialing,.call-status-in_progress,.call-status-transferred{color:#a8c6f1;background:#5b8def1f}.call-status-finished_unexpectedly{color:#d8c18e;background:#e5c68014}.callback-reason{margin:.65rem 0 0;font-size:.75rem;line-height:1.6;color:#c6afb3}.analysis-state-pending,.analysis-state-processing{color:#a8c6f1}.analysis-state-failed{color:#efa6ac}.result-disclosure-row>td{padding:0;border-bottom:1px solid var(--border)}.result-disclosure-callback{background:#f0717809}.result-disclosure-callback>td{box-shadow:inset 3px 0 #d98489}.call-disclosure-cell{position:relative}.call-share{position:absolute;top:.2rem;left:1rem;display:grid;place-items:center;width:2rem;height:2rem;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#9eafc4;cursor:pointer}.call-share:hover,.call-share:focus-visible{color:#d4e1f3;border-color:#526278}.call-share-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.call-disclosure>summary{display:flex;align-items:center;gap:.45rem;list-style:none;margin-left:3.2rem;padding:.6rem 1.5rem .9rem .3rem;cursor:pointer;color:#9eafc4;font-size:.72rem;width:fit-content;max-width:calc(100% - 3.2rem)}.call-disclosure>summary::-webkit-details-marker{display:none}.call-disclosure>summary:hover{color:#d4e1f3}.call-disclosure>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:4px}.disclosure-chevron{transition:transform .15s ease}.call-disclosure[open] .disclosure-chevron{transform:rotate(90deg)}.disclosure-hint{margin-left:.4rem;color:#778395;font-size:.65rem}.call-disclosure .call-details{padding:1rem 1.5rem 1.5rem;background:#00000026;border-top:1px solid rgba(148,163,184,.1)}.call-disclosure .call-metadata{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;margin:0 0 1rem}.call-disclosure .call-metadata div{justify-content:flex-start;font-size:.72rem}.call-disclosure .recording-block h3,.call-disclosure .transcript-block h3{font-size:.8rem}.call-disclosure audio{max-width:750px}.call-disclosure .transcript-list{max-width:900px}.results-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.9rem 1.5rem}.results-footer .history-muted{max-width:550px;margin:0;font-size:.68rem}.results-footer .history-actions{font-size:.7rem}@media(max-width:820px){.results-card .history-header{padding:1.1rem;flex-wrap:wrap}.results-toolbar{padding:.7rem 1.1rem;flex-wrap:wrap}.results-scroll{max-height:65vh}.results-footer{padding:1rem}}.btn-stop{color:#ffb8b8;background:#45282e;border:1px solid #89505a}.btn-stop:hover:not(:disabled){background:#61353e}.active-call{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--border, #303847)}.active-state{display:block;color:#9da8ba;margin-top:6px}.active-hint{font-size:.9rem;color:#9da8ba}@media(max-width:600px){.active-call{align-items:flex-start;flex-direction:column}}.call-status-no_answer{color:#d8c18e;background:#e5c68014}.no-answer-panel{border-color:#e5c68059;background:#e5c6800f}.no-answer-panel h3{color:#d8c18e}.outreach-card p{color:var(--muted, #9aa5b6);line-height:1.5}.outreach-card select{background:#111720;color:#e8edf5;border:1px solid #303a4c;border-radius:10px;padding:10px}.outreach-import{margin-top:20px}.outreach-import summary{cursor:pointer;padding:8px 0}.outreach-import textarea{display:block;width:100%;box-sizing:border-box;margin:10px 0;padding:12px;background:#0c1016;color:#e8edf5;border:1px solid #303a4c;border-radius:10px}.outreach-list{max-height:440px;overflow-y:auto;margin-top:16px}.outreach-item{border-top:1px solid #293242;padding:14px 0}.outreach-item>div{display:flex;justify-content:space-between;gap:12px}.outreach-item span{color:#9aa5b6;font-size:.9rem}.outreach-item .btn{margin:6px 8px 0 0}.outreach-review{border-left:3px solid #d8a66d;padding-left:12px}.results-filters{display:flex;flex-wrap:wrap;gap:1rem;padding:1rem 1.5rem;border-top:1px solid #283242}.results-filters label{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;color:#a6b0bf;font-size:.85rem}.results-search{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;max-width:100%}.results-filters :is(select,input){max-width:100%;background:#111720;color:#e8edf5;border:1px solid #303a4c;border-radius:10px;padding:.6rem .8rem;font:inherit}.results-filters :is(select,input):focus-visible{outline:2px solid #5a87ef;outline-offset:2px}
