:root{color:#111827;background:#f3f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}.app{grid-template-columns:292px 1fr;min-height:100vh;display:grid}aside{color:#fff;background:#07111f;flex-direction:column;gap:26px;padding:24px;display:flex}.logo{align-items:center;gap:12px;display:flex}.logoMark{color:#07111f;background:linear-gradient(135deg,#38bdf8,#22c55e);border-radius:16px;place-items:center;width:44px;height:44px;font-weight:950;display:grid}.logo span,.sidePanel span{color:#94a3b8;margin-top:2px;font-size:13px;display:block}nav{gap:8px;display:grid}nav button{color:#cbd5e1;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;align-items:center;gap:11px;padding:13px 14px;display:flex}nav button.active,nav button:hover{color:#fff;background:#ffffff1a}.sidePanel{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:20px;gap:8px;margin-top:auto;padding:16px;display:grid}main{padding:32px;overflow:auto}.hero{background:linear-gradient(135deg,#e0f2fe,#fff);border:1px solid #bae6fd;border-radius:30px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px;padding:30px;display:flex}h1,h2,h3,p{margin-top:0}h1{margin-bottom:8px;font-size:34px}h2{margin-bottom:14px;font-size:20px}p{color:#64748b;line-height:1.5}.eyebrow{color:#155e75;background:#ecfeff;border:1px solid #a5f3fc;border-radius:999px;align-items:center;gap:7px;margin-bottom:12px;padding:6px 10px;font-weight:800;display:inline-flex}.primary,.actions button,.cardBottom button{color:#fff;cursor:pointer;background:#0f172a;border:0;border-radius:14px;align-items:center;gap:8px;padding:12px 16px;display:inline-flex}.metrics{grid-template-columns:repeat(4,minmax(160px,1fr));gap:16px;margin-bottom:22px;display:grid}.metric,.panel,.uCard{background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 16px 45px #0f172a0e}.metric{gap:14px;padding:18px;display:flex}.metricIcon{color:#0f172a;background:#f1f5f9;border-radius:15px;flex:none;place-items:center;width:42px;height:42px;display:grid}.metric span{color:#64748b;font-size:13px;display:block}.metric b{margin-top:2px;font-size:24px;display:block}.metric small{color:#16a34a;margin-top:2px;font-size:12px;display:block}.grid2{grid-template-columns:1.08fr .92fr;gap:18px;display:grid}.panel{padding:20px}.incident{border:1px solid #e5e7eb;border-radius:18px;gap:12px;margin-bottom:12px;padding:14px;display:flex}.incident.critical{color:#9f1239;background:#fff1f2;border-color:#fecdd3}.incident.warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.incident.info{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.incidentHead{justify-content:space-between;gap:12px;display:flex}.incidentHead span{text-transform:uppercase;opacity:.75;font-size:12px;font-weight:900}.incident p{margin:5px 0;font-size:14px}.incidentAction{font-size:13px;font-weight:800}.line{border-bottom:1px solid #eef2f7;justify-content:space-between;gap:14px;padding:14px 0;display:flex}.line:last-child{border-bottom:0}.line p{margin:4px 0 0;font-size:14px}.lineRight{justify-items:end;gap:7px;display:grid}.badge{border-radius:999px;width:fit-content;padding:5px 9px;font-size:12px;font-weight:850;display:inline-flex}.badge.green{color:#166534;background:#dcfce7}.badge.orange{color:#9a3412;background:#ffedd5}.badge.red{color:#be123c;background:#ffe4e6}.badge.blue{color:#1d4ed8;background:#dbeafe}.badge.gray{color:#374151;background:#e5e7eb}.pageHead{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.search{background:#fff;border:1px solid #e5e7eb;border-radius:16px;align-items:center;gap:9px;min-width:280px;height:48px;padding:0 13px;display:flex}.search input{border:0;outline:0;width:100%}.filterBar{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-wrap:wrap;align-items:center;gap:8px;width:fit-content;margin-bottom:18px;padding:9px;display:flex}.filterBar button{color:#334155;cursor:pointer;background:#f1f5f9;border:0;border-radius:12px;padding:9px 12px}.filterBar button.active{color:#fff;background:#0f172a}.cards{grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px;display:grid}.uCard{padding:18px}.cardTop{align-items:flex-start;gap:14px;display:flex}.avatar{background:#f8fafc;border-radius:20px;place-items:center;width:64px;height:64px;font-size:32px;display:grid}.cardTop h3{margin:8px 0 4px}.cardTop p{margin:0;font-size:14px}.cardTop>div:nth-child(2){flex:1}.metaBadge{color:#3730a3;background:#eef2ff;border-radius:999px;align-items:center;gap:6px;padding:5px 9px;font-size:12px;font-weight:850;display:inline-flex}.dataGrid{grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0;display:grid}.dataGrid div{background:#f8fafc;border-radius:14px;padding:10px}.dataGrid b{font-size:18px;display:block}.dataGrid span{color:#64748b;font-size:12px}.cardBottom,.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cardBottom button,.actions button{padding:10px 12px;font-size:13px}.cardBottom .ghost,.actions .ghost{color:#0f172a;background:#f1f5f9}.cardBottom .danger,.actions .danger{background:#be123c}.opsOrder{border-bottom:1px solid #eef2f7;grid-template-columns:1fr 190px;gap:12px;padding:16px 0;display:grid}.opsOrder:last-child{border-bottom:0}.opsOrder h3{margin-bottom:4px}.opsOrder p{margin-bottom:6px}.opsOrder small{color:#64748b}.opsStatus{justify-items:end;gap:7px;display:grid}.opsOrder .actions{grid-column:1/-1}.rule{background:#f8fafc;border-radius:16px;justify-content:space-between;gap:14px;margin-bottom:10px;padding:14px;display:flex}.rule span{color:#64748b;text-align:right}.zoneMap{grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px;display:grid}.zone{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:20px}.zone.critical{border-color:#fecdd3}.zone.warning{border-color:#fed7aa}.zoneHead{justify-content:space-between;gap:12px;display:flex}.zoneHead h3{align-items:center;gap:7px;display:flex}.meter{background:#e5e7eb;border-radius:999px;height:10px;margin:14px 0;overflow:hidden}.meter span{background:#0f172a;height:100%;display:block}.zoneStats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.zoneStats div{background:#f8fafc;border-radius:14px;padding:12px}.zoneStats b{font-size:18px;display:block}.zoneStats span{color:#64748b;font-size:12px}.notification{border-bottom:1px solid #eef2f7;align-items:center;gap:14px;padding:14px 0;display:flex}.notification:last-child{border-bottom:0}.notification>div:nth-child(2){flex:1}.notification p{margin:4px 0 0;font-size:14px}@media (width<=1050px){.app{grid-template-columns:1fr}aside{position:static}nav{grid-template-columns:repeat(2,1fr)}.metrics,.grid2,.cards,.zoneMap{grid-template-columns:1fr}.hero,.pageHead{flex-direction:column}.search{width:100%;min-width:0}}.formGrid{grid-template-columns:1fr 220px auto;align-items:end;gap:16px;display:grid}.formGrid label{color:#111827;gap:8px;font-weight:800;display:grid}.formGrid input,.formGrid select{background:#fff;border:1px solid #d8dee9;border-radius:16px;outline:none;height:48px;padding:0 14px;font-size:15px;font-weight:700}.formGrid input:focus,.formGrid select:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1f}.formGrid .primary{white-space:nowrap;height:48px}@media (width<=900px){.formGrid{grid-template-columns:1fr}}.textareaLabel{gap:8px;margin:14px 0;font-weight:800;display:grid}.textareaLabel textarea{min-height:110px;font:inherit;resize:vertical;border:1px solid #d8dee9;border-radius:18px;padding:14px;font-weight:600}@media (width<=1100px){.operatorEstateFilters{grid-template-columns:1fr}.bulkOpsBar{flex-direction:column;align-items:stretch}.bulkOpsActions{justify-content:flex-start}}.operatorEstateFilters{grid-template-columns:minmax(320px,1fr) minmax(260px,420px) minmax(180px,240px) auto;align-items:center;gap:12px;display:grid}.operatorEstateFilters select{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:18px;outline:none;width:100%;min-height:52px;padding:0 16px;font-size:16px;font-weight:800}.bulkOpsBar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:14px;display:flex}.bulkOpsBar b{color:#0f172a;font-size:18px;display:block}.bulkOpsBar span{color:#64748b;margin-top:4px;font-size:13px;font-weight:700;display:block}.bulkOpsActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.selectedRow{background:#fff7ed}input[type=checkbox]{accent-color:#0f172a;width:18px;height:18px}button:disabled{opacity:.45;cursor:not-allowed}@media (width<=1100px){.operatorEstateFilters{grid-template-columns:1fr}.bulkOpsBar{flex-direction:column;align-items:stretch}.bulkOpsActions{justify-content:flex-start}}.usage-page{color:#111827;background:#f3f6fb;min-height:100vh;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.usage-header{color:#fff;background:linear-gradient(135deg,#0b1220,#111827);justify-content:space-between;align-items:center;gap:22px;padding:28px 36px;display:flex}.usage-chip{color:#67e8f9;background:#22d3ee1f;border-radius:999px;margin-bottom:12px;padding:8px 12px;font-weight:900;display:inline-flex}.usage-header h1{letter-spacing:-.04em;margin:0;font-size:34px}.usage-header p{color:#94a3b8;margin:8px 0 0;font-weight:700}.usage-token-box{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.usage-token-box input,.usage-toolbar select{color:#111827;background:#fff;border:1px solid #d9e1ee;border-radius:14px;padding:12px 14px;font-size:15px}.usage-token-box input{width:390px;max-width:45vw}.usage-token-box button,.usage-toolbar button{cursor:pointer;color:#fff;background:#2563eb;border:0;border-radius:14px;padding:12px 16px;font-size:15px;font-weight:900}.usage-token-box button.ghost{color:#111827;background:#fff}.usage-main{max-width:1550px;margin:0 auto;padding:24px}.usage-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:18px;display:flex}.usage-toolbar label{align-items:center;gap:10px;font-weight:900;display:flex}.usage-toolbar span{color:#64748b;font-weight:800}.usage-error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:16px;margin-bottom:16px;padding:14px;font-weight:900}.usage-grid{grid-template-columns:repeat(6,minmax(150px,1fr));gap:14px;margin-bottom:18px;display:grid}.usage-card,.usage-panel{background:#fff;border:1px solid #e6ebf3;border-radius:22px;box-shadow:0 18px 55px #0f172a14}.usage-card{padding:20px}.usage-card span{color:#64748b;font-size:13px;font-weight:900;display:block}.usage-card b{letter-spacing:-.04em;margin-top:8px;font-size:28px;display:block}.usage-card.good b{color:#059669}.usage-card.warn b{color:#d97706}.usage-card.bad b{color:#dc2626}.usage-card.blue b{color:#2563eb}.usage-panels{grid-template-columns:1fr 1fr;gap:18px;display:grid}.usage-panel{padding:20px;overflow:auto}.usage-panel h2{letter-spacing:-.03em;margin:0 0 14px;font-size:20px}.usage-table-wrap{overflow:auto}.usage-table{border-collapse:collapse;width:100%;font-size:13px}.usage-table th,.usage-table td{text-align:left;vertical-align:top;border-bottom:1px solid #edf1f7;padding:9px 8px}.usage-table th{color:#64748b;font-weight:900}.usage-table .num,.usage-table td.num{text-align:right;font-variant-numeric:tabular-nums}.usage-empty{color:#64748b;padding:12px 0;font-weight:800}@media (width<=1100px){.usage-header{display:block}.usage-token-box{justify-content:flex-start;margin-top:18px}.usage-token-box input{width:100%;max-width:none}.usage-grid{grid-template-columns:repeat(2,1fr)}.usage-panels{grid-template-columns:1fr}}.operatorPage{color:#111827;background:#f3f6fc;min-height:100vh}.operatorHero{color:#fff;background:#081225;justify-content:space-between;align-items:flex-start;gap:24px;min-height:180px;padding:44px 48px;display:flex}.operatorHero h1{letter-spacing:-.04em;margin:0 0 12px;font-size:44px;line-height:1.05}.operatorHero p{color:#aab7d0;max-width:760px;margin:0;font-size:18px;font-weight:700}.operatorActions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.operatorActions button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:18px;padding:14px 22px;font-size:16px;font-weight:900;box-shadow:0 16px 40px #2563eb38}.operatorActions button:nth-child(n+2){color:#111827;background:#fff}.operatorMain{padding:28px}.toolbar{flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:24px;display:flex}.toolbar label{align-items:center;gap:10px;font-weight:900;display:flex}.toolbar select{background:#fff;border:1px solid #dbe3f0;border-radius:18px;min-width:150px;height:54px;padding:0 18px;font-size:16px;font-weight:800}.toolbar b{color:#64748b;font-size:18px}.error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:18px;margin:0 0 22px;padding:18px 22px;font-weight:900}.kpiGrid{grid-template-columns:repeat(6,minmax(150px,1fr));gap:18px;margin-bottom:24px;display:grid}.card{background:#fff;border:1px solid #e6edf7;border-radius:24px;padding:24px 28px;box-shadow:0 20px 60px #0f172a0f}.card span{color:#64748b;margin-bottom:10px;font-size:15px;font-weight:900;display:block}.card b{color:#0f172a;letter-spacing:-.04em;font-size:38px;font-weight:1000;line-height:1;display:block}.greenText{color:#059669!important}.orangeText{color:#d97706!important}.redText{color:#dc2626!important}.panels{grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px;display:grid}.panel{background:#fff;border:1px solid #e6edf7;border-radius:24px;padding:28px;overflow-x:auto;box-shadow:0 20px 60px #0f172a0f}.panel h2{letter-spacing:-.03em;margin:0 0 22px;font-size:26px;line-height:1.1}.visitorsPanel{margin-top:22px}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;color:#64748b;white-space:nowrap;border-bottom:1px solid #e8eef7;padding:12px;font-weight:1000}td{vertical-align:top;color:#0f172a;border-bottom:1px solid #eef3fa;padding:14px 12px;font-weight:650}.muted{color:#64748b;font-weight:900}.botBadge{white-space:nowrap;border-radius:999px;align-items:center;padding:5px 10px;font-size:12px;font-weight:1000;display:inline-flex}.botBadge.human{color:#15803d;background:#dcfce7}.botBadge.bot{color:#b91c1c;background:#fee2e2}@media (width<=1200px){.kpiGrid{grid-template-columns:repeat(2,1fr)}.panels{grid-template-columns:1fr}.operatorHero{flex-direction:column;padding:32px 24px}.operatorHero h1{font-size:34px}.operatorMain{padding:18px}}@media (width<=640px){.kpiGrid{grid-template-columns:1fr}.operatorActions button{width:100%}}
