/* The component canvas's own controls (canvas-adapter/r6/component-canvas.js): the drawing's Units
   switch sits in StructuralCanvas's toolbar and takes its .scb-tool look; the section block below the
   beam holds the profile, its dimensions and a preview drawn from them. Linked only on a calculator
   page whose ui.json selects canvas.component; every other page does not load it. */
.lcc { display: grid; gap: 12px; }
.lcc-section[hidden] { display: none !important; }
.lcc-section { border: 1px solid #d9e2ec; border-radius: 8px; padding: 10px 12px; background: #fff; }
.lcc-section-title { margin: 0 0 8px; font-weight: 600; font-size: 14px; }
.lcc-section-body { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; }
.lcc-section-fields { display: grid; gap: 8px; flex: 1 1 240px; min-width: 0; }
.lcc-dims { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; }
.lcc-row { display: grid; gap: 3px; font-size: 13px; color: #52606d; }
.lcc-row select, .lcc-row input { font: inherit; font-size: 15px; color: #1f2933; padding: 6px 8px; border: 1px solid #9aa5b1;
  border-radius: 5px; background: #fff; min-height: 36px; width: 100%; box-sizing: border-box; }
.lcc-row select:focus-visible, .lcc-row input:focus-visible { outline: 3px solid #f59e0b; outline-offset: 1px; }
/* A choice (a select) reads on one line with its label, as the page's other dropdowns do (Ugur, 2026-11-06: "Make sure
   controls and their labels line up"; 3P-handoff/tools/control-label-probe.mjs). */
.lcc-row:has(> select) { grid-template-columns: max-content minmax(0, 1fr); align-items: center; column-gap: 10px; }
.lcc-figure { margin: 0; flex: 0 0 auto; max-width: 180px; }
.lcc-preview { display: block; width: 120px; height: 120px; background: #f5f7fa; border: 1px solid #d9e2ec; border-radius: 6px; }
.lcc-preview path { fill: #9aa5b1; fill-rule: evenodd; stroke: #323f4b; stroke-width: 1; }
.lcc-figure figcaption { font-size: 12px; color: #52606d; margin-top: 4px; }
.lcc-section-msg { margin: 6px 0 0; color: #b42318; font-size: 13px; }
.lcc-section-msg:empty { display: none; }
/* An informational line in the same place (a selection helper, not an error): the page's muted text (3U, Coordination 2026-11-06). */
.lcc-section-msg.lcc-msg-info { color: var(--muted, #52606d); }
