/* The elevated-deck mode of the structural-canvas component (canvas-adapter/r6/modes/elevated-deck.js): the
   member schedule under the drawing, as the warehouse's. The deck editor's own styles (scw-*, scd-*) are
   structural-canvas-all.css; the Sections table is the form's standard grid. The drawing column takes its
   width from the page. */
.lcw { display: flex; flex-direction: column; min-width: 0; }
.lcw-editor { min-width: 0; max-width: 100%; }
/* The windowed member schedule (StructuralCanvas Schedule) needs a scroller of fixed height (review/s3u07/app.css). */
.lcw-scroller { overflow: auto; contain: strict; height: 26vh; min-height: 160px; border-top: 1px solid #d5dce3; }
.lcw-scroller caption { text-align: left; padding: 4px 8px; font-weight: 600; }
.lcw-units, .lcd-decktype { font: inherit; min-height: 30px; }

/* The member schedule ("Members (drawn geometry, with each member's section)", the viewer's .sc-schedule) in the
   result table's look exactly (calculator-page.css .grid-out; rule 21 audit, 2026-11-06), the same rules as the
   warehouse's (warehouse.css, which this page does not load): the page's UI font at .8rem, muted 600 headings in
   sentence case, a 1px --line rule on every side, numbers right-aligned in tabular figures. Scoped to this component
   (.lcd), so the bundle's monospace rules are overridden here only. The row stays the bundle's windowed 22px: a 21px
   line plus its 1px rule. The heading keeps the surface colour so it stays opaque over the scrolled rows. */
.lcd .lcw-scroller { border-top: 1px solid var(--line, #e7e9ef); }
.lcd .lcw-scroller caption { padding: 8px 9px 4px; color: var(--ink, #10131c); font-size: .85rem; font-weight: 600; }
.lcd .sc-schedule { font-family: var(--font-ui, system-ui, sans-serif); font-size: .8rem; line-height: 21px; color: var(--ink, #10131c); border-collapse: collapse; }
.lcd .sc-schedule th { padding: 0 9px; line-height: 21px; background: var(--surface, #fff); color: var(--muted, #606a7b); font-size: .8rem; font-weight: 600;
    text-transform: none; letter-spacing: normal; text-align: left; border: 1px solid var(--line, #e7e9ef); }
.lcd .sc-schedule td { padding: 0 9px; line-height: 21px; font-size: .8rem; border: 1px solid var(--line, #e7e9ef); }
/* Length (the seventh column) is the one number: right-aligned, tabular. */
.lcd .sc-schedule th:nth-child(7), .lcd .sc-schedule td:nth-child(7) { text-align: right; font-variant-numeric: tabular-nums; }
.lcd .sc-schedule tbody tr:not(.sc-spacer):hover td { background: color-mix(in srgb, var(--accent, #1a5fb4) 6%, var(--surface, #fff)); }
.lcd .sc-schedule tr.sc-selected td { background: color-mix(in srgb, var(--accent, #1a5fb4) 14%, var(--surface, #fff)); }
.lcd .sc-schedule tr.sc-spacer td { padding: 0; border: 0; background: transparent; }

/* The message line's tone is the editor's data-tone (core b875ec00). The bundle already colours info grey
   ([data-tone="info"]) and the "no section" warning amber (.scw-flag), so no rule for those here. Its
   .scw-flag rule would also turn a refusal amber while the flag is shown: an error stays red. */
.lcd .scw-msg[data-tone="error"], .lcd .scw-pop-msg[data-tone="error"] { color: #a32020; }
