.operations-dashboard { width: 100%; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.dashboard-metric { display: flex; align-items: center; gap: 0.9rem; min-width: 0; padding: 1rem; color: var(--text-primary); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
a.dashboard-metric:hover { color: var(--text-primary); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); box-shadow: var(--shadow-md); text-decoration: none; transform: translateY(-2px); }
.dashboard-metric__icon { display: grid; flex: 0 0 2.75rem; height: 2.75rem; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: .8rem; }
.dashboard-metric__icon.is-warning { color: var(--warning); background: color-mix(in srgb, var(--warning) 13%, transparent); }
.dashboard-metric__icon.is-success { color: var(--success); background: color-mix(in srgb, var(--success) 13%, transparent); }
.dashboard-metric__icon.is-danger { color: var(--danger); background: color-mix(in srgb, var(--danger) 11%, transparent); }
.dashboard-metric > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.dashboard-metric small { color: var(--text-muted); font-size: .7rem; font-style: normal; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.dashboard-metric strong { overflow: hidden; margin: .1rem 0; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-metric em { color: var(--text-subtle); font-size: .72rem; font-style: normal; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.dashboard-grid--lower { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-chart { display: grid; grid-template-columns: repeat(7, minmax(54px, 1fr)); gap: .75rem; height: 245px; padding-top: .5rem; overflow-x: auto; }
.dashboard-chart__day { display: grid; grid-template-rows: 1.5rem minmax(120px, 1fr) auto auto; min-width: 54px; text-align: center; }
.dashboard-chart__value { overflow: hidden; color: var(--text-muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-chart__track { position: relative; align-self: stretch; margin: .35rem auto .5rem; width: min(34px, 70%); overflow: hidden; background: var(--surface-alt); border-radius: .55rem .55rem .25rem .25rem; }
.dashboard-chart__track span { position: absolute; right: 0; bottom: 0; left: 0; min-height: 4px; background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius: .55rem .55rem .2rem .2rem; }
.dashboard-chart__day strong { font-size: .75rem; }
.dashboard-chart__day small { color: var(--text-subtle); font-size: .65rem; }
.dashboard-attention-list { display: grid; gap: .6rem; }
.dashboard-attention-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .85rem; color: var(--text-primary); background: var(--surface-alt); border: 1px solid transparent; border-radius: var(--radius-md); text-decoration: none; }
.dashboard-attention-list a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.dashboard-attention-list span { display: flex; align-items: center; gap: .65rem; font-weight: 650; }
.dashboard-attention-list i { width: 1rem; color: var(--primary); text-align: center; }
.dashboard-attention-list strong { display: grid; min-width: 2rem; height: 2rem; place-items: center; background: var(--surface); border-radius: 50rem; }
.dashboard-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-height: 68px; padding: .8rem 1rem; color: var(--text-primary); border-bottom: 1px solid var(--border); }
.dashboard-row:last-child { border-bottom: 0; }
.dashboard-row > div { display: flex; min-width: 0; flex-direction: column; }
.dashboard-row > div strong, .dashboard-row > div small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-row > div strong { font-size: .82rem; }
.dashboard-row > div small { color: var(--text-muted); font-size: .72rem; }
.dashboard-row--link:hover { color: var(--primary); background: var(--surface-selected); text-decoration: none; }
.dashboard-row time { color: var(--text-muted); font-size: .75rem; font-weight: 650; }
@media (max-width: 1199.98px) { .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .dashboard-metrics { grid-template-columns: 1fr; } .dashboard-grid--lower { grid-template-columns: 1fr; } .dashboard-row { padding-inline: .8rem; } }
