.beam-inputs p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.beam-input-part { margin-top: 15px; color: var(--accent-2); font-weight: bold; }
.beam-inputs { grid-column: 1 / -1; }
.beam-input-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.beam-input-group { min-width: 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; }
.beam-input-part { font-size: 14px; }
#section-geometry-inputs { grid-column: span 2; }
.beam-results { margin: 28px 0; padding: 24px; border: 1px solid #d4dee8; border-radius: 14px; background: #f6f8fb; color: #172a3b; font: 14px/1.55 Verdana, Arial, sans-serif; white-space: normal; }
.beam-results h2 { margin: 4px 0 0; font-size: 23px; }
.beam-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.beam-kicker { color: #4b677e; font-size: 12px; }
.beam-model-tag { padding: 6px 12px; border-radius: 20px; background: #e0edf7; white-space: nowrap; font-size: 12px; }
.beam-description { color: #4a6073; max-width: 1000px; }
.beam-critical { padding: 14px 16px; background: #e8f0f8; border-left: 4px solid #2d6fab; border-radius: 5px; margin: 18px 0; }
.beam-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.beam-controls label { display: flex; align-items: center; gap: 10px; }
.beam-controls select { background: white; border: 1px solid #a5b8c9; color: #172a3b; min-width: 130px; }
.beam-controls input { background: white; border: 1px solid #a5b8c9; color: #172a3b; max-width: 190px; padding: 7px 9px; }
.beam-controls button { min-width: 0; min-height: 36px; border: 1px solid #a5b8c9; border-radius: 7px; background: white; color: #214d72; padding: 7px 12px; }
.beam-chart { position: relative; background: white; border: 1px solid #dce4ed; border-radius: 8px; margin: 14px 0; overflow-x: auto; }
.beam-chart svg { display: block; width: 100%; min-width: 480px; height: auto; }
.beam-chart text { font-family: Verdana, Arial, sans-serif; }
.beam-chart [data-beam-step-point] { cursor: pointer; }
.beam-chart [data-beam-step-point]:focus { outline: none; stroke: #172a3b; stroke-width: 3; }
.beam-results .beam-save-svg { position: absolute; right: 10px; top: 9px; z-index: 1; min-width: 0; min-height: 28px; border: 1px solid #b6c6d5; border-radius: 5px; padding: 3px 9px; background: white; color: #405970; font-size: 11px; }
.beam-plot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.beam-details { margin-top: 18px; border-top: 1px solid #d3dde7; padding-top: 13px; }
.beam-details summary { cursor: pointer; color: #214d72; font-weight: bold; }
.beam-table-wrap { overflow: auto; margin: 14px 0; }
.beam-results table { width: 100%; border-collapse: collapse; font-size: 12px; }
.beam-results th, .beam-results td { border: 1px solid #d3dde7; padding: 7px 9px; text-align: right; white-space: nowrap; }
.beam-results th { background: #eaf0f6; }
.beam-results th:first-child, .beam-results td:first-child { text-align: left; }
.beam-error { border-color: #ce8a81; }
.calculation-summary-boundaries table { min-width: 980px; }
.calculation-summary-boundaries td:nth-child(n+3) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calculation-summary-boundaries td:nth-child(2) { min-width: 150px; }
@media (max-width: 720px) { .beam-results { padding: 14px; } .beam-heading { align-items: flex-start; flex-direction: column; } .beam-plot-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .beam-input-groups { grid-template-columns: 1fr; } #section-geometry-inputs { grid-column: auto; } }

.beam-load-controls label { flex-wrap: wrap; max-width: 100%; }
.beam-load-controls select { max-width: 100%; }
