/* Simulator status dashboard (MST6-1140).
   Colours come from currentColor and a few explicit accents so the page reads correctly
   against the Kendo theme rather than assuming a light background. */

.sim-dashboard {
    padding: 12px 16px 32px;
}

.sim-dashboard-head h4 {
    margin: 0 0 4px;
}

.sim-env {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 18px;
}

.sim-sep {
    opacity: 0.4;
}

.sim-status {
    border-radius: 10px;
    padding: 1px 10px;
    font-size: 0.85em;
    border: 1px solid currentColor;
}

.sim-status.ok {
    color: #2e7d32;
}

.sim-status.bad {
    color: #c62828;
}

.sim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}

.sim-panel {
    border: 1px solid rgba(128, 128, 128, 0.35);
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.sim-panel h5 {
    margin: 0 0 6px;
}

.sim-error pre {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.85em;
    padding: 8px;
    border-radius: 4px;
    background: rgba(128, 128, 128, 0.12);
}

.sim-figures {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 12px 0 16px;
}

.sim-figure {
    display: flex;
    flex-direction: column;
}

.sim-value {
    font-size: 1.9em;
    line-height: 1.1;
    font-weight: 600;
}

.sim-label {
    font-size: 0.82em;
    opacity: 0.75;
}

.sim-table {
    width: 100%;
    border-collapse: collapse;
}

.sim-table th,
.sim-table td {
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    vertical-align: top;
}

.sim-table th {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

.sim-table .num,
.sim-table th.num {
    text-align: right;
    white-space: nowrap;
}

.sim-table code {
    font-size: 0.82em;
    word-break: break-all;
}

.sim-note {
    font-size: 0.82em;
    opacity: 0.7;
    margin: 2px 0 0;
}

.sim-warn {
    color: #b26a00;
    font-weight: 600;
}

.sim-uncovered {
    background: rgba(178, 106, 0, 0.08);
}

.sim-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 6px;
}

.sim-dot.on {
    background: #2e7d32;
}

.sim-dot.off {
    background: #b26a00;
}
