.dashboard-hero{min-height:210px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:34px 40px;border-radius:22px;color:#fff;background:linear-gradient(120deg,#2854e8 0%,#526df5 52%,#7168ed 100%);box-shadow:0 18px 40px rgba(69,91,225,.22)}
.dashboard-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 30%,rgba(255,255,255,.2),transparent 29%),linear-gradient(120deg,transparent 55%,rgba(255,255,255,.08))}
.hero-copy{position:relative;z-index:2}.hero-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.13);font-size:12px}.hero-badge i{width:7px;height:7px;border-radius:50%;background:#6bf0b0;box-shadow:0 0 0 4px rgba(107,240,176,.14)}
.dashboard-hero h1{margin:16px 0 8px;font-size:29px;letter-spacing:-.5px}.dashboard-hero p{margin:0;color:rgba(255,255,255,.76);font-size:15px}.hero-actions{display:flex;gap:10px;margin-top:23px}.hero-actions button{padding:10px 16px;border-radius:10px;font-weight:700}.hero-primary{border:0;background:#fff;color:#3458dc;box-shadow:0 6px 18px rgba(29,38,104,.16)}.hero-secondary{border:1px solid rgba(255,255,255,.33);background:rgba(255,255,255,.09);color:#fff}
.hero-visual{position:relative;width:250px;height:170px;flex:0 0 250px}.hero-ring{position:absolute;border:1px solid rgba(255,255,255,.18);border-radius:50%}.ring-one{width:210px;height:210px;right:-15px;top:-20px}.ring-two{width:150px;height:150px;right:15px;top:10px}.hero-bot{position:absolute;right:51px;top:28px;width:112px;height:112px;border:1px solid rgba(255,255,255,.25);border-radius:30px;display:grid;place-items:center;background:rgba(255,255,255,.15);box-shadow:inset 0 1px rgba(255,255,255,.3),0 20px 30px rgba(32,35,113,.2);backdrop-filter:blur(8px)}.hero-bot svg{width:49px;fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.hero-bot small{position:absolute;bottom:-12px;white-space:nowrap;padding:6px 11px;border-radius:999px;background:#fff;color:#3959d8;font-weight:700;box-shadow:0 7px 18px rgba(29,38,104,.16)}
.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-top:16px}.metric-card{position:relative;display:flex;min-width:0;align-items:center;gap:12px;text-align:left;padding:17px 16px;border:1px solid #e9edf5;border-radius:16px;background:#fff;color:#101828;box-shadow:0 5px 18px rgba(16,24,40,.045);transition:.2s ease}.metric-card:hover{transform:translateY(-3px);border-color:#d8e0f2;box-shadow:0 12px 24px rgba(29,41,76,.09)}.metric-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px}.metric-icon svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tone-1 .metric-icon{color:#4263eb;background:#edf1ff}.tone-2 .metric-icon{color:#805ad5;background:#f3efff}.tone-3 .metric-icon{color:#0891b2;background:#e8f9fc}.tone-4 .metric-icon{color:#d97706;background:#fff5e5}.tone-5 .metric-icon{color:#059669;background:#eafaf4}.tone-6 .metric-icon{color:#e14d72;background:#fff0f4}.metric-content{min-width:0;display:flex;flex-direction:column}.metric-content small{color:#667085;white-space:nowrap}.metric-content strong{font-size:25px;line-height:1.15;margin:3px 0}.metric-content em{font-style:normal;font-size:11px;color:#98a2b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-arrow{position:absolute;right:11px;top:9px;color:#c5ccd8;font-size:14px}
.dashboard-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,.85fr);gap:16px;margin-top:16px}.dashboard-layout>.card,.dashboard-bottom>.card{padding:22px;border-color:#e9edf5;box-shadow:0 5px 18px rgba(16,24,40,.045)}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.section-head h2{font-size:18px;margin:4px 0 0}.eyebrow{display:block;color:#667085;font-size:11px;font-weight:700;letter-spacing:.08em}.chart-legend{display:flex;gap:15px;color:#667085;font-size:12px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:8px;height:8px;border-radius:50%}.legend-received{background:#5878f4}.legend-sent{background:#26bfa0}.trend-summary{display:flex;gap:22px;margin:19px 0 4px;color:#667085;font-size:12px}.trend-summary strong{margin-left:5px;color:#101828;font-size:15px}
.line-chart{height:222px;position:relative;padding-bottom:28px}.line-chart svg{display:block;width:100%;height:100%;overflow:visible}.chart-grid-line{fill:none;stroke:#edf0f5;stroke-width:.5}.line{fill:none;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.received-line{stroke:#5878f4}.sent-line{stroke:#26bfa0}.dot{vector-effect:non-scaling-stroke;stroke:#fff;stroke-width:1.5}.received-dot{fill:#5878f4}.sent-dot{fill:#26bfa0}.chart-labels{position:absolute;left:6%;right:6%;bottom:0;display:flex;justify-content:space-between;color:#98a2b3;font-size:11px}.online-total{padding:5px 9px;border-radius:999px;background:#ecfdf3;color:#07814f;font-size:11px;font-weight:700}
.robot-list{margin-top:16px}.robot-list>button{width:100%;display:flex;align-items:center;gap:10px;padding:11px 0;border:0;border-bottom:1px solid #f0f2f6;background:transparent;text-align:left}.robot-list>button:hover .robot-info strong{color:#4263eb}.robot-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#e7ecff,#f4f0ff);color:#4d63d9;font-weight:800}.robot-info{display:flex;flex:1;min-width:0;flex-direction:column}.robot-info strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}.robot-info small{margin-top:3px;color:#98a2b3;font-size:11px}.robot-state{display:flex;align-items:center;gap:5px;color:#07814f;font-size:11px}.robot-state i{width:7px;height:7px;border-radius:50%;background:#18b777}.robot-state.waiting{color:#b54708}.robot-state.waiting i{background:#f5a524}.text-link,.plan-link{border:0;background:transparent;color:#4263eb;font-size:12px}.text-link{width:100%;padding:14px 0 0;text-align:center}.empty-state{min-height:195px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#667085;text-align:center}.empty-state svg{width:40px;margin-bottom:10px;fill:none;stroke:#7c8fbd;stroke-width:1.5}.empty-state small{margin:5px 0 14px;color:#98a2b3}
.dashboard-bottom{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.65fr);gap:16px;margin-top:16px}.quota-value{display:flex;align-items:baseline;gap:6px;margin-top:24px}.quota-value strong{font-size:27px}.quota-value span{font-size:12px;color:#667085}.quota-value em{margin-left:auto;font-style:normal;color:#4263eb;font-size:12px;font-weight:700}.quota-track{height:9px;margin:12px 0;border-radius:999px;background:#eef1f6;overflow:hidden}.quota-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#496cf0,#7668eb)}.quota-card p{margin:0;color:#98a2b3;font-size:11px}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.quick-actions button{display:flex;min-width:0;flex-direction:column;text-align:left;padding:13px;border:1px solid #edf0f5;border-radius:13px;background:#fafbfc;color:#344054;transition:.18s}.quick-actions button:hover{border-color:#d7dff3;background:#f6f8ff;transform:translateY(-2px)}.quick-actions span{display:grid;place-items:center;width:29px;height:29px;margin-bottom:10px;border-radius:9px;background:#ebefff;color:#4564e7;font-size:17px}.quick-actions strong{font-size:12px}.quick-actions small{margin-top:4px;color:#98a2b3;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1300px){.metric-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.dashboard-hero{padding:28px}.hero-visual{display:none}.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-layout,.dashboard-bottom{grid-template-columns:1fr}.quick-actions{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.dashboard-hero{min-height:0;padding:24px 20px}.dashboard-hero h1{font-size:23px}.hero-actions{flex-direction:column}.metric-grid,.quick-actions{grid-template-columns:1fr}.chart-legend{display:none}}
