/* /Components/Controls/BinGraphic.razor.rz.scp.css */
/* ---- Bin Graphic ---- */

.bin-graphic-wrapper[b-uiot9hx2kv] {
    text-align: center;
}

.bin-clickable[b-uiot9hx2kv] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.bin-clickable:hover[b-uiot9hx2kv] {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(88, 166, 255, 0.15);
    outline: 1px solid #30363d;
}

[b-uiot9hx2kv] .bin-svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

[b-uiot9hx2kv] .sensor-label {
    font-size: 9px;
    font-weight: 700;
    fill: #546e7a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

[b-uiot9hx2kv] .sensor-value {
    font-size: 12px;
    font-weight: 600;
    fill: #263238;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-uiot9hx2kv] .sensor-value-sub {
    font-size: 9px;
    fill: #546e7a;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-uiot9hx2kv] .thermo-val {
    font-size: 12px;
    font-weight: 600;
    fill: #263238;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-uiot9hx2kv] .delta-w-label {
    font-size: 8px;
    font-weight: 700;
    fill: #80cbc4;
    letter-spacing: 1px;
}

[b-uiot9hx2kv] .delta-w-value {
    font-size: 12px;
    font-weight: 600;
    fill: #e0f2f1;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-uiot9hx2kv] .damper-label {
    font-size: 12px;
    font-weight: 600;
    fill: black;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* Airflow animation */
[b-uiot9hx2kv] .flow-active path {
    animation: flow-dash 1.2s linear infinite;
}

@@keyframes flow-dash {
    to[b-uiot9hx2kv] { stroke-dashoffset: -20; }
}

/* Bin label strip */
.bin-label-strip[b-uiot9hx2kv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem;
    margin-top: 0.25rem;
    background: #1a2332;
    border-radius: 4px;
}

.bin-name[b-uiot9hx2kv] {
    font-weight: 700;
    font-size: 0.8rem;
    color: #eceff1;
    letter-spacing: 0.5px;
}

.bin-status-badge[b-uiot9hx2kv] {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active[b-uiot9hx2kv] {
    background: #2e7d32;
    color: #e8f5e9;
}

.status-warning[b-uiot9hx2kv] {
    background: #e65100;
    color: #fff3e0;
}

.status-fault[b-uiot9hx2kv] {
    background: #c62828;
    color: #ffebee;
    animation: fault-blink 1s ease-in-out infinite;
}

.status-disabled[b-uiot9hx2kv] {
    background: #455a64;
    color: #cfd8dc;
}

.status-idle[b-uiot9hx2kv] {
    background: #37474f;
    color: #b0bec5;
}

@@keyframes fault-blink {
    0%[b-uiot9hx2kv], 100%[b-uiot9hx2kv] { opacity: 1; }
    50%[b-uiot9hx2kv] { opacity: 0.5; }
}
/* /Components/Controls/SystemSensorCard.razor.rz.scp.css */
.sensor-card[b-oy59c4zv6o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
}

.sensor-card-svg[b-oy59c4zv6o] {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

[b-oy59c4zv6o] .tick-label {
    font-size: 6.5px;
    fill: #78909c;
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 600;
}

[b-oy59c4zv6o] .val-readout {
    font-size: 11px;
    font-weight: 700;
    fill: #4fc3f7;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-oy59c4zv6o] .val-unit {
    font-size: 7px;
    fill: #78909c;
    font-weight: 600;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-oy59c4zv6o] .card-label {
    font-size: 7px;
    fill: #78909c;
    font-weight: 700;
    letter-spacing: 1px;
}

.sensor-redundancy-status[b-oy59c4zv6o] {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-top: 2px;
}

.status-ok[b-oy59c4zv6o] {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.12);
}

.status-warn[b-oy59c4zv6o] {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.12);
}

.status-fail[b-oy59c4zv6o] {
    color: #f44336;
    background: rgba(244, 67, 54, 0.15);
}
/* /Components/Controls/Thermometer.razor.rz.scp.css */
.thermometer-svg[b-2butx76cho] {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

[b-2butx76cho] .thermo-tick-label {
    font-size: 7px;
    fill: #78909c;
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 600;
}

[b-2butx76cho] .thermo-readout {
    font-size: 11px;
    font-weight: 700;
    fill: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-2butx76cho] .thermo-label {
    font-size: 7px;
    font-weight: 700;
    fill: #78909c;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
/* /Components/Controls/TimeSeriesChart.razor.rz.scp.css */
.chart-container[b-w0e2lotahg] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.chart-title[b-w0e2lotahg] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.chart-svg[b-w0e2lotahg] {
    width: 100%;
    height: auto;
    display: block;
}

[b-w0e2lotahg] .chart-tick {
    font-size: 7px;
    fill: #8b949e;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

[b-w0e2lotahg] .chart-axis-label {
    font-size: 7px;
    fill: #8b949e;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
}

.chart-legend[b-w0e2lotahg] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    padding: 4px 0;
}

.chart-legend-item[b-w0e2lotahg] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #c9d1d9;
}

.chart-legend-swatch[b-w0e2lotahg] {
    width: 14px;
    height: 3px;
    border-radius: 1px;
    display: inline-block;
}

.chart-legend-swatch.dashed[b-w0e2lotahg] {
    background: none;
    border-top: 2px dashed;
    height: 0;
}
/* /Components/Controls/VfdGraphic.razor.rz.scp.css */
/* ---- VFD Graphic ---- */

.vfd-graphic-wrapper[b-dxr2mx9f34] {
    text-align: center;
}

.vfd-clickable[b-dxr2mx9f34] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.vfd-clickable:hover[b-dxr2mx9f34] {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(88, 166, 255, 0.15);
    outline: 1px solid #30363d;
}

[b-dxr2mx9f34] .vfd-svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

[b-dxr2mx9f34] .vfd-speed-text {
    font-size: 13px;
    font-weight: 700;
    fill: green;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-dxr2mx9f34] .vfd-setpoint-text {
    font-size: 9px;
    font-weight: 600;
    fill: #81d4fa;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-dxr2mx9f34] .vfd-readout-label {
    font-size: 8px;
    font-weight: 600;
    fill: #607d8b;
    letter-spacing: 1px;
}

[b-dxr2mx9f34] .vfd-readout-value {
    font-size: 12px;
    font-weight: 600;
    fill: #4fc3f7;
    font-family: 'Consolas', 'Courier New', monospace;
}

[b-dxr2mx9f34] .vfd-fault-text {
    font-size: 9px;
    font-weight: 700;
    fill: #ffffff;
    letter-spacing: 0.5px;
}

/* Fan blade spinning animation — inner <g> at local origin (0,0) */
[b-dxr2mx9f34] .fan-spinning {
    animation: spin 1.5s linear infinite;
    transform-origin: 0px 0px;
    transform-box: fill-box;
}

[b-dxr2mx9f34] .fan-spinning.fan-reverse {
    animation-direction: reverse;
}

@@keyframes spin {
    from[b-dxr2mx9f34] { transform: rotate(0deg); }
    to[b-dxr2mx9f34] { transform: rotate(360deg); }
}

/* VFD label strip */
.vfd-label-strip[b-dxr2mx9f34] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem;
    margin-top: 0.25rem;
    background: #1a2332;
    border-radius: 4px;
}

.vfd-name[b-dxr2mx9f34] {
    font-weight: 700;
    font-size: 0.75rem;
    color: #eceff1;
    letter-spacing: 0.5px;
}

.vfd-status-badge[b-dxr2mx9f34] {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active[b-dxr2mx9f34] {
    background: #2e7d32;
    color: #e8f5e9;
}

.status-reverse[b-dxr2mx9f34] {
    background: #1565c0;
    color: #e3f2fd;
}

.status-fault[b-dxr2mx9f34] {
    background: #c62828;
    color: #ffebee;
    animation: fault-blink 1s ease-in-out infinite;
}

.status-idle[b-dxr2mx9f34] {
    background: #37474f;
    color: #b0bec5;
}

@@keyframes fault-blink {
    0%[b-dxr2mx9f34], 100%[b-dxr2mx9f34] { opacity: 1; }
    50%[b-dxr2mx9f34] { opacity: 0.5; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-mi8zb8mb6t] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-mi8zb8mb6t] {
    flex: 1;
    background-color: #0d1117;
}

.sidebar[b-mi8zb8mb6t] {
    background-image: linear-gradient(180deg, #0d1117 0%, #161b22 70%);
}

.top-row[b-mi8zb8mb6t] {
    background-color: #161b22;
    border-bottom: 1px solid #21262d;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-mi8zb8mb6t]  a, .top-row[b-mi8zb8mb6t]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #8b949e;
    }

    .top-row[b-mi8zb8mb6t]  a:hover, .top-row[b-mi8zb8mb6t]  .btn-link:hover {
        text-decoration: underline;
        color: #e6edf3;
    }

    .top-row[b-mi8zb8mb6t]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.connection-indicator[b-mi8zb8mb6t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.status-dot[b-mi8zb8mb6t] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 640.98px) {
    .top-row[b-mi8zb8mb6t] {
        justify-content: space-between;
    }

    .top-row[b-mi8zb8mb6t]  a, .top-row[b-mi8zb8mb6t]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-mi8zb8mb6t] {
        flex-direction: row;
    }

    .sidebar[b-mi8zb8mb6t] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-mi8zb8mb6t] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-mi8zb8mb6t], article[b-mi8zb8mb6t] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-mi8zb8mb6t] {
    color-scheme: dark only;
    background: #161b22;
    border-top: 1px solid #f85149;
    bottom: 0;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #f0883e;
}

    #blazor-error-ui .dismiss[b-mi8zb8mb6t] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: #8b949e;
    }

    #blazor-error-ui .dismiss:hover[b-mi8zb8mb6t] {
        color: #e6edf3;
    }

    #blazor-error-ui .reload[b-mi8zb8mb6t] {
        color: #58a6ff;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2979wss4y4] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-2979wss4y4] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-2979wss4y4] {
    min-height: 3.5rem;
    background-color: #0d1117;
    border-bottom: 1px solid #21262d;
}

.navbar-brand[b-2979wss4y4] {
    font-size: 1.1rem;
}

.nav-plc-status[b-2979wss4y4] {
    margin-top: 2px;
}

.plc-badge[b-2979wss4y4] {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.plc-badge.connected[b-2979wss4y4] {
    background: #1b5e20;
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.plc-badge.disconnected[b-2979wss4y4] {
    background: #b71c1c;
    color: #ef9a9a;
    border: 1px solid #c62828;
    animation: plc-blink 1.5s ease-in-out infinite;
}

@@keyframes plc-blink {
    0%[b-2979wss4y4], 100%[b-2979wss4y4] { opacity: 1; }
    50%[b-2979wss4y4] { opacity: 0.5; }
}

.bi[b-2979wss4y4] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-box-fill-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M15.528 2.973a.75.75 0 0 1 .472.696v8.662a.75.75 0 0 1-.472.696l-7.25 2.9a.75.75 0 0 1-.556 0l-7.25-2.9A.75.75 0 0 1 0 12.331V3.669a.75.75 0 0 1 .472-.696l7.25-2.9a.75.75 0 0 1 .556 0l7.25 2.9ZM8 1.573 1.5 4.173v7.654L8 14.427l6.5-2.6V4.173L8 1.573Z'/%3E%3Cpath d='M7.75.927 1 3.827l7 2.8 7-2.8L8.25.927a.5.5 0 0 0-.5 0Z'/%3E%3C/svg%3E");
}

.bi-fan-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M10 3c0 1.313-.304 2.508-.8 3.4a1.991 1.991 0 0 0-1.484-.38c-.28-.982-.91-2.04-1.838-2.969a8.368 8.368 0 0 0-.491-.454A5.976 5.976 0 0 1 8 2c.691 0 1.355.117 1.973.332L10 3Zm5.324 3.776a1.991 1.991 0 0 1-.742 1.167c.723.703 1.24 1.61 1.394 2.656A6 6 0 0 0 14 4.524a8.4 8.4 0 0 1 .2.459 8.05 8.05 0 0 1 1.124 1.793ZM1.676 3.776A8.05 8.05 0 0 1 2.8 1.983 8.4 8.4 0 0 1 3 1.524 6 6 0 0 0 .024 7.6c.154-1.047.671-1.954 1.394-2.656a1.991 1.991 0 0 1-.742-1.168ZM6 13c0-1.313.304-2.508.8-3.4a1.991 1.991 0 0 0 1.484.38c.28.982.91 2.04 1.838 2.969.169.164.33.312.491.454A5.976 5.976 0 0 1 8 14c-.691 0-1.355-.117-1.973-.332L6 13Zm2-5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");
}

.bi-sensor-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/%3E%3Cpath d='M8 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM3 8a5 5 0 1 1 10 0 5 5 0 0 1-10 0z'/%3E%3Ccircle cx='8' cy='8' r='2'/%3E%3C/svg%3E");
}

.bi-sliders-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM9.05 3a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0V3h9.05zM4.5 7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM2.05 8a2.5 2.5 0 0 1 4.9 0H16v1H6.95a2.5 2.5 0 0 1-4.9 0H0V8h2.05zm9.45 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-2.45 1a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0v-1h9.05z'/%3E%3C/svg%3E");
}

.bi-gear-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115l.094-.319z'/%3E%3C/svg%3E");
}

.bi-door-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-4h2v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146z'/%3E%3C/svg%3E");
}

.bi-diagnostics-nav-menu[b-2979wss4y4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M6 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-2979wss4y4] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2979wss4y4] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2979wss4y4] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2979wss4y4]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-2979wss4y4]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-2979wss4y4]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-item[b-2979wss4y4]  .nav-link.nav-sub {
    height: 2.2rem;
    line-height: 2.2rem;
    font-size: 0.8rem;
    color: #8b949e;
    padding-left: 2.5rem;
}

.nav-item[b-2979wss4y4]  .nav-link.nav-sub:hover {
    color: #e6edf3;
}

.nav-item[b-2979wss4y4]  a.nav-sub.active {
    color: white;
    background-color: rgba(255,255,255,0.2);
}

.nav-scrollable[b-2979wss4y4] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-2979wss4y4] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2979wss4y4] {
        display: none;
    }

    .nav-scrollable[b-2979wss4y4] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kym98hno6c],
.components-reconnect-repeated-attempt-visible[b-kym98hno6c],
.components-reconnect-failed-visible[b-kym98hno6c],
.components-pause-visible[b-kym98hno6c],
.components-resume-failed-visible[b-kym98hno6c],
.components-rejoining-animation[b-kym98hno6c] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-retrying[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-failed[b-kym98hno6c],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kym98hno6c] {
    display: block;
}


#components-reconnect-modal[b-kym98hno6c] {
    background-color: #161b22;
    color: #e6edf3;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid #30363d;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-kym98hno6c 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kym98hno6c 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kym98hno6c 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kym98hno6c]::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    animation: components-reconnect-modal-fadeInOpacity-b-kym98hno6c 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kym98hno6c {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kym98hno6c {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kym98hno6c {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kym98hno6c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kym98hno6c] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kym98hno6c] {
    border: 1px solid #30363d;
    background-color: #21262d;
    color: #e6edf3;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kym98hno6c] {
        background-color: #30363d;
        border-color: #58a6ff;
    }

    #components-reconnect-modal button:active[b-kym98hno6c] {
        background-color: #1f6feb;
    }

.components-rejoining-animation[b-kym98hno6c] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kym98hno6c] {
        position: absolute;
        border: 3px solid #58a6ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kym98hno6c 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kym98hno6c] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kym98hno6c {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/BinDetail.razor.rz.scp.css */
.bin-detail-page[b-q7nc6r36rl] {
    padding: 16px;
    color: #e6edf3;
    min-height: 100vh;
}

/* Header */
.bd-header[b-q7nc6r36rl] {
    background: linear-gradient(135deg, #161b22, #0d1117);
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
}

.bd-back-btn[b-q7nc6r36rl] {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.bd-back-btn:hover[b-q7nc6r36rl] {
    background: #30363d;
}

/* Bin selector tabs */
.bd-bin-selector[b-q7nc6r36rl] {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 2px;
}

.bd-bin-tab[b-q7nc6r36rl] {
    width: 34px;
    height: 30px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #8b949e;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}

.bd-bin-tab:hover[b-q7nc6r36rl] {
    background: #21262d;
    color: #c9d1d9;
}

.bd-bin-tab.active[b-q7nc6r36rl] {
    background: #1f6feb;
    border-color: #58a6ff;
    color: #ffffff;
}

.bd-bin-tab.tab-active-status:not(.active)[b-q7nc6r36rl]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    border-radius: 1px;
    background: #4caf50;
}

.bd-bin-tab.tab-fault-status:not(.active)[b-q7nc6r36rl]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    border-radius: 1px;
    background: #f44336;
}

.bd-bin-tab.tab-warning-status:not(.active)[b-q7nc6r36rl]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    border-radius: 1px;
    background: #ff9800;
}

.bd-title[b-q7nc6r36rl] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #e6edf3;
}

.bd-status-badge[b-q7nc6r36rl] {
    font-size: 0.65rem;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bd-status-active[b-q7nc6r36rl] {
    background: #238636;
    color: #ffffff;
}

.bd-status-warning[b-q7nc6r36rl] {
    background: #9e6a03;
    color: #ffffff;
}

.bd-status-fault[b-q7nc6r36rl] {
    background: #c62828;
    color: #ffffff;
}

.bd-status-disabled[b-q7nc6r36rl] {
    background: #484f58;
    color: #c9d1d9;
}

.bd-status-idle[b-q7nc6r36rl] {
    background: #21262d;
    color: #8b949e;
    border: 1px solid #30363d;
}

/* Parameters grid */
.bd-params-grid[b-q7nc6r36rl] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .bd-params-grid[b-q7nc6r36rl] {
        grid-template-columns: 1fr;
    }
}

.bd-param-card[b-q7nc6r36rl] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    overflow: hidden;
}

.bd-param-card-header[b-q7nc6r36rl] {
    padding: 8px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bd-param-card-header.floor[b-q7nc6r36rl] {
    background: linear-gradient(90deg, #0d3d20, #0d1117);
    color: #6fdd8b;
    border-bottom: 2px solid #238636;
}

.bd-param-card-header.exhaust[b-q7nc6r36rl] {
    background: linear-gradient(90deg, #3d240d, #0d1117);
    color: #f0883e;
    border-bottom: 2px solid #9e6a03;
}

.bd-param-card-header.delta[b-q7nc6r36rl] {
    background: linear-gradient(90deg, #0d2d3d, #0d1117);
    color: #58a6ff;
    border-bottom: 2px solid #1f6feb;
}

.bd-param-row[b-q7nc6r36rl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    border-bottom: 1px solid #161b22;
    font-size: 0.82rem;
}

.bd-param-row:last-child[b-q7nc6r36rl] {
    border-bottom: none;
}

.bd-param-row.highlight[b-q7nc6r36rl] {
    background: #0d1f2d;
}

.bd-param-label[b-q7nc6r36rl] {
    color: #8b949e;
    font-weight: 500;
}

.bd-param-value[b-q7nc6r36rl] {
    color: #e6edf3;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-weight: 600;
}

.bd-param-value small[b-q7nc6r36rl] {
    color: #484f58;
    font-weight: 400;
    font-size: 0.75rem;
}

.bd-param-value.dw[b-q7nc6r36rl] {
    color: #6fdd8b;
    font-size: 0.95rem;
}

/* Manual damper control */
.bd-manual-panel[b-q7nc6r36rl] {
    background: linear-gradient(135deg, #1a1a2e 0%, #1a2332 100%);
    border: 1px solid #e65100;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 16px;
}

.bd-manual-title[b-q7nc6r36rl] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff9800;
    letter-spacing: 1.5px;
}

.bd-manual-badge[b-q7nc6r36rl] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #78909c;
    font-style: italic;
}

.bd-manual-slider[b-q7nc6r36rl] {
    flex: 1;
    accent-color: #ff9800;
    cursor: pointer;
    height: 6px;
}

.bd-manual-damper-value[b-q7nc6r36rl] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
    min-width: 3rem;
    text-align: right;
}

.bd-manual-btn[b-q7nc6r36rl] {
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 0.35rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.bd-manual-btn.set[b-q7nc6r36rl] {
    background: #1b3a1f;
    color: #a5d6a7;
    border-color: #2e7d32;
}

.bd-manual-btn.set:hover:not(:disabled)[b-q7nc6r36rl] {
    background: #2e7d32;
    color: #e8f5e9;
}

.bd-manual-btn.close-damper[b-q7nc6r36rl] {
    background: #2a0d0d;
    color: #ef9a9a;
    border-color: #c62828;
}

.bd-manual-btn.close-damper:hover:not(:disabled)[b-q7nc6r36rl] {
    background: #c62828;
    color: #ffebee;
}

.bd-manual-btn:disabled[b-q7nc6r36rl] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Chart controls */
.bd-chart-controls[b-q7nc6r36rl] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
}

.bd-chart-controls-label[b-q7nc6r36rl] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #484f58;
    letter-spacing: 0.06em;
}

.bd-range-btn[b-q7nc6r36rl] {
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.bd-range-btn:hover[b-q7nc6r36rl] {
    background: #30363d;
}

.bd-range-btn.active[b-q7nc6r36rl] {
    background: #1f6feb;
    border-color: #58a6ff;
    color: #ffffff;
}

.bd-trend-toggle[b-q7nc6r36rl] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #8b949e;
    cursor: pointer;
    user-select: none;
}

.bd-trend-toggle input[b-q7nc6r36rl] {
    accent-color: #58a6ff;
    cursor: pointer;
}

/* Charts grid */
.bd-charts-grid[b-q7nc6r36rl] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 1100px) {
    .bd-charts-grid[b-q7nc6r36rl] {
        grid-template-columns: 1fr;
    }
}

/* No data */
.bd-no-data[b-q7nc6r36rl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px;
    color: #484f58;
    font-size: 0.85rem;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
}

/* Re-use existing connection badge styles */
.connection-badge[b-q7nc6r36rl] {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.connection-badge.connected[b-q7nc6r36rl] {
    background: #0d3d20;
    color: #6fdd8b;
    border: 1px solid #238636;
}

.connection-badge.disconnected[b-q7nc6r36rl] {
    background: #3d0d0d;
    color: #f08080;
    border: 1px solid #c62828;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* =============================================
   PLC HMI Dashboard — Layout & System Cards
   ============================================= */

/* ---- System overview cards ---- */

.system-card[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #1a2332 0%, #263238 100%);
    border: 1px solid #37474f;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: border-color 0.3s;
}

.system-card:hover[b-7ti7cwm99y] {
    border-color: #546e7a;
}

.system-card-label[b-7ti7cwm99y] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #78909c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.system-card-value[b-7ti7cwm99y] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
}

.system-card-value.temp[b-7ti7cwm99y] {
    color: #ff8a65;
}

.system-card-value.humidity[b-7ti7cwm99y] {
    color: #4fc3f7;
}

.system-card-value.alarm[b-7ti7cwm99y] {
    color: #ef5350;
}

.system-card-unit[b-7ti7cwm99y] {
    font-size: 0.8rem;
    color: #78909c;
    margin-left: 2px;
}

.thermo-card-body[b-7ti7cwm99y] {
    display: flex;
    justify-content: center;
    padding-top: 0.4rem;
}

/* ---- Section headers ---- */

.section-title[b-7ti7cwm99y] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #78909c;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #37474f;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

/* ---- Header bar ---- */

.hmi-header[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 100%);
    border: 1px solid #37474f;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.hmi-title[b-7ti7cwm99y] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #eceff1;
    letter-spacing: 1px;
}

.mode-select[b-7ti7cwm99y] {
    background: #263238;
    border: 1px solid #546e7a;
    color: #eceff1;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.mode-select:focus[b-7ti7cwm99y] {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.25);
    outline: none;
}

.mode-select option[b-7ti7cwm99y] {
    background: #263238;
    color: #eceff1;
}

.connection-badge[b-7ti7cwm99y] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.connection-badge.connected[b-7ti7cwm99y] {
    background: #1b5e20;
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.connection-badge.disconnected[b-7ti7cwm99y] {
    background: #b71c1c;
    color: #ef9a9a;
    border: 1px solid #c62828;
    animation: fault-blink 1.5s ease-in-out infinite;
}

@@keyframes fault-blink {
    0%[b-7ti7cwm99y], 100%[b-7ti7cwm99y] { opacity: 1; }
    50%[b-7ti7cwm99y] { opacity: 0.5; }
}

/* ---- Barometric pressure bar ---- */

.pressure-bar[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #1a2332 0%, #263238 100%);
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 0.5rem 1rem;
}

.pressure-label[b-7ti7cwm99y] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #78909c;
    letter-spacing: 1px;
}

.pressure-value[b-7ti7cwm99y] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
}

.pressure-unit[b-7ti7cwm99y] {
    font-size: 0.7rem;
    color: #78909c;
    margin-left: 3px;
    font-weight: 600;
}

.pressure-source[b-7ti7cwm99y] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.pressure-source.online[b-7ti7cwm99y] {
    background: #1b5e20;
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.pressure-source.offline[b-7ti7cwm99y] {
    background: #e65100;
    color: #ffcc80;
    border: 1px solid #f57c00;
}

.pressure-input[b-7ti7cwm99y] {
    background: #1a2332;
    border: 1px solid #546e7a;
    color: #eceff1;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-size: 0.85rem;
    font-family: 'Consolas', 'Courier New', monospace;
    width: 80px;
    text-align: center;
}

.pressure-input:focus[b-7ti7cwm99y] {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.25);
    outline: none;
}

.pressure-set-btn[b-7ti7cwm99y] {
    background: #37474f;
    border: 1px solid #546e7a;
    color: #b0bec5;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pressure-set-btn:hover:not(:disabled)[b-7ti7cwm99y] {
    background: #455a64;
    border-color: #4fc3f7;
    color: #eceff1;
}

.pressure-set-btn:disabled[b-7ti7cwm99y] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---- Drying program panel ---- */

.drying-panel[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #0d2137 0%, #1a2a3a 100%);
    border: 1px solid #1e5287;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.drying-panel-title[b-7ti7cwm99y] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #78909c;
    letter-spacing: 1.5px;
}

.drying-stage-badge[b-7ti7cwm99y] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.drying-stage-badge.stage-active[b-7ti7cwm99y] {
    background: #1b5e20;
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.drying-stage-badge.stage-transition[b-7ti7cwm99y] {
    background: #e65100;
    color: #ffcc80;
    border: 1px solid #f57c00;
}

.drying-stage-badge.stage-fault[b-7ti7cwm99y] {
    background: #b71c1c;
    color: #ef9a9a;
    border: 1px solid #c62828;
    animation: fault-blink 1.5s ease-in-out infinite;
}

.drying-stage-badge.stage-idle[b-7ti7cwm99y] {
    background: #37474f;
    color: #90a4ae;
    border: 1px solid #546e7a;
}

.drying-status-msg[b-7ti7cwm99y] {
    font-size: 0.8rem;
    color: #b0bec5;
    margin-bottom: 0.5rem;
    font-family: 'Consolas', 'Courier New', monospace;
}

.drying-metrics[b-7ti7cwm99y] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.drying-metric[b-7ti7cwm99y] {
    display: flex;
    flex-direction: column;
}

.drying-metric-label[b-7ti7cwm99y] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #546e7a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drying-metric-value[b-7ti7cwm99y] {
    font-size: 1rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
}

.bin-moisture-chip[b-7ti7cwm99y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #263238;
    border: 1px solid #37474f;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    min-width: 3.5rem;
}

.bin-moisture-chip.bin-at-target[b-7ti7cwm99y] {
    border-color: #2e7d32;
    background: #1b3a1f;
}

.bin-moisture-chip.bin-near-target[b-7ti7cwm99y] {
    border-color: #f57c00;
    background: #2a1f0d;
}

.bin-moisture-chip.bin-fault[b-7ti7cwm99y] {
    border-color: #c62828;
    background: #2a0d0d;
}

.bin-moisture-chip.bin-drying[b-7ti7cwm99y] {
    border-color: #1565c0;
    background: #0d1f2a;
}

.bin-moisture-chip.bin-idle[b-7ti7cwm99y] {
    opacity: 0.4;
}

.bin-moisture-label[b-7ti7cwm99y] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #78909c;
}

.bin-moisture-value[b-7ti7cwm99y] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* ---- Bin loading buttons ---- */

.bin-load-btn[b-7ti7cwm99y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    min-width: 3.5rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.bin-load-btn.bin-empty[b-7ti7cwm99y] {
    background: #263238;
    border: 1px solid #455a64;
    color: #78909c;
}

.bin-load-btn.bin-empty:hover:not(:disabled)[b-7ti7cwm99y] {
    border-color: #4fc3f7;
    background: #1a2a3a;
}

.bin-load-btn.bin-loaded[b-7ti7cwm99y] {
    background: #1b3a1f;
    border: 1px solid #2e7d32;
    color: #a5d6a7;
}

.bin-load-btn.bin-loaded:hover:not(:disabled)[b-7ti7cwm99y] {
    border-color: #66bb6a;
    background: #254a2a;
}

.bin-load-btn.bin-disabled[b-7ti7cwm99y] {
    background: #1a1a1a;
    border: 1px solid #555;
    color: #666;
}

.bin-load-btn.bin-disabled:hover:not(:disabled)[b-7ti7cwm99y] {
    border-color: #888;
    background: #2a2a2a;
}

.bin-load-btn:disabled[b-7ti7cwm99y] {
    opacity: 0.4;
    cursor: not-allowed;
}

.bin-load-status[b-7ti7cwm99y] {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ---- Load Complete button ---- */

.load-complete-btn[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border: 2px solid #1976d2;
    color: #e3f2fd;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}

.load-complete-btn:hover:not(:disabled)[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    border-color: #42a5f5;
    box-shadow: 0 0 12px rgba(25, 118, 210, 0.4);
}

.load-complete-btn:disabled[b-7ti7cwm99y] {
    opacity: 0.4;
    cursor: not-allowed;
}

.load-complete-btn.confirmed[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    border-color: #4caf50;
    color: #c8e6c9;
    animation: pulse-ready 2s ease-in-out infinite;
}

@@keyframes pulse-ready {
    0%[b-7ti7cwm99y], 100%[b-7ti7cwm99y] { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50%[b-7ti7cwm99y] { box-shadow: 0 0 20px 4px rgba(76, 175, 80, 0.3); }
}

.load-complete-hint[b-7ti7cwm99y] {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.7rem;
    color: #78909c;
    font-style: italic;
}

/* ---- Target moisture input ---- */

.target-moisture-input[b-7ti7cwm99y] {
    background: #1a2332;
    border: 1px solid #546e7a;
    color: #eceff1;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
    font-family: 'Consolas', 'Courier New', monospace;
    width: 60px;
    text-align: center;
}

.target-moisture-input:focus[b-7ti7cwm99y] {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.25);
    outline: none;
}

.target-moisture-set-btn[b-7ti7cwm99y] {
    background: #1565c0;
    border: 1px solid #1976d2;
    color: #e3f2fd;
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.target-moisture-set-btn:hover:not(:disabled)[b-7ti7cwm99y] {
    background: #1976d2;
}

.target-moisture-set-btn:disabled[b-7ti7cwm99y] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---- Manual VFD controls ---- */

.manual-vfd-panel[b-7ti7cwm99y] {
    background: linear-gradient(135deg, #1a1a2e 0%, #1a2332 100%);
    border: 1px solid #e65100;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.manual-vfd-title[b-7ti7cwm99y] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff9800;
    letter-spacing: 1.5px;
}

.manual-vfd-warning[b-7ti7cwm99y] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #78909c;
    font-style: italic;
}

.manual-vfd-grid[b-7ti7cwm99y] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.manual-vfd-card[b-7ti7cwm99y] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    transition: border-color 0.2s;
}

.manual-vfd-card.vfd-running[b-7ti7cwm99y] {
    border-color: #2e7d32;
}

.manual-vfd-name[b-7ti7cwm99y] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #eceff1;
    letter-spacing: 0.5px;
}

.manual-vfd-state[b-7ti7cwm99y] {
    font-size: 0.65rem;
    font-weight: 600;
    color: #78909c;
    text-transform: uppercase;
}

.manual-vfd-slider[b-7ti7cwm99y] {
    flex: 1;
    accent-color: #ff9800;
    cursor: pointer;
    height: 6px;
}

.manual-vfd-speed-label[b-7ti7cwm99y] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
    min-width: 3rem;
    text-align: right;
}

.manual-vfd-btn[b-7ti7cwm99y] {
    flex: 1;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 0.3rem 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.manual-vfd-btn.run[b-7ti7cwm99y] {
    background: #1b3a1f;
    color: #a5d6a7;
    border-color: #2e7d32;
}

.manual-vfd-btn.run:hover:not(:disabled)[b-7ti7cwm99y] {
    background: #2e7d32;
    color: #e8f5e9;
}

.manual-vfd-btn.stop[b-7ti7cwm99y] {
    background: #2a0d0d;
    color: #ef9a9a;
    border-color: #c62828;
}

.manual-vfd-btn.stop:hover:not(:disabled)[b-7ti7cwm99y] {
    background: #c62828;
    color: #ffebee;
}

.manual-vfd-btn:disabled[b-7ti7cwm99y] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---- Timestamp footer ---- */

.hmi-footer[b-7ti7cwm99y] {
    font-size: 0.75rem;
    color: #546e7a;
    font-family: 'Consolas', 'Courier New', monospace;
    text-align: right;
    padding-top: 0.5rem;
    border-top: 1px solid #263238;
}
/* /Components/Pages/DryingSettings.razor.rz.scp.css */
.ds-page[b-114gs08y8l] {
    padding: 16px;
    color: #e6edf3;
    min-height: 100vh;
    max-width: 960px;
}

/* ── Header ── */

.ds-header[b-114gs08y8l] {
    background: linear-gradient(135deg, #161b22, #0d1117);
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ds-title[b-114gs08y8l] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #e6edf3;
}

.ds-pending[b-114gs08y8l] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #d29922;
    background: #2d1b00;
    border: 1px solid #d29922;
    border-radius: 3px;
    padding: 2px 10px;
    letter-spacing: 0.3px;
}

/* ── Sections ── */

.ds-section[b-114gs08y8l] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.ds-section-header[b-114gs08y8l] {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ds-section-header.targets[b-114gs08y8l] {
    background: linear-gradient(90deg, #1a4a2e, #0d1117);
    color: #6fdd8b;
    border-bottom: 2px solid #2ea043;
}

.ds-section-header.model[b-114gs08y8l] {
    background: linear-gradient(90deg, #1a3a5c, #0d1117);
    color: #79c0ff;
    border-bottom: 2px solid #388bfd;
}

.ds-section-header.stages[b-114gs08y8l] {
    background: linear-gradient(90deg, #3d2b00, #0d1117);
    color: #f0883e;
    border-bottom: 2px solid #d29922;
}

.ds-section-header.condensation[b-114gs08y8l] {
    background: linear-gradient(90deg, #2a1a3d, #0d1117);
    color: #d2a8ff;
    border-bottom: 2px solid #8b5cf6;
}

.ds-section-header.energy[b-114gs08y8l] {
    background: linear-gradient(90deg, #3d1214, #0d1117);
    color: #ff7b72;
    border-bottom: 2px solid #f85149;
}

.ds-section-header.airflow[b-114gs08y8l] {
    background: linear-gradient(90deg, #1a3a5c, #0d1117);
    color: #79c0ff;
    border-bottom: 2px solid #388bfd;
}

.ds-section-header.control[b-114gs08y8l] {
    background: linear-gradient(90deg, #1a4a2e, #0d1117);
    color: #6fdd8b;
    border-bottom: 2px solid #2ea043;
}

.ds-section-header.pid[b-114gs08y8l] {
    background: linear-gradient(90deg, #3d2b00, #0d1117);
    color: #f0883e;
    border-bottom: 2px solid #d29922;
}

.ds-section-header.schedules[b-114gs08y8l] {
    background: linear-gradient(90deg, #2a1a3d, #0d1117);
    color: #d2a8ff;
    border-bottom: 2px solid #8b5cf6;
}

.ds-section-body[b-114gs08y8l] {
    padding: 0.75rem 1rem;
}

.ds-section-desc[b-114gs08y8l] {
    font-size: 0.75rem;
    color: #8b949e;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* ── Parameter rows ── */

.ds-param-row[b-114gs08y8l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #21262d;
}

.ds-param-row:last-child[b-114gs08y8l] {
    border-bottom: none;
}

.ds-param-info[b-114gs08y8l] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.ds-param-label[b-114gs08y8l] {
    color: #e6edf3;
    font-size: 0.82rem;
    font-weight: 600;
}

.ds-param-desc[b-114gs08y8l] {
    color: #6e7681;
    font-size: 0.7rem;
}

.ds-param-control[b-114gs08y8l] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* ── Inputs ── */

.ds-input[b-114gs08y8l] {
    width: 120px;
    background: #0d1117;
    border: 1px solid #30363d;
    color: #e6edf3;
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    font-size: 0.82rem;
    font-family: 'Consolas', 'Courier New', monospace;
    text-align: right;
}

.ds-input:focus[b-114gs08y8l] {
    border-color: #388bfd;
    box-shadow: 0 0 0 2px rgba(56, 139, 253, 0.25);
    outline: none;
}

.ds-input.modified[b-114gs08y8l] {
    border-color: #d29922;
    background: #1a1500;
}

.ds-input.compact[b-114gs08y8l] {
    width: 80px;
    padding: 0.2rem 0.4rem;
    font-size: 0.78rem;
}

.ds-unit[b-114gs08y8l] {
    color: #6e7681;
    font-size: 0.72rem;
    min-width: 36px;
}

.ds-modified-badge[b-114gs08y8l] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #d29922;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ds-modified-dot[b-114gs08y8l] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d29922;
    flex-shrink: 0;
}

/* ── Schedule table ── */

.ds-schedule-table[b-114gs08y8l] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

.ds-schedule-table th[b-114gs08y8l] {
    text-align: center;
    color: #8b949e;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.4rem 0.3rem;
    border-bottom: 1px solid #30363d;
}

.ds-schedule-table th:first-child[b-114gs08y8l] {
    text-align: left;
}

.ds-schedule-table td[b-114gs08y8l] {
    padding: 0.35rem 0.3rem;
    text-align: center;
    border-bottom: 1px solid #21262d;
}

.ds-schedule-table td:first-child[b-114gs08y8l] {
    text-align: left;
}

.ds-schedule-table .sched-name[b-114gs08y8l] {
    font-weight: 600;
    color: #c9d1d9;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* ── Actions bar ── */

.ds-actions[b-114gs08y8l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    flex-wrap: wrap;
    position: sticky;
    bottom: 0;
    background: #0d1117;
    border-top: 1px solid #30363d;
    margin-top: 0.5rem;
    z-index: 10;
}

.ds-action-sep[b-114gs08y8l] {
    color: #30363d;
    font-size: 1rem;
    user-select: none;
}

.ds-btn[b-114gs08y8l] {
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    border-radius: 4px;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.ds-btn:hover:not(:disabled)[b-114gs08y8l] {
    background: #30363d;
    border-color: #8b949e;
    color: #e6edf3;
}

.ds-btn:disabled[b-114gs08y8l] {
    opacity: 0.4;
    cursor: not-allowed;
}

.ds-btn.danger[b-114gs08y8l] {
    border-color: #da3633;
    color: #f85149;
}

.ds-btn.danger:hover:not(:disabled)[b-114gs08y8l] {
    background: #3d1214;
    border-color: #f85149;
}

.ds-btn.primary[b-114gs08y8l] {
    background: #1a4a2e;
    border-color: #2ea043;
    color: #6fdd8b;
}

.ds-btn.primary:hover:not(:disabled)[b-114gs08y8l] {
    background: #2ea043;
    color: #ffffff;
}

/* ── Feedback ── */

.ds-result[b-114gs08y8l] {
    margin-top: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 4px;
    font-size: 0.78rem;
    color: #8b949e;
    font-family: 'Consolas', 'Courier New', monospace;
}

.ds-confirm[b-114gs08y8l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #3d1214;
    border: 1px solid #da3633;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #f85149;
}

.ds-muted[b-114gs08y8l] {
    color: #484f58;
    font-size: 0.82rem;
    padding: 2rem 0;
}
/* /Components/Pages/DryingStatus.razor.rz.scp.css */
.dryst-page[b-72sk270784] {
    padding: 16px;
    color: #e6edf3;
    min-height: 100vh;
}

/* ── Header ── */

.dryst-header[b-72sk270784] {
    background: linear-gradient(135deg, #0d2137, #1a2a3a);
    border: 1px solid #1e5287;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dryst-header-left[b-72sk270784] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dryst-title[b-72sk270784] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #eceff1;
}

.dryst-timestamp[b-72sk270784] {
    font-size: 0.75rem;
    color: #546e7a;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* Stage badges */
.dryst-stage-badge[b-72sk270784] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.dryst-stage-badge.stage-active[b-72sk270784] {
    background: #1b5e20;
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.dryst-stage-badge.stage-transition[b-72sk270784] {
    background: #e65100;
    color: #ffcc80;
    border: 1px solid #f57c00;
}

.dryst-stage-badge.stage-fault[b-72sk270784] {
    background: #b71c1c;
    color: #ef9a9a;
    border: 1px solid #c62828;
    animation: fault-blink 1.5s ease-in-out infinite;
}

.dryst-stage-badge.stage-idle[b-72sk270784] {
    background: #37474f;
    color: #90a4ae;
    border: 1px solid #546e7a;
}

.dryst-cond-badge[b-72sk270784] {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    background: #4a2600;
    color: #ff9800;
    border: 1px solid #e65100;
}

@@keyframes fault-blink {
    0%[b-72sk270784], 100%[b-72sk270784] { opacity: 1; }
    50%[b-72sk270784] { opacity: 0.5; }
}

/* ── Status message bar ── */

.dryst-status-msg[b-72sk270784] {
    font-size: 0.8rem;
    color: #b0bec5;
    font-family: 'Consolas', 'Courier New', monospace;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 6px 12px;
    margin-bottom: 12px;
}

/* ── Sections ── */

.dryst-section[b-72sk270784] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.dryst-section-head[b-72sk270784] {
    padding: 6px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dryst-section-head.program[b-72sk270784] {
    background: linear-gradient(90deg, #1a3a5c, #0d1117);
    color: #79c0ff;
    border-bottom: 2px solid #388bfd;
}

.dryst-section-head.emc[b-72sk270784] {
    background: linear-gradient(90deg, #1a4a2e, #0d1117);
    color: #6fdd8b;
    border-bottom: 2px solid #2ea043;
}

.dryst-section-head.air[b-72sk270784] {
    background: linear-gradient(90deg, #2a1a3d, #0d1117);
    color: #d2a8ff;
    border-bottom: 2px solid #8b5cf6;
}

.dryst-section-head.vfd[b-72sk270784] {
    background: linear-gradient(90deg, #3d2b00, #0d1117);
    color: #f0883e;
    border-bottom: 2px solid #d29922;
}

.dryst-section-head.bins[b-72sk270784] {
    background: linear-gradient(90deg, #1a3a5c, #0d1117);
    color: #79c0ff;
    border-bottom: 2px solid #388bfd;
}

.dryst-section-head.alarm[b-72sk270784] {
    background: linear-gradient(90deg, #3d1214, #0d1117);
    color: #ff7b72;
    border-bottom: 2px solid #f85149;
}

/* ── Program metrics grid ── */

.dryst-metrics-grid[b-72sk270784] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem 1rem;
    padding: 10px 12px;
}

.dryst-metric[b-72sk270784] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dryst-metric-lbl[b-72sk270784] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dryst-metric-val[b-72sk270784] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e6edf3;
    font-family: 'Consolas', 'Courier New', monospace;
}

.dryst-metric-val.temp[b-72sk270784] { color: #ff8a65; }
.dryst-metric-val.target[b-72sk270784] { color: #6fdd8b; }
.dryst-metric-val.ok[b-72sk270784] { color: #6fdd8b; }
.dryst-metric-val.warn[b-72sk270784] { color: #ff9800; }
.dryst-metric-val.dim[b-72sk270784] { color: #6e7681; }

.dryst-unit[b-72sk270784] {
    font-size: 0.7rem;
    color: #6e7681;
    margin-left: 1px;
}

/* ── EMC cards ── */

.dryst-emc-row[b-72sk270784] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    padding: 10px 12px;
}

.dryst-emc-card[b-72sk270784] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dryst-emc-label[b-72sk270784] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dryst-emc-value[b-72sk270784] {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Consolas', 'Courier New', monospace;
}

.dryst-emc-value.nut-mc[b-72sk270784] { color: #ff8a65; }
.dryst-emc-value.supply[b-72sk270784] { color: #6fdd8b; }
.dryst-emc-value.ambient[b-72sk270784] { color: #79c0ff; }
.dryst-emc-value.dp-high[b-72sk270784] { color: #6fdd8b; }
.dryst-emc-value.dp-ok[b-72sk270784] { color: #f0883e; }
.dryst-emc-value.dp-low[b-72sk270784] { color: #d29922; }
.dryst-emc-value.dp-zero[b-72sk270784] { color: #f85149; }

.dryst-emc-sub[b-72sk270784] {
    font-size: 0.65rem;
    color: #484f58;
}

/* ── Air circuit cards ── */

.dryst-air-grid[b-72sk270784] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem;
    padding: 10px 12px;
}

.dryst-air-card[b-72sk270784] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 8px 12px;
}

.dryst-air-label[b-72sk270784] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.dryst-air-vals[b-72sk270784] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dryst-air-primary[b-72sk270784] {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Consolas', 'Courier New', monospace;
}

.dryst-air-secondary[b-72sk270784] {
    font-size: 0.72rem;
    color: #6e7681;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* ── VFD cards ── */

.dryst-vfd-grid[b-72sk270784] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem;
    padding: 10px 12px;
}

.dryst-vfd-card[b-72sk270784] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color 0.2s;
}

.dryst-vfd-card.running[b-72sk270784] {
    border-color: #2ea043;
}

.dryst-vfd-card.faulted[b-72sk270784] {
    border-color: #f85149;
}

.dryst-vfd-name[b-72sk270784] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e6edf3;
    letter-spacing: 0.3px;
}

.dryst-vfd-bar-track[b-72sk270784] {
    height: 4px;
    background: #21262d;
    border-radius: 2px;
    margin: 6px 0 4px;
    overflow: hidden;
}

.dryst-vfd-bar-fill[b-72sk270784] {
    height: 100%;
    border-radius: 2px;
    background: #30363d;
    transition: width 0.5s ease;
}

.dryst-vfd-bar-fill.active[b-72sk270784] {
    background: linear-gradient(90deg, #2ea043, #6fdd8b);
}

.dryst-vfd-stats[b-72sk270784] {
    display: flex;
    gap: 0.6rem;
    font-size: 0.72rem;
    color: #8b949e;
    font-family: 'Consolas', 'Courier New', monospace;
}

.dryst-vfd-state[b-72sk270784] {
    color: #6e7681;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.dryst-vfd-sp[b-72sk270784] {
    font-size: 0.65rem;
    color: #d29922;
    font-family: 'Consolas', 'Courier New', monospace;
}

.dryst-vfd-fault[b-72sk270784] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #f85149;
    letter-spacing: 0.3px;
}

/* ── Bin table ── */

.dryst-bin-table[b-72sk270784] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.dryst-bin-table th[b-72sk270784] {
    text-align: left;
    color: #8b949e;
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 8px;
    border-bottom: 1px solid #30363d;
    white-space: nowrap;
}

.dryst-bin-table td[b-72sk270784] {
    padding: 5px 8px;
    color: #c9d1d9;
    border-bottom: 1px solid #21262d;
}

.dryst-bin-table tr.inactive td[b-72sk270784] {
    color: #484f58;
}

.dryst-bin-table .bin-id[b-72sk270784] {
    font-weight: 700;
    color: #e6edf3;
}

.dryst-bin-table .mono[b-72sk270784] {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.76rem;
}

/* Driving force colors */
.dryst-bin-table .df-high[b-72sk270784] { color: #6fdd8b; font-weight: 700; }
.dryst-bin-table .df-ok[b-72sk270784] { color: #79c0ff; }
.dryst-bin-table .df-low[b-72sk270784] { color: #f0883e; }
.dryst-bin-table .df-zero[b-72sk270784] { color: #f85149; }
.dryst-bin-table .positive[b-72sk270784] { color: #6fdd8b; }

/* Bin status badges */
.dryst-bin-badge[b-72sk270784] {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.dryst-bin-badge.bin-active[b-72sk270784] {
    background: #0d2137;
    color: #79c0ff;
    border: 1px solid #1e5287;
}

.dryst-bin-badge.bin-ok[b-72sk270784] {
    background: #1b3a1f;
    color: #6fdd8b;
    border: 1px solid #2ea043;
}

.dryst-bin-badge.bin-near[b-72sk270784] {
    background: #2d1b00;
    color: #f0883e;
    border: 1px solid #d29922;
}

.dryst-bin-badge.bin-stalled[b-72sk270784] {
    background: #3d1214;
    color: #ff7b72;
    border: 1px solid #f85149;
}

.dryst-bin-badge.bin-fault[b-72sk270784] {
    background: #3d1214;
    color: #f85149;
    border: 1px solid #da3633;
}

.dryst-bin-badge.bin-off[b-72sk270784] {
    background: #161b22;
    color: #484f58;
    border: 1px solid #30363d;
}

/* ── Alarms ── */

.dryst-alarm-list[b-72sk270784] {
    padding: 4px 0;
}

.dryst-alarm-row[b-72sk270784] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 12px;
    border-bottom: 1px solid #21262d;
}

.dryst-alarm-row:last-child[b-72sk270784] {
    border-bottom: none;
}

.dryst-alarm-msg[b-72sk270784] {
    color: #ff7b72;
    font-weight: 600;
    font-size: 0.8rem;
}

.dryst-alarm-ts[b-72sk270784] {
    color: #484f58;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.72rem;
}
/* /Components/Pages/PlcSensors.razor.rz.scp.css */
.ps-page[b-fjdtlkomod] {
    padding: 16px;
    color: #e6edf3;
    min-height: 100vh;
}

.ps-header[b-fjdtlkomod] {
    background: linear-gradient(135deg, #161b22, #0d1117);
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
}

.ps-title[b-fjdtlkomod] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #e6edf3;
}

.connection-badge[b-fjdtlkomod] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.connection-badge.connected[b-fjdtlkomod] {
    background: #1b5e20;
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.connection-badge.disconnected[b-fjdtlkomod] {
    background: #b71c1c;
    color: #ef9a9a;
    border: 1px solid #c62828;
}

.ps-grid[b-fjdtlkomod] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ps-card[b-fjdtlkomod] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.ps-card-header[b-fjdtlkomod] {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ps-card-header.env[b-fjdtlkomod] {
    background: linear-gradient(90deg, #1a4a2e, #0d1117);
    color: #6fdd8b;
    border-bottom: 2px solid #2ea043;
}

.ps-card-header.imu[b-fjdtlkomod] {
    background: linear-gradient(90deg, #1a3a5c, #0d1117);
    color: #79c0ff;
    border-bottom: 2px solid #388bfd;
}

.ps-card-header.led[b-fjdtlkomod] {
    background: linear-gradient(90deg, #3d2b00, #0d1117);
    color: #f0883e;
    border-bottom: 2px solid #d29922;
    border-radius: 8px 8px 0 0;
}

.ps-row[b-fjdtlkomod] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid #21262d;
}

.ps-row:last-child[b-fjdtlkomod] {
    border-bottom: none;
}

.ps-row.dim[b-fjdtlkomod] {
    opacity: 0.5;
}

.ps-label[b-fjdtlkomod] {
    color: #8b949e;
    font-size: 0.8rem;
}

.ps-value[b-fjdtlkomod] {
    color: #e6edf3;
    font-size: 0.95rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ps-value small[b-fjdtlkomod] {
    color: #8b949e;
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 2px;
}

.ps-led-legend[b-fjdtlkomod] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    max-width: 600px;
}

.ps-legend-grid[b-fjdtlkomod] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.4rem;
    padding: 0.8rem 1rem;
}

.ps-legend-item[b-fjdtlkomod] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #8b949e;
}

.ps-led-swatch[b-fjdtlkomod] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #30363d;
    flex-shrink: 0;
}

.ps-legend-note[b-fjdtlkomod] {
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
    color: #484f58;
    border-top: 1px solid #21262d;
}

/* ---- Barometric pressure bar ---- */

.pressure-bar[b-fjdtlkomod] {
    background: linear-gradient(135deg, #1a2332 0%, #263238 100%);
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 0.5rem 1rem;
}

.pressure-label[b-fjdtlkomod] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #78909c;
    letter-spacing: 1px;
}

.pressure-value[b-fjdtlkomod] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
}

.pressure-unit[b-fjdtlkomod] {
    font-size: 0.7rem;
    color: #78909c;
    margin-left: 3px;
    font-weight: 600;
}

.pressure-source[b-fjdtlkomod] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.pressure-source.online[b-fjdtlkomod] {
    background: #1b5e20;
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.pressure-source.offline[b-fjdtlkomod] {
    background: #e65100;
    color: #ffcc80;
    border: 1px solid #f57c00;
}

.pressure-input[b-fjdtlkomod] {
    background: #1a2332;
    border: 1px solid #546e7a;
    color: #eceff1;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-size: 0.85rem;
    font-family: 'Consolas', 'Courier New', monospace;
    width: 80px;
    text-align: center;
}

.pressure-input:focus[b-fjdtlkomod] {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.25);
    outline: none;
}

.pressure-set-btn[b-fjdtlkomod] {
    background: #37474f;
    border: 1px solid #546e7a;
    color: #b0bec5;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pressure-set-btn:hover:not(:disabled)[b-fjdtlkomod] {
    background: #455a64;
    border-color: #4fc3f7;
    color: #eceff1;
}

.pressure-set-btn:disabled[b-fjdtlkomod] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Components/Pages/Sensors.razor.rz.scp.css */
.sens-page[b-9n521tixmv] {
    padding: 1rem;
}

.sens-header[b-9n521tixmv] {
    background: #1a2332;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.sens-title[b-9n521tixmv] {
    color: #b0bec5;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: 'Consolas', 'Courier New', monospace;
}

.sens-back-link[b-9n521tixmv] {
    color: #4fc3f7;
    font-size: 0.8rem;
    text-decoration: none;
}

.sens-back-link:hover[b-9n521tixmv] {
    color: #81d4fa;
    text-decoration: underline;
}

.sens-section-title[b-9n521tixmv] {
    color: #78909c;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid #37474f;
    padding-bottom: 0.3rem;
    margin-bottom: 0.5rem;
}

.sens-table[b-9n521tixmv] {
    background: #1a2332;
    border-radius: 6px;
    border: 1px solid #263238;
    color: #cfd8dc;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.82rem;
    margin-bottom: 0;
}

.sens-table thead th[b-9n521tixmv] {
    background: #263238;
    color: #78909c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #37474f;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
}

.sens-sub-header th[b-9n521tixmv] {
    background: #1e2d3d !important;
    font-size: 0.68rem !important;
    color: #546e7a !important;
    padding: 0.2rem 0.6rem !important;
    border-bottom: 1px solid #2c3e50 !important;
}

.sens-table td[b-9n521tixmv] {
    border-color: #263238;
    padding: 0.35rem 0.6rem;
    vertical-align: middle;
}

.sens-name[b-9n521tixmv] {
    color: #b0bec5;
    font-weight: 600;
    white-space: nowrap;
}

.sens-online[b-9n521tixmv] {
    color: #4caf50;
}

.sens-offline[b-9n521tixmv] {
    color: #ff9800;
    font-style: italic;
}

.sens-status-badge[b-9n521tixmv] {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-ok[b-9n521tixmv] {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.12);
}

.badge-warn[b-9n521tixmv] {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.12);
}

.badge-fail[b-9n521tixmv] {
    color: #f44336;
    background: rgba(244, 67, 54, 0.15);
}

.sens-footer[b-9n521tixmv] {
    text-align: center;
    color: #546e7a;
    font-size: 0.75rem;
    font-family: 'Consolas', 'Courier New', monospace;
    padding: 0.5rem 0;
}
/* /Components/Pages/SystemAdmin.razor.rz.scp.css */
/* Styles moved to wwwroot/admin.css (shared across admin sub-pages) */
/* /Components/Pages/VfdDetail.razor.rz.scp.css */
.vfd-detail-page[b-g3sat82688] {
    padding: 16px;
    color: #e6edf3;
    min-height: 100vh;
}

/* Header */
.vd-header[b-g3sat82688] {
    background: linear-gradient(135deg, #161b22, #0d1117);
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
}

.vd-back-btn[b-g3sat82688] {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.vd-back-btn:hover[b-g3sat82688] {
    background: #30363d;
}

/* VFD selector tabs */
.vd-vfd-selector[b-g3sat82688] {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 2px;
}

.vd-vfd-tab[b-g3sat82688] {
    height: 30px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #8b949e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 10px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    letter-spacing: 0.02em;
}

.vd-vfd-tab:hover[b-g3sat82688] {
    background: #21262d;
    color: #c9d1d9;
}

.vd-vfd-tab.active[b-g3sat82688] {
    background: #1f6feb;
    border-color: #58a6ff;
    color: #ffffff;
}

.vd-vfd-tab.tab-running-status:not(.active)[b-g3sat82688]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    border-radius: 1px;
    background: #4caf50;
}

.vd-vfd-tab.tab-fault-status:not(.active)[b-g3sat82688]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    border-radius: 1px;
    background: #f44336;
}

.vd-title[b-g3sat82688] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #e6edf3;
}

.vd-status-badge[b-g3sat82688] {
    font-size: 0.65rem;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vd-status-active[b-g3sat82688] {
    background: #238636;
    color: #ffffff;
}

.vd-status-reverse[b-g3sat82688] {
    background: #1565c0;
    color: #ffffff;
}

.vd-status-fault[b-g3sat82688] {
    background: #c62828;
    color: #ffffff;
}

.vd-status-idle[b-g3sat82688] {
    background: #21262d;
    color: #8b949e;
    border: 1px solid #30363d;
}

/* Parameters grid */
.vd-params-grid[b-g3sat82688] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .vd-params-grid[b-g3sat82688] {
        grid-template-columns: 1fr;
    }
}

.vd-param-card[b-g3sat82688] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    overflow: hidden;
}

.vd-param-card-header[b-g3sat82688] {
    padding: 8px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vd-param-card-header.state[b-g3sat82688] {
    background: linear-gradient(90deg, #0d3d20, #0d1117);
    color: #6fdd8b;
    border-bottom: 2px solid #238636;
}

.vd-param-card-header.electrical[b-g3sat82688] {
    background: linear-gradient(90deg, #0d2d3d, #0d1117);
    color: #4fc3f7;
    border-bottom: 2px solid #1565c0;
}

.vd-param-card-header.health[b-g3sat82688] {
    background: linear-gradient(90deg, #1a2332, #0d1117);
    color: #8b949e;
    border-bottom: 2px solid #30363d;
}

.vd-param-card-header.fault[b-g3sat82688] {
    background: linear-gradient(90deg, #3d0d0d, #0d1117);
    color: #f08080;
    border-bottom: 2px solid #c62828;
    animation: fault-header-pulse-b-g3sat82688 1.5s ease-in-out infinite;
}

@keyframes fault-header-pulse-b-g3sat82688 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.vd-param-row[b-g3sat82688] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    border-bottom: 1px solid #161b22;
    font-size: 0.82rem;
}

.vd-param-row:last-child[b-g3sat82688] {
    border-bottom: none;
}

.vd-param-row.highlight[b-g3sat82688] {
    background: #0d1f2d;
}

.vd-param-row.fault-row[b-g3sat82688] {
    background: #1a0d0d;
}

.vd-param-label[b-g3sat82688] {
    color: #8b949e;
    font-weight: 500;
}

.vd-param-value[b-g3sat82688] {
    color: #e6edf3;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-weight: 600;
}

.vd-param-value small[b-g3sat82688] {
    color: #484f58;
    font-weight: 400;
    font-size: 0.75rem;
}

.vd-param-value.speed[b-g3sat82688] {
    color: #4caf50;
    font-size: 0.95rem;
}

.vd-param-value.ok-value[b-g3sat82688] {
    color: #6fdd8b;
}

.vd-param-value.fault-value[b-g3sat82688] {
    color: #f08080;
    font-weight: 700;
}

/* Manual speed control */
.vd-manual-panel[b-g3sat82688] {
    background: linear-gradient(135deg, #1a1a2e 0%, #1a2332 100%);
    border: 1px solid #e65100;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 16px;
}

.vd-manual-title[b-g3sat82688] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff9800;
    letter-spacing: 1.5px;
}

.vd-manual-badge[b-g3sat82688] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #78909c;
    font-style: italic;
}

.vd-manual-slider[b-g3sat82688] {
    flex: 1;
    accent-color: #ff9800;
    cursor: pointer;
    height: 6px;
}

.vd-manual-speed-value[b-g3sat82688] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #eceff1;
    font-family: 'Consolas', 'Courier New', monospace;
    min-width: 3rem;
    text-align: right;
}

.vd-manual-btn[b-g3sat82688] {
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 0.35rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.vd-manual-btn.run[b-g3sat82688] {
    background: #1b3a1f;
    color: #a5d6a7;
    border-color: #2e7d32;
}

.vd-manual-btn.run:hover:not(:disabled)[b-g3sat82688] {
    background: #2e7d32;
    color: #e8f5e9;
}

.vd-manual-btn.stop[b-g3sat82688] {
    background: #2a0d0d;
    color: #ef9a9a;
    border-color: #c62828;
}

.vd-manual-btn.stop:hover:not(:disabled)[b-g3sat82688] {
    background: #c62828;
    color: #ffebee;
}

.vd-manual-btn:disabled[b-g3sat82688] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Chart controls */
.vd-chart-controls[b-g3sat82688] {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
}

.vd-chart-controls-label[b-g3sat82688] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #484f58;
    letter-spacing: 0.06em;
}

.vd-range-btn[b-g3sat82688] {
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.vd-range-btn:hover[b-g3sat82688] {
    background: #30363d;
}

.vd-range-btn.active[b-g3sat82688] {
    background: #1f6feb;
    border-color: #58a6ff;
    color: #ffffff;
}

.vd-trend-toggle[b-g3sat82688] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #8b949e;
    cursor: pointer;
    user-select: none;
}

.vd-trend-toggle input[b-g3sat82688] {
    accent-color: #58a6ff;
    cursor: pointer;
}

/* Charts grid */
.vd-charts-grid[b-g3sat82688] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 1100px) {
    .vd-charts-grid[b-g3sat82688] {
        grid-template-columns: 1fr;
    }
}

/* No data */
.vd-no-data[b-g3sat82688] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px;
    color: #484f58;
    font-size: 0.85rem;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
}

/* Connection badges */
.connection-badge[b-g3sat82688] {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.connection-badge.connected[b-g3sat82688] {
    background: #0d3d20;
    color: #6fdd8b;
    border: 1px solid #238636;
}

.connection-badge.disconnected[b-g3sat82688] {
    background: #3d0d0d;
    color: #f08080;
    border: 1px solid #c62828;
}
