.dashboard-overview{display:flex;width:100%;min-height:100%;min-width:0;flex-direction:column;gap:16px;box-sizing:border-box;padding:16px;color:rgb(var(--admin-text));font-family:var(--app-font-sans)}.dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:0 4px}.dashboard-title{margin:0;font-size:20px;line-height:1.35;font-weight:600;letter-spacing:0}.dashboard-subtitle{margin:4px 0 0;color:rgb(var(--admin-subtle));font-size:13px;line-height:1.55;letter-spacing:0}.dashboard-data-note{border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.dashboard-data-note--warning{color:rgb(var(--admin-warning-text));background:rgb(var(--admin-warning-bg))}.dashboard-header-actions{display:flex;min-width:0;align-items:flex-start;justify-content:flex-end;gap:8px}.dashboard-header-actions .admin-icon-button,.dashboard-refresh-button{width:36px;height:36px;flex:0 0 36px;border-radius:8px}.dashboard-primary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dashboard-metric-card,.dashboard-panel,.dashboard-secondary,.dashboard-insights{border:1px solid rgb(var(--admin-border-strong) / .76);border-radius:8px;background:rgb(var(--admin-surface))}.dashboard-metric-card{min-width:0;min-height:112px;padding:15px}.dashboard-metric-card__topline,.dashboard-metric-card__label{display:flex;align-items:center}.dashboard-metric-card__topline{min-height:24px;justify-content:space-between;gap:6px}.dashboard-metric-card__label{min-width:0;gap:8px;color:rgb(var(--admin-muted));font-size:12px;line-height:1.25}.dashboard-metric-card__label>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-icon-box{display:inline-flex;width:30px;height:30px;flex:0 0 30px;align-items:center;justify-content:center;border-radius:6px}.dashboard-tone-blue{color:rgb(var(--admin-info-text));background:rgb(var(--admin-info-bg))}.dashboard-tone-green{color:rgb(var(--admin-success-text));background:rgb(var(--admin-success-bg))}.dashboard-tone-violet{color:#7c3aed;background:#f5f3ff}.dark .dashboard-tone-violet{color:#c4b5fd;background:#4c1d956b}.dashboard-tone-amber{color:rgb(var(--admin-warning-text));background:rgb(var(--admin-warning-bg))}.dashboard-tone-orange{color:#c2410c;background:#fff7ed}.dark .dashboard-tone-orange{color:#fdba74;background:#7c2d126b}.dashboard-tone-red{color:rgb(var(--admin-danger-text));background:rgb(var(--admin-danger-bg))}.dashboard-metric-badge{flex:0 0 auto;max-width:86px;overflow:hidden;border-radius:5px;padding:3px 6px;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.2;font-weight:700}.dashboard-metric-card__value-row{display:flex;min-width:0;align-items:baseline;justify-content:space-between;gap:8px;margin-top:10px}.dashboard-metric-card__value{min-height:30px;min-width:0;overflow-wrap:anywhere;color:rgb(var(--admin-text));font-size:22px;line-height:1.35;font-weight:700;letter-spacing:0}.dashboard-metric-card__hint{margin-top:3px;overflow:hidden;color:rgb(var(--admin-subtle));font-size:10.5px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.dashboard-secondary{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));overflow:hidden}.dashboard-secondary__item{min-width:0;min-height:76px;padding:14px}.dashboard-secondary__item+.dashboard-secondary__item{border-left:1px solid rgb(var(--admin-border))}.dashboard-secondary__label{display:block;overflow:hidden;color:rgb(var(--admin-subtle));font-size:10.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.dashboard-secondary__value-row{display:flex;min-width:0;align-items:baseline;gap:6px;margin-top:5px}.dashboard-secondary__value{overflow:hidden;color:rgb(var(--admin-text));font-size:16px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.dashboard-secondary__note{min-width:0;overflow:hidden;color:rgb(var(--admin-subtle));font-size:9.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.dashboard-secondary__note.is-blue{color:rgb(var(--admin-info-text))}.dashboard-secondary__note.is-green{color:rgb(var(--admin-success-text))}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(300px,.74fr);gap:16px}.dashboard-panel{min-width:0;overflow:hidden}.dashboard-panel-header{display:flex;min-height:64px;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 16px 13px;border-bottom:1px solid rgb(var(--admin-border))}.dashboard-panel-title{margin:0;color:rgb(var(--admin-text));font-size:14px;line-height:1.4;font-weight:650;letter-spacing:0}.dashboard-panel-subtitle{margin:3px 0 0;color:rgb(var(--admin-subtle));font-size:10.5px;line-height:1.45}.dashboard-segmented{display:inline-flex;flex:0 0 auto;align-items:center;gap:2px;border-radius:6px;padding:3px;background:rgb(var(--admin-surface-soft))}.dashboard-segmented button{display:inline-flex;height:30px;align-items:center;gap:5px;border-radius:5px;padding:0 8px;color:rgb(var(--admin-subtle));font-size:10.5px;line-height:1;transition:background-color .16s ease,color .16s ease}.dashboard-segmented button:hover{color:rgb(var(--admin-text))}.dashboard-segmented button.is-active{color:rgb(var(--admin-info-text));background:rgb(var(--admin-surface));box-shadow:0 0 0 1px rgb(var(--admin-border-strong))}.dashboard-trend-summary{display:flex;min-height:32px;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:12px 16px 0;border-radius:5px;padding:7px 10px;color:rgb(var(--admin-subtle));background:rgb(var(--admin-surface-muted));font-size:10.5px}.dashboard-trend-summary strong{margin-left:4px;color:rgb(var(--admin-muted));font-weight:650}.dashboard-trend-summary strong.text-admin-success-text{color:rgb(var(--admin-success-text))}.dashboard-trend-summary strong.text-admin-info-text{color:rgb(var(--admin-primary))}.dashboard-trend-summary strong.text-admin-warning-text{color:rgb(var(--admin-warning-text))}.dashboard-trend-summary strong.text-admin-danger-text{color:rgb(var(--admin-danger-text))}.dashboard-chart-surface{min-width:0;margin:12px 16px 16px;overflow:hidden;border:1px solid rgb(var(--admin-border) / .72);border-radius:8px;background:rgb(var(--admin-surface-muted) / .3)}.dashboard-line-chart{min-height:250px;padding:10px 12px 8px 8px;background:rgb(var(--admin-surface))}.dashboard-chart-empty{display:flex;min-height:248px;align-items:center;justify-content:center;padding:24px;color:rgb(var(--admin-subtle));font-size:12px}.dashboard-health-badge{display:inline-flex;height:22px;flex:0 0 auto;align-items:center;gap:6px;border-radius:5px;padding:0 8px;font-size:9px;font-weight:650}.dashboard-health-badge span{width:6px;height:6px;border-radius:999px}.dashboard-health-badge.is-healthy{color:rgb(var(--admin-success-text));background:rgb(var(--admin-success-bg))}.dashboard-health-badge.is-healthy span{background:rgb(var(--admin-success-text))}.dashboard-health-badge.is-warning{color:rgb(var(--admin-warning-text));background:rgb(var(--admin-warning-bg))}.dashboard-health-badge.is-warning span{background:rgb(var(--admin-warning-text))}.dashboard-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-status-cell{display:flex;min-width:0;min-height:75px;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid rgb(var(--admin-border))}.dashboard-status-cell:nth-child(odd){border-right:1px solid rgb(var(--admin-border))}.dashboard-status-cell:nth-last-child(-n+2){border-bottom:0}.dashboard-status-label{color:rgb(var(--admin-subtle));font-size:10px;line-height:1.35}.dashboard-status-value{display:block;margin-top:3px;overflow-wrap:anywhere;color:rgb(var(--admin-muted));font-size:12px;line-height:1.35;font-weight:650}.dashboard-insights{overflow:hidden}.dashboard-insight-row{display:grid;width:100%;min-width:0;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 16px;text-align:left;transition:background-color .16s ease}.dashboard-insight-row+.dashboard-insight-row{border-top:1px solid rgb(var(--admin-border))}.dashboard-insight-row:hover{background:rgb(var(--admin-hover) / .62)}.dashboard-insight-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.dashboard-insight-copy strong{color:rgb(var(--admin-text));font-size:12px;line-height:1.35;font-weight:650}.dashboard-insight-copy small{overflow:hidden;color:rgb(var(--admin-subtle));font-size:10.5px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.dashboard-insight-action{display:inline-flex;align-items:center;gap:4px;color:rgb(var(--admin-info-text));font-size:10px;white-space:nowrap}.dashboard-detail-dialog{max-width:1080px!important;border-radius:10px}.dashboard-detail-dialog__body{padding:0!important}.dashboard-detail-tabs{display:flex;min-width:0;gap:4px;overflow-x:auto;padding:10px 18px 0;border-bottom:1px solid rgb(var(--admin-border))}.dashboard-detail-tabs button{position:relative;height:38px;flex:0 0 auto;padding:0 12px;color:rgb(var(--admin-subtle));font-size:12px;font-weight:550}.dashboard-detail-tabs button:after{position:absolute;right:10px;bottom:-1px;left:10px;height:2px;border-radius:2px 2px 0 0;background:transparent;content:""}.dashboard-detail-tabs button.is-active{color:rgb(var(--admin-info-text))}.dashboard-detail-tabs button.is-active:after{background:rgb(var(--admin-primary))}.dashboard-detail-content{min-height:360px;padding:18px}.dashboard-detail-stack{display:grid;gap:18px}.dashboard-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid rgb(var(--admin-border));border-radius:8px;background:rgb(var(--admin-border))}.dashboard-detail-metric{min-width:0;min-height:88px;padding:15px;background:rgb(var(--admin-surface))}.dashboard-detail-metric>span{display:block;color:rgb(var(--admin-subtle));font-size:11px}.dashboard-detail-metric>strong{display:block;margin-top:8px;overflow-wrap:anywhere;color:rgb(var(--admin-text));font-size:20px;line-height:1.25;font-weight:700}.dashboard-detail-metric--positive>strong{color:rgb(var(--admin-success-text))}.dashboard-detail-metric--negative>strong{color:rgb(var(--admin-danger-text))}.dashboard-detail-metric>small{display:block;margin-top:5px;color:rgb(var(--admin-subtle));font-size:10px}.dashboard-detail-section{min-width:0}.dashboard-detail-section>header{margin-bottom:12px}.dashboard-detail-section h3{margin:0;color:rgb(var(--admin-text));font-size:13px;line-height:1.4;font-weight:650}.dashboard-detail-section p{margin:3px 0 0;color:rgb(var(--admin-subtle));font-size:10px;line-height:1.5}.dashboard-detail-table-wrap{min-width:0;overflow-x:auto;border:1px solid rgb(var(--admin-border));border-radius:8px}.dashboard-detail-table{width:100%;min-width:680px;border-collapse:collapse;text-align:left}.dashboard-detail-table th,.dashboard-detail-table td{padding:10px 12px;border-bottom:1px solid rgb(var(--admin-border));white-space:nowrap;font-size:11px}.dashboard-detail-table th{color:rgb(var(--admin-subtle));background:rgb(var(--admin-table-head));font-weight:550}.dashboard-detail-table td{color:rgb(var(--admin-muted))}.dashboard-detail-table tbody tr:last-child td{border-bottom:0}.dashboard-detail-table tbody tr:hover td{background:rgb(var(--admin-hover) / .5)}.dashboard-detail-empty{display:flex;min-height:180px;align-items:center;justify-content:center;border:1px dashed rgb(var(--admin-border-strong));border-radius:8px;color:rgb(var(--admin-subtle));background:rgb(var(--admin-surface-muted) / .5);font-size:12px}.dashboard-detail-hour-grid{display:grid;height:150px;grid-template-columns:repeat(24,minmax(18px,1fr));align-items:end;gap:5px;overflow-x:auto;border-bottom:1px solid rgb(var(--admin-border))}.dashboard-detail-hour-grid>div{display:grid;height:148px;grid-template-rows:1fr 20px;align-items:end;justify-items:center}.dashboard-detail-hour-grid span{display:block;width:100%;max-width:24px;border-radius:3px 3px 0 0;background:rgb(var(--admin-primary))}.dashboard-detail-hour-grid small{color:rgb(var(--admin-subtle));font-size:8px;line-height:20px}.dashboard-skeleton{border-radius:8px;background:rgb(var(--admin-surface-soft));animation:dashboard-skeleton-pulse 1.1s ease-in-out infinite alternate}.dashboard-skeleton--header{width:min(440px,100%);height:54px}.dashboard-skeleton--metric{height:112px}.dashboard-skeleton--secondary{height:76px}.dashboard-skeleton--panel{height:330px}@keyframes dashboard-skeleton-pulse{0%{opacity:.55}to{opacity:1}}@media (min-width: 600px){.dashboard-overview{padding:20px}}@media (max-width: 1279px){.dashboard-primary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-secondary{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-secondary__item:nth-child(5){border-left:0}.dashboard-secondary__item:nth-child(-n+4){border-bottom:1px solid rgb(var(--admin-border))}}@media (max-width: 1023px){.dashboard-header{flex-direction:column;gap:14px}.dashboard-header-actions{width:100%;justify-content:flex-start}.dashboard-main-grid{grid-template-columns:minmax(0,1fr)}.dashboard-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-status-cell:nth-child(odd){border-right:0}.dashboard-status-cell{border-right:1px solid rgb(var(--admin-border))}.dashboard-status-cell:nth-child(4n){border-right:0}.dashboard-status-cell:nth-last-child(-n+4){border-bottom:0}}@media (max-width: 767px){.dashboard-title{font-size:20px}.dashboard-header-actions{align-items:flex-start}.dashboard-header-actions>div{min-width:0;flex:1 1 auto}.dashboard-primary-grid,.dashboard-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-secondary__item:nth-child(odd){border-left:0}.dashboard-secondary__item:nth-child(2n){border-left:1px solid rgb(var(--admin-border))}.dashboard-secondary__item:nth-child(-n+6){border-bottom:1px solid rgb(var(--admin-border))}.dashboard-panel-header--responsive{flex-direction:column;align-items:stretch}.dashboard-segmented{width:100%}.dashboard-segmented button{min-width:0;flex:1 1 0;justify-content:center}.dashboard-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-status-cell:nth-child(odd){border-right:1px solid rgb(var(--admin-border))}.dashboard-status-cell:nth-child(2n){border-right:0}.dashboard-status-cell:nth-last-child(-n+4){border-bottom:1px solid rgb(var(--admin-border))}.dashboard-status-cell:nth-last-child(-n+2){border-bottom:0}.dashboard-insight-row{grid-template-columns:30px minmax(0,1fr) 20px}.dashboard-insight-action{font-size:0}.dashboard-detail-content{padding:14px}.dashboard-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-chart-surface{margin:10px 12px 12px}}@media (max-width: 479px){.dashboard-header-actions{flex-wrap:wrap}.dashboard-header-actions>div{flex-basis:calc(100% - 44px)}.dashboard-header-actions [role=tablist]{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-header-actions [role=tab]{min-width:0;padding-right:5px;padding-left:5px}.dashboard-primary-grid{grid-template-columns:minmax(0,1fr)}.dashboard-metric-card{min-height:96px}.dashboard-status-cell{min-height:72px;align-items:flex-start;padding:11px}.dashboard-status-cell .dashboard-icon-box{width:24px;height:24px;flex-basis:24px}.dashboard-detail-metrics{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion: reduce){.dashboard-skeleton,.dashboard-segmented button,.dashboard-insight-row{animation:none;transition:none}}
