:root{color:#1a1a1a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--color-primary:#9b111e;--color-primary-hover:#7f0e18;--color-primary-soft:#fef2f2;--color-text:#1a1a1a;--color-text-muted:#6b6b6b;--color-text-light:#9a9a9a;--color-bg:#f5f5f3;--color-bg-soft:#f0f0ee;--color-surface:#fff;--color-border:#e5e5e5;--color-border-soft:#f0f0ee;--color-danger:#dc2626;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--radius-pill:20px;--shadow-sm:0 1px 3px #0000000d;--shadow-md:0 2px 6px #0000000a;--page-max-width:1200px;--page-padding:2rem;--h1-size:1.75rem;--status-pending-bg:#fef3c7;--status-pending-fg:#92400e;--status-processing-bg:#dbeafe;--status-processing-fg:#1e40af;--status-completed-bg:#d1fae5;--status-completed-fg:#065f46;--status-failed-bg:#fee2e2;--status-failed-fg:#991b1b;background-color:#f5f5f3;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-weight:400;line-height:1.6}*{box-sizing:border-box;margin:0;padding:0}a{color:#9b111e;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#7f0e18}body{min-width:320px;min-height:100vh;margin:0}#root{min-height:100vh}h1{font-size:2rem;line-height:1.1}button{cursor:pointer;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:all .15s}button:focus,button:focus-visible{outline-offset:2px;outline:2px solid #9b111e}.team-switcher{width:100%;position:relative}.team-switcher-trigger{color:#e5e5e5;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;align-items:center;gap:8px;width:100%;padding:8px 12px;font-size:14px;transition:background .15s;display:flex}.team-switcher-trigger:hover{background:#ffffff14}.super-admin-badge{color:#fff;background:#9b111e;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:2px 6px;font-size:10px;font-weight:700;display:inline-flex}.current-team{text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.switcher-arrow{opacity:.6;flex-shrink:0;font-size:10px}.team-switcher-dropdown{z-index:100;background:#1a1a1a;border:1px solid #ffffff1a;border-radius:8px;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 2px 6px #0000000a}.dropdown-header{text-transform:uppercase;letter-spacing:.5px;color:#6b6b6b;border-bottom:1px solid #ffffff14;padding:8px 16px;font-size:11px;font-weight:600}.dropdown-error{color:#9b111e;padding:8px 16px;font-size:14px}.dropdown-list{max-height:280px;padding:4px;overflow-y:auto}.dropdown-item{color:#e5e5e5;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;justify-content:space-between;align-items:center;width:100%;padding:8px 16px;font-size:14px;transition:background .15s;display:flex}.dropdown-item:hover{background:#ffffff0d}.dropdown-item.active{color:#fff;background:#9b111e1f;font-weight:600}.team-item-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.check-mark{color:#9b111e;flex-shrink:0;margin-left:8px}.dropdown-empty{opacity:.5;text-align:center;padding:16px;font-size:14px}.app-layout{background:#f5f5f3;min-height:100vh;display:flex}.sidebar{z-index:100;background:#1a1a1a;flex-direction:column;width:260px;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar-brand{border-bottom:1px solid #ffffff14;align-items:center;gap:.75rem;padding:1.25rem 1.5rem;display:flex}.sidebar-brand-icon{object-fit:contain;width:32px;height:32px}.sidebar-brand-name{color:#fff;letter-spacing:-.02em;font-size:1.25rem;font-weight:700}.sidebar-nav{flex:1;padding:1rem 0;overflow-y:auto}.nav-section{margin-bottom:1.5rem}.nav-section-title{text-transform:uppercase;letter-spacing:.1em;color:#6b6b6b;margin-bottom:.5rem;padding:0 1.5rem;font-size:.7rem;font-weight:600;display:block}.nav-item{color:#9a9a9a;border-left:3px solid #0000;align-items:center;gap:.75rem;padding:.75rem 1.5rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.nav-item:hover{color:#e5e5e5;background:#ffffff0d}.nav-item.active{color:#fff;background:#9b111e1f;border-left-color:#9b111e}.nav-icon{text-align:center;width:1.5rem;font-size:1.1rem}.nav-label{flex:1}.sidebar-footer{border-top:1px solid #ffffff1a;align-items:center;gap:.75rem;padding:1rem 1.25rem;display:flex}.user-info{flex:1;align-items:center;gap:.75rem;min-width:0;display:flex}.sidebar-footer .user-avatar{color:#fff;background:#9b111e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:.9rem;font-weight:600;display:flex}.sidebar-footer .user-details{flex-direction:column;min-width:0;display:flex}.sidebar-footer .user-name{color:#e5e5e5;white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;font-weight:600;overflow:hidden}.sidebar-footer .team-name{color:#6b6b6b;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.sidebar-footer .btn-logout{cursor:pointer;opacity:.6;background:0 0;border:none;padding:.5rem;font-size:1.1rem;transition:opacity .15s}.sidebar-footer .btn-logout:hover{opacity:1}.main-content{flex:1;min-height:100vh;margin-left:260px;padding:2rem;overflow-x:hidden}.page{max-width:var(--page-max-width);margin:0 auto}.page-header{margin-bottom:2rem}.page-header h1,.stats-title-block h1,.settings-title-block h1,.agent-header h1{font-size:var(--h1-size);color:var(--color-text);margin:0 0 .25rem;font-weight:700;line-height:1.2}.page-header p{color:var(--color-text-muted);margin:0}.page-section,.card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);box-shadow:var(--shadow-md);margin-bottom:1.5rem;padding:1.5rem}.page-section h2{color:var(--color-text);align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1.1rem;font-weight:600;display:flex}.state-block{text-align:center;min-height:320px;color:var(--color-text-muted);flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:2rem;display:flex}.state-block .state-icon{font-size:2.5rem}.state-block h2,.state-block h3{color:var(--color-text);margin:0}@media (max-width:1024px){.sidebar{width:70px}.sidebar .logo-text,.nav-section-title,.nav-label,.sidebar-footer .user-details{display:none}.sidebar-header{justify-content:center;padding:1rem;display:flex}.nav-item{border-left:none;border-radius:8px;justify-content:center;margin:.25rem .5rem;padding:.75rem}.nav-item.active{border-left:none}.sidebar-footer{flex-direction:column;justify-content:center;gap:.5rem}.main-content{margin-left:70px;padding:1.5rem}}@media (max-width:640px){.sidebar{display:none}.main-content{margin-left:0;padding:1rem}}.auth-page{background:#9b111e;justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.auth-loading{color:#fff;font-size:1.2rem}.auth-card{background:#fff;border-radius:10px;width:100%;max-width:420px;padding:40px;box-shadow:0 2px 6px #0000000a}.auth-header{text-align:center;margin-bottom:32px}.auth-logo{object-fit:contain;width:64px;height:64px;margin-bottom:12px}.auth-header h1{color:#1a1a1a;margin:0 0 16px;font-size:2rem}.auth-header h2{color:#1a1a1a;margin:0 0 8px;font-size:1.5rem;font-weight:600}.auth-header p{color:#6b6b6b;margin:0;font-size:.95rem}.auth-form{flex-direction:column;gap:20px;display:flex}.auth-error{color:#dc2626;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:8px;padding:12px 16px;font-size:.9rem;display:flex}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:#6b6b6b;font-size:.9rem;font-weight:500}.form-group .optional{color:#9a9a9a;font-weight:400}.form-group input{border:2px solid #e5e5e5;border-radius:8px;padding:12px 16px;font-size:1rem;transition:border-color .15s,box-shadow .15s}.form-group input:focus{border-color:#9b111e;outline:none;box-shadow:0 0 0 3px #9b111e1a}.form-group input:disabled{cursor:not-allowed;background:#f0f0ee}.form-hint{color:#9a9a9a;font-size:.8rem}.auth-button{background:var(--color-primary);color:#fff;border-radius:var(--radius-md);cursor:pointer;border:none;margin-top:8px;padding:.75rem 1.5rem;font-size:.95rem;font-weight:600;transition:background .15s}.auth-button:hover:not(:disabled){background:var(--color-primary-hover)}.auth-button:disabled{opacity:.7;cursor:not-allowed}.auth-divider{color:#9a9a9a;text-transform:uppercase;letter-spacing:.05em;align-items:center;gap:12px;margin:20px 0;font-size:.85rem;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#e5e5e5;flex:1;height:1px}.google-signin-button{color:#1f1f1f;cursor:pointer;background:#fff;border:1px solid #dadce0;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;padding:12px 24px;font-size:.95rem;font-weight:500;transition:background .15s,box-shadow .15s;display:flex}.google-signin-button:hover:not(:disabled){background:#f8f9fa;box-shadow:0 1px 3px #00000014}.google-signin-button:disabled{opacity:.7;cursor:not-allowed}.microsoft-signin-button{color:#1f1f1f;cursor:pointer;background:#fff;border:1px solid #dadce0;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;margin-top:10px;padding:12px 24px;font-size:.95rem;font-weight:500;transition:background .15s,box-shadow .15s;display:flex}.microsoft-signin-button:hover:not(:disabled){background:#f8f9fa;box-shadow:0 1px 3px #00000014}.microsoft-signin-button:disabled{opacity:.7;cursor:not-allowed}.auth-footer{text-align:center;border-top:1px solid #e5e5e5;margin-top:24px;padding-top:24px}.auth-footer p{color:#6b6b6b;margin:0 0 8px;font-size:.9rem}.auth-footer p:last-child{margin-bottom:0}.auth-footer a{color:#9b111e;font-weight:500;text-decoration:none}.auth-footer a:hover{text-decoration:underline}.auth-success{text-align:center;padding:16px 0}.auth-success p{color:#1a1a1a;margin:0 0 8px;font-size:.95rem}.auth-hint{font-style:italic;color:#9a9a9a!important;font-size:.85rem!important}@media (max-width:480px){.auth-card{padding:24px}.auth-header h1{font-size:1.75rem}.auth-header h2{font-size:1.25rem}}.analysis-settings{margin-top:1rem}.analysis-settings.loading{color:#6b6b6b;flex-direction:column;align-items:center;gap:1rem;padding:2rem;display:flex}.settings-message{border-radius:8px;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.75rem 1rem;font-size:.875rem;display:flex}.settings-message.success{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.settings-message.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.settings-tabs{background:#f0f0ee;border-radius:10px;gap:.5rem;margin-bottom:1.5rem;padding:.25rem;display:flex}.settings-tabs .tab{color:#6b6b6b;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:.75rem 1rem;font-size:.875rem;font-weight:500;transition:all .15s}.settings-tabs .tab:hover{color:#1a1a1a;background:#ffffff80}.settings-tabs .tab.active{color:#9b111e;background:#fff;box-shadow:0 1px 3px #0000001a}.settings-panel{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:1.5rem}.panel-header{border-bottom:1px solid #e5e5e5;margin-bottom:1.5rem;padding-bottom:1rem}.panel-header h3{color:#1a1a1a;margin:0 0 .25rem;font-size:1.125rem;font-weight:600}.panel-header p{color:#6b6b6b;margin:0;font-size:.875rem}.permission-notice{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;margin-bottom:1.5rem;padding:.75rem 1rem;font-size:.875rem}.settings-group{margin-bottom:1.5rem}.settings-group label{color:#1a1a1a;align-items:center;gap:.5rem;margin-bottom:.25rem;font-weight:600;display:flex}.label-icon{font-size:1rem}.field-help{color:#6b6b6b;margin:0 0 .75rem;font-size:.8rem}.settings-group textarea,.settings-group input[type=text]{resize:vertical;border:1px solid #e5e5e5;border-radius:8px;width:100%;padding:.75rem;font-family:inherit;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.settings-group textarea:focus,.settings-group input[type=text]:focus{border-color:#9b111e;outline:none;box-shadow:0 0 0 3px #9b111e1a}.settings-group textarea:disabled,.settings-group input[type=text]:disabled{color:#6b6b6b;cursor:not-allowed;background:#f5f5f3}.tags-container{flex-wrap:wrap;gap:.5rem;min-height:32px;margin-bottom:.75rem;display:flex}.tag{border-radius:10px;align-items:center;gap:.375rem;padding:.375rem .75rem;font-size:.8rem;font-weight:500;display:inline-flex}.tag.competitor{color:#92400e;background:#fef3c7}.tag.keyword{color:#1e40af;background:#dbeafe}.tag.area{color:#7f0e18;background:#f3e8ff}.tag button{width:16px;height:16px;color:inherit;cursor:pointer;background:#0000001a;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:.7rem;line-height:1;transition:background .15s;display:flex}.tag button:hover{background:#0003}.add-input-group{gap:.5rem;display:flex}.add-input-group input{border:1px solid #e5e5e5;border-radius:8px;flex:1;padding:.5rem .75rem;font-size:.875rem}.add-input-group button{color:#6b6b6b;cursor:pointer;white-space:nowrap;background:#f0f0ee;border:1px solid #e5e5e5;border-radius:8px;padding:.5rem 1rem;font-size:.8rem;font-weight:500;transition:all .15s}.add-input-group button:hover{color:#1a1a1a;background:#e5e5e5}.radio-group{flex-direction:column;gap:.75rem;display:flex}.radio-option{cursor:pointer;background:#f5f5f3;border-radius:8px;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;transition:background .15s;display:flex}.radio-option:hover{background:#f0f0ee}.radio-option input[type=radio]{accent-color:#9b111e;margin-top:.25rem}.radio-label{flex-direction:column;gap:.125rem;display:flex}.radio-label strong{color:#1a1a1a;font-size:.875rem;font-weight:600}.radio-label small{color:#6b6b6b;font-size:.75rem}.settings-actions{border-top:1px solid #e5e5e5;margin-top:1.5rem;padding-top:1.5rem}.settings-actions .btn-save{color:#fff;cursor:pointer;background:#9b111e;border:none;border-radius:8px;padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;transition:background .15s}.settings-actions .btn-save:hover{background:#7f0e18}.settings-actions .btn-save:disabled{opacity:.7;cursor:not-allowed}@keyframes spin{to{transform:rotate(360deg)}}.profile-card{padding:2rem!important}.profile-header{align-items:center;gap:1.5rem;display:flex}.profile-avatar{color:#fff;background:#9b111e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:80px;height:80px;font-size:2rem;font-weight:600;display:flex}.profile-info h2{color:#1a1a1a;margin:0 0 .25rem;font-size:1.5rem;font-weight:600}.profile-info p{color:#6b6b6b;margin:0 0 .75rem}.info-grid{grid-template-columns:repeat(2,1fr);gap:1rem;display:grid}.info-item{background:#f5f5f3;border-radius:8px;padding:1rem}.info-label{color:#6b6b6b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem;font-size:.75rem;font-weight:500;display:block}.info-value{color:#1a1a1a;font-size:1rem;font-weight:600}.permissions-list{grid-template-columns:repeat(2,1fr);gap:.75rem;display:grid}.permission-item{color:#6b6b6b;background:#f5f5f3;border-radius:8px;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:.9rem;display:flex}.permission-icon{font-size:1rem}@media (max-width:640px){.profile-header{text-align:center;flex-direction:column}.info-grid,.permissions-list{grid-template-columns:1fr}}.audio-player-fixed{z-index:1000;background:#1a1a1a;padding:1rem 1.5rem;position:fixed;bottom:0;left:0;right:0;box-shadow:0 2px 6px #0000000a}.audio-player-fixed .audio-player{align-items:center;gap:1rem;max-width:1000px;margin:0 auto;display:flex}.audio-player{align-items:center;gap:1rem;display:flex}.skip-btn{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:.75rem;font-weight:600;transition:transform .15s,background .15s;display:flex}.skip-btn:hover{background:#fff3;transform:scale(1.05)}.skip-btn:active{transform:scale(.95)}.play-btn{color:#fff;cursor:pointer;background:#9b111e;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.25rem;transition:transform .15s,background .15s;display:flex}.play-btn:hover{background:#7f0e18;transform:scale(1.05)}.play-btn:disabled{opacity:.5;cursor:not-allowed}.play-btn.loading{animation:1s linear infinite spin}.audio-progress{flex-direction:column;flex:1;gap:.5rem;display:flex}.progress-bar{cursor:pointer;background:#ffffff1a;border-radius:4px;height:8px;position:relative;overflow:visible}.progress-fill{background:#9b111e;border-radius:4px;height:100%;transition:width .1s linear;position:absolute;top:0;left:0}.event-marker{cursor:pointer;z-index:1;border-radius:2px;width:4px;height:16px;transition:transform .15s;position:absolute;top:-4px}.event-marker:hover{transform:scaleY(1.3)}.event-marker.severity-critical{background:#ef4444}.event-marker.severity-warning{background:#f59e0b}.event-marker.severity-info{background:#3b82f6}.time-display{color:#fff9;justify-content:space-between;font-size:.75rem;display:flex}.audio-error{color:#ef4444;font-size:.7rem}.audio-loading{color:#9b111e;font-size:.7rem;animation:1.5s infinite pulse}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.2)}}.tabs{gap:.25rem;margin-bottom:1rem;display:flex}.tab{color:var(--color-text-muted);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;padding:.35rem .75rem;font-size:.85rem;font-weight:500;transition:all .15s}.tab:hover{color:var(--color-text)}.tab.active{background:var(--color-bg-soft);color:var(--color-text);font-weight:600}.tab-content{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);min-height:400px;box-shadow:var(--shadow-md);padding:1.5rem}.overview-tab{flex-direction:column;gap:2rem;display:flex}.summary-section{background:#fff;border:2px solid #9b111e;border-radius:10px;flex-direction:column;gap:.75rem;padding:1.25rem 1.5rem;display:flex}.summary-text{color:#374151;margin:0;font-size:.9375rem;line-height:1.6}.outcome-badge{border-radius:999px;width:fit-content;padding:.25rem .75rem;font-size:.8125rem;font-weight:600;display:inline-block}.outcome-meeting_booked{color:#166534;background:#dcfce7}.outcome-callback_scheduled{color:#1e40af;background:#dbeafe}.outcome-email_requested{color:#3730a3;background:#e0e7ff}.outcome-flat_rejection{color:#991b1b;background:#fee2e2}.outcome-hung_up{color:#b91c1c;background:#fef2f2}.outcome-gatekeeper_blocked{color:#9a3412;background:#fff7ed}.outcome-other{color:#4b5563;background:#f3f4f6}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;display:grid}.metric-card{background:#f5f5f3;border-left:4px solid;border-radius:8px;padding:1.25rem;transition:transform .15s}.metric-card:hover{transform:translateY(-2px)}.metric-card.status-good{border-left-color:#22c55e}.metric-card.status-ok{border-left-color:#3b82f6}.metric-card.status-warning{border-left-color:#f59e0b}.metric-label{color:#9a9a9a;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem;font-size:.75rem}.metric-value{color:#1a1a1a;font-size:2rem;font-weight:700;line-height:1}.metric-sublabel{color:#9a9a9a;margin-top:.25rem;font-size:.75rem}.metrics-secondary{opacity:.9;margin-top:.5rem}.metrics-secondary .metric-card{background:#f5f5f3;border:1px solid #e5e5e5}.worst-minute-section{background:#fff7ed;border:2px solid #fb923c;border-radius:10px;padding:1.25rem;box-shadow:0 2px 6px #0000000a}.worst-minute-section h3{color:#9a3412;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .75rem;font-size:.875rem;font-weight:600}.worst-minute-card{cursor:pointer;background:#fff;border-radius:8px;flex-direction:column;gap:.75rem;padding:1rem 1.25rem;transition:all .15s;display:flex}.worst-minute-card:hover{transform:translateY(-2px);box-shadow:0 2px 6px #0000000a}.highlight-time{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.time-badge{color:#d97706;background:#fef3c7;border-radius:8px;padding:.375rem .75rem;font-family:monospace;font-size:1rem;font-weight:700}.play-icon{color:#f59e0b;font-size:1.25rem}.bad-segments h3,.critical-section h3,.warning-section h3{color:#1a1a1a;margin:0 0 1rem;font-size:1rem;font-weight:600}.segments-list{gap:1rem;display:grid}.segment-card{cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:1rem;transition:all .15s}.segment-card:hover{background:#fee2e2;transform:translate(4px)}.segment-header{justify-content:space-between;margin-bottom:.5rem;display:flex}.segment-time{color:#dc2626;font-family:monospace;font-size:.875rem}.segment-time.clickable{color:#dc2626;cursor:pointer}.segment-time.clickable:hover{text-decoration:underline}.segment-score{color:#9a9a9a;font-size:.75rem}.segment-issue{color:#1a1a1a;margin:0 0 .75rem;font-size:.875rem}.segment-issues{flex-wrap:wrap;gap:.5rem;display:flex}.issue-tag{color:#b91c1c;background:#ef44441a;border-radius:4px;padding:.25rem .5rem;font-size:.7rem}.events-list{flex-direction:column;gap:.75rem;display:flex}.events-list.compact{gap:.5rem}.event-card{cursor:pointer;background:#f5f5f3;border-left:3px solid;border-radius:8px;padding:1rem;transition:all .15s}.event-card:hover{background:#f0f0ee;transform:translate(4px)}.event-card.compact{padding:.75rem}.event-card.severity-critical{border-left-color:#ef4444}.event-card.severity-warning{border-left-color:#f59e0b}.event-card.severity-info{border-left-color:#3b82f6}.event-header{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.event-play-btn{color:#9b111e;opacity:.7;font-size:.75rem;transition:opacity .15s}.event-card:hover .event-play-btn{opacity:1}.event-time-badge{color:#9b111e;background:#f9f1f2;border-radius:4px;padding:.25rem .5rem;font-family:monospace;font-size:.75rem;font-weight:600}.event-card.clickable{cursor:pointer}.event-card.clickable:hover .event-time-badge{color:#fff;background:#9b111e}.event-category{font-size:1rem}.event-type{color:#1a1a1a;font-size:.8rem;font-weight:600}.event-time{color:#9a9a9a;margin-left:auto;font-family:monospace;font-size:.75rem}.event-description{color:#6b6b6b;margin:0;font-size:.875rem}.empty-state p{margin:.5rem 0}.coldcall-score-section{margin-top:1.5rem}.score-overview{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.score-badge{border-radius:8px;align-items:baseline;gap:.25rem;padding:.5rem 1rem;font-weight:700;display:flex}.score-value{font-size:2rem;line-height:1}.score-max{opacity:.6;font-size:1rem}.score-excellent{color:#166534;background:#dcfce7}.score-good{color:#075985;background:#e0f2fe}.score-needs-improvement{color:#92400e;background:#fef3c7}.score-poor{color:#991b1b;background:#fee2e2}.assessment-badge{border-radius:8px;padding:.25rem .75rem;font-size:.85rem;font-weight:600}.assessment-excellent{color:#166534;background:#dcfce7}.assessment-good{color:#075985;background:#e0f2fe}.assessment-needs_improvement{color:#92400e;background:#fef3c7}.assessment-poor{color:#991b1b;background:#fee2e2}.score-breakdown{flex-direction:column;gap:.5rem;display:flex}.score-bar{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.score-bar-label{color:#6b6b6b;text-align:right;width:100px;font-size:.85rem}.score-bar-track{background:#e5e5e5;border-radius:4px;flex:1;height:8px;overflow:hidden}.score-bar-fill{border-radius:4px;height:100%;transition:width .5s}.score-bar-fill.score-excellent{background:#22c55e}.score-bar-fill.score-good{background:#3b82f6}.score-bar-fill.score-needs-improvement{background:#f59e0b}.score-bar-fill.score-poor{background:#ef4444}.score-bar-value{color:#1a1a1a;width:30px;font-size:.85rem;font-weight:600}.score-bar-assessment{color:#6b6b6b;width:100%;margin-top:-.25rem;margin-bottom:.25rem;padding-left:calc(100px + .75rem);font-size:.8rem}.event-coaching{background:#f0fdf4;border-left:3px solid #22c55e;border-radius:0 6px 6px 0;margin-top:.5rem;padding:.5rem .75rem}.coaching-label{color:#166534;font-size:.8rem;font-weight:600}.coaching-text{color:#1a1a1a;margin:.25rem 0 0;font-size:.85rem;font-style:italic}.priorities-section{margin-top:1.5rem}.priorities-list{flex-direction:column;gap:.75rem;display:flex}.priority-card{background:#fff;border:1px solid #e5e5e5;border-radius:8px;gap:1rem;padding:1rem;display:flex}.priority-rank{color:#9b111e;min-width:2rem;font-size:1.25rem;font-weight:700}.priority-content{flex:1}.priority-content h4{margin:0 0 .5rem;font-size:.95rem}.next-call-section{margin-top:1.5rem}.next-call-plan{flex-direction:column;gap:1rem;display:flex}.plan-block{background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:.75rem 1rem}.plan-block h4{color:#6b6b6b;margin:0 0 .5rem;font-size:.9rem}.plan-block p{margin:0;font-size:.9rem;font-style:italic}.plan-block ul{margin:0;padding-left:1.25rem}.plan-block li{margin:.25rem 0;font-size:.9rem}.missed-signals-section{margin-top:1.5rem}.timeline-tab{flex-direction:column;gap:2rem;display:flex}.timeline-empty{text-align:center;color:#9a9a9a;padding:3rem 1rem;font-size:.95rem}.phase-section{flex-direction:column;gap:.75rem;display:flex}.phase-title{color:#1a1a1a;border-bottom:2px solid #e5e5e5;margin:0;padding-bottom:.5rem;font-size:.95rem;font-weight:700}.behavior-list{flex-direction:column;gap:.5rem;display:flex}.behavior-card{background:#fafafa;border-left:3px solid #6b7280;border-radius:8px;padding:1rem 1.25rem;transition:background .15s}.behavior-card:hover{background:#f5f5f3}.behavior-card.severity-critical{border-left-color:#ef4444}.behavior-card.severity-warning{border-left-color:#f59e0b}.behavior-card.severity-info{border-left-color:#3b82f6}.behavior-header{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.behavior-marker{border-radius:50%;flex-shrink:0;width:8px;height:8px}.behavior-tag-name{color:#1a1a1a;font-size:.875rem;font-weight:600}.behavior-category{border-radius:10px;margin-left:auto;padding:.15rem .5rem;font-size:.7rem;font-weight:500}.cat-strength,.cat-buying_signal,.cat-rapport{color:#065f46;background:#ecfdf5}.cat-mistake,.cat-red_flag{color:#991b1b;background:#fef2f2}.cat-objection{color:#92400e;background:#fffbeb}.cat-pain{color:#78350f;background:#fef3c7}.cat-technique,.cat-discovery{color:#1e40af;background:#eff6ff}.cat-observation,.cat-feature_request,.cat-competitor_mention{color:#374151;background:#f3f4f6}.behavior-analysis{color:#4b4b4b;margin:.5rem 0 0;font-size:.875rem;line-height:1.5}.behavior-evidence{color:#6b6b6b;border-left:2px solid #e5e5e5;margin:.5rem 0 0;padding-left:.75rem;font-size:.8rem;font-style:italic}.behavior-interaction{background:#f0f0ee;border-radius:6px;flex-direction:column;gap:.375rem;margin-top:.75rem;padding:.75rem;display:flex}.interaction-quote,.interaction-reply{gap:.375rem;font-size:.8rem;line-height:1.4;display:flex}.interaction-speaker{color:#1a1a1a;flex-shrink:0;font-weight:600}.interaction-text{color:#4b4b4b;font-style:italic}.interaction-quality{border-radius:10px;width:fit-content;padding:.15rem .5rem;font-size:.7rem;font-weight:500;display:inline-block}.quality-excellent,.quality-good{color:#065f46;background:#ecfdf5}.quality-average{color:#92400e;background:#fffbeb}.quality-poor,.quality-missed{color:#991b1b;background:#fef2f2}.interaction-ideal{border-top:1px solid #e5e5e5;gap:.375rem;margin-top:.25rem;padding-top:.375rem;font-size:.8rem;display:flex}.ideal-label{flex-shrink:0;font-weight:500}.ideal-text{color:#065f46;font-style:italic}.transcript-tab{flex-direction:column;gap:.5rem;max-height:600px;padding-right:.5rem;display:flex;overflow-y:auto}.swap-speakers-bar{background:#f5f5f3;border:1px solid #e5e5e5;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.6rem 1rem;display:flex}.swap-info{color:#6b6b6b;font-size:.8rem}.swap-actions{gap:.5rem;display:flex}.swap-btn{color:#6b6b6b;cursor:pointer;background:#fff;border:1px solid #e5e5e5;border-radius:6px;padding:.35rem .75rem;font-size:.75rem;font-weight:500;transition:all .15s}.swap-btn:hover:not(:disabled){background:#f0f0ee;border-color:#e5e5e5}.swap-btn:disabled{opacity:.5;cursor:not-allowed}.swap-btn.swap-reanalyze{color:#fff;background:#9b111e;border-color:#9b111e}.swap-btn.swap-reanalyze:hover:not(:disabled){background:#7f0e18}.utterance{cursor:pointer;border-radius:8px;flex-direction:column;gap:.25rem;padding:.75rem 1rem;transition:all .15s;display:flex}.utterance:hover{background:#f5f5f3}.utterance.active{background:#f9f1f2;border-left:3px solid #9b111e}.utterance.sales{margin-right:2rem}.utterance.prospect{background:#f5f5f3;margin-left:2rem}.utterance-meta{align-items:center;gap:.75rem;display:flex}.speaker{text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:600}.utterance.sales .speaker{color:#9b111e}.utterance.prospect .speaker{color:#22c55e}.utterance-meta .time{color:#9a9a9a;font-family:monospace;font-size:.7rem}.utterance-text{color:#1a1a1a;margin:0;font-size:.875rem;line-height:1.5}.transcript-tab::-webkit-scrollbar{width:6px}.transcript-tab::-webkit-scrollbar-track{background:#f0f0ee;border-radius:3px}.transcript-tab::-webkit-scrollbar-thumb{background:#e5e5e5;border-radius:3px}.transcript-tab::-webkit-scrollbar-thumb:hover{background:#9a9a9a}.crm-tab{flex-direction:column;gap:1.5rem;display:flex}.crm-header h3{margin:0 0 .25rem;font-size:1.25rem;font-weight:600}.crm-subtitle{color:#6b7280;margin:0;font-size:.875rem}.crm-section{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.25rem}.crm-section h4{border-bottom:1px solid #f3f4f6;margin:0 0 1rem;padding-bottom:.5rem;font-size:1rem;font-weight:600}.crm-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;display:grid}.crm-field{flex-direction:column;gap:.25rem;display:flex}.crm-field-label{text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;font-size:.75rem;font-weight:500}.crm-field-value{color:#111827;font-size:.9375rem;font-weight:500}.crm-field-value.level-high{color:#059669}.crm-field-value.level-medium{color:#d97706}.crm-field-value.level-low{color:#dc2626}.crm-notes{color:#374151;white-space:pre-wrap;background:#f9fafb;border-radius:6px;padding:.75rem 1rem;font-size:.9375rem;line-height:1.6}.crm-tags{flex-wrap:wrap;gap:.5rem;margin-top:.25rem;display:flex}.crm-tag{color:#1e40af;background:#eff6ff;border-radius:999px;padding:.25rem .75rem;font-size:.8125rem;font-weight:500}.crm-empty{text-align:center;color:#9ca3af;padding:3rem 1rem;font-size:.9375rem}.overview-crm-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem 1.5rem}.overview-crm-section h3{color:#111827;margin:0 0 1rem;font-size:1rem;font-weight:600}.overview-crm-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.overview-crm-block{background:#f9fafb;border-radius:8px;align-items:flex-start;gap:.75rem;padding:.75rem;display:flex}.overview-crm-block.wide{grid-column:1/-1}.overview-crm-icon{flex-shrink:0;margin-top:2px;font-size:1.25rem}.overview-crm-block>div{flex-direction:column;gap:.25rem;min-width:0;display:flex}.overview-crm-block strong{color:#111827;font-size:.9375rem}.overview-crm-sub{color:#6b7280;word-break:break-word;font-size:.8125rem;line-height:1.4}.overview-crm-sub.muted{color:#9ca3af;font-size:.75rem}.overview-crm-outcome{color:#111827;font-size:.8125rem;font-weight:600}.overview-crm-level{font-size:.8125rem;font-weight:500}.overview-crm-level.level-high{color:#059669}.overview-crm-level.level-medium{color:#d97706}.overview-crm-level.level-low{color:#9ca3af}@media (max-width:640px){.overview-crm-grid{grid-template-columns:1fr}}.stats-tab{flex-direction:column;gap:1.5rem;display:flex}.stats-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem 1.5rem}.stats-section h3{color:#111827;margin:0 0 1rem;font-size:1rem;font-weight:600}.stats-score-hero{align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.stats-score-circle{border:4px solid;border-radius:50%;flex-shrink:0;justify-content:center;align-items:baseline;width:80px;height:80px;display:flex}.stats-score-circle.score-excellent{background:#ecfdf5;border-color:#10b981}.stats-score-circle.score-good{background:#eff6ff;border-color:#3b82f6}.stats-score-circle.score-needs-improvement{background:#fffbeb;border-color:#f59e0b}.stats-score-circle.score-poor{background:#fef2f2;border-color:#ef4444}.stats-score-plain{justify-content:center;align-items:baseline;display:flex}.stats-score-number{color:#111827;font-size:1.75rem;font-weight:700}.stats-score-label{color:#6b7280;margin-left:2px;font-size:.875rem}.stats-score-grid{flex-direction:column;gap:.5rem;display:flex}.stats-metrics-table{flex-direction:column;gap:0;display:flex}.stat-row{border-bottom:1px solid #f3f4f6;grid-template-columns:1fr auto;align-items:center;gap:.75rem;padding:.5rem 0;display:grid}.stat-row:last-child{border-bottom:none}.stat-row.stat-warn{color:#b45309}.stat-row-label{color:#6b7280;font-size:.875rem}.stat-warn .stat-row-label{color:#b45309}.stat-row-value{color:#111827;text-align:right;font-size:.875rem;font-weight:600}.stat-warn .stat-row-value{color:#b45309}.stat-row-bar{background:#f3f4f6;border-radius:2px;grid-column:1/-1;height:4px;overflow:hidden}.stat-row-bar-fill{background:#3b82f6;border-radius:2px;height:100%;transition:width .3s}.stat-row-bar-fill.warn{background:#f59e0b}.stats-validation-grid{grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:.75rem;display:grid}.stats-validation-card{text-align:center;border-radius:8px;flex-direction:column;align-items:center;padding:.75rem;display:flex}.stats-validation-card.confirmed{background:#ecfdf5}.stats-validation-card.partial{background:#eff6ff}.stats-validation-card.rejected{background:#fef2f2}.stats-validation-card.not-reviewed{background:#f9fafb}.stats-validation-count{font-size:1.5rem;font-weight:700}.stats-validation-card.confirmed .stats-validation-count{color:#059669}.stats-validation-card.partial .stats-validation-count{color:#2563eb}.stats-validation-card.rejected .stats-validation-count{color:#dc2626}.stats-validation-card.not-reviewed .stats-validation-count{color:#9ca3af}.stats-validation-label{color:#6b7280;margin-top:.25rem;font-size:.75rem}.stats-validation-bar{background:#f3f4f6;border-radius:4px;height:8px;display:flex;overflow:hidden}.vbar-segment{height:100%;transition:width .3s}.vbar-segment.confirmed{background:#10b981}.vbar-segment.partial{background:#3b82f6}.vbar-segment.rejected{background:#ef4444}.vbar-segment.not-reviewed{background:#d1d5db}.stats-missed-note{color:#6b7280;margin:.75rem 0 0;font-size:.8125rem;font-style:italic}.stats-severity-grid{grid-template-columns:repeat(3,1fr);gap:.75rem;display:grid}.stats-severity-card{text-align:center;border-radius:8px;flex-direction:column;align-items:center;padding:1rem;display:flex}.stats-severity-card.critical{background:#fef2f2}.stats-severity-card.warning{background:#fffbeb}.stats-severity-card.info{background:#ecfdf5}.stats-severity-icon{font-size:1.25rem}.stats-severity-count{color:#111827;margin-top:.25rem;font-size:1.5rem;font-weight:700}.stats-severity-label{color:#6b7280;margin-top:.25rem;font-size:.75rem}.stats-category-list{flex-direction:column;gap:.5rem;display:flex}.stats-category-row{grid-template-columns:120px 1fr auto auto auto;align-items:center;gap:.5rem;padding:.375rem 0;display:grid}.stats-category-name{color:#374151;text-transform:capitalize;font-size:.8125rem;font-weight:500}.stats-category-bar-track{background:#f3f4f6;border-radius:3px;height:6px;overflow:hidden}.stats-category-bar-fill{background:#6366f1;border-radius:3px;height:100%;transition:width .3s}.stats-category-count{color:#111827;text-align:right;min-width:20px;font-size:.8125rem;font-weight:600}.stats-cat-badge{white-space:nowrap;border-radius:4px;padding:.125rem .375rem;font-size:.6875rem}.stats-cat-badge.critical{color:#dc2626;background:#fef2f2}.stats-cat-badge.warning{color:#b45309;background:#fffbeb}.stats-quality-grid{flex-direction:column;display:flex}@media (max-width:640px){.stats-validation-grid{grid-template-columns:repeat(2,1fr)}.stats-severity-grid{grid-template-columns:repeat(3,1fr)}.stats-category-row{grid-template-columns:90px 1fr auto auto auto}}.call-analysis{flex-direction:column;gap:1.5rem;max-width:1000px;margin:0 auto;padding:1.5rem;display:flex}.call-analysis.has-audio-player{padding-bottom:100px}.call-detail{flex-direction:column;gap:1.5rem;display:flex}.call-detail-loading,.call-detail-error,.loading-artifacts{color:#6b6b6b;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:300px;display:flex}.loader{border:3px solid #e5e5e5;border-top-color:#9b111e;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}.call-detail-error button{color:#1a1a1a;cursor:pointer;background:#f0f0ee;border:1px solid #e5e5e5;border-radius:8px;padding:.75rem 1.5rem;transition:all .15s}.call-detail-error button:hover{background:#e5e5e5}.detail-header{justify-content:space-between;align-items:flex-start;display:flex}.detail-title-block{align-items:center;gap:.75rem;display:flex}.detail-title-block h1{color:#1a1a1a;margin:0;font-size:1.5rem;font-weight:700}.back-btn{color:#6b6b6b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.25rem .5rem;font-size:1.1rem;transition:all .15s}.back-btn:hover{color:#1a1a1a;background:#f0f0ee}.call-date{color:#9a9a9a;margin-top:.15rem;font-size:.8rem;display:block}.header-actions{align-items:center;gap:.75rem;display:flex}.reanalyze-btn{color:#1a1a1a;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #1a1a1a;border-radius:8px;padding:.5rem 1rem;font-size:.8rem;font-weight:500;transition:all .15s}.reanalyze-btn:hover:not(:disabled){background:#f0f0ee}.reanalyze-btn:disabled{opacity:.6;cursor:not-allowed}.delete-btn{color:#dc2626;cursor:pointer;white-space:nowrap;background:#fef2f2;border:1px solid #fca5a5;border-radius:8px;padding:.5rem 1rem;font-size:.8rem;font-weight:500;transition:all .2s}.delete-btn:hover:not(:disabled){background:#fee2e2;border-color:#f87171}.delete-btn:disabled{opacity:.6;cursor:not-allowed}.delete-confirm-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.delete-confirm-modal{background:#fff;border:1px solid #e5e5e5;border-radius:8px;width:90%;max-width:420px;padding:1.5rem 2rem}.delete-confirm-modal h3{color:#1a1a1a;margin:0 0 .75rem;font-size:1.1rem}.delete-confirm-modal p{color:#6b6b6b;margin:0 0 1.5rem;font-size:.9rem;line-height:1.6}.delete-confirm-actions{justify-content:flex-end;gap:.75rem;display:flex}.delete-confirm-actions .cancel-btn{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:.5rem 1rem;font-size:.85rem;transition:all .2s}.delete-confirm-actions .cancel-btn:hover{background:#e2e8f0}.delete-confirm-actions .confirm-delete-btn{color:#fff;cursor:pointer;background:#dc2626;border:1px solid #dc2626;border-radius:8px;padding:.5rem 1rem;font-size:.85rem;font-weight:500;transition:all .2s}.delete-confirm-actions .confirm-delete-btn:hover:not(:disabled){background:#b91c1c}.delete-confirm-actions .confirm-delete-btn:disabled{opacity:.7;cursor:not-allowed}.status-badge{border-radius:6px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.8rem;font-weight:500;display:inline-flex}.status-badge.pending{color:#d97706;background:#fffbeb;border:1px solid #fcd34d}.status-badge.processing{color:#2563eb;background:#eff6ff;border:1px solid #93c5fd}.status-badge.completed{color:#16a34a;background:#f0fdf4;border:1px solid #86efac}.status-badge.failed{color:#dc2626;background:#fef2f2;border:1px solid #fca5a5}.processing-view{background:#fff;border:1px solid #e5e5e5;border-radius:8px;flex-direction:column;align-items:center;gap:2rem;padding:2rem;display:flex}.progress-container{align-items:center;gap:1rem;width:100%;max-width:400px;display:flex}.processing-view .progress-bar{background:#e5e5e5;border-radius:4px;flex:1;height:8px;overflow:hidden}.processing-view .progress-fill{background:#9b111e;border-radius:4px;height:100%;transition:width .3s}.progress-text{color:#9b111e;min-width:3rem;font-size:.875rem;font-weight:600}.stages{flex-wrap:wrap;justify-content:center;gap:2rem;display:flex}.stage{flex-direction:column;align-items:center;gap:.5rem;display:flex}.stage-indicator{border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.875rem;font-weight:600;transition:all .3s;display:flex}.stage-pending .stage-indicator{color:#9a9a9a;background:#f0f0ee}.stage-running .stage-indicator{color:#9b111e;background:#fdf2f2;border:2px solid #9b111e}.stage-completed .stage-indicator{color:#fff;background:#22c55e}.stage-failed .stage-indicator{color:#fff;background:#ef4444}.stage-label{color:#6b6b6b;font-size:.75rem}.spinner{border:2px solid #9b111e4d;border-top-color:#9b111e;border-radius:50%;width:16px;height:16px;animation:1s linear infinite spin}.refresh-status{color:#6b6b6b;align-items:center;gap:.5rem;font-size:.8rem;display:flex}.pulse{background:#22c55e;border-radius:50%;width:8px;height:8px;animation:2s ease-in-out infinite pulse}.refresh-status button{color:#6b6b6b;cursor:pointer;background:#f0f0ee;border:1px solid #e5e5e5;border-radius:6px;padding:.25rem .5rem;font-size:.75rem}.refresh-status button:hover{background:#e5e5e5}.paused-icon{opacity:.6;font-size:.75rem}.failed-view{text-align:center;background:#fff;border:1px solid #fecaca;border-radius:8px;padding:3rem}.error-icon{color:#ef4444;background:#fef2f2;border:2px solid #ef4444;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 1.5rem;font-size:1.5rem;display:flex}.failed-view h3{color:#dc2626;margin:0 0 1rem}.error-message{color:#7f1d1d;background:#fef2f2;border-radius:8px;margin-bottom:1rem;padding:1rem;font-family:monospace;font-size:.875rem}.error-hint{color:#6b6b6b;font-size:.875rem}@media (max-width:640px){.detail-header{text-align:center;flex-direction:column}.stages{gap:1rem}}.audio-recorder-inline{align-items:center;display:flex}.recorder-start-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#9b111e;border:none;border-radius:8px;align-items:center;gap:.4rem;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:background .15s;display:inline-flex}.recorder-start-btn:hover{background:#7f0e18}.recorder-start-btn svg{width:16px;height:16px}.recorder-requesting-text{color:#6b6b6b;font-size:.85rem}.recorder-recording-row{align-items:center;gap:.6rem;display:flex}.recording-dot{background:#9b111e;border-radius:50%;flex-shrink:0;width:8px;height:8px;animation:1.2s infinite pulse-dot}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.3}}.timer-value{color:#1a1a1a;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.9rem;font-weight:600}.recorder-waveform{align-items:center;gap:2px;height:24px;display:flex}.waveform-bar{background:#1a1a1a;border-radius:1px;width:2px;min-height:3px;transition:height .1s}.recorder-stop-btn{color:#1a1a1a;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #1a1a1a;border-radius:8px;align-items:center;gap:.35rem;padding:.35rem .75rem;font-size:.8rem;font-weight:600;transition:background .15s;display:inline-flex}.recorder-stop-btn:hover{background:#f0f0ee}.recorder-stop-btn svg{width:14px;height:14px}.recorder-preview-row{align-items:center;gap:.5rem;display:flex}.preview-play-btn{color:#1a1a1a;cursor:pointer;background:#f5f5f3;border:1px solid #e5e5e5;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:background .15s;display:flex}.preview-play-btn:hover{background:#f0f0ee}.preview-play-btn svg{width:14px;height:14px}.preview-duration{color:#1a1a1a;font-variant-numeric:tabular-nums;font-size:.85rem;font-weight:600}.recorder-reset-btn{color:#6b6b6b;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #e5e5e5;border-radius:6px;padding:.35rem .75rem;font-size:.8rem;font-weight:500;transition:all .15s}.recorder-reset-btn:hover{color:#1a1a1a;background:#f0f0ee;border-color:#1a1a1a}.recorder-confirm-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#9b111e;border:none;border-radius:6px;padding:.35rem .85rem;font-size:.8rem;font-weight:600;transition:background .15s}.recorder-confirm-btn:hover{background:#7f0e18}.recorder-error{color:#9b111e;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-top:.5rem;padding:.5rem .75rem;font-size:.8rem;line-height:1.4}@media (max-width:768px){.recorder-recording-row,.recorder-preview-row{flex-wrap:wrap;gap:.4rem}}.call-history-page .page-header{justify-content:space-between;align-items:center;display:flex}.page-header-actions{align-items:center;gap:.5rem;display:flex}.btn-upload{color:#1a1a1a;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .15s}.btn-upload:hover{background:#f5f5f3;border-color:#1a1a1a}.call-history-page .modal-overlay{z-index:200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.call-history-page .modal-content{background:#fff;border-radius:10px;width:90%;max-width:500px;max-height:90vh;padding:2rem;position:relative;overflow-y:auto;box-shadow:0 2px 6px #0000000a}.call-history-page .modal-close{color:#6b6b6b;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.5rem;transition:background .15s;display:flex;position:absolute;top:1rem;right:1rem}.call-history-page .modal-close:hover{color:#1a1a1a;background:#f0f0ee}.call-count{color:#64748b;background:#f1f5f9;border-radius:20px;padding:.35rem .75rem;font-size:.875rem;font-weight:500}.processing-banner{background:#fbfbfb;border:1.5px solid #e11d48;border-radius:10px;margin-bottom:1.5rem;padding:.85rem 1.25rem}.processing-banner span{color:#000;font-size:.875rem;font-weight:600}.filters-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.filter-tabs{background:#fff;border-radius:10px;gap:.5rem;padding:.35rem;display:flex;box-shadow:0 1px 3px #0000000d}.filter-tab{color:#6b6b6b;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.85rem;font-weight:500;transition:all .15s;display:flex}.filter-tab:hover{color:#6b6b6b;background:#f0f0ee}.filter-tab.active{color:#fff;background:#9b111e}.filter-count{background:#0000001a;border-radius:20px;padding:.15rem .5rem;font-size:.75rem}.filter-tab.active .filter-count{background:#fff3}.btn-refresh{color:#6b6b6b;cursor:pointer;background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:.5rem 1rem;font-size:.85rem;font-weight:500;transition:all .15s}.btn-refresh:hover{background:#f5f5f3;border-color:#e5e5e5}.calls-table-container{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);box-shadow:var(--shadow-md);overflow:hidden}.calls-table{border-collapse:collapse;width:100%}.calls-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:#6b6b6b;background:#f5f5f3;border-bottom:1px solid #e5e5e5;padding:1rem 1.25rem;font-size:.75rem;font-weight:600}.calls-table td{color:#6b6b6b;border-bottom:1px solid #f0f0ee;padding:1rem 1.25rem;font-size:.9rem}.calls-table tbody tr{cursor:pointer;transition:background .15s}.calls-table tbody tr:hover{background:#f5f5f3}.calls-table tbody tr:last-child td{border-bottom:none}.call-title{color:#1a1a1a;text-overflow:ellipsis;white-space:nowrap;max-width:300px;font-weight:500;overflow:hidden}.call-date{color:#6b6b6b;white-space:nowrap}.call-duration{color:#6b6b6b;font-family:SF Mono,Monaco,monospace}.source-badge{color:#6b6b6b;text-transform:capitalize;background:#f0f0ee;border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:500}.status-badge{white-space:nowrap;border-radius:20px;padding:.35rem .65rem;font-size:.75rem;font-weight:500;display:inline-block}.status-pending{color:#92400e;background:#fef3c7}.status-processing{color:#1e40af;background:#dbeafe}.status-completed{color:#065f46;background:#d1fae5}.status-failed{color:#991b1b;background:#fee2e2}.call-action{text-align:right;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.call-action .arrow{color:#9a9a9a;font-size:1.25rem;transition:color .15s}.calls-table tbody tr:hover .arrow{color:#9b111e}.delete-row-btn{cursor:pointer;opacity:0;background:0 0;border:none;border-radius:6px;padding:.25rem .4rem;font-size:1rem;transition:all .15s}.calls-table tbody tr:hover .delete-row-btn{opacity:1}.delete-row-btn:hover:not(:disabled){background:#fee2e2}.delete-row-btn:disabled{opacity:.5;cursor:not-allowed}.empty-state{text-align:center;padding:4rem 2rem}.empty-icon{margin-bottom:1rem;font-size:3rem;display:block}.empty-state h3{color:#1a1a1a;margin:0 0 .5rem;font-size:1.1rem;font-weight:600}.empty-state p{color:#6b6b6b;margin:0}@media (max-width:768px){.filters-bar{flex-direction:column;align-items:stretch}.filter-tabs{flex-wrap:nowrap;overflow-x:auto}.calls-table th:nth-child(3),.calls-table td:nth-child(3),.calls-table th:nth-child(4),.calls-table td:nth-child(4){display:none}}.highlight-section-home{background:#fff;border-left:4px solid #ef4444;border-radius:10px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 1px 3px #0000000d}.highlight-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.highlight-header h2{color:#1a1a1a;margin:0;font-size:1.1rem;font-weight:600}.highlight-meta{color:#9a9a9a;font-size:.8rem}.highlight-card-home{cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;gap:1.5rem;padding:1rem;transition:all .15s;display:flex}.highlight-card-home:hover{background:#fee2e2;border-color:#fca5a5}.highlight-left{border-right:1px solid #fecaca;flex-direction:column;flex-shrink:0;align-items:center;gap:.75rem;padding-right:1.5rem;display:flex}.highlight-time-range{align-items:center;gap:.4rem;display:flex}.time-badge-home{color:#fff;font-variant-numeric:tabular-nums;background:#ef4444;border-radius:6px;padding:.25rem .6rem;font-size:.85rem;font-weight:600}.time-separator{color:#9a9a9a;font-size:.75rem}.highlight-play-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#ef4444;border:none;border-radius:6px;padding:.4rem 1rem;font-size:.8rem;font-weight:500;transition:background .15s}.highlight-play-btn:hover{background:#dc2626}.highlight-right{flex:1;min-width:0}.highlight-call-title{color:#9a9a9a;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:500}.highlight-reason{color:#1a1a1a;margin:.35rem 0 .5rem;font-size:.95rem;font-weight:500;line-height:1.4}.highlight-evidence{color:#6b6b6b;border-left:2px solid #fca5a5;margin:0 0 .5rem;padding-left:.75rem;font-size:.8rem;font-style:italic;line-height:1.5}.highlight-issues{flex-wrap:wrap;gap:.4rem;margin-top:.5rem;display:flex}.issue-tag-home{color:#be123c;text-transform:lowercase;background:#fff1f2;border:1px solid #fecdd3;border-radius:4px;padding:.15rem .5rem;font-size:.7rem;font-weight:500}@media (max-width:768px){.highlight-card-home{flex-direction:column}.highlight-left{border-bottom:1px solid #f0f0ee;border-right:none;flex-direction:row;align-items:center;gap:1rem;padding-bottom:1rem;padding-right:0}}.stats-tabs{gap:.25rem;margin-top:.5rem;display:flex}.stats-tab{color:#6b6b6b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.35rem .75rem;font-size:.85rem;font-weight:500;transition:all .15s}.stats-tab:hover{color:#1a1a1a}.stats-tab.active{color:#1a1a1a;background:#f0f0ee;font-weight:600}.stats-loading-full,.stats-error-full,.stats-empty-full{color:#6b6b6b;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:400px;display:flex}.stats-loading-full .loading-spinner{border:3px solid #e5e5e5;border-top-color:#9b111e;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}.stats-error-full .error-icon{font-size:2rem}.stats-error-full p{margin:0;font-size:.95rem}.btn-retry{color:#fff;cursor:pointer;background:#9b111e;border:none;border-radius:8px;padding:.5rem 1.25rem;font-weight:500}.btn-retry:hover{background:#7f0e18}.stats-empty-full .empty-icon{font-size:3rem}.stats-empty-full h2{color:#1a1a1a;margin:0}.stats-empty-full p{margin:0}.stats-page-header{justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;display:flex}.stats-subtitle{color:#6b6b6b;margin:.25rem 0 0;font-size:.875rem}.stats-period-selector{background:#f0f0ee;border-radius:8px;gap:2px;padding:3px;display:flex}.period-btn{color:#6b6b6b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.4rem .9rem;font-size:.8rem;font-weight:500;transition:all .15s}.period-btn:hover{color:#1a1a1a}.period-btn.active{color:#1a1a1a;background:#fff;box-shadow:0 1px 3px #00000014}.kpi-row{grid-template-columns:repeat(6,1fr);gap:.75rem;margin-bottom:1.5rem;display:grid}.kpi-card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);align-items:flex-start;gap:.75rem;padding:1rem;transition:box-shadow .15s;display:flex}.kpi-card:hover{box-shadow:var(--shadow-md)}.kpi-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:1.15rem;display:flex}.kpi-body{flex-direction:column;min-width:0;display:flex}.kpi-body .kpi-value{color:#1a1a1a;font-size:1.35rem;font-weight:700;line-height:1.2}.kpi-body .kpi-label{color:#6b6b6b;margin-top:2px;font-size:.72rem;font-weight:500}.kpi-body .kpi-sub{color:#9a9a9a;margin-top:2px;font-size:.68rem}.charts-row{grid-template-columns:1fr 340px;gap:1rem;margin-bottom:1rem;display:grid}.bottom-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.chart-card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);box-shadow:var(--shadow-md);min-height:0;padding:1.25rem}.chart-card-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.chart-card-header h3{color:#1a1a1a;margin:0;font-size:.9rem;font-weight:600}.badge{color:#6b6b6b;background:#f0f0ee;border-radius:20px;padding:3px 8px;font-size:.7rem;font-weight:500}.chart-legend{gap:.75rem;display:flex}.legend-item{color:#6b6b6b;align-items:center;gap:4px;font-size:.72rem;display:flex}.legend-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.trends-svg{width:100%;max-height:220px}.chart-placeholder{color:#9a9a9a;text-align:center;padding:2rem 1rem;font-size:.85rem}.donut-container{flex-direction:column;align-items:center;gap:1rem;display:flex}.donut-svg{width:160px;height:160px}.donut-legend{flex-direction:column;gap:6px;width:100%;display:flex}.donut-legend-item{align-items:center;gap:8px;font-size:.78rem;display:flex}.donut-legend-dot{border-radius:3px;flex-shrink:0;width:10px;height:10px}.donut-legend-label{color:#6b6b6b;flex:1}.donut-legend-value{color:#1a1a1a;font-weight:600}.issues-table{flex-direction:column;gap:8px;display:flex}.issue-row{align-items:center;gap:10px;display:flex}.issue-rank{color:#6b6b6b;background:#f0f0ee;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:.7rem;font-weight:600;display:flex}.issue-info{flex:1;min-width:0}.issue-name{color:#1a1a1a;white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px;font-size:.8rem;display:block;overflow:hidden}.issue-bar-track{background:#f0f0ee;border-radius:3px;height:6px;overflow:hidden}.issue-bar-fill{border-radius:3px;height:100%;transition:width .6s}.issue-count{color:#6b6b6b;text-align:right;min-width:28px;font-size:.78rem;font-weight:600}.dist-section{margin-bottom:1.25rem}.dist-section:last-child{margin-bottom:0}.dist-section h4{color:#6b6b6b;margin:0 0 .5rem;font-size:.78rem;font-weight:600}.dist-bars{flex-direction:column;gap:6px;display:flex}.dist-bar-row{align-items:center;gap:8px;display:flex}.dist-label{color:#6b6b6b;text-align:right;min-width:80px;font-size:.75rem}.dist-bar-track{background:#f0f0ee;border-radius:4px;flex:1;height:8px;overflow:hidden}.dist-bar-fill{opacity:.8;border-radius:4px;height:100%;transition:width .6s}.dist-count{color:#6b6b6b;text-align:right;min-width:20px;font-size:.75rem;font-weight:600}.detail-metrics{flex-direction:column;gap:8px;display:flex}.detail-metric{background:#f5f5f3;border-radius:8px;justify-content:space-between;align-items:center;padding:6px 10px;display:flex}.dm-label{color:#6b6b6b;font-size:.78rem}.dm-right{align-items:center;gap:8px;display:flex}.dm-value{color:#1a1a1a;font-size:.82rem;font-weight:600}.dm-dot{border-radius:50%;width:8px;height:8px}.dm-good{background:#10b981}.dm-ok{background:#0ea5e9}.dm-warning{background:#f59e0b}.dm-bad{background:#ef4444}.dimensions-grid{flex-direction:column;gap:.75rem;display:flex}.dimension-row{align-items:center;gap:.75rem;display:flex}.dim-label{color:#6b6b6b;min-width:100px;font-size:.82rem;font-weight:500}.dim-bar-track{background:#f0f0ee;border-radius:4px;flex:1;height:8px;overflow:hidden}.dim-bar-fill{border-radius:4px;height:100%;transition:width .6s}.dim-value{color:#1a1a1a;text-align:right;min-width:28px;font-size:.82rem;font-weight:600}.members-table{overflow-x:auto}.members-table-header,.members-table-row{grid-template-columns:1.5fr repeat(7,1fr);align-items:center;gap:.5rem;padding:.6rem .75rem;display:grid}.members-table-header{color:#6b6b6b;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e5e5e5;font-size:.72rem;font-weight:600}.members-table-row{cursor:pointer;border-bottom:1px solid #f0f0ee;font-size:.82rem;transition:background .15s}.members-table-row:hover{background:#f5f5f3}.col-name{color:#1a1a1a;white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.col-num{text-align:center;color:#4a4a4a}.score-badge{border-radius:12px;padding:2px 8px;font-size:.78rem;font-weight:600;display:inline-block}.score-badge.score-good{color:#166534;background:#dcfce7}.score-badge.score-ok{color:#854d0e;background:#fef9c3}.score-badge.score-bad{color:#991b1b;background:#fee2e2}.delta-badge{border-radius:10px;padding:2px 6px;font-size:.75rem;font-weight:600;display:inline-block}.delta-badge.positive{color:#16a34a;background:#dcfce7}.delta-badge.negative{color:#dc2626;background:#fee2e2}.delta-badge.neutral{color:#6b6b6b}.tags-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.tag-category-card{background:#fff;border:1px solid #e5e5e5;border-left:4px solid #ccc;border-radius:10px;padding:1.25rem}.tag-category-card.category-mistake{border-left-color:#ef4444}.tag-category-card.category-objection{border-left-color:#f59e0b}.tag-category-card.category-technique{border-left-color:#6366f1}.tag-category-card.category-strength{border-left-color:#22c55e}.tag-category-card.category-observation{border-left-color:#8b5cf6}.tag-category-card.category-pain{border-left-color:#d4572f}.tag-category-card.category-feature_request{border-left-color:#0891b2}.tag-category-card.category-buying_signal{border-left-color:#06b6d4}.tag-category-card.category-red_flag{border-left-color:#c2410c}.tag-category-card.category-competitor_mention{border-left-color:#1e40af}.tag-category-card.category-discovery{border-left-color:#7c3aed}.tag-category-card.category-rapport{border-left-color:#ec4899}.tag-category-card h3{margin:0 0 .75rem;font-size:.95rem;font-weight:600}.tag-list{flex-direction:column;gap:.35rem;display:flex}.tag-item{cursor:pointer;text-align:left;background:#f5f5f3;border:1px solid #0000;border-radius:6px;justify-content:space-between;align-items:center;padding:.5rem .75rem;font-size:.85rem;transition:all .15s;display:flex}.tag-item:hover{background:#ededeb;border-color:#e5e5e5}.tag-item.selected{background:#eef2ff;border-color:#6366f1}.tag-label{font-weight:500}.tag-count{color:#9a9a9a;white-space:nowrap;margin-left:.5rem;font-size:.8rem}.tag-detail-panel{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:1.25rem}.tag-detail-header{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.tag-detail-header h3{margin:0;font-size:1.1rem;font-weight:600}.tag-badge{border-radius:4px;padding:.15rem .5rem;font-size:.75rem;font-weight:600}.tag-badge.category-mistake{color:#dc2626;background:#fef2f2}.tag-badge.category-objection{color:#d97706;background:#fffbeb}.tag-badge.category-technique{color:#4f46e5;background:#eef2ff}.tag-badge.category-strength{color:#16a34a;background:#f0fdf4}.tag-badge.category-observation{color:#7c3aed;background:#f5f3ff}.tag-badge.category-pain{color:#c2410c;background:#fff1ec}.tag-badge.category-feature_request{color:#0891b2;background:#ecfeff}.tag-badge.category-buying_signal{color:#0e7490;background:#cffafe}.tag-badge.category-red_flag{color:#9a3412;background:#fff1ec}.tag-badge.category-competitor_mention{color:#1e40af;background:#eff6ff}.tag-badge.category-discovery{color:#6d28d9;background:#f5f3ff}.tag-badge.category-rapport{color:#be185d;background:#fdf2f8}.tag-call-interaction{background:#fafaf8;border-left:2px solid #e5e5e5;border-radius:6px;margin-top:.5rem;padding:.6rem .75rem}.tag-call-quote{color:#1a1a1a;margin:0 0 .35rem;font-size:.85rem;font-style:italic}.tag-call-response,.tag-call-ideal{color:#4a4a4a;margin:.25rem 0 0;font-size:.82rem}.tag-call-response strong,.tag-call-ideal strong{color:#1a1a1a;font-weight:600}.response-quality{text-transform:uppercase;letter-spacing:.03em;border-radius:3px;margin-left:.5rem;padding:.1rem .45rem;font-size:.72rem;font-weight:600;display:inline-block}.response-quality.quality-excellent{color:#16a34a;background:#f0fdf4}.response-quality.quality-good{color:#059669;background:#ecfdf5}.response-quality.quality-average{color:#b45309;background:#fef3c7}.response-quality.quality-poor{color:#dc2626;background:#fef2f2}.response-quality.quality-missed{color:#7f1d1d;background:#fef2f2}.tag-call-count{color:#9a9a9a;margin-left:auto;font-size:.85rem}.close-btn{cursor:pointer;color:#9a9a9a;background:0 0;border:none;padding:.25rem;font-size:1.1rem}.tag-detail-loading{justify-content:center;padding:2rem;display:flex}.tag-detail-empty{text-align:center;color:#9a9a9a;padding:2rem}.tag-calls-list{flex-direction:column;gap:.5rem;max-height:400px;display:flex;overflow-y:auto}.tag-call-row{cursor:pointer;background:#f5f5f3;border-radius:8px;padding:.75rem;transition:background .15s}.tag-call-row:hover{background:#ededeb}.tag-call-info{flex-direction:column;gap:.15rem;display:flex}.tag-call-title{color:#1a1a1a;font-size:.85rem;font-weight:500}.tag-call-meta{color:#6b6b6b;font-size:.78rem}.tag-call-evidence{color:#6b6b6b;margin:.35rem 0 0;font-size:.8rem;font-style:italic;line-height:1.4}@media (max-width:1024px){.tags-grid{grid-template-columns:1fr}}@media (max-width:1200px){.kpi-row{grid-template-columns:repeat(3,1fr)}}@media (max-width:1024px){.charts-row,.bottom-row{grid-template-columns:1fr}}@media (max-width:768px){.kpi-row{grid-template-columns:repeat(2,1fr)}.stats-page-header{flex-direction:column;gap:1rem}}@media (max-width:480px){.kpi-row{grid-template-columns:1fr}}.settings-page-header{justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;display:flex}.settings-tabs{gap:.25rem;margin-top:.5rem;display:flex}.settings-tab{color:#6b6b6b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.35rem .75rem;font-size:.85rem;font-weight:500;transition:all .15s}.settings-tab:hover{color:#1a1a1a}.settings-tab.active{color:#1a1a1a;background:#f0f0ee;font-weight:600}.panel-toolbar{justify-content:flex-end;margin-bottom:1rem;display:flex}.page-header .header-content{flex:1}.page-header .btn-primary{align-self:flex-start;margin-top:1rem}.btn-back{color:#6b6b6b;cursor:pointer;background:0 0;border:1px solid #e5e5e5;border-radius:8px;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.5rem 1rem;font-size:.85rem;transition:all .15s;display:inline-flex}.btn-back:hover{color:#6b6b6b;background:#f5f5f3}.form-group{margin-bottom:1.25rem}.form-group label{color:#6b6b6b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem;font-size:.8rem;font-weight:600;display:block}.form-group input,.form-group select,.form-group textarea{color:#1a1a1a;border:1px solid #e5e5e5;border-radius:8px;width:100%;padding:.75rem 1rem;font-size:.95rem;transition:border-color .15s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#9b111e;outline:none}.edit-row{align-items:center;gap:.5rem;display:flex}.edit-row input{flex:1}.value-row{align-items:center;gap:1rem;display:flex}.value-row .value{color:#1a1a1a;font-size:1rem}.value-row .value.mono{color:#6b6b6b;font-family:SF Mono,Monaco,monospace}.btn-edit{color:#6b6b6b;cursor:pointer;background:#f0f0ee;border:none;border-radius:6px;padding:.35rem .75rem;font-size:.8rem;transition:background .15s}.btn-edit:hover{background:#e5e5e5}.btn-save{color:#fff;cursor:pointer;background:#10b981;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.85rem;font-weight:500}.btn-cancel{color:#6b6b6b;cursor:pointer;background:#f0f0ee;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.85rem;font-weight:500}.btn-primary{background:var(--color-primary);border-radius:var(--radius-md);color:#fff;cursor:pointer;border:none;padding:.75rem 1.5rem;font-size:.9rem;font-weight:500;transition:background .15s}.btn-primary:hover{background:var(--color-primary-hover)}.btn-secondary{background:var(--color-bg-soft);border-radius:var(--radius-md);color:var(--color-text-muted);cursor:pointer;border:none;padding:.75rem 1.5rem;font-size:.9rem;font-weight:500}.btn-secondary:hover{background:var(--color-border)}.danger-zone{background:#fef2f2;border:1px solid #fecaca}.danger-zone h2{color:#dc2626}.danger-warning{color:#991b1b;margin-bottom:1rem;font-size:.9rem}.btn-danger{color:#fff;cursor:pointer;opacity:.7;background:#dc2626;border:none;border-radius:8px;padding:.75rem 1.5rem;font-size:.9rem;font-weight:500}.btn-danger:disabled{cursor:not-allowed}.members-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;display:grid}.member-card{background:#f5f5f3;border:1px solid #e5e5e5;border-radius:10px;align-items:center;gap:1rem;padding:1.25rem;transition:all .15s;display:flex}.member-card:hover{border-color:#e5e5e5}.member-card.current{background:#fef2f2;border-color:#f5c6cb}.member-avatar{color:#fff;background:#9b111e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.1rem;font-weight:600;display:flex}.member-info{flex:1;min-width:0}.member-info h3{color:#1a1a1a;align-items:center;gap:.5rem;margin:0 0 .15rem;font-size:.95rem;font-weight:600;display:flex}.member-info p{color:#6b6b6b;white-space:nowrap;text-overflow:ellipsis;margin:0 0 .5rem;font-size:.8rem;overflow:hidden}.you-badge{color:#fff;background:#9b111e;border-radius:4px;padding:.15rem .4rem;font-size:.65rem;font-weight:500}.role-badge{color:#fff;border-radius:4px;padding:.25rem .5rem;font-size:.7rem;font-weight:500;display:inline-block}.member-actions{gap:.25rem;display:flex}.btn-icon{cursor:pointer;background:#fff;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:.9rem;transition:all .15s;display:flex}.btn-icon:hover{background:#e5e5e5}.btn-icon.danger:hover{background:#fee2e2}.stats-row{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem;display:grid}.stat-card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);text-align:center;box-shadow:var(--shadow-md);padding:1.25rem}.stat-card .stat-value{color:#1a1a1a;margin-bottom:.25rem;font-size:1.75rem;font-weight:700;display:block}.stat-card .stat-label{color:#6b6b6b;font-size:.8rem}.calls-list{flex-direction:column;gap:.5rem;display:flex}.call-item{cursor:pointer;background:#f5f5f3;border-radius:8px;justify-content:space-between;align-items:center;padding:1rem;transition:background .15s;display:flex}.call-item:hover{background:#f0f0ee}.call-item .call-info{flex-direction:column;gap:.25rem;display:flex}.call-item .call-title{color:#1a1a1a;font-weight:500}.call-item .call-date{color:#6b6b6b;font-size:.8rem}.modal-overlay{z-index:200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:10px;width:90%;max-width:450px;max-height:90vh;padding:2rem;position:relative;overflow-y:auto}.modal-content.modal-small{max-width:350px}.modal-close{color:#6b6b6b;cursor:pointer;background:0 0;border:none;font-size:1.5rem;position:absolute;top:1rem;right:1rem}.modal-content h2{color:#1a1a1a;margin:0 0 1.5rem;font-size:1.25rem;font-weight:600}.modal-actions{justify-content:flex-end;gap:.75rem;margin-top:1.5rem;display:flex}.role-options{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}.role-option{cursor:pointer;background:#fff;border:1px solid #e5e5e5;border-radius:8px;align-items:center;gap:.75rem;padding:.75rem 1rem;transition:all .15s;display:flex}.role-option:hover{background:#f5f5f3;border-color:#e5e5e5}.role-option.active{background:#fef2f2;border-color:#9b111e}.role-icon{font-size:1.25rem}.role-label{color:#1a1a1a;font-weight:500}.loading-state{text-align:center;padding:4rem 2rem}.empty-state{text-align:center;color:#6b6b6b;padding:2rem}@media (max-width:768px){.stats-row{grid-template-columns:repeat(2,1fr)}.members-grid{grid-template-columns:1fr}.member-actions{flex-direction:column}}.integrations-page .integrations-section{margin-bottom:32px}.integrations-page .section-header{margin-bottom:16px}.integrations-page .section-header h2{color:var(--text-primary,#1a1a1a);margin:0 0 4px;font-size:18px;font-weight:600}.integrations-page .section-header p{color:var(--text-secondary,#6b6b6b);margin:0;font-size:14px}.integrations-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.int-card{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e5e5e5);border-radius:8px;flex-direction:column;gap:12px;padding:16px;transition:border-color .15s,box-shadow .15s;display:flex}.int-card:hover{border-color:#ccc}.int-card--connected{border-color:#a7f3d0}.int-card--connected:hover{border-color:#6ee7b7}.int-card--loading{justify-content:center;align-items:center;min-height:100px}.int-card__header{align-items:center;gap:10px;display:flex}.int-card__icon{flex-shrink:0;font-size:24px;line-height:1}.int-card__title{flex:1;min-width:0}.int-card__title h3{color:var(--text-primary,#1a1a1a);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:15px;font-weight:600;overflow:hidden}.int-card__company{color:var(--text-secondary,#6b6b6b);white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.int-card__badge{letter-spacing:.02em;border-radius:10px;flex-shrink:0;padding:3px 8px;font-size:11px;font-weight:600}.int-card__badge--ok{color:#065f46;background:#d1fae5}.int-card__badge--off{color:#6b6b6b;background:#f0f0ee}.int-card__link{color:#9b111e;font-size:12px;text-decoration:none;transition:color .12s;display:inline-block}.int-card__link:hover{color:#7d0e18;text-decoration:underline}.int-card__error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;justify-content:space-between;align-items:center;padding:8px 10px;font-size:12px;line-height:1.4;display:flex}.int-card__error button{cursor:pointer;color:#dc2626;background:0 0;border:none;flex-shrink:0;padding:0 0 0 8px;font-size:16px}.int-card__body{flex-direction:column;gap:8px;display:flex}.int-card__actions{flex-wrap:wrap;gap:8px;display:flex}.int-card__result{border-radius:6px;padding:6px 10px;font-size:12px}.int-card__result--ok{color:#065f46;background:#d1fae5}.int-card__result--err{color:#dc2626;background:#fef2f2}.int-card__meta{color:var(--text-secondary,#6b6b6b);margin:0;font-size:12px}.int-card__meta--err{color:#dc2626}.int-card__form{flex-direction:column;gap:8px;display:flex}.int-card__form input{box-sizing:border-box;border:1px solid #e5e5e5;border-radius:6px;width:100%;padding:8px 10px;font-size:13px}.int-card__form input:focus{border-color:#9b111e;outline:none;box-shadow:0 0 0 2px #9b111e1a}.int-card__help{color:var(--text-secondary,#6b6b6b);margin:0;font-size:12px;line-height:1.4}.int-card__help a{color:#9b111e}.int-card__form-actions{justify-content:flex-end;gap:8px;display:flex}.btn-sm{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;padding:6px 12px;font-size:13px;font-weight:500;transition:all .12s}.btn-sm:disabled{opacity:.5;cursor:not-allowed}.btn-sm--primary{color:#fff;background:#9b111e}.btn-sm--primary:hover:not(:disabled){background:#7d0e18}.btn-sm--connect{color:#fff;background:#00b388}.btn-sm--connect:hover:not(:disabled){background:#009970}.btn-sm--ghost{border:1px solid var(--border-color,#e5e5e5);color:var(--text-secondary,#6b6b6b);background:0 0}.btn-sm--ghost:hover:not(:disabled){color:var(--text-primary,#1a1a1a);background:#f0f0ee}.loading-spinner{border:3px solid #e5e5e5;border-top-color:#9b111e;border-radius:50%;width:24px;height:24px;animation:.6s linear infinite spin}.agent-page{flex-direction:column;height:calc(100vh - 2rem);padding-bottom:0;display:flex}.agent-header{flex-shrink:0;margin-bottom:.75rem}.agent-chat{flex:1;min-height:0;padding-bottom:1rem;overflow-y:auto}.agent-empty{text-align:center;color:#6b6b6b;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:400px;display:flex}.agent-empty-icon{color:#9b111e;background:#f0f0ee;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.5rem;font-weight:600;display:flex}.agent-empty p{max-width:500px;font-size:.9rem;line-height:1.5}.agent-suggestions{flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:700px;margin-top:.5rem;display:flex}.agent-suggestion{color:#3a3a3a;cursor:pointer;text-align:left;background:#fff;border:1px solid #e0e0de;border-radius:8px;padding:.5rem .85rem;font-size:.8rem;line-height:1.4;transition:all .15s}.agent-suggestion:hover{color:#9b111e;background:#fdf6f6;border-color:#9b111e}.agent-messages{flex-direction:column;gap:1rem;display:flex}.agent-msg{gap:.75rem;max-width:100%;display:flex}.agent-msg-user{justify-content:flex-end}.agent-msg-user .agent-msg-body{color:#fff;background:#1a1a1a;border-radius:16px 16px 4px;max-width:75%;padding:.65rem 1rem;font-size:.88rem;line-height:1.5}.agent-msg-avatar{color:#fff;background:#9b111e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:2px;font-size:.75rem;font-weight:700;display:flex}.agent-msg-assistant .agent-msg-body{color:#1a1a1a;background:#fff;border:1px solid #e8e8e6;border-radius:16px 16px 16px 4px;max-width:85%;padding:.85rem 1rem;font-size:.88rem;line-height:1.6}.agent-msg-content h3{color:#1a1a1a;margin:.75rem 0 .35rem;font-size:1rem;font-weight:700}.agent-msg-content h3:first-child{margin-top:0}.agent-msg-content h4{margin:.6rem 0 .25rem;font-size:.9rem;font-weight:600}.agent-msg-content strong{color:#1a1a1a;font-weight:600}.agent-msg-content ul{margin:.35rem 0;padding-left:1.25rem}.agent-msg-content li{margin-bottom:.2rem}.agent-msg-content code{background:#f0f0ee;border-radius:4px;padding:.1rem .35rem;font-family:SF Mono,Monaco,monospace;font-size:.82rem}.agent-msg-content pre{color:#e0e0de;background:#1a1a1a;border-radius:8px;margin:.5rem 0;padding:.75rem 1rem;font-size:.78rem;line-height:1.5;overflow-x:auto}.agent-msg-content pre code{color:inherit;background:0 0;padding:0}.agent-msg-content hr{border:none;border-top:1px solid #e0e0de;margin:.75rem 0}.agent-msg-content .agent-table,.agent-history-answer-bubble .agent-table{border-collapse:collapse;width:100%;margin:.5rem 0;font-size:.82rem}.agent-table th{text-align:left;text-transform:uppercase;letter-spacing:.03em;color:#6b6b6b;white-space:nowrap;border-bottom:2px solid #e0e0de;padding:.4rem .6rem;font-size:.72rem;font-weight:600}.agent-table td{color:#1a1a1a;border-bottom:1px solid #f0f0ee;padding:.4rem .6rem}.agent-table tbody tr:hover{background:#fafaf8}.agent-msg-loading{gap:4px;padding:.25rem 0;display:flex}.agent-msg-loading .dot{background:#bbbbb9;border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite agentDotPulse}.agent-msg-loading .dot:nth-child(2){animation-delay:.15s}.agent-msg-loading .dot:nth-child(3){animation-delay:.3s}@keyframes agentDotPulse{0%,60%,to{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}.agent-msg-meta{border-top:1px solid #f0f0ee;align-items:center;gap:.75rem;margin-top:.5rem;padding-top:.5rem;display:flex}.agent-sql-toggle{color:#9b111e;cursor:pointer;background:0 0;border:none;padding:0;font-size:.75rem;font-weight:500}.agent-sql-toggle:hover{text-decoration:underline}.agent-row-count{color:#9b9b99;font-size:.72rem}.agent-sql-block{color:#d4d4d2;background:#1a1a1a;border-radius:6px;margin-top:.4rem;padding:.6rem .85rem;font-family:SF Mono,Monaco,monospace;font-size:.75rem;line-height:1.5;overflow-x:auto}.agent-sql-block code{color:inherit;background:0 0;padding:0}.agent-input-container{background:#f5f5f3;border-top:1px solid #e8e8e6;flex-shrink:0;padding-top:.75rem}.agent-input-wrapper{background:#fff;border:1px solid #e0e0de;border-radius:12px;align-items:flex-end;gap:.5rem;padding:.5rem .5rem .5rem .85rem;transition:border-color .15s;display:flex}.agent-input-wrapper:focus-within{border-color:#9b111e}.agent-input{resize:none;color:#1a1a1a;background:0 0;border:none;outline:none;flex:1;max-height:150px;font-family:inherit;font-size:.88rem;line-height:1.5}.agent-input::placeholder{color:#bbbbb9}.agent-send{color:#fff;cursor:pointer;background:#1a1a1a;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:1.1rem;font-weight:600;transition:background .15s;display:flex}.agent-send:hover:not(:disabled){background:#9b111e}.agent-send:disabled{opacity:.3;cursor:not-allowed}.agent-input-hint{color:#bbbbb9;text-align:center;margin-top:.4rem;margin-bottom:.25rem;font-size:.7rem}.agent-history{flex:1;padding-top:.5rem;overflow-y:auto}.agent-history-loading,.agent-history-empty{text-align:center;color:#6b6b6b;padding:2rem 0;font-size:.85rem}.agent-history-list{flex-direction:column;gap:.25rem;display:flex}.agent-history-item{text-align:left;cursor:pointer;background:#fff;border:1px solid #e8e8e6;border-radius:8px;flex-direction:column;gap:.15rem;width:100%;padding:.65rem .85rem;transition:all .12s;display:flex}.agent-history-item:hover{background:#fdf6f6;border-color:#9b111e}.agent-history-item-question{color:#1a1a1a;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:500;overflow:hidden}.agent-history-item-meta{color:#9b9b99;font-size:.7rem}.agent-new-conv-btn{color:#6b6b6b;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #e0e0de;border-radius:6px;margin-left:auto;padding:.25rem .65rem;font-size:.72rem;font-weight:600;transition:all .12s}.agent-new-conv-btn:hover{color:#9b111e;border-color:#9b111e}.agent-msg-loading-container{flex-direction:column;gap:.5rem;display:flex}.agent-steps{flex-direction:column;gap:.25rem;margin-top:.25rem;display:flex}.agent-step{color:#6b6b6b;align-items:center;gap:.4rem;font-size:.75rem;line-height:1.4;display:flex}.agent-step-icon{text-align:center;flex-shrink:0;width:14px;font-size:.7rem}.agent-step-running .agent-step-icon{color:#9b111e;animation:1s linear infinite agentStepSpin}.agent-step-done .agent-step-icon{color:#1b7a3d}.agent-step-error .agent-step-icon{color:#9b111e}.agent-step-label{color:#3a3a3a;font-weight:500}.agent-step-duration{color:#9b9b99;font-size:.68rem}@keyframes agentStepSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.app-loading{background:#1a1a1a;justify-content:center;align-items:center;min-height:100vh;display:flex}.loading-content{text-align:center;color:#fff}.loading-logo{object-fit:contain;width:72px;height:72px;margin-bottom:.75rem}.loading-content h1{margin-bottom:1.5rem;font-size:2.5rem}.loading-spinner{border:4px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:40px;height:40px;margin:0 auto;animation:1s linear infinite spin}.loading-screen{background:#f5f5f3;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.loading-screen .loading-spinner{border-color:#9b111e #e5e5e5 #e5e5e5}.loading-screen p{color:#6b6b6b;margin-top:1rem}.access-denied{text-align:center;background:#f5f5f3;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.access-denied h1{color:#1a1a1a;margin-bottom:1rem;font-size:2rem}.access-denied p{color:#6b6b6b}
