.dashboard{margin:24px 28px;color:#243b3c}
.dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.dashboard-head h2{font-size:18px;margin:0;font-weight:600}
.dashboard-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dashboard-actions label{font-size:12px;display:flex;gap:8px;align-items:center}.dashboard-actions input{max-width:155px;padding:9px;border:1px solid #dce5e2;border-radius:8px;background:#fff}
.dashboard-status{font-size:11px;color:#647a79;margin:8px 0 16px;min-height:16px}.dashboard-status.failed{color:#a84c33}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-kpi{border:1px solid #dde7e3;background:#fff;border-radius:10px;padding:16px;min-width:0}.dashboard-kpi h3{font-size:12px;font-weight:500;margin:0;line-height:1.6}.dashboard-kpi strong{display:block;font-size:26px;margin:10px 0 5px;line-height:1.3;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.dashboard-kpi small{display:block;font-size:11px;color:#687c7d;line-height:1.6}
.dashboard-facts{display:flex;flex-wrap:wrap;border-bottom:1px solid #dce5e2;padding:6px 0;margin-top:8px;gap:4px 20px}.dashboard-fact{border:0;background:none;padding:9px 0;display:flex;align-items:center;gap:12px;font-size:12px;color:#4c6262;cursor:pointer;min-height:40px}.dashboard-fact strong{color:#243b3c;font-weight:600;font-variant-numeric:tabular-nums}.dashboard-fact:hover span{text-decoration:underline}
.dashboard-caption{font-size:11px;color:#687c7d;line-height:1.8;margin:12px 0 0}.dashboard-availability{margin:8px 0 16px}
.dashboard-section{background:#fff;border:1px solid #dde7e3;border-radius:10px;padding:18px;min-width:0;margin-top:12px}.dashboard-section .card-head{margin-bottom:12px}.dashboard-section h3{font-size:14px;margin:0;font-weight:600}.dashboard-section p{font-size:12px;color:#637a78;line-height:1.8}.dashboard-section summary{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;cursor:pointer;font-weight:600;min-height:24px;list-style:none}.dashboard-section summary::before{content:'+';font-weight:400;color:#687c7d}.dashboard-section[open] summary::before{content:'−'}.dashboard-section summary span{margin-inline-start:auto;color:#687c7d;font-weight:400;font-size:11px}
.dashboard-table-wrap{max-width:100%;overflow-x:auto}.dashboard-table{border-collapse:collapse;width:100%;font-size:12px;text-align:right}.dashboard-table th{font-size:11px;font-weight:500;color:#687c7d;background:#f6f8f7;line-height:1.7;padding:10px;text-align:right}.dashboard-table td{padding:12px 10px;border-bottom:1px solid #edf1ef;vertical-align:middle;font-variant-numeric:tabular-nums}.dashboard-table tbody tr:last-child td{border-bottom:0}.dashboard-table td:first-child{min-width:170px;max-width:260px}
.dashboard-machine strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.dashboard-machine small{display:block;color:#687c7d;font-size:10px;line-height:1.8}.dashboard-data-status{font-weight:500}.dashboard-badge{font-size:10px;border-radius:5px;padding:4px 7px;display:inline-block;background:#f2f4f2;color:#657574;white-space:nowrap}.dashboard-badge.connected{background:#eaf5ee;color:#207253}.dashboard-badge.disconnected{background:#f6efeb;color:#8c583e}.dashboard-row-actions .link-button{display:block;font-size:11px;white-space:nowrap;padding-block:5px;min-height:32px}
.dashboard-alert{padding:10px 0;border-bottom:1px solid #edf1ef;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.dashboard-alert strong{font-weight:500}.dashboard-alert small{font-size:11px;color:#687c7d}.dashboard-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px}
.dashboard-month-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.dashboard-month-facts dt{font-size:11px;color:#687c7d;line-height:1.7}.dashboard-month-facts dd{font-size:16px;margin:4px 0 0;font-weight:500;overflow-wrap:anywhere}.dashboard-help{background:none;border-color:transparent;padding-block:10px}.dashboard-empty{padding:12px 0;line-height:1.8;color:#637a78;font-size:12px}.dashboard #dashboard-refresh{white-space:nowrap}.dashboard-skeleton{padding:25px 18px;border-radius:10px;background:#edf2ef;color:#647a79}.dashboard~#now-kpis,.dashboard~#day-summary{display:none}
@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dashboard{margin-inline:16px}.dashboard-month-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.dashboard-head{align-items:flex-start;flex-direction:column;gap:12px}.dashboard-actions{width:100%;justify-content:space-between}.dashboard-kpis{gap:8px}.dashboard-kpi{padding:12px}.dashboard-kpi strong{font-size:23px}.dashboard-kpi h3{font-size:11px}.dashboard-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.dashboard-fact{justify-content:space-between}.dashboard-section{padding:14px}.dashboard-table-wrap{overflow:visible}.dashboard-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.dashboard-table,.dashboard-table tbody{display:block}.dashboard-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px solid #edf1ef;padding:14px 0}.dashboard-table tr:first-child{border-top:0;padding-top:0}.dashboard-table td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere}.dashboard-table td::before{content:attr(data-label);display:block;color:#687c7d;font-size:10px;line-height:1.8;margin-bottom:2px}.dashboard-table td:first-child{grid-column:1/-1;min-width:0;max-width:none}.dashboard-table td:first-child::before,.dashboard-table .dashboard-row-actions::before{display:none}.dashboard-row-actions{grid-column:1/-1;display:flex!important;gap:20px}.dashboard-row-actions .link-button{min-height:40px}.dashboard-alert{align-items:flex-start;flex-direction:column;gap:4px}}
