.er-beam-member-list {
  box-sizing: border-box;
  width: 176px;
  min-width: 176px;
  max-width: 176px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: none;
  border-right: 1px solid var(--border, #c5ccc6);
  background: var(--er-surface, #fff);
  font-size: 12px;
  color: var(--text, #2d3436);
  align-self: stretch;
  height: 100%;
}
.er-beam-member-list__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  padding: var(--er-card-pad, 6px);
  border-bottom: 1px solid var(--border, #c5ccc6);
}
.er-beam-member-list__header h2 {
  margin: 0;
  font-size: var(--er-type-section, 12px);
  font-weight: 600;
  color: var(--blue, #1f4e79);
}
.er-beam-member-list__header p,
.er-beam-member-list__type {
  margin: 0.1rem 0 0;
  font-size: var(--er-type-fine, 10px);
  color: var(--muted, #4f5b66);
}
.er-beam-member-list__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  padding: var(--er-card-pad, 6px);
  gap: var(--er-grid-gap, 4px);
}
.er-beam-member-list__type select,
.er-beam-member-list__actions button,
.er-beam-span-controls button,
.er-beam-load-table button,
.er-load-type-button {
  min-height: 26px;
  border: 1px solid var(--border, #c5ccc6);
  background: var(--surface, #fff);
  color: var(--blue, #1f4e79);
  border-radius: var(--er-radius-dense, 3px);
  font: inherit;
  font-size: var(--er-type-label, 11px);
}
.er-beam-member-list__actions,
.er-beam-span-controls,
.er-beam-load-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin: 0;
}
.er-beam-member-list__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--er-control-gap, 4px);
}
.er-beam-member-list__actions button {
  min-width: 0;
  height: var(--er-btn-height, 26px);
  padding: 0 0.35rem;
}
.er-beam-member-list__rows {
  list-style: none;
  margin: 0;
  padding: 2px;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 8rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border, #c5ccc6);
  border-radius: var(--er-radius-dense, 3px);
  background: var(--surface-input, #f7f9f8);
}
.er-beam-member-list__item {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.35rem;
  align-items: center;
  min-height: calc(var(--er-input-height, 26px) + 4px);
  padding: 0.2rem 0.3rem;
  border: 1px solid transparent;
  border-radius: var(--er-radius-dense, 3px);
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.er-beam-member-list__item:hover {
  border-color: var(--border, #c5ccc6);
  background: var(--surface, #fff);
}
.er-beam-member-list__num {
  grid-row: 1 / span 2;
  align-self: center;
  flex: 0 0 auto;
  min-width: 1.75rem;
  font-weight: 600;
  color: var(--blue, #1f4e79);
  font-size: var(--er-type-label, 11px);
}
.er-beam-member-list__desc {
  font-size: var(--er-type-label, 11px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.er-beam-member-list__kind {
  font-size: var(--er-type-fine, 10px);
  color: var(--muted, #4f5b66);
}
.er-beam-member-list__item.is-selected {
  border-color: var(--copper, #d97706);
  background: rgba(217, 119, 6, 0.1);
  outline: 1px solid var(--copper, #d97706);
  outline-offset: -1px;
}
.er-beam-span-diagram-host {
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  min-height: 96px;
}
.er-beam-span-diagram {
  width: 100%;
  min-width: 280px;
  max-width: none;
  max-height: min(240px, 32vh);
  min-height: 96px;
  height: auto;
  margin-inline: 0;
  display: block;
}
.er-beam-load-toolbar__label {
  font-weight: 600;
  color: #1f4e79;
  margin-right: 4px;
}
.er-load-type-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  padding: 2px 4px 4px;
  cursor: pointer;
}
.er-load-type-button:hover {
  background: #dcebf5;
}
.er-load-type-button__caption {
  font-size: 11px;
}
.er-beam-load-table-wrap {
  overflow-x: auto;
}
.er-beam-load-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #fff;
}
.er-beam-load-table th,
.er-beam-load-table td {
  border: 1px solid #e6e8eb;
  padding: 2px 4px;
  white-space: nowrap;
  vertical-align: middle;
}
.er-beam-load-table th {
  background: #f4f6f8;
  color: #1f4e79;
  font-weight: 600;
  font-size: 11px;
  text-align: left;
}
.er-beam-load-table th.er-num {
  text-align: center;
}
.er-beam-load-table input {
  min-height: 26px;
  border: 1px solid #c5d0da;
  background: #fff;
  box-sizing: border-box;
}
.er-beam-load-table td.er-num {
  text-align: center;
}
.er-beam-load-table td.er-num input,
.er-beam-load-table input.er-input--num,
.er-beam-load-table .er-input--num {
  text-align: center;
  width: 64px;
}
.er-beam-load-table td:first-child input {
  width: 8.5rem;
  min-width: 7rem;
  text-align: left;
}
.er-beam-load-plf {
  color: #1f4e79;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.er-beam-load-component-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 3.25rem;
}
.er-beam-load-component-stack .er-input,
.er-beam-load-component-stack input {
  width: 3.5rem;
}
.er-beam-load-source__actions button {
  min-height: 26px;
  padding: 0 8px;
  font-size: 12px;
  margin-right: 4px;
}
.er-beam-input-workspace {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}
.er-beam-input-workspace > :not(.er-beam-member-list) {
  min-width: 0;
}
@media (max-width: 900px) {
  .er-beam-input-workspace {
    grid-template-columns: 1fr;
  }
}

.er-beam-workspace {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: none;
}

.er-beam-member-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 2px 0 6px;
  border-bottom: 1px solid #e6e8eb;
}

.er-beam-member-header__id {
  font-size: 15px;
  font-weight: 700;
  color: #1f4e79;
  min-width: 3.25rem;
}

.er-beam-member-header__desc {
  flex: 1 1 12rem;
  min-width: 8rem;
}

.er-beam-member-header .er-beam-status {
  margin-left: auto;
}

.er-beam-primary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: start;
  justify-content: start;
}

.er-beam-card {
  padding: 8px 10px;
  border: 1px solid #c5d0da;
  background: #fff;
  min-width: 0;
  flex: 0 1 22rem;
  max-width: 36rem;
  width: max-content;
}

.er-beam-card h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #1f4e79;
}

.er-beam-graphic-band {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  padding: 4px 0 8px;
  width: 100%;
  min-width: 0;
}

.er-beam-graphic-band .er-beam-span-diagram-host {
  width: 100%;
  margin-inline: 0;
}

.er-beam-graphics-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 0.9fr);
  gap: 12px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1200px) {
  .er-beam-graphics-row {
    grid-template-columns: 1fr;
  }
}

.er-beam-secondary {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #e6e8eb;
}

.er-beam-note {
  margin: 0 0 6px;
  font-size: 11px;
  color: #4f5b66;
  line-height: 1.35;
}

.er-beam-defl {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #c5d0da;
  background: #fff;
  width: fit-content;
  max-width: 100%;
}
.er-beam-card .er-beam-defl {
  margin: 0;
  padding: 0;
  border: none;
}
.er-beam-defl h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #1f4e79;
}
.er-beam-defl-presets {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  color: #2d3436;
}
.er-beam-defl-custom,
.er-beam-defl-na {
  color: #4f5b66;
  font-size: 12px;
}
.er-beam-defl-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.er-beam-defl-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}
.er-beam-defl-field__control {
  display: flex;
  align-items: center;
  gap: 4px;
}
.er-beam-defl-prefix {
  color: #4f5b66;
  font-weight: 600;
}
.er-beam-defl-input {
  width: 56px;
  min-height: 26px;
  text-align: right;
  border: 1px solid #c5d0da;
}
.er-beam-defl-input:disabled {
  background: #f4f6f8;
  color: #4f5b66;
  cursor: default;
  opacity: 0.9;
}
.er-beam-load-source-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.er-beam-load-source-cell select,
.er-beam-load-source-cell input {
  min-height: 26px;
}
.er-beam-span-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.er-beam-span-actions button {
  min-height: 26px;
  border: 1px solid #c5d0da;
  background: #fff;
  color: #1f4e79;
}
.er-beam-hinge-future {
  font-family: inherit;
  cursor: default;
  pointer-events: none;
}
.er-beam-span-diagram-host {
  min-height: 96px;
}
.er-beam-load-source__heading {
  margin: 8px 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1f4e79;
}
.er-beam-load-source__actions {
  white-space: nowrap;
}
.er-beam-load-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 4px;
  font-size: 11px;
  color: #4f5b66;
}
.er-beam-span-block {
  margin: 8px 0 12px;
  padding: 8px 10px;
  border: 1px solid #c5d0da;
  background: #fff;
}
.er-beam-span-load-block__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.er-beam-span-load-block__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.er-beam-span-load-block .er-beam-load-toolbar {
  margin: 0;
}
.er-beam-span-block__header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1f4e79;
}
.er-beam-span-header__label {
  font-weight: 700;
}
.er-beam-span-header__supports {
  font-weight: 500;
  color: #4f5b66;
  font-size: 12px;
}
.er-beam-span-header__length {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 12px;
  color: #4f5b66;
}
.er-beam-span-header__length-input {
  width: 5.5rem;
  min-height: 26px;
  padding: 2px 6px;
  border: 1px solid #c5d0da;
  border-radius: 2px;
  font: inherit;
  color: #1f4e79;
}
.er-beam-span-header__length-readonly {
  font-weight: 500;
  font-size: 12px;
  color: #4f5b66;
}
.er-beam-span-header__unit {
  font-weight: 400;
  color: #6b7280;
}
.er-beam-status {
  margin-left: auto;
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.5rem;
  border-radius: 0.2rem;
  white-space: nowrap;
}
.er-beam-status--pass {
  color: #166534;
}
.er-beam-status--check {
  color: #92400e;
}
.er-beam-status--fail {
  color: #991b1b;
}
.er-beam-status--incomplete {
  color: #4f5b66;
  font-weight: 600;
}
.er-mode-requirements {
  margin: 6px 0 10px;
  padding: 6px 8px;
  border: 1px solid #e8c547;
  background: #fff8e1;
  color: #4f5b66;
  font-size: 12px;
}
.er-design-families {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 4px 0 10px;
  font-size: 12px;
}
.er-beam-result {
  margin: 8px 0;
}
.er-beam-result-diagram-host {
  width: 100%;
  overflow-x: auto;
}
.er-beam-result-diagram {
  width: 100%;
  min-width: 280px;
  max-height: min(320px, 42vh);
  background: #fff;
}
.er-beam-result-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 11px;
  color: #2d3436;
}
.er-beam-result-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.er-beam-result-legend__swatch {
  display: inline-block;
  width: 22px;
  height: 0;
  border-top: 2px solid #1f4e79;
}
