/* FestivalLuts — /tools/stage-calculator.
   Only the form grid and the output tables live here; headings, buttons, cards and the
   .admin-table component are already in style.css and apple-design.css. */
.sc-form { margin: 0 0 2rem; }
.sc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.sc-set { border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1rem 1.1rem 1.15rem;
          background: var(--bg-elevated); min-width: 0; }
.sc-set legend { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
                 padding: 0 0.4rem; color: var(--text-primary); }
.sc-row { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .sc-row { grid-template-columns: 1fr; } }
.sc-field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; min-width: 0; }
.sc-field label { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.3; }
.sc-unit { color: var(--text-muted); }
.sc-field input, .sc-field select {
    font: inherit; font-size: 0.95rem; padding: 0.5rem 0.6rem; width: 100%; min-width: 0;
    background: var(--bg-base); color: var(--text-primary);
    border: 1px solid var(--border-default); border-radius: 8px;
}
.sc-field input:focus-visible, .sc-field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sc-presets { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.sc-preset { font-size: 0.78rem; padding: 0.4rem 0.6rem; }
.sc-caption { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 0.9rem; line-height: 1.45; }
.sc-out[aria-busy="true"] { opacity: 0.55; transition: opacity 120ms ease; }
.sc-outhead { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
              margin: 1.9rem 0 0.7rem; color: var(--text-primary); }
.sc-lead { font-size: 0.93rem; color: var(--text-secondary); margin: 0 0 0.9rem; max-width: 74ch; line-height: 1.6; }
.sc-table th[scope="row"] { font-weight: 500; color: var(--text-secondary); white-space: normal;
                            width: 38%; vertical-align: top; }
.sc-table td { vertical-align: top; }
.sc-note { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; line-height: 1.45; }
