/* AVstackr summary lines modal — the Manage summary lines window's own rules on Global Settings (/global-config).
   ========================================================================
   Built to docs/superpowers/plans/2026-11-14-custom-summary-lines-phase1.md (Task 10). The author-facing shell and
   the configuration table it shares with the labor types window (toolbar, table panel, table, ticks, icon buttons)
   are am- classes in author-modal.css, as is the summary line form (SummaryLineForm), which the project
   configuration window draws too. This file holds only what the summary lines window uses, every class `slm-`
   prefixed: the modal element wears `am-modal slm-modal`. A plain stylesheet rather than a scoped .razor.css, so
   the window sits on the same shell as the others. Colours are --app-* tokens only; no literal colours and no
   important flags.

   Promotion rule: a class used by a second author-facing window moves to author-modal.css as `am-`.
   ======================================================================== */

/* ── shell ──────────────────────────────────────────────────────────────── */

/* The labor types window's width; the shared max-width bounds it on small screens. */
.slm-modal { width: 960px; }

.slm-modal .am-body { gap: 16px; }

/* The window has one footer button, Close, at the right. */
.slm-modal .am-foot { justify-content: flex-end; }

/* ── table ──────────────────────────────────────────────────────────────── */

.slm-name { min-width: 160px; }
.slm-nowrap { white-space: nowrap; }

/* A line's plain-words sentence reads quieter than its name. */
.slm-sentence { color: var(--app-text-label); }

/* ── the line being added or edited ─────────────────────────────────────── */

/* The form and its Cancel / Save line, inside an edited row. */
.slm-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
}

/* A new line's form sits above the table, lifted off the body like an edited row. */
.am-toolbar + .slm-editor {
    padding: 16px;
    background: var(--app-surface-raised);
    border: 1px solid var(--app-border-hairline);
    border-radius: var(--am-radius-panel);
}

.slm-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
