body {
    margin: 0;
    font-family: Segoe UI, sans-serif;
    font-size: 13px;
    background: #fff;
    color: #222;
}

.spike-loading {
    padding: 2rem;
    color: #000;
}

.spike-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 6px 10px;
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
}

.spike-bar button {
    padding: 4px 12px;
}

.spike-result {
    font-family: Consolas, monospace;
    white-space: pre;
    padding: 6px 10px;
    background: #fafafa;
    border-bottom: 1px solid #ddd;
}

.spike-pass { color: #10b981; font-weight: bold; }
.spike-fail { color: #ef4444; font-weight: bold; }

.spike-scroll {
    overflow: auto;
    height: calc(100vh - 110px);
}

/* The machine's pages: a plain table, a selected row, a blocked row in red, an edit pane. */
.vpm-table { border-collapse: collapse; width: 100%; }
.vpm-table th, .vpm-table td { text-align: left; padding: 3px 8px; border-bottom: 1px solid #eee; vertical-align: top; }
.vpm-table tbody tr:hover { background: #f5f8ff; cursor: pointer; }
.vpm-selected { background: #e8f0fe; }
.vpm-blocked td:nth-child(5), .vpm-blocked td:nth-child(7) { color: #c00; }
.vpm-pane { width: 34em; padding: 8px 12px; border-left: 1px solid #ccc; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.vpm-pane label { display: flex; flex-direction: column; gap: 2px; }
.vpm-pane input, .vpm-pane textarea, .vpm-pane select { font: inherit; }
.vpm-cap { color: #000; font-size: 11px; margin-left: 6px; }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
