:root {
  --navy: #101a35;
  --navy-2: #172444;
  --blue: #3867f4;
  --blue-light: #edf2ff;
  --green: #11a874;
  --green-light: #e9f9f3;
  --violet: #7a5cf0;
  --amber: #e89b16;
  --red: #d94a4a;
  --cyan: #18a6bc;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #697386;
  --line: #e6eaf1;
  --shadow: 0 2px 4px rgba(25, 35, 58, .04), 0 12px 35px rgba(25, 35, 58, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; }
button, select { font: inherit; }
button { cursor: pointer; }

.sidebar { position: fixed; inset: 0 auto 0 0; width: 238px; display: flex; flex-direction: column; padding: 26px 18px 20px; color: #fff; background: linear-gradient(180deg, #111b37 0%, #0d1730 100%); z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 8px 31px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #4677ff, #284fd3); font-size: 18px; font-weight: 850; box-shadow: 0 6px 18px rgba(56, 103, 244, .35); }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand span { margin-top: 2px; color: #94a2c6; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav-list { display: grid; gap: 5px; }
.nav-item { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 13px; border: 0; border-radius: 9px; color: #aeb9d6; background: transparent; text-align: left; transition: .2s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.active { color: #fff; background: rgba(66, 113, 246, .2); box-shadow: inset 3px 0 0 #5680ff; }
.nav-icon { width: 21px; color: #8fa5dd; font-size: 18px; line-height: 1; text-align: center; }
.nav-item.active .nav-icon { color: #7fa0ff; }
.sidebar-bottom { margin-top: auto; }
.environment { display: flex; align-items: center; gap: 9px; margin: 16px 12px 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); color: #8996b8; font-size: 12px; }
.environment i { width: 7px; height: 7px; border-radius: 50%; background: #29cb92; box-shadow: 0 0 0 4px rgba(41,203,146,.12); }

main { margin-left: 238px; min-height: 100vh; }
.topbar { height: 68px; display: flex; align-items: center; padding: 0 31px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #8b94a6; font-size: 13px; }
.breadcrumb b { color: #c3c9d4; font-weight: 400; }
.breadcrumb strong { color: #3b4558; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #526077; position: relative; }
.notification-dot { position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; background: #ed5b5b; box-sizing: content-box; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #22345c; font-size: 12px; font-weight: 750; }
.menu-button { display: none; }
.content { max-width: 1600px; margin: 0 auto; padding: 30px 32px 25px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; scroll-margin-top: 92px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #647087; font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(17,168,116,.11); }
h1 { margin: 9px 0 7px; color: #15203a; font-size: clamp(26px, 3vw, 34px); line-height: 1.08; letter-spacing: -.035em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.heading-actions { display: flex; align-items: center; gap: 12px; }
.demo-badge { padding: 7px 10px; border: 1px solid #dbe2ef; border-radius: 999px; color: #66738a; background: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.primary-button { padding: 11px 16px; border: 0; border-radius: 9px; color: #fff; background: var(--blue); font-weight: 700; box-shadow: 0 7px 16px rgba(56,103,244,.22); }
.primary-button:hover { background: #2f5ce3; }

.filters { display: grid; grid-template-columns: 1.2fr 1fr 1fr .9fr auto; gap: 10px; align-items: end; margin-bottom: 16px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(30,41,65,.025); }
.filters label span { display: block; margin: 0 0 6px 2px; color: #8790a1; font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.filters select { width: 100%; height: 39px; padding: 0 33px 0 11px; border: 1px solid #dfe4ed; border-radius: 8px; color: #303a4d; background: #fff; outline: none; }
.filters select:focus { border-color: #90a9fb; box-shadow: 0 0 0 3px rgba(56,103,244,.1); }
.refresh-button { height: 39px; padding: 0 14px; border: 1px solid #dfe4ed; border-radius: 8px; color: #536078; background: #fff; font-weight: 650; white-space: nowrap; }
.refresh-button:hover { color: var(--blue); border-color: #b9c7f5; background: #f8faff; }
.refresh-button span { display: inline-block; margin-right: 4px; }

.kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.kpi-card { min-height: 135px; padding: 17px 17px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(25,35,58,.09); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-label { color: #687388; font-size: 11px; font-weight: 700; }
.kpi-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 900; }
.kpi-icon.blue { color: var(--blue); background: #edf2ff; }.kpi-icon.green { color: var(--green); background: #e9f9f3; }.kpi-icon.violet { color: var(--violet); background: #f1edff; }.kpi-icon.amber { color: var(--amber); background: #fff6e3; }.kpi-icon.cyan { color: var(--cyan); background: #e9f8fa; }.kpi-icon.navy { color: #344b7a; background: #eef1f7; }
.kpi-value { display: block; margin-top: 12px; color: #15203a; font-size: 25px; line-height: 1; letter-spacing: -.03em; }
.kpi-meta { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: #929aaa; font-size: 10px; }
.positive { color: var(--green); font-weight: 750; }.negative { color: var(--red); font-weight: 750; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(310px,.8fr); gap: 16px; margin-bottom: 16px; }
.panel { border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 88px; }
.panel-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 19px; border-bottom: 1px solid #edf0f5; }
.panel-header h2 { margin: 0; color: #1a243a; font-size: 15px; letter-spacing: -.015em; }
.panel-header p { margin: 5px 0 0; color: #8790a2; font-size: 11px; }
.legend { display: flex; gap: 16px; color: #6d7789; font-size: 10px; }
.legend span { display: flex; align-items: center; gap: 6px; }.legend i { width: 7px; height: 7px; border-radius: 50%; }.legend-blue { background: var(--blue); }.legend-green { background: var(--green); }
.text-button { border: 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 750; }
.chart-wrap { height: 286px; padding: 23px 21px 14px 50px; position: relative; }
.line-chart { width: 100%; height: 220px; overflow: visible; }
.grid-lines line { stroke: #edf0f5; stroke-width: 1; stroke-dasharray: 4 5; }.area { fill: url(#areaBlue); }.line { fill: none; stroke-width: 2.4; vector-effect: non-scaling-stroke; }.blue-line { stroke: var(--blue); }.green-line { stroke: var(--green); stroke-width: 2; }
.y-labels { position: absolute; left: 13px; top: 17px; bottom: 40px; display: flex; flex-direction: column; justify-content: space-between; color: #a4aab7; font-size: 9px; text-align: right; }
.x-labels { display: flex; justify-content: space-between; margin-top: 4px; color: #9ba3b2; font-size: 9px; }
.chart-point circle { fill: #fff; stroke: var(--blue); stroke-width: 3; }.chart-point rect { fill: #162341; }.chart-point text { fill: #fff; font-size: 9px; font-weight: 700; text-anchor: middle; }

.health-score-row { display: flex; align-items: center; gap: 18px; padding: 22px 20px 18px; }
.health-ring { width: 82px; height: 82px; padding: 7px; border-radius: 50%; background: conic-gradient(var(--green) 0 98.7%, #eaf0ed 98.7%); }
.health-ring > div { width: 100%; height: 100%; display: grid; place-content: center; border-radius: 50%; background: #fff; text-align: center; }
.health-ring strong { font-size: 19px; }.health-ring span { color: #9aa2b0; font-size: 9px; text-transform: uppercase; }
.health-summary strong { font-size: 14px; }.health-summary p { margin: 6px 0 0; color: #8c95a5; font-size: 11px; }
.service-list { padding: 0 19px 15px; }
.service-list > div { display: flex; align-items: center; justify-content: space-between; padding: 11px 1px; border-top: 1px solid #eff1f5; color: #536078; font-size: 11px; }
.service-list span { display: flex; align-items: center; gap: 9px; }.service-list b { color: #506076; font-size: 10px; font-weight: 700; }
.status { width: 7px; height: 7px; border-radius: 50%; }.status.ok { background: var(--green); box-shadow: 0 0 0 3px rgba(17,168,116,.09); }.status.warning { background: var(--amber); box-shadow: 0 0 0 3px rgba(232,155,22,.11); }

.bots-panel { margin-bottom: 16px; }
.panel-actions { display: flex; align-items: center; gap: 8px; }.secondary-button { padding: 7px 11px; border: 1px solid #dfe4ec; border-radius: 7px; color: #56627a; background: #fff; font-size: 10px; font-weight: 700; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 920px; }
th { padding: 11px 18px; color: #8b94a5; background: #fafbfc; font-size: 9px; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
td { padding: 12px 18px; border-top: 1px solid #edf0f4; color: #5c677a; font-size: 11px; }
tbody tr { transition: background .15s; } tbody tr:hover { background: #fafcff; }
.bot-name { display: flex; align-items: center; gap: 10px; min-width: 210px; }.bot-name strong, .bot-name small { display: block; }.bot-name strong { color: #283348; font-size: 11px; }.bot-name small { margin-top: 3px; color: #9aa2b2; font-size: 9px; }
.bot-avatar { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; border-radius: 8px; font-size: 9px; font-weight: 800; }.blue-bg { color: #315edb; background: #eaf0ff; }.violet-bg { color: #7254df; background: #f0edff; }.cyan-bg { color: #15899b; background: #e7f7fa; }.amber-bg { color: #b7790d; background: #fff3d9; }.green-bg { color: #118760; background: #e8f8f2; }
.channel { padding: 4px 7px; border-radius: 5px; color: #647188; background: #f2f4f8; font-size: 9px; }
.metric-bar { display: flex; align-items: center; gap: 8px; min-width: 90px; position: relative; }.metric-bar::before { content:""; width: 48px; height: 4px; border-radius: 99px; background: #edf0f4; }.metric-bar span { position: absolute; left: 0; height: 4px; max-width: 48px; border-radius: 99px; background: var(--green); }.metric-bar b { color: #3f4b61; font-size: 10px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 750; }.badge::before { content:""; width: 5px; height: 5px; border-radius: 50%; }.success { color: #13805d; background: #eaf8f3; }.success::before { background: #17a976; }.warning-badge { color: #a36b0a; background: #fff4dd; }.warning-badge::before { background: #e89b16; }.pilot { color: #5865c7; background: #eef0ff; }.pilot::before { background: #6571dd; }

.lower-grid { grid-template-columns: 1fr 1fr; }
.small-note { padding: 5px 8px; border-radius: 6px; color: #4f64a0; background: #eef2fc; font-size: 9px; font-weight: 700; }
.funnel { display: grid; gap: 12px; padding: 20px; }.funnel > div { display: grid; grid-template-columns: 95px 58px 1fr 42px; align-items: center; gap: 9px; color: #687387; font-size: 10px; }.funnel b { color: #2b374d; font-size: 11px; }.funnel i { height: 8px; border-radius: 3px; background: linear-gradient(90deg, #4775f5, #6b8cff); }.funnel small { color: #8c95a5; text-align: right; }
.cost-content { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 10px; padding: 20px 22px; }.cost-donut { width: 132px; height: 132px; display: grid; place-items: center; margin: auto; border-radius: 50%; background: conic-gradient(#3867f4 0 50%, #7a5cf0 50% 79%, #18a6bc 79% 92%, #dfe4ec 92% 100%); position: relative; }.cost-donut::after { content:""; position: absolute; width: 85px; height: 85px; border-radius: 50%; background: #fff; }.cost-donut div { position: relative; z-index: 1; text-align: center; }.cost-donut strong, .cost-donut span { display: block; }.cost-donut strong { font-size: 17px; }.cost-donut span { margin-top: 3px; color: #969eac; font-size: 9px; text-transform: uppercase; }
.cost-legend { display: grid; gap: 4px; }.cost-legend > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eff1f5; color: #626d81; font-size: 10px; }.cost-legend span { display: flex; align-items: center; gap: 8px; }.cost-legend i { width: 7px; height: 7px; border-radius: 2px; }.cost-legend b { color: #344057; }.cost-legend small { margin-left: 5px; color: #9aa2b0; font-weight: 500; }.cost-meta { background: #3867f4; }.cost-openai { background: #7a5cf0; }.cost-infra { background: #18a6bc; }.cost-other { background: #dfe4ec; }

.insight-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid #dbe4fb; border-radius: 12px; background: linear-gradient(90deg, #f5f8ff, #fbfcff); scroll-margin-top: 86px; }.insight-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #e8efff; }.insight-strip strong { color: #2b3852; font-size: 11px; }.insight-strip p { margin: 4px 0 0; color: #748096; font-size: 10px; }.insight-strip button { border: 0; color: var(--blue); background: transparent; font-size: 10px; font-weight: 750; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 8px 2px 0; color: #939bab; font-size: 9px; }
.toast { position: fixed; right: 24px; bottom: 24px; max-width: 340px; padding: 13px 16px; border-radius: 10px; color: #fff; background: #172441; box-shadow: 0 14px 35px rgba(16,26,53,.24); font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; z-index: 50; }.toast.show { opacity: 1; transform: translateY(0); }
.source-chip { padding: 3px 6px; border-radius: 5px; color: #3867f4; background: #edf2ff; font-weight: 750; }.warning-text { color: #b27711; font-weight: 750; }
.workflow-bars { display: grid; gap: 14px; padding: 22px 21px 24px; }.workflow-bars > div { display: grid; grid-template-columns: minmax(185px, 1.3fr) minmax(160px, 2fr) 52px; align-items: center; gap: 13px; }.workflow-bars span { min-width: 0; overflow: hidden; color: #687489; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.workflow-bars span b { color: #394760; }.workflow-bars i { height: 8px; overflow: hidden; border-radius: 99px; background: #eef1f6; }.workflow-bars em { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, #3867f4, #6f8fff); }.workflow-bars strong { color: #354158; font-size: 10px; text-align: right; }.real-health { background: conic-gradient(var(--green) 0 99.88%, #eaf0ed 99.88%); }
.source-status-list { display: grid; padding: 10px 20px 17px; }.source-status-list > div { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid #eff1f5; }.source-status-list > div:first-child { border-top: 0; }.source-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; font-size: 9px; font-weight: 850; }.source-logo.connected { color: #fff; background: #ea4b71; }.source-logo.pending { color: #7b8598; background: #eef1f5; }.source-status-list p { margin: 0; }.source-status-list strong, .source-status-list small { display: block; }.source-status-list strong { color: #46536a; font-size: 10px; }.source-status-list small { margin-top: 3px; color: #929bab; font-size: 8px; }.source-status-list b { color: #8a94a6; font-size: 9px; }
.pending-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 19px 20px 21px; }.pending-metrics > div { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #e8ebf1; border-radius: 9px; background: #fafbfc; }.pending-metrics > div > span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 26px; border-radius: 7px; color: #7d8798; background: #edf0f4; font-size: 11px; font-weight: 800; }.pending-metrics p { margin: 0; }.pending-metrics strong, .pending-metrics small { display: block; }.pending-metrics strong { color: #4b576d; font-size: 9px; }.pending-metrics small { margin-top: 4px; color: #959dab; font-size: 8px; line-height: 1.35; }

@media (max-width: 1280px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); }.kpi-card { min-height: 125px; } }
@media (max-width: 980px) { .sidebar { width: 76px; padding: 24px 12px; }.brand { margin-left: 8px; }.brand > div:last-child, .nav-item span:last-child, .environment span { display: none; }.nav-item { justify-content: center; padding: 0; }.nav-icon { width: auto; }.environment { justify-content: center; margin-left: 0; margin-right: 0; }.sidebar-bottom .nav-item { justify-content: center; }.brand-mark { flex: 0 0 35px; }.main {} main { margin-left: 76px; }.dashboard-grid { grid-template-columns: 1fr; }.health-panel { min-height: 0; }.lower-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { main { margin-left: 0; }.sidebar { transform: translateX(-100%); transition: transform .25s; box-shadow: 12px 0 40px rgba(16,26,53,.2); }.sidebar.open { transform: translateX(0); }.menu-button { display: grid; place-items: center; width: 36px; height: 36px; margin-right: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }.topbar { height: 60px; padding: 0 16px; }.content { padding: 22px 16px; }.page-heading { align-items: flex-start; flex-direction: column; }.heading-actions { width: 100%; justify-content: space-between; }.filters { grid-template-columns: 1fr 1fr; }.refresh-button { grid-column: span 2; }.kpi-grid { grid-template-columns: 1fr 1fr; }.lower-grid { grid-template-columns: 1fr; }.cost-content { grid-template-columns: 145px 1fr; }.insight-strip { grid-template-columns: auto 1fr; }.insight-strip button { grid-column: 2; justify-self: start; padding: 0; }.legend { display: none; } footer { flex-direction: column; gap: 6px; } }
@media (max-width: 760px) { .workflow-bars > div { grid-template-columns: minmax(145px, 1fr) 1fr 42px; }.pending-metrics { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .breadcrumb span, .breadcrumb b { display: none; }.filters { grid-template-columns: 1fr; }.refresh-button { grid-column: auto; }.kpi-grid { grid-template-columns: 1fr; }.kpi-card { min-height: 115px; }.heading-actions { align-items: stretch; flex-direction: column; }.demo-badge { text-align: center; }.cost-content { grid-template-columns: 1fr; }.funnel > div { grid-template-columns: 78px 54px 1fr; }.funnel small { display: none; }.chart-wrap { padding-left: 44px; }.health-score-row { justify-content: center; }.panel-header { align-items: flex-start; }.panel-actions { display: none; } }

/* Agents and bots inventory */
.inventory-content { max-width: 1720px; }
.inventory-heading { margin-bottom: 21px; }
.inventory-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.inventory-summary article { min-height: 96px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.summary-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-weight: 850; }.summary-icon.blue { color: var(--blue); background: #ecf1ff; }.summary-icon.green { color: var(--green); background: #e8f8f2; }.summary-icon.violet { color: var(--violet); background: #f0edff; }.summary-icon.amber { color: var(--amber); background: #fff4dd; }
.inventory-summary strong, .inventory-summary article div span { display: block; }.inventory-summary strong { font-size: 22px; letter-spacing: -.03em; }.inventory-summary article div span { margin-top: 4px; color: #748095; font-size: 10px; }.inventory-summary small { align-self: start; padding: 4px 6px; border-radius: 5px; color: #66758c; background: #f0f3f8; font-size: 8px; font-weight: 700; }.inventory-summary small.demo-copy { color: #8a6b27; background: #fff5df; }
.real-data-badge { color: #14795a; border-color: #cdeadd; background: #effaf6; }
.zero-errors { display: inline-grid; place-items: center; min-width: 23px; height: 22px; padding: 0 6px; border-radius: 6px; color: #14805e; background: #eaf8f3; font-size: 9px; font-weight: 800; }
.channel.analytics { color: #6750b8; background: #f0edff; }
.inventory-panel { overflow: hidden; }
.inventory-toolbar { display: grid; grid-template-columns: minmax(250px, 1fr) 150px 150px 145px auto; gap: 9px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.search-field { height: 39px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #dde3ec; border-radius: 8px; background: #fff; }.search-field:focus-within { border-color: #8fa8fa; box-shadow: 0 0 0 3px rgba(56,103,244,.09); }.search-field span { color: #8c96a8; font-size: 18px; }.search-field input { width: 100%; border: 0; outline: 0; color: #334057; background: transparent; font-size: 11px; }.search-field input::placeholder { color: #a1a9b7; }
.inventory-toolbar select { height: 39px; padding: 0 10px; border: 1px solid #dde3ec; border-radius: 8px; color: #57647a; background: #fff; outline: none; font-size: 10px; }.inventory-toolbar select:focus { border-color: #8fa8fa; }.export-inventory { height: 39px; padding: 0 13px; white-space: nowrap; }
.inventory-tabs { display: flex; gap: 25px; padding: 0 18px; border-bottom: 1px solid var(--line); }.inventory-tabs button { min-height: 46px; padding: 0 1px; border: 0; border-bottom: 2px solid transparent; color: #7a8496; background: transparent; font-size: 10px; font-weight: 700; }.inventory-tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }.inventory-tabs span { margin-left: 5px; padding: 2px 5px; border-radius: 999px; color: #78849a; background: #eef1f6; font-size: 8px; }.inventory-tabs button.active span { color: #4568c7; background: #eaf0ff; }
.inventory-table { min-width: 1160px; }.inventory-table tbody tr { cursor: pointer; }.inventory-table td { height: 62px; }.inventory-table tr[hidden] { display: none; }.cell-title, .cell-subtitle { display: block; }.cell-title { color: #3b465a; font-size: 10px; }.cell-subtitle { margin-top: 3px; color: #959dac; font-size: 9px; }.cell-trend { display: block; margin-top: 3px; font-size: 8px; }.recent-time { color: #58657b; font-size: 9px; }.warning-time { color: #b27916; }.warning-metric span { background: var(--amber); }.row-action { width: 28px; height: 28px; border: 0; border-radius: 7px; color: #7d899c; background: #f3f5f8; font-size: 18px; }.inventory-table tr:hover .row-action { color: #fff; background: var(--blue); }.navy-bg { color: #41557e; background: #ecf0f7; }.rose-bg { color: #b64c73; background: #fbeaf0; }.red-bg { color: #c14b4b; background: #fdecec; }.channel.whatsapp { color: #148462; background: #e9f8f2; }.channel.voice { color: #7356ca; background: #f0edff; }.channel.multi { color: #3a67c5; background: #ebf1ff; }
.inventory-footer { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-top: 1px solid var(--line); color: #8c95a5; font-size: 9px; }.pagination { display: flex; gap: 5px; }.pagination button { width: 27px; height: 27px; border: 1px solid #e0e5ed; border-radius: 6px; color: #6f7a8c; background: #fff; font-size: 9px; }.pagination button.current { color: #fff; border-color: var(--blue); background: var(--blue); }.pagination button:disabled { opacity: .45; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(15,24,45,.36); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; }.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.agent-drawer { position: fixed; inset: 0 0 0 auto; z-index: 45; width: min(470px, 94vw); display: flex; flex-direction: column; color: var(--text); background: #fff; box-shadow: -18px 0 55px rgba(16,26,53,.18); transform: translateX(105%); transition: transform .28s ease; }.agent-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 24px 23px 18px; border-bottom: 1px solid var(--line); }.drawer-agent { display: flex; gap: 12px; }.drawer-agent .bot-avatar { width: 42px; height: 42px; flex-basis: 42px; border-radius: 11px; font-size: 11px; }.drawer-kicker { color: #8b95a7; font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }.drawer-agent h2 { margin: 4px 0 3px; font-size: 17px; }.drawer-agent p { margin: 0; color: #8a94a5; font-size: 9px; }.drawer-close { width: 32px; height: 32px; border: 1px solid #e1e5ec; border-radius: 8px; color: #7e899b; background: #fff; font-size: 21px; line-height: 1; }.drawer-status { display: flex; align-items: center; gap: 10px; padding: 13px 23px; color: #69758a; background: #fafbfc; font-size: 10px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 5px 23px 22px; }.drawer-body section { padding: 18px 0; border-bottom: 1px solid #edf0f4; }.drawer-body h3 { margin: 0 0 13px; color: #354157; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }.drawer-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.drawer-kpis div { padding: 12px 10px; border: 1px solid #e7ebf1; border-radius: 9px; background: #fafbfc; }.drawer-kpis span, .drawer-kpis strong { display: block; }.drawer-kpis span { color: #8c96a7; font-size: 8px; }.drawer-kpis strong { margin-top: 6px; font-size: 15px; }
.config-list { display: grid; margin: 0; }.config-list > div { display: flex; justify-content: space-between; padding: 8px 0; }.config-list dt { color: #8993a5; font-size: 9px; }.config-list dd { margin: 0; color: #46536a; font-size: 9px; font-weight: 700; }.workflow-list { display: grid; }.workflow-list > div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid #f0f2f6; font-size: 9px; }.workflow-list > div:first-child { border-top: 0; }.workflow-list span { display: flex; align-items: center; gap: 8px; min-width: 0; color: #536077; }.workflow-list span b { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }.workflow-list small { color: #8e98a9; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px; }
.timeline { display: grid; gap: 14px; }.timeline > div { display: flex; gap: 10px; }.timeline i { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 4px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #edf2ff; }.timeline p { margin: 0; }.timeline strong, .timeline span { display: block; }.timeline strong { color: #4b586f; font-size: 9px; }.timeline span { margin-top: 3px; color: #929bab; font-size: 8px; }.drawer-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 15px 23px; border-top: 1px solid var(--line); background: #fff; }.drawer-footer button { height: 40px; }

@media (max-width: 1260px) { .inventory-summary { grid-template-columns: 1fr 1fr; }.inventory-toolbar { grid-template-columns: 1fr 1fr 1fr; }.search-field { grid-column: span 2; }.export-inventory { width: 100%; } }
@media (max-width: 760px) { .inventory-summary { grid-template-columns: 1fr 1fr; }.inventory-summary article { grid-template-columns: auto 1fr; }.inventory-summary small { grid-column: 2; justify-self: start; }.inventory-toolbar { grid-template-columns: 1fr 1fr; }.search-field { grid-column: span 2; }.inventory-toolbar select:last-of-type { grid-column: span 1; }.inventory-tabs { overflow-x: auto; gap: 18px; }.inventory-tabs button { white-space: nowrap; }.inventory-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 14px; padding-bottom: 14px; } }
@media (max-width: 500px) { .inventory-summary { grid-template-columns: 1fr; }.inventory-toolbar { grid-template-columns: 1fr; }.search-field { grid-column: auto; }.drawer-kpis { grid-template-columns: 1fr 1fr; }.drawer-footer { grid-template-columns: 1fr; } }

/* Operations */
.operations-content { max-width: 1600px; }.operations-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }.operations-kpis article { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.ops-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-size: 15px; font-weight: 850; }.ops-icon.red { color: #c74b4b; background: #fdecec; }.ops-icon.amber { color: #b6780c; background: #fff4dd; }.ops-icon.blue { color: var(--blue); background: #edf2ff; }.ops-icon.green { color: var(--green); background: #eaf8f3; }.operations-kpis strong, .operations-kpis article div span { display: block; }.operations-kpis strong { font-size: 21px; }.operations-kpis article div span { margin-top: 4px; color: #7d8798; font-size: 9px; }.operations-kpis small { align-self: start; color: #9099a9; font-size: 8px; }
.incident-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; margin-bottom: 16px; padding: 17px 18px; border: 1px solid #f1d2d2; border-radius: 12px; background: linear-gradient(90deg,#fff8f8,#fff); box-shadow: var(--shadow); }.incident-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #d55454; font-size: 17px; font-weight: 850; }.incident-label { color: #bc4a4a; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.incident-banner h2 { margin: 4px 0; color: #3b465a; font-size: 13px; }.incident-banner p { margin: 0; color: #7b8596; font-size: 9px; }.incident-banner code { color: #59677f; background: #f4eaea; }.incident-meta { display: grid; justify-items: end; gap: 3px; }.incident-meta span { color: #919aaa; font-size: 8px; }.incident-meta strong { color: #526078; font-size: 10px; }.incident-meta button { margin-top: 5px; padding: 6px 9px; border: 1px solid #e6bcbc; border-radius: 6px; color: #b94b4b; background: #fff; font-size: 8px; font-weight: 750; }
.operations-grid { grid-template-columns: minmax(0,1.35fr) minmax(330px,.85fr); }.stale-list { display: grid; padding: 8px 19px 15px; }.stale-list > div { display: grid; grid-template-columns: 1fr 28px 46px; align-items: center; gap: 7px; padding: 10px 0; border-top: 1px solid #eff1f5; }.stale-list > div:first-child { border-top: 0; }.stale-list > div > div { display: flex; align-items: center; gap: 10px; min-width: 0; }.stale-list p { min-width: 0; margin: 0; }.stale-list strong, .stale-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.stale-list strong { color: #46536a; font-size: 9px; }.stale-list small { margin-top: 3px; color: #929bab; font-family: ui-monospace, Consolas, monospace; font-size: 8px; }.stale-list > div > b { color: #b6780c; font-size: 13px; text-align: right; }.stale-list > div > span { color: #929aaa; font-size: 8px; }
.latency-list { display: grid; gap: 13px; padding: 19px 19px 10px; }.latency-list > div { display: grid; grid-template-columns: 140px 1fr 50px; align-items: center; gap: 9px; }.latency-list span { overflow: hidden; color: #647086; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.latency-list i { height: 7px; overflow: hidden; border-radius: 99px; background: #eef1f5; }.latency-list em { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg,#18a6bc,#5dc4d3); }.latency-list strong { color: #48556c; font-size: 9px; text-align: right; }.metric-disclaimer { margin: 6px 19px 18px; color: #9aa2b0; font-size: 8px; line-height: 1.4; }.execution-table-panel { margin-bottom: 17px; }.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 10px 19px 18px; }.signal-grid article { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-bottom: 1px solid #eff1f5; }.signal-dot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 3px; border-radius: 50%; }.signal-dot.green { background: var(--green); box-shadow: 0 0 0 4px rgba(17,168,116,.09); }.signal-dot.amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(232,155,22,.1); }.signal-dot.blue { background: var(--blue); box-shadow: 0 0 0 4px rgba(56,103,244,.09); }.signal-grid strong { color: #46536a; font-size: 9px; }.signal-grid p { margin: 4px 0 0; color: #8d96a6; font-size: 8px; line-height: 1.45; }
@media (max-width: 1050px) { .operations-kpis { grid-template-columns: 1fr 1fr; }.operations-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .operations-kpis { grid-template-columns: 1fr; }.incident-banner { grid-template-columns: auto 1fr; }.incident-meta { grid-column: 2; justify-items: start; }.signal-grid { grid-template-columns: 1fr; }.latency-list > div { grid-template-columns: 115px 1fr 45px; } }
.sync-status{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:700;background:#f1f5f9;color:#475569;white-space:nowrap}.sync-status i{width:7px;height:7px;border-radius:50%;background:currentColor}.sync-status.is-live{background:#ecfdf5;color:#047857}.sync-status.is-syncing{background:#eff6ff;color:#2563eb}.sync-status.is-syncing i{animation:pulse 1s infinite}.sync-status.is-stored{background:#fff7ed;color:#c2410c}@keyframes pulse{50%{opacity:.25}}button:disabled{opacity:.65;cursor:wait}
.costs-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr)}.cost-chart{height:270px;display:flex;align-items:center;justify-content:center}.empty-cost{text-align:center;color:#64748b}.empty-cost span{display:grid;place-items:center;margin:0 auto 12px;width:52px;height:52px;border-radius:18px;background:#eef2ff;color:#4f46e5;font-size:24px}.empty-cost strong{display:block;color:#1e293b;margin-bottom:6px}.coverage-list{display:grid;gap:18px;padding:10px 0}.coverage-list>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eef2f7;padding-bottom:14px}.coverage-list span{display:flex;align-items:center;gap:8px}.coverage-list b{font-size:12px;color:#64748b}.cost-bars{height:250px;width:100%;display:flex;align-items:end;gap:5px;padding:16px 4px 0}.cost-bars>div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:8px}.cost-bars i{display:block;width:100%;min-width:5px;max-width:26px;background:linear-gradient(180deg,#6366f1,#4338ca);border-radius:6px 6px 2px 2px}.cost-bars span{font-size:9px;color:#94a3b8}.cost-empty-row{text-align:center!important;padding:42px!important;color:#64748b}@media(max-width:900px){.costs-grid{grid-template-columns:1fr}}
