/* Operations -> Propagation page. Uses the active theme's CSS variables so it
   tracks all five site themes. Loaded by Views/Ops/Propagation.cshtml. */

.prop-page { max-width: 1400px; margin: 0 auto; padding: 1rem 0 3rem; }
.prop-head h1 { margin: 0 0 .2rem; }
.prop-sub { color: var(--muted); margin: 0 0 1.2rem; max-width: 70ch; }
.prop-sub code, .prop-empty code {
    background: var(--surface-strong, var(--bg)); padding: .1rem .35rem;
    border-radius: 4px; color: var(--fg);
}

.prop-controls {
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end;
    padding: .85rem 1rem; margin-bottom: 1.2rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
}
.prop-controls label {
    display: flex; flex-direction: column; gap: .25rem;
    font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
}
.prop-controls select, .prop-controls input {
    min-width: 11rem; padding: .4rem .55rem;
    background: var(--bg); color: var(--fg);
    border: 1px solid var(--border); border-radius: 6px; font-size: .9rem;
}
.prop-controls select[data-prop-run] { min-width: 22rem; }
.prop-controls button {
    padding: .45rem .9rem; border-radius: 6px; cursor: pointer;
    background: var(--accent-color); color: #fff;
    border: 1px solid var(--accent-strong, var(--accent-color)); font-size: .85rem;
}
.prop-controls button:hover { background: var(--accent-strong, var(--accent-color)); }
.prop-status { font-size: .82rem; color: var(--muted); }

.prop-empty {
    padding: 2rem 1.5rem; text-align: center; color: var(--muted);
    background: var(--surface); border: 1px dashed var(--border); border-radius: 10px;
}

.prop-summary { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.prop-stat {
    flex: 1 1 8rem; min-width: 7rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    padding: .55rem .75rem;
}
.prop-stat .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.prop-stat .v { font-size: 1.15rem; font-weight: 600; color: var(--fg); }

.prop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.prop-card {
    margin: 0; background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1rem 1.1rem;
}
.prop-card--wide { grid-column: 1 / -1; }
.prop-card figcaption { font-weight: 600; color: var(--fg); margin-bottom: .15rem; }
.prop-hint { font-size: .8rem; color: var(--muted); margin: 0 0 .6rem; }
.prop-canvas-wrap { position: relative; height: 340px; }
.prop-card--wide .prop-canvas-wrap { height: 300px; }
/* Plotly fills the container exactly, no fixed-height squish */
.prop-canvas-wrap--3d { height: 1000px; }

.prop-controls--sweep { margin-top: -.5rem; }
.prop-controls--sweep .prop-hint { margin: 0; flex: 1 1 100%; }

@media (max-width: 900px) {
    .prop-grid { grid-template-columns: 1fr; }
    .prop-card--wide { grid-column: auto; }
    .prop-canvas-wrap--3d { height: 800px; }
}
