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