:root{--background: #ffffff;--foreground: #1a1a1a;--card: #ffffff;--muted: #f1efe8;--muted-foreground: #647085;--border: #e5e0d8;--input: #e5e0d8;--primary: #185fa5;--primary-foreground: #ffffff;--accent: #1d9e75;--sidebar: #0c447c;--sidebar-muted: #b8d2ec;--sidebar-accent: #195a94;--destructive: #d4212a;--shadow: 0 18px 50px rgb(23 32 51 / 10%);color:var(--foreground);background:var(--background);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-feature-settings:"rlig" 1,"calt" 1}:root.dark{--background: #111621;--foreground: #edf2f7;--card: #171d2a;--muted: #202838;--muted-foreground: #a8b4c5;--border: #30394a;--input: #30394a;--primary: #5aa6ee;--primary-foreground: #111621;--accent: #29ba8e;--sidebar: #0a335d;--sidebar-muted: #afc9e5;--sidebar-accent: #0e477b;--destructive: #f0525b;--shadow: 0 18px 50px rgb(0 0 0 / 30%)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{margin:0;background:var(--background);overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}h1,h2,p{margin:0}.auth-screen,.screen{height:100%;min-height:100vh;display:grid;place-items:center;overflow:auto;padding:24px;background:var(--muted)}.auth-panel{width:min(100%,380px);border:1px solid var(--border);border-radius:8px;background:var(--card);padding:28px;box-shadow:var(--shadow)}.auth-brand{display:flex;align-items:center;justify-content:center;color:var(--primary)}.auth-brand img,.sidebar-logo img{display:block;height:auto}.auth-copy{margin:28px 0 20px;text-align:center}.auth-copy h1{font-size:24px;line-height:1.2;letter-spacing:0}.auth-copy p,.muted{margin-top:8px;color:var(--muted-foreground);line-height:1.5}.small{font-size:12px;overflow-wrap:anywhere}.form{display:grid;gap:16px}.social-buttons{display:grid;gap:10px}.social-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--border);background:var(--card);color:var(--foreground)}.social-button svg{width:18px;height:18px;flex:0 0 auto}.auth-secondary-action{width:100%}.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0 16px;color:var(--muted-foreground);font-size:12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--border)}label{display:grid;gap:7px;color:var(--foreground);font-size:14px;font-weight:600}input,select{min-height:42px;border:1px solid var(--input);border-radius:6px;padding:0 12px;color:var(--foreground);background:var(--card)}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:2px}button{min-height:42px;border:0;border-radius:6px;background:var(--primary);color:var(--primary-foreground);font-weight:700}button:disabled{cursor:default;opacity:.65}.app-shell{height:100vh;display:grid;grid-template-columns:14.5rem 1fr;background:color-mix(in srgb,var(--muted) 40%,var(--background));transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{grid-template-columns:4.75rem 1fr}.app-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid rgb(255 255 255 / 10%);background:var(--sidebar);color:#fff}.sidebar-toggle{position:absolute;top:80px;right:-10px;z-index:2;width:20px;min-height:20px;display:grid;place-items:center;border:1px solid rgb(255 255 255 / 15%);border-radius:999px;background:var(--sidebar);color:var(--sidebar-muted);padding:0;box-shadow:0 1px 2px #0000002e}.sidebar-toggle:hover{background:var(--sidebar-accent);color:#fff}.sidebar-logo{min-height:68px;display:flex;align-items:center;justify-content:center;padding:18px 16px 4px}.sidebar-collapsed .sidebar-logo{padding:18px 12px 4px}.sidebar-nav{display:flex;flex:1;flex-direction:column;gap:4px;min-height:0;padding:8px 12px}.sidebar-admin-menu{padding:8px 12px}.sidebar-link{width:100%;min-height:40px;display:flex;align-items:center;gap:12px;border-radius:6px;padding:0 12px;color:var(--sidebar-muted);text-decoration:none;font-size:14px;transition:background .16s ease,color .16s ease}.sidebar-menu{position:relative;display:flex;flex-direction:column;gap:4px}.sidebar-menu:after{position:absolute;top:0;left:100%;width:18px;height:160px;content:""}.user-menu:after{position:absolute;right:-18px;bottom:0;width:18px;height:280px;content:""}.sidebar-menu-trigger{border:0;background:transparent;cursor:pointer;font:inherit;text-align:left}.sidebar-menu-chevron{margin-left:auto}.sidebar-flyout,.user-menu-panel{position:absolute;left:calc(100% - 2px);z-index:5;display:grid;min-width:176px;gap:2px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground);padding:8px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transform:translate(-4px);transition:opacity .12s ease,transform .12s ease}.sidebar-flyout{top:0}.sidebar-admin-menu .sidebar-flyout{top:auto;bottom:0}.sidebar-menu:hover .sidebar-flyout,.sidebar-menu:focus-within .sidebar-flyout,.user-menu:hover .user-menu-panel,.user-menu:focus-within .user-menu-panel{opacity:1;pointer-events:auto;transform:translate(0)}.sidebar-flyout-item{min-height:36px;display:flex;align-items:center;border-radius:6px;color:var(--foreground);padding:0 10px;text-decoration:none;font-size:14px;font-weight:500}.sidebar-flyout-item:hover,.sidebar-flyout-item.active{background:var(--muted)}.sidebar-flyout-item.disabled{cursor:not-allowed;color:var(--muted-foreground)}.sidebar-link.disabled{cursor:not-allowed;color:#b8d2ecb3}.sidebar-link:hover{background:#ffffff0d;color:#fff}.sidebar-link.disabled:hover{background:transparent;color:#b8d2ecb3}.sidebar-link.active{background:var(--sidebar-accent);color:#fff;font-weight:600}.sidebar-soon{margin-left:auto;border-radius:4px;background:#ffffff1a;padding:2px 6px;color:#ffffffd1;font-size:10px;font-weight:700;line-height:1;text-transform:uppercase}.sidebar-collapsed .sidebar-link{justify-content:center;padding:0 8px}.sidebar-collapsed .sidebar-admin-menu{padding:8px}.sidebar-collapsed .sidebar-link span,.sidebar-collapsed .user-menu-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sidebar-collapsed .sidebar-menu-chevron{display:none}.sidebar-version{padding:0 12px 10px;color:#b8d2ecb3;font-size:12px;text-align:center;overflow-wrap:anywhere}.sidebar-user{border-top:1px solid rgb(255 255 255 / 10%);padding:12px}.sidebar-collapsed .sidebar-user{padding:12px 8px}.user-menu{position:relative}.user-menu-trigger{width:100%;min-height:48px;display:flex;align-items:center;gap:12px;border-radius:6px;background:transparent;color:#fff;padding:8px;text-align:left}.user-menu-trigger:hover{background:#ffffff0d}.sidebar-collapsed .user-menu-trigger{justify-content:center;gap:0}.user-menu-copy{min-width:0;flex:1;display:grid;gap:2px}.user-menu-copy strong,.menu-label strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.user-menu-copy span{color:var(--sidebar-muted);font-size:12px;text-transform:capitalize}.avatar{width:32px;height:32px;display:grid;place-items:center;overflow:hidden;border-radius:999px;background:#ffffff26;color:#fff;font-size:12px;font-weight:700}.avatar img{width:100%;height:100%;object-fit:cover}.user-menu-panel{right:auto;bottom:0;width:248px}.menu-label{min-width:0;display:grid;gap:2px;padding:8px}.menu-label span{overflow:hidden;color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:12px}.menu-item,.theme-option{width:100%;min-height:36px;display:flex;align-items:center;gap:10px;border-radius:6px;background:transparent;color:var(--foreground);padding:0 8px;text-decoration:none;font-size:14px;font-weight:500}.menu-item:hover,.theme-option:hover,.theme-option.selected{background:var(--muted)}.menu-separator{height:1px;margin:4px -8px;background:var(--border)}.theme-menu{display:grid;gap:2px}.theme-menu>span{padding:4px 8px;color:var(--muted-foreground);font-size:12px;font-weight:700}.theme-option.selected{color:var(--primary)}.app-main{min-width:0;min-height:0;overflow-y:auto}.page-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);background:var(--background);padding:16px 32px}.page-header h1{color:var(--foreground);font-size:18px;font-weight:600;letter-spacing:0;line-height:1.3}.page-header .breadcrumbs{margin-bottom:0}.page-header .breadcrumbs ol{color:var(--foreground);font-size:18px;font-weight:600;line-height:1.3}.page-header .breadcrumbs li:not(:last-child):after{color:var(--muted-foreground)}.page-header p{margin-top:2px;color:var(--muted-foreground);font-size:14px}.page-header-action{flex:0 0 auto}.content{padding:32px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tile,.panel{border:1px solid var(--border);border-radius:8px;background:var(--card);box-shadow:0 1px 2px #1720330a}.tile{min-height:128px;display:grid;align-content:start;gap:8px;padding:18px}.tile p{color:var(--muted-foreground);font-size:13px;font-weight:700}.tile strong{color:var(--foreground);font-size:20px;overflow-wrap:anywhere}.tile span{color:var(--muted-foreground);font-size:13px;overflow-wrap:anywhere}.dashboard-content{display:grid;gap:20px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric-card{min-height:134px;display:grid;grid-template-columns:42px 1fr;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--card);padding:18px;box-shadow:0 1px 2px #1720330a}.metric-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:var(--muted);color:var(--primary)}.metric-card.success .metric-icon{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent)}.metric-card.warning .metric-icon{background:#fff4d8;color:#8a5d00}:root.dark .metric-card.warning .metric-icon{background:#8a5d003d;color:#ffd37a}.metric-card.neutral .metric-icon{background:color-mix(in srgb,#718096 16%,transparent);color:var(--muted-foreground)}.metric-card p{color:var(--muted-foreground);font-size:12px;font-weight:800;text-transform:uppercase}.metric-card strong{display:block;margin-top:8px;color:var(--foreground);font-size:28px;line-height:1}.metric-card div>span{display:block;margin-top:8px;color:var(--muted-foreground);font-size:13px;line-height:1.35}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:20px}.lower-layout{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr)}.split-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.chart-panel,.queue-panel,.funnel-panel,.agents-panel{overflow:hidden}.activity-chart{display:grid;gap:16px;padding:20px}.chart-bars{height:250px;display:grid;grid-template-columns:repeat(8,minmax(34px,1fr));align-items:end;gap:12px;border-bottom:1px solid var(--border);padding:10px 4px 0}.chart-column{min-width:0;display:grid;align-items:end;gap:8px;height:100%}.bar-stack{height:100%;display:flex;align-items:end;justify-content:center;gap:3px}.bar-segment{width:9px;min-height:8px;border-radius:999px 999px 2px 2px}.bar-segment.calls,.legend-dot.calls{background:var(--primary)}.bar-segment.connects,.legend-dot.connects{background:var(--accent)}.bar-segment.voicemail,.legend-dot.voicemail{background:#e2a422}.chart-column>span{color:var(--muted-foreground);font-size:12px;font-weight:700;text-align:center}.chart-legend{display:flex;flex-wrap:wrap;gap:14px;color:var(--muted-foreground);font-size:12px;font-weight:700}.chart-legend span{display:inline-flex;align-items:center;gap:6px}.legend-dot{width:8px;height:8px;border-radius:999px}.queue-list,.agent-list,.outcome-list{display:grid;gap:0}.queue-item,.agent-row{display:grid;align-items:center;gap:12px;border-bottom:1px solid var(--border);padding:16px 20px}.queue-item{grid-template-columns:40px minmax(0,1fr) auto}.queue-item:last-child,.agent-row:last-child{border-bottom:0}.queue-avatar,.agent-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:999px;background:color-mix(in srgb,var(--primary) 12%,var(--muted));color:var(--primary);font-size:12px;font-weight:800}.queue-item div,.agent-copy{min-width:0;display:grid;gap:3px}.queue-item strong,.agent-row strong{overflow:hidden;color:var(--foreground);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.queue-item span,.queue-item small,.agent-row span{overflow:hidden;color:var(--muted-foreground);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.queue-meta{justify-items:end}.outcome-list{padding:20px}.outcome-row{display:grid;gap:8px;padding:13px 0}.outcome-row:first-child{padding-top:0}.outcome-row:last-child{padding-bottom:0}.outcome-label{display:flex;justify-content:space-between;gap:16px;color:var(--muted-foreground);font-size:13px;font-weight:700}.outcome-label strong{color:var(--foreground)}.outcome-track,.score-track{height:10px;overflow:hidden;border-radius:999px;background:var(--muted)}.outcome-track span,.score-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),var(--accent))}.agent-row{grid-template-columns:40px minmax(0,1fr) minmax(120px,.7fr)}.agent-score{display:grid;gap:7px}.agent-score>span{text-align:right}.account-panel{max-width:576px}.account-content{display:grid;gap:20px}.settings-content{display:grid;grid-template-columns:110px minmax(0,880px);align-items:start;gap:24px}.settings-sidebar{position:sticky;top:24px;display:grid;gap:4px}.settings-sidebar-link{min-height:38px;display:flex;align-items:center;border-radius:6px;color:var(--muted-foreground);padding:0 12px;text-decoration:none;font-size:14px;font-weight:600}.settings-sidebar-link:hover,.settings-sidebar-link.active{background:var(--muted);color:var(--foreground)}.settings-section{min-width:0;display:grid;gap:12px}.breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;color:var(--muted-foreground);font-size:13px;font-weight:700;list-style:none}.breadcrumbs li{display:inline-flex;align-items:center;gap:8px}.breadcrumbs li:not(:last-child):after{content:">";color:var(--muted-foreground);font-weight:600}.breadcrumbs li[aria-current=page]{color:var(--foreground)}.panel-header{display:grid;gap:4px;border-bottom:1px solid var(--border);padding:20px}.panel-header h2{font-size:16px;font-weight:600;letter-spacing:0}.panel-header p{color:var(--muted-foreground);font-size:14px}.panel-header.split-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.account-form{padding:20px}.audio-panel{max-width:880px}.audio-form{display:grid;gap:18px;padding:20px}.audio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.range-row{gap:10px}.range-row>span{display:flex;align-items:center;justify-content:space-between;gap:12px}.range-row strong{color:var(--muted-foreground);font-size:13px}.range-row input{min-height:24px;padding:0;accent-color:var(--primary)}.audio-actions{display:flex;flex-wrap:wrap;gap:10px}.audio-notes{display:grid;gap:6px}.integrations-content{display:grid}.integrations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.integration-card{min-width:0;display:grid;grid-template-rows:auto 1fr auto;gap:18px;border:1px solid var(--border);border-radius:8px;background:var(--card);padding:18px;box-shadow:0 1px 2px #1720330a}.integration-logo-wrap{height:96px;display:grid;place-items:center;border-radius:8px;background:var(--muted);padding:18px}.integration-logo-wrap img{display:block;max-width:190px;max-height:54px;object-fit:contain}.integration-copy{min-width:0;display:grid;align-content:start;gap:10px}.integration-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.integration-card-title h2{color:var(--foreground);font-size:16px;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}.integration-copy p{color:var(--muted-foreground);font-size:14px;line-height:1.5}.setting-note{color:var(--muted-foreground);font-size:13px;line-height:1.45}.users-panel{overflow:hidden}.panel-toolbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:16px 20px}.panel-toolbar h2{font-size:16px;font-weight:600;letter-spacing:0}.panel-toolbar p{margin-top:4px;color:var(--muted-foreground);font-size:13px}.button-icon-text{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px}.table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;table-layout:fixed}.data-table th,.data-table td{border-bottom:1px solid var(--border);padding:14px 16px;text-align:left;vertical-align:middle}.data-table th{color:var(--muted-foreground);font-size:12px;font-weight:700;text-transform:uppercase}.data-table th:first-child,.data-table td:first-child{width:36%}.data-table th:last-child,.data-table td:last-child{width:220px}.groups-table th:first-child,.groups-table td:first-child{width:28%}.groups-table th:last-child,.groups-table td:last-child{width:150px}.data-table tbody tr:last-child td{border-bottom:0}.identity-cell{min-width:0;display:grid;gap:3px}.identity-cell strong,.identity-cell span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity-cell strong{font-size:14px}.identity-cell span,.data-table td{color:var(--muted-foreground);font-size:13px}.status-badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 9px;font-size:12px;font-weight:700;text-transform:capitalize}.status-badge.primary{background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary)}.status-badge.success{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.status-badge.warning{background:#fff4d8;color:#8a5d00}:root.dark .status-badge.warning{background:#8a5d003d;color:#ffd37a}.status-badge.muted{background:var(--muted);color:var(--muted-foreground)}.chip-list{min-width:0;display:flex;flex-wrap:wrap;gap:6px}.group-chip{max-width:160px;min-height:24px;display:inline-flex;align-items:center;border-radius:999px;background:var(--muted);color:var(--foreground);padding:0 9px;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-inline{color:var(--muted-foreground);font-size:13px}.member-picker{max-height:280px;display:grid;gap:8px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius);padding:10px}.member-picker>p{color:var(--muted-foreground);font-size:13px}.member-option{border:0;padding:8px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.call-control-strip{align-items:center;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);display:flex;justify-content:space-between;margin-bottom:16px;padding:12px 14px}.call-control-strip>div:first-child{display:grid;gap:2px}.call-control-strip span{color:var(--muted-foreground);font-size:13px}.icon-button{width:34px;min-height:34px;display:inline-grid;place-items:center;border:1px solid var(--border);background:var(--card);color:var(--foreground);padding:0}.icon-button:hover:not(:disabled),.secondary-button:hover:not(:disabled),.link-button:hover:not(:disabled){background:var(--muted)}.link-button,.secondary-button{min-height:34px;border:1px solid var(--border);background:var(--card);color:var(--foreground);padding:0 10px;font-size:13px;font-weight:700}.link-button.destructive{color:var(--destructive)}.link-button.auth-text-action{min-height:auto;border:0;background:transparent;color:var(--primary);padding:2px;justify-self:center}.link-button.auth-text-action:hover:not(:disabled){background:transparent;text-decoration:underline}.empty-cell{height:96px;color:var(--muted-foreground);text-align:center}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;background:#00000073;padding:20px}.modal-panel{width:min(100%,460px);border:1px solid var(--border);border-radius:8px;background:var(--card);box-shadow:var(--shadow)}.modal-header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:12px 16px}.modal-header h2{font-size:16px;font-weight:600;letter-spacing:0}.dialog-form{padding:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.checkbox-row{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--border);border-radius:6px;background:color-mix(in srgb,var(--muted) 45%,transparent);padding:12px}.checkbox-row input{min-height:16px;width:16px;margin-top:2px;accent-color:var(--primary)}.checkbox-row span{display:grid;gap:2px;color:var(--foreground)}.checkbox-row span span{color:var(--muted-foreground);font-weight:400;line-height:1.4}@media (max-width: 980px){.dashboard-layout,.lower-layout{grid-template-columns:1fr}.metric-grid,.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.app-shell,.app-shell.sidebar-collapsed{height:auto;min-height:100vh;grid-template-columns:1fr}.app-sidebar{position:static;height:auto;min-height:auto}.sidebar-toggle{display:none}.sidebar-logo{justify-content:flex-start;min-height:auto}.sidebar-collapsed .sidebar-logo{padding:18px 16px 4px}.sidebar-collapsed .sidebar-logo img{width:155px}.sidebar-nav{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-admin-menu{padding:8px 12px}.sidebar-collapsed .sidebar-link{justify-content:flex-start;padding:0 12px}.sidebar-menu{grid-column:1 / -1}.sidebar-flyout,.user-menu-panel{position:static;display:none;min-width:0;width:100%;margin-top:4px;opacity:1;pointer-events:auto;transform:none}.sidebar-menu:hover .sidebar-flyout,.sidebar-menu:focus-within .sidebar-flyout,.user-menu:hover .user-menu-panel,.user-menu:focus-within .user-menu-panel{display:grid}.sidebar-menu:hover .sidebar-flyout,.sidebar-menu:focus-within .sidebar-flyout{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-collapsed .sidebar-link span,.sidebar-collapsed .user-menu-copy{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.sidebar-version{text-align:left}.sidebar-collapsed .user-menu-trigger{justify-content:flex-start;gap:12px}.content,.page-header{padding-left:20px;padding-right:20px}.page-header{align-items:stretch;flex-direction:column}.dashboard-content{gap:16px}.metric-grid{grid-template-columns:1fr}.metric-card{min-height:112px}.chart-bars{height:210px;grid-template-columns:repeat(8,minmax(24px,1fr));gap:6px}.bar-segment{width:7px}.queue-item,.agent-row{grid-template-columns:40px minmax(0,1fr)}.queue-meta,.agent-score{grid-column:2;justify-items:start}.agent-score>span{text-align:left}.summary-grid{grid-template-columns:1fr}.settings-content{grid-template-columns:1fr;gap:16px}.settings-sidebar{position:static;grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;padding-bottom:2px}.audio-grid{grid-template-columns:1fr}.audio-actions{flex-direction:column}.integration-card>button{width:100%}.panel-toolbar{align-items:stretch;flex-direction:column}.button-icon-text{width:100%}.data-table{min-width:720px}.dialog-actions{flex-direction:column-reverse}.calls-layout{grid-template-columns:1fr}.softphone-panel{max-width:none}}.calls-content{padding-top:24px}.calls-layout{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:20px;align-items:start}.calls-layout>*{min-width:0}.softphone-panel{display:grid;gap:16px;width:100%;min-width:0;max-width:380px;padding:16px;overflow:hidden;box-sizing:border-box}.softphone-empty{margin:0;padding:32px 16px;color:var(--muted-foreground);text-align:center;font-size:14px;line-height:1.5}.softphone-status-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.softphone-status-row .connection-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connection-status{display:inline-flex;align-items:center;gap:8px;min-height:28px;border-radius:999px;background:var(--muted);padding:0 12px;color:var(--muted-foreground);font-size:12px;font-weight:700}.connection-status-dot{width:8px;height:8px;border-radius:999px;background:var(--muted-foreground)}.connection-status.ready .connection-status-dot,.connection-status.in_call .connection-status-dot{background:var(--accent)}.connection-status.connecting .connection-status-dot{background:#d4a017;animation:connection-pulse 1.2s ease-in-out infinite}.connection-status.incoming .connection-status-dot{background:var(--primary);animation:connection-pulse .8s ease-in-out infinite}.connection-status.disconnected .connection-status-dot{background:var(--destructive)}.softphone-reconnect{display:inline-flex;align-items:center;gap:6px;min-height:28px;flex-shrink:0;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);padding:0 8px;font-size:12px;font-weight:700}.softphone-reconnect:hover:not(:disabled){background:var(--muted)}.softphone-idle,.softphone-in-call{display:grid;gap:14px;width:100%;min-width:0}.softphone-caller-id{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.04em}.softphone-caller-id select{min-height:38px;text-transform:none;letter-spacing:0;font-weight:500}.country-chooser{width:100%;min-height:38px;border:1px solid var(--input);border-radius:6px;padding:0 12px;color:var(--foreground);background:var(--card);font-size:14px;font-weight:500}.country-chooser-compact{position:relative;flex:0 0 auto}.country-chooser-compact-trigger{display:inline-flex;align-items:center;gap:4px;min-height:48px;border:0;border-right:1px solid var(--border);background:transparent;color:var(--foreground);padding:0 8px 0 2px;font-size:14px;font-weight:600;white-space:nowrap}.country-chooser-compact-trigger:disabled{opacity:.5;cursor:not-allowed}.country-chooser-compact-trigger svg{color:var(--muted-foreground);flex-shrink:0}.country-chooser-compact-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:12;width:max-content;min-width:100%;max-width:min(280px,70vw);max-height:240px;margin:0;padding:4px;list-style:none;overflow-y:auto;border:1px solid var(--border);border-radius:8px;background:var(--card);box-shadow:var(--shadow)}.country-chooser-compact-menu button{width:100%;min-height:36px;display:flex;align-items:center;border:0;border-radius:6px;background:transparent;color:var(--foreground);padding:0 10px;font-size:14px;font-weight:500;text-align:left;white-space:nowrap}.country-chooser-compact-menu button:hover,.country-chooser-compact-menu button.selected{background:var(--muted)}.country-chooser-compact-menu button.selected{color:var(--primary);font-weight:600}.softphone-display-row{display:flex;align-items:center;gap:6px;width:100%;min-width:0;min-height:48px;border-bottom:2px solid var(--border);padding:0 2px 6px}.softphone-display{flex:1;min-width:0;width:0;border:0;background:transparent;color:var(--foreground);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:20px;font-weight:600;line-height:1.2;letter-spacing:.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0}.softphone-display::placeholder{color:var(--muted-foreground);font-family:inherit;font-size:18px;font-weight:500}.softphone-display:focus{outline:none}.calling-settings-form{display:grid;gap:16px;padding:0 20px 20px}.calling-settings-form label{display:grid;gap:8px;font-size:14px;font-weight:600}.softphone-backspace{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--muted-foreground)}.softphone-backspace:hover{background:var(--muted);color:var(--foreground)}.dial-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;min-width:0}.dial-key{width:100%;min-width:0;aspect-ratio:1;max-height:64px;display:grid;align-content:center;justify-items:center;gap:1px;border:1px solid var(--border);border-radius:999px;background:var(--card);color:var(--foreground);padding:4px;transition:background .12s ease}.dial-key:hover:not(:disabled){background:var(--muted)}.dial-key:active:not(:disabled){transform:scale(.97)}.dial-key-digit{font-size:18px;font-weight:600;line-height:1}.dial-key-letters{color:var(--muted-foreground);font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1}.softphone-call-button{width:56px;height:56px;justify-self:center;display:grid;place-items:center;border:0;border-radius:999px;background:var(--accent);color:#fff;box-shadow:0 4px 14px color-mix(in srgb,var(--accent) 30%,transparent)}.softphone-call-button:hover:not(:disabled){filter:brightness(1.05)}.softphone-call-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.softphone-party{display:grid;justify-items:center;gap:8px;padding:8px 0 4px;text-align:center}.softphone-avatar{width:72px;height:72px;display:grid;place-items:center;border-radius:999px;background:color-mix(in srgb,var(--primary) 14%,transparent);color:var(--primary);font-size:22px;font-weight:800;text-transform:uppercase}.softphone-party-number{font-size:22px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.softphone-party-label{margin:0;color:var(--muted-foreground);font-size:13px}.call-timer{margin:0;color:var(--foreground);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:18px;font-weight:600}.call-controls{display:flex;align-items:flex-end;justify-content:center;flex-wrap:wrap;gap:12px;padding-top:4px}.call-action-button{width:72px;display:grid;justify-items:center;gap:6px;border:0;background:transparent;color:var(--foreground);padding:0;font-size:11px;font-weight:700}.call-action-button svg{width:48px;height:48px;box-sizing:content-box;border-radius:999px;border:1px solid var(--border);background:var(--card);padding:12px}.call-action-button.destructive svg{width:56px;height:56px;border:0;background:var(--destructive);color:#fff}.call-action-button.active svg{background:color-mix(in srgb,var(--primary) 14%,transparent);border-color:color-mix(in srgb,var(--primary) 30%,transparent);color:var(--primary)}.call-action-button.large{width:auto}.call-action-button:hover:not(:disabled) svg{background:var(--muted)}.call-action-button.destructive:hover:not(:disabled) svg{background:color-mix(in srgb,var(--destructive) 88%,black)}.active-call-bar{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:25;display:grid;gap:10px;width:min(calc(100vw - 32px),380px);border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));border-radius:14px;background:var(--card);padding:12px;box-shadow:var(--shadow)}.active-call-bar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.active-call-bar-identity{display:flex;align-items:center;gap:10px;min-width:0}.active-call-bar-avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 55%,transparent),color-mix(in srgb,var(--primary) 45%,transparent));color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em}.active-call-bar-party{display:grid;gap:2px;min-width:0}.active-call-bar-number{font-size:15px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-call-bar-line{display:inline-flex;align-items:center;gap:4px;color:var(--muted-foreground);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-call-bar-timer{flex-shrink:0;border-radius:999px;background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent);padding:4px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:700}.active-call-bar-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px}.active-call-bar-icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--border);border-radius:999px;background:var(--background);color:var(--foreground);padding:0}.active-call-bar-icon-button:hover{background:var(--muted)}.active-call-bar-icon-button.active{background:color-mix(in srgb,var(--primary) 14%,transparent);border-color:color-mix(in srgb,var(--primary) 30%,transparent);color:var(--primary)}.active-call-bar-icon-button.destructive{border:0;background:var(--destructive);color:#fff}.active-call-bar-icon-button.destructive:hover{background:color-mix(in srgb,var(--destructive) 88%,black)}.active-call-bar-keypad{border-top:1px solid var(--border);padding-top:10px}.active-call-bar-keypad .dial-pad{gap:6px}.active-call-bar-keypad .dial-key{min-height:40px;padding:4px 0}.active-call-bar-keypad .dial-key-digit{font-size:16px}.active-call-bar-keypad .dial-key-letters{font-size:9px}.incoming-call-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;background:#1116218c;padding:24px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.incoming-call-card{width:min(100%,360px);display:grid;justify-items:center;gap:12px;border:1px solid var(--border);border-radius:16px;background:var(--card);padding:32px 24px 24px;box-shadow:var(--shadow);text-align:center}.incoming-call-pulse{position:relative;width:96px;height:96px;display:grid;place-items:center}.incoming-call-pulse:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:999px;background:color-mix(in srgb,var(--accent) 20%,transparent);animation:incoming-ring 1.6s ease-out infinite}.incoming-call-avatar{position:relative;z-index:1;width:72px;height:72px;display:grid;place-items:center;border-radius:999px;background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--accent)}.incoming-call-label{margin:0;color:var(--muted-foreground);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.incoming-call-number{font-size:24px;line-height:1.2;overflow-wrap:anywhere}.incoming-call-line{margin:0;color:var(--muted-foreground);font-size:14px}.incoming-call-actions{display:flex;justify-content:center;gap:28px;width:100%;margin-top:12px}.incoming-call-button{display:grid;justify-items:center;gap:8px;border:0;background:transparent;color:var(--foreground);font-size:12px;font-weight:700}.incoming-call-button svg{width:60px;height:60px;display:grid;place-items:center;border-radius:999px;padding:16px;color:#fff}.incoming-call-button.answer svg{background:var(--accent)}.incoming-call-button.decline svg{background:var(--destructive)}.call-history-panel .panel-header p{font-size:13px}.call-history-list{display:grid}.call-history-empty{padding:28px 20px;color:var(--muted-foreground);font-size:13px;text-align:center}.call-direction{display:inline-flex;align-items:center;gap:6px;min-width:0;color:var(--muted-foreground);font-size:13px;font-weight:600}.call-direction svg{flex:0 0 auto}.call-history-row{min-width:0;display:grid;gap:10px;border-bottom:1px solid var(--border);padding:16px 20px}.call-history-row:last-child{border-bottom:0}.call-history-row.clickable{cursor:pointer}.call-history-row.clickable:hover{background:var(--muted)}.call-history-row.clickable:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.call-history-row-main{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.call-history-started{min-width:0;overflow:hidden;color:var(--foreground);font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.call-history-route{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--foreground);font-size:13px;line-height:1.4}.call-party{min-width:0;display:grid;gap:2px}.call-party span:last-child{min-width:0;overflow-wrap:anywhere;font-weight:600}.call-party-label,.call-route-arrow,.call-history-meta{color:var(--muted-foreground);font-size:12px;font-weight:600}.call-route-arrow{flex:0 0 auto;align-self:end;padding-bottom:1px}.call-history-meta{line-height:1.4}@keyframes connection-pulse{0%,to{opacity:1}50%{opacity:.45}}@keyframes incoming-ring{0%{transform:scale(.85);opacity:.8}to{transform:scale(1.35);opacity:0}}
