html {
    background-color: #fff;
}
body {
    font-size: 16px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
@media (min-width: 1200px) {
    body:not(.preview-page) {
        max-width: 1200px;
        margin: 0 auto;
    }
}
h1 {
    text-align: center;
    margin: 1em 0;
}
.splitter {
    display: flex;
    justify-content: space-between;
    margin: 1em;
}
@media (max-width: 800px) {
    .splitter {
        flex-direction: column;
    }
}
.analysis {
    flex: 2;
    padding: 1em;
    margin-right: 1em;
}
.analysis h2 {
    margin-bottom: 0.5em;
}
.date::before {
    content: "Generated: ";
    font-weight: bold;
}
.date {
    color: rgba(0, 0, 0, 0.5);
    font-family: monospace;
    font-size: 0.9em;
    margin: 0;
}
.model::before {
    content: "Model ID: ";
    font-weight: bold;
}
.model {
    color: rgba(0, 0, 0, 0.5);
    font-family: monospace;
    font-size: 0.9em;
    margin: 0 0 1em 0;
}
.month::before {
    content: "Data month: ";
    font-weight: bold;
}
.month {
    color: rgba(0, 0, 0, 0.5);
    font-family: monospace;
    font-size: 0.9em;
    margin: 0;
}
.trigger::before {
    content: "Run type: ";
    font-weight: bold;
}
.trigger {
    color: rgba(0, 0, 0, 0.5);
    font-family: monospace;
    font-size: 0.9em;
    margin: 0 0 1em 0;
}
.analysis p {
    color: #333;
}
.analysis p strong {
    color: #000;
}
.analysis-empty {
    color: #888;
    font-style: italic;
}
.figure-notice {
    background: #fff8e6;
    border: 1px solid #f0d080;
    border-radius: 4px;
    padding: 0.75em 1em;
    margin: 0 0 1em 0;
    color: #5c4a00;
    font-size: 0.95em;
}
.figure-notice strong {
    color: #3d3000;
}
.figure-history {
    margin: 0 0 1.25em 0;
    font-size: 0.9em;
}
.figure-history h3 {
    font-size: 1em;
    margin: 0 0 0.5em 0;
}
.figure-history table {
    width: 100%;
    border-collapse: collapse;
    font-family: monospace;
    font-size: 0.85em;
}
.figure-history th,
.figure-history td {
    border: 1px solid #ddd;
    padding: 0.35em 0.5em;
    text-align: left;
}
.figure-history th {
    background: #f5f5f5;
}
.figure-history tr.used-in-analysis {
    background: #fff3cd;
}
.figure-history tr.current-value {
    background: #e8f4ea;
}
.figure-history .tag {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85em;
    color: rgba(0, 0, 0, 0.55);
}
.other-revisions {
    margin: 0 0 1.25em 0;
    font-size: 0.9em;
    color: #555;
}
.other-revisions ul {
    margin: 0.35em 0 0 1.25em;
    padding: 0;
}
.details {
    flex: 1;
    padding: 1em;
}

.run-report-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 1em;
}
.run-report-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    align-items: end;
    margin-bottom: 1.5em;
}
.run-report-form label {
    flex: 1 1 100%;
    font-weight: 600;
}
.run-report-form input {
    flex: 1 1 12rem;
    font-size: 1rem;
    padding: 0.5em 0.65em;
}
.run-report-form button {
    font-size: 1rem;
    padding: 0.5em 1em;
    cursor: pointer;
}
.run-report-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.run-report-progress {
    border: 1px solid #d8dde8;
    border-radius: 8px;
    padding: 1em 1.25em;
    margin-bottom: 1.5em;
    background: #f8f9fc;
}
.run-report-progress h2 {
    margin: 0 0 0.5em 0;
    font-size: 1.1em;
}
.run-report-status-message {
    margin: 0 0 1em 0;
    color: #333;
}
.run-report-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}
.run-report-step {
    position: relative;
    padding: 0.55em 0 0.55em 1.75em;
    color: #777;
}
.run-report-step::before {
    content: "";
    position: absolute;
    left: 0.35em;
    top: 0.95em;
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background: #c5cad6;
}
.run-report-step.is-active {
    color: #1a56db;
    font-weight: 600;
}
.run-report-step.is-active::before {
    background: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.2);
}
.run-report-step.is-done {
    color: #2d6a4f;
}
.run-report-step.is-done::before {
    background: #2d6a4f;
}
.run-report-step.is-skipped {
    color: #888;
    font-style: italic;
}
.run-report-step.is-error {
    color: #b42318;
    font-weight: 600;
}
.run-report-step.is-error::before {
    background: #b42318;
}
.run-report-error {
    color: #b42318;
    margin: 0.75em 0;
}
.run-report-meta {
    margin: 0.75em 0 0 0;
    font-size: 0.9em;
    color: #666;
}
.run-report-back {
    margin-top: 2em;
}
