.web-page-shell.web-page-shell--beam-wide {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
}

.web-page-shell.web-page-shell--beam-wide .web-sidebar {
    display: block;
}

@media (min-width: 921px) {
    .web-page-shell.web-page-shell--beam-wide {
        width: min(1850px, calc(100% - 24px));
        grid-template-columns: minmax(0, 1fr);
    }

    .web-page-shell.web-page-shell--beam-wide .web-sidebar {
        display: none;
    }
}

.builder-workspace {
    display: grid;
    gap: 22px;
    padding-bottom: 32px;
}

.beam-fabrication-embed-mode .builder-workspace {
    padding-bottom: 88px;
}

body.beam-fabrication-embed-mode {
    overflow: hidden;
}

body.beam-fabrication-embed-mode #web-site-header,
body.beam-fabrication-embed-mode .web-public-header,
body.beam-fabrication-embed-mode .web-breadcrumb,
body.beam-fabrication-embed-mode .web-breadcrumb-shell,
body.beam-fabrication-embed-mode .web-footer,
body.beam-fabrication-embed-mode footer,
body.beam-fabrication-embed-mode .web-page-shell.web-page-shell--beam-wide > .web-sidebar,
body.beam-fabrication-embed-mode .builder-workspace__hero,
body.beam-fabrication-embed-mode .builder-workspace__column--right {
    display: none !important;
}

body.beam-fabrication-embed-mode .web-page-shell.web-page-shell--beam-wide {
    position: fixed;
    inset: 0;
    z-index: 360;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at top left, rgba(74, 152, 255, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(8, 12, 18, 0.98), rgba(11, 17, 24, 0.98));
}

body.beam-fabrication-embed-mode .web-page-shell__main,
body.beam-fabrication-embed-mode .builder-workspace,
body.beam-fabrication-embed-mode .builder-workspace__layout,
body.beam-fabrication-embed-mode .builder-workspace__column--main,
body.beam-fabrication-embed-mode .builder-viewport-overlay--inline,
body.beam-fabrication-embed-mode .builder-viewport-overlay__dialog,
body.beam-fabrication-embed-mode .builder-viewport-overlay__editor-layout,
body.beam-fabrication-embed-mode .builder-viewport-overlay__editor-main,
body.beam-fabrication-embed-mode .builder-card--viewport,
body.beam-fabrication-embed-mode .builder-viewport-shell {
    height: 100%;
    min-height: 0;
    max-height: none;
}

body.beam-fabrication-embed-mode .builder-workspace {
    gap: 0;
    padding: 0 0 78px;
}

body.beam-fabrication-embed-mode .builder-workspace__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

body.beam-fabrication-embed-mode .builder-workspace__column--main {
    position: static;
    top: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

body.beam-fabrication-embed-mode .builder-workspace__column--main > .builder-viewport-overlay--inline {
    flex: 1 1 auto;
    align-self: stretch;
    margin-top: 0;
}

body.beam-fabrication-embed-mode .builder-viewport-overlay__dialog--editor {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
}

body.beam-fabrication-embed-mode.beam-fullscreen-viewport-mode .builder-viewport-overlay__dialog--editor {
    grid-template-rows: minmax(0, 1fr);
}

body.beam-fabrication-embed-mode .builder-viewport-overlay__editor-layout {
    grid-row: 1;
    min-height: 0;
    height: 100%;
}

body.beam-fabrication-embed-mode .builder-viewport-overlay__editor-sidebar,
body.beam-fabrication-embed-mode .builder-viewport-overlay__editor-main,
body.beam-fabrication-embed-mode .builder-viewport-overlay__resize-handle,
body.beam-fabrication-embed-mode .builder-card--viewport,
body.beam-fabrication-embed-mode .builder-viewport-shell {
    align-self: stretch;
}

.builder-workspace__hero-copy {
    min-width: 0;
}

.fabrication-editor-shell.fabrication-editor-shell--beam .beam-editor-sidebar-header.fabrication-editor-sidebar-header {
    display: grid;
    gap: 12px;
    overflow: hidden;
    padding-top: 14px;
}

.beam-editor-sidebar-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.beam-editor-sidebar-titlebar h1 {
    margin: 0;
    color: #eef6ff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.beam-field-helper {
    display: block;
    margin-top: 6px;
    color: var(--fabrication-editor-muted-text, #64748b);
    font-size: 12px;
    line-height: 1.35;
}

.fabrication-editor-shell.fabrication-editor-shell--beam .beam-editor-sidebar-intro {
    margin: -2px 0 0;
    max-width: none;
    color: #9db5cb;
    font-size: 12px;
    line-height: 1.4;
}

.fabrication-editor-shell--beam .beam-editor-sidebar-header .fabrication-editor-file-menu,
.fabrication-editor-shell--beam .beam-editor-sidebar-header .builder-card--file-actions,
.fabrication-editor-shell--beam .beam-editor-sidebar-header .builder-file-actions__actions,
.fabrication-editor-shell--beam .beam-editor-sidebar-header .builder-file-actions__actions--icon {
    overflow: visible;
}

.beam-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    align-self: start;
    flex-wrap: wrap;
    gap: 10px;
}

.beam-fullscreen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 32px;
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid rgba(178, 207, 235, 0.28);
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(39, 69, 96, 0.96), rgba(23, 43, 62, 0.94));
    color: #f5f9ff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.beam-fullscreen-btn:hover,
.beam-fullscreen-btn:focus-visible,
.beam-fullscreen-btn.active {
    border-color: rgba(96, 239, 166, 0.5);
    background: linear-gradient(180deg, rgba(44, 86, 61, 0.98), rgba(27, 56, 42, 0.96));
    transform: translateY(-1px);
}

.builder-workspace__hero-notes {
    display: grid;
    gap: 0.75rem;
}

.builder-workspace__hero-note {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 14px;
    background: rgba(7, 12, 18, 0.34);
    border: 1px solid rgba(126, 154, 184, 0.14);
}

.builder-workspace__hero-note strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(121, 183, 255, 0.16);
    color: #eef6ff;
    font-size: calc(1em + 2pt);
}

.builder-workspace__hero-note span {
    font-size: 14.67px;
    color: #dce9f6;
}

.beam-field-help-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    padding: 0;
    border: 1px solid rgba(128, 198, 255, 0.76);
    border-radius: 999px;
    background: linear-gradient(180deg, #62bdff 0%, #1d87db 100%);
    color: #f5fbff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(20, 94, 166, 0.22);
    transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-field__label-row .beam-field-help-btn {
    display: inline-flex;
    flex: 0 0 18px;
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    padding: 0;
    border-radius: 999px;
    border-color: rgba(128, 198, 255, 0.76);
    background: linear-gradient(180deg, #62bdff 0%, #1d87db 100%);
    color: #f5fbff;
    font-size: 11px;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    box-shadow: 0 10px 18px rgba(20, 94, 166, 0.22);
}

.beam-field-help-btn:hover,
.beam-field-help-btn:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 12px 24px rgba(20, 94, 166, 0.28);
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-field__label-row .beam-field-help-btn:hover,
body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-field__label-row .beam-field-help-btn:focus-visible {
    border-color: rgba(128, 198, 255, 0.86);
    background: linear-gradient(180deg, #69c4ff 0%, #218fe4 100%);
    color: #f5fbff;
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 12px 24px rgba(20, 94, 166, 0.28);
}

.beam-field-help-btn:focus-visible {
    outline: 2px solid rgba(171, 222, 255, 0.85);
    outline-offset: 2px;
}

.beam-reference-modal__dialog {
    max-width: min(820px, calc(100vw - 32px));
}

.beam-reference-modal__body {
    gap: 18px;
}

.beam-reference-modal__image-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(126, 154, 184, 0.2);
    background: linear-gradient(180deg, rgba(9, 17, 28, 0.96) 0%, rgba(15, 29, 47, 0.92) 100%);
}

.beam-reference-modal__image-shell img {
    display: block;
    width: min(100%, 720px);
    height: auto;
    border-radius: 12px;
}

.builder-workspace__layout {
    --beam-sticky-top: 118px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 18px;
    align-items: start;
}

.builder-workspace__column {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.builder-workspace__column--main {
    align-content: start;
    align-self: start;
}

.builder-workspace__column--right {
    align-content: start;
    align-self: start;
    position: sticky;
    top: var(--beam-sticky-top);
}

@media (min-width: 921px) {
    body.beam-fullscreen-viewport-mode .web-page-shell.web-page-shell--beam-wide {
        position: fixed;
        inset: 0;
        z-index: 360;
        display: block;
        width: 100vw;
        max-width: none;
        margin: 0;
        padding: 16px 0 16px 16px;
        box-sizing: border-box;
        background:
            radial-gradient(circle at top left, rgba(74, 152, 255, 0.10), transparent 34%),
            linear-gradient(180deg, rgba(8, 12, 18, 0.98), rgba(11, 17, 24, 0.98));
    }

    body.beam-fullscreen-viewport-mode .web-page-shell.web-page-shell--beam-wide > .web-sidebar,
    body.beam-fullscreen-viewport-mode .builder-workspace__hero,
    body.beam-fullscreen-viewport-mode .builder-workspace__column--right {
        display: none;
    }

    body.beam-fullscreen-viewport-mode .web-page-shell__main,
    body.beam-fullscreen-viewport-mode .builder-workspace,
    body.beam-fullscreen-viewport-mode .builder-workspace__layout,
    body.beam-fullscreen-viewport-mode .builder-workspace__column--main,
    body.beam-fullscreen-viewport-mode .builder-viewport-overlay--inline,
    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__dialog,
    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__editor-layout,
    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__editor-main,
    body.beam-fullscreen-viewport-mode .builder-card--viewport,
    body.beam-fullscreen-viewport-mode .builder-viewport-shell {
        height: 100%;
        min-height: 0;
        max-height: none;
    }

    body.beam-fullscreen-viewport-mode .builder-workspace {
        gap: 0;
        padding: 0;
    }

    body.beam-fullscreen-viewport-mode .builder-workspace__layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    body.beam-fullscreen-viewport-mode .builder-workspace__column--main {
        position: static;
        top: auto;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow: hidden;
    }

    body.beam-fullscreen-viewport-mode .builder-workspace__column--main > .builder-viewport-overlay--inline {
        flex: 1 1 auto;
        align-self: stretch;
        margin-top: 0;
    }

    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__dialog--editor {
        display: grid;
        grid-template-rows: minmax(0, 1fr);
        width: 100%;
        max-width: none;
        overflow: hidden;
    }

    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__editor-main,
    body.beam-fullscreen-viewport-mode .builder-card--viewport,
    body.beam-fullscreen-viewport-mode .builder-viewport-shell,
    body.beam-fullscreen-viewport-mode .beam-viewport-canvas {
        width: 100%;
        max-width: none;
    }

    body.beam-fullscreen-viewport-mode .builder-card--viewport,
    body.beam-fullscreen-viewport-mode .builder-viewport-shell {
        box-sizing: border-box;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: 0;
    }

    body.beam-fullscreen-viewport-mode .builder-card--viewport {
        padding-right: 0;
    }

    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__editor-sidebar,
    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__editor-main,
    body.beam-fullscreen-viewport-mode .builder-viewport-overlay__resize-handle,
    body.beam-fullscreen-viewport-mode .builder-card--viewport,
    body.beam-fullscreen-viewport-mode .builder-viewport-shell {
        align-self: stretch;
    }

    .builder-workspace__column--main {
        position: sticky;
        top: var(--beam-sticky-top);
    }

    .builder-workspace__layout {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

    .builder-workspace__column--right,
    .builder-summary,
    .beam-summary {
        width: 360px;
    }

    .beam-viewport-overlay--inline,
    .builder-viewport-overlay--inline {
        height: calc(100dvh - var(--beam-sticky-top) - 24px);
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__dialog,
    .builder-viewport-overlay--inline .builder-viewport-overlay__dialog {
        height: calc(100dvh - var(--beam-sticky-top) - 24px);
        min-height: calc(100dvh - var(--beam-sticky-top) - 24px);
        max-height: calc(100dvh - var(--beam-sticky-top) - 24px);
        overflow: hidden;
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__editor-layout,
    .builder-viewport-overlay--inline .builder-viewport-overlay__editor-layout {
        min-height: 0;
        height: 100%;
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__editor-sidebar,
    .builder-viewport-overlay--inline .builder-viewport-overlay__editor-sidebar {
        min-height: 0;
        max-height: 100%;
        align-content: start;
        align-items: start;
        grid-auto-rows: max-content;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__editor-sidebar > *,
    .builder-viewport-overlay--inline .builder-viewport-overlay__editor-sidebar > * {
        align-self: start;
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__editor-main,
    .beam-viewport-overlay--inline .beam-viewport-overlay__editor-main .beam-card--viewport,
    .beam-viewport-overlay--inline .beam-viewport-overlay__editor-main .beam-viewport-shell,
    .builder-viewport-overlay--inline .builder-viewport-overlay__editor-main,
    .builder-viewport-overlay--inline .builder-viewport-overlay__editor-main .builder-card--viewport,
    .builder-viewport-overlay--inline .builder-viewport-overlay__editor-main .builder-viewport-shell {
        min-height: 0;
        height: 100%;
    }
}

.beam-card,
.builder-summary,
.beam-summary {
    box-sizing: border-box;
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(128, 148, 171, 0.26);
    background: linear-gradient(180deg, rgba(31, 44, 60, 0.96), rgba(25, 36, 49, 0.94));
    box-shadow: 0 24px 52px rgba(6, 11, 16, 0.3);
    overflow: hidden;
}

.builder-summary,
.beam-summary {
    padding: 7px;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide {
    min-height: calc(100vh - 72px);
    padding: 0.75rem;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-workspace {
    padding-bottom: 0;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-workspace__layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-workspace__column--right,
body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-summary,
body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .beam-summary {
    width: 340px;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-summary,
body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .beam-summary {
    height: auto;
    max-height: none;
    align-self: start;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-summary__panel {
    height: auto;
    overflow: visible;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-viewport-overlay__dialog--editor {
    width: 100%;
}

body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-viewport-overlay__editor-layout {
    grid-template-columns: minmax(504px, var(--builder-overlay-sidebar-width, 528px)) 10px minmax(0, 1fr);
    gap: 14px;
}

.beam-card--fill {
    min-height: 0;
}

.beam-card--editor {
    min-height: 0;
    overflow: hidden;
}

.beam-card--viewport {
    box-sizing: border-box;
    min-height: 0;
    height: auto;
    min-width: 0;
    flex: 1 1 auto;
    align-self: start;
    align-content: start;
    grid-template-rows: minmax(0, 1fr);
}

.beam-card__header {
    display: grid;
    gap: 4px;
    margin: 0 0 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border-bottom: 0;
    background: #000;
}

.beam-card__header h2 {
    margin: 0;
    color: #eef6ff;
}

.beam-card__header h3 {
    margin: 0;
    color: #eef6ff;
}

.beam-card__title--accent {
    color: #eef6ff !important;
}

.beam-card__header p {
    margin: 0;
    color: #9db5cb;
    line-height: 1.45;
    font-size: 12px;
}

.beam-card__header--inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
}

.beam-card__header--viewport {
    align-items: center;
}

.beam-card__header--nested {
    margin: 0;
    padding: 0;
    border-bottom: 0;
    padding-bottom: 2px;
}

.beam-editor-panel {
    gap: 14px;
}

.beam-editor-panel--file-actions {
    padding: 18px;
}

.beam-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.beam-editor-actions--file {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.builder-card--file-actions .builder-file-actions__actions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.builder-card--file-actions .builder-action-btn,
.builder-card--file-actions .builder-action-btn--accent {
    min-width: 0;
    padding: 0 8px;
    font-size: 11px;
    border-color: var(--builder-secondary-border);
    background: var(--builder-secondary-background);
    color: #dce9f6;
    box-shadow: none;
}

.builder-card--file-actions .builder-action-btn:hover,
.builder-card--file-actions .builder-action-btn:focus-visible,
.builder-card--file-actions .builder-action-btn--accent:hover,
.builder-card--file-actions .builder-action-btn--accent:focus-visible {
    border-color: rgba(185, 116, 52, 0.48);
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    color: #1b0f04;
    box-shadow: none;
}

.builder-card--file-actions .builder-action-btn:disabled,
.builder-card--file-actions .builder-action-btn[aria-disabled='true'],
.builder-card--file-actions .builder-action-btn--accent:disabled,
.builder-card--file-actions .builder-action-btn--accent[aria-disabled='true'] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(125, 145, 165, 0.35);
    background: rgba(30, 44, 58, 0.72);
    color: rgba(220, 233, 246, 0.58);
    box-shadow: none;
}

.beam-editor-actions .beam-btn {
    min-width: 132px;
}

.beam-editor-actions--file .beam-btn {
    width: 100%;
    min-width: 0;
}

.beam-field-grid {
    display: grid;
    gap: 12px;
}

.beam-field-grid--product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beam-field-grid--editor-3up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.beam-field-grid--cutting {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beam-field-grid--drill-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.beam-field-grid--drill-fields .beam-field:first-child {
    grid-column: 1 / -1;
}

.beam-field-grid--editor-3up .beam-field:first-child {
    grid-column: auto;
}

.beam-field-grid--cutting .beam-field:first-child {
    grid-column: auto;
}

.beam-field-grid--cutting .builder-cut-grid__main-field {
    grid-column: auto;
}

.beam-properties-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.beam-properties-row .beam-field:first-child {
    grid-column: auto;
}

.beam-field:first-child {
    grid-column: 1 / -1;
}

.beam-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.beam-field span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8eaac3;
}

.beam-field input,
.beam-field select,
.beam-table input,
.beam-table select,
.beam-btn {
    height: 36px;
    min-height: 36px;
    border-radius: 12px;
    font-size: 13px;
    max-width: 100%;
    box-sizing: border-box;
}

.beam-field input,
.beam-field select,
.beam-table input,
.beam-table select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(122, 146, 170, 0.28);
    background: rgba(7, 12, 17, 0.52);
    color: #eef6ff;
}

.beam-field select,
.beam-table select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(182, 209, 233, 0.88) 50%),
        linear-gradient(135deg, rgba(182, 209, 233, 0.88) 50%, transparent 50%),
        linear-gradient(180deg, rgba(18, 29, 40, 0.96), rgba(8, 12, 17, 0.9));
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px),
        0 0;
    background-size: 6px 6px, 6px 6px, 100% 100%;
    background-repeat: no-repeat;
}

.beam-field input[readonly] {
    color: #c8d9e8;
}

.beam-btn {
    padding: 0 12px;
    border: 1px solid rgba(126, 154, 184, 0.24);
    background: linear-gradient(180deg, rgba(52, 72, 90, 0.98), rgba(35, 49, 62, 0.98));
    color: #dce9f6;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.beam-btn:disabled,
.beam-btn[aria-disabled='true'] {
    cursor: not-allowed;
    opacity: 0.45;
    box-shadow: none;
}

.beam-btn--accent {
    border-color: rgba(126, 154, 184, 0.24);
    background: linear-gradient(180deg, rgba(52, 72, 90, 0.98), rgba(35, 49, 62, 0.98));
    color: #dce9f6;
}

.builder-summary__cta,
.beam-summary__cta,
.beam-row-select.is-active {
    border-color: rgba(185, 116, 52, 0.48);
    background: linear-gradient(180deg, #e1a262, #c77e39);
    color: #1b0f04;
}

.beam-row-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(103, 150, 123, 0.48);
    border-color: rgba(103, 150, 123, 0.48);
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    color: #1b0f04;
    font-weight: 700;
    cursor: pointer;
}

.beam-row-select-btn {
    width: 100%;
    padding: 0 12px;
    white-space: nowrap;
}

.beam-row-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(121, 183, 255, 0.18);
    background: rgba(19, 30, 40, 0.84);
    color: #eef6ff;
    font-weight: 700;
    cursor: pointer;
}

.beam-row-edit-btn:hover {
    filter: brightness(1.04);
}

.beam-row-copy-btn:hover {
    background: rgba(35, 52, 68, 0.82);
}

.beam-row-edit-btn svg,
.beam-row-copy-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.beam-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.beam-cut-action-cell::before {
    content: none !important;
}

.beam-btn--secondary {
    border-color: rgba(126, 154, 184, 0.24);
    background: linear-gradient(180deg, rgba(52, 72, 90, 0.98), rgba(35, 49, 62, 0.98));
    color: #dce9f6;
}

.beam-btn:hover,
.beam-btn:focus-visible,
.beam-btn--accent:hover,
.beam-btn--accent:focus-visible,
.beam-btn--secondary:hover,
.beam-btn--secondary:focus-visible {
    border-color: rgba(185, 116, 52, 0.48);
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    color: #1b0f04;
    box-shadow: none;
    transform: none;
    filter: none;
}

.beam-collapsible-summary__title-row,
.builder-collapsible-summary__title-row {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
}

.beam-collapsible-summary__title-row h2,
.builder-collapsible-summary__title-row h2 {
    min-width: 0;
    display: block;
    flex: 0 1 auto;
    margin: 0;
}

.mini-pill {
    border-radius: 999px;
    border: 1px solid rgba(133, 204, 136, 0.24);
    font-size: 10px;
    font-weight: 700;
    padding: 7px 10px;
}

.mini-pill--green {
    background: rgba(133, 204, 136, 0.12);
    color: #85cc88;
}

.beam-list-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.beam-collapsible-summary__title-row .beam-collapsible-summary__icon,
.builder-collapsible-summary__title-row .builder-collapsible-summary__icon {
    margin-left: 0;
}

.beam-collapsible-summary__copy,
.builder-collapsible-summary__copy {
    align-content: start;
}

.beam-table-shell {
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(121, 183, 255, 0.14);
    background: rgba(8, 12, 17, 0.28);
}

.beam-table-shell--cuts {
    min-height: 0;
}

.beam-table-shell--editor {
    max-height: 100%;
}

.beam-card--collapsible,
.builder-collapsible-card {
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.beam-cut-dependent[hidden] {
    display: none !important;
}

.beam-product-dependent[hidden] {
    display: none !important;
}

.beam-collapsible-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    align-items: start;
    gap: 4px;
    margin: 0;
    padding: 16px 18px 12px;
    cursor: pointer;
    list-style: none;
}

.beam-collapsible-summary::-webkit-details-marker {
    display: none;
}

.beam-collapsible-summary__copy {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 4px;
}

.beam-collapsible-summary__copy h2 {
    margin: 0;
    color: #eef6ff;
    font-size: 17px;
    font-weight: 700;
}

.beam-collapsible-summary__copy p {
    margin: 0;
    color: #9db5cb;
    font-size: 13px;
    line-height: 1.5;
}

.beam-collapsible-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 177, 111, 0.26);
    background: rgba(255, 177, 111, 0.12);
    color: #ffe2c7;
    flex-shrink: 0;
}

.beam-collapsible-summary__icon::before {
    content: '+';
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.beam-card--collapsible[open] .beam-collapsible-summary,
.builder-collapsible-card[open] > summary {
    border-bottom: 1px solid rgba(128, 148, 171, 0.22);
}

.beam-card--collapsible[open] .beam-collapsible-summary__icon::before,
.builder-collapsible-card[open] .beam-collapsible-summary__icon::before,
.builder-collapsible-card[open] .builder-collapsible-summary__icon::before {
    content: '\2212';
    color: #ffcf9e;
}

.beam-collapsible-content,
.builder-collapsible-content {
    display: none;
    gap: 14px;
    padding: 14px;
    min-height: 0;
}

.beam-card--collapsible[open] .beam-collapsible-content,
.builder-collapsible-card[open] .beam-collapsible-content,
.builder-collapsible-card[open] .builder-collapsible-content {
    display: grid;
}

.beam-coating-button-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    flex-wrap: nowrap;
}

.beam-coating-option-btn {
    width: 100%;
    min-width: 0;
}

.beam-coating-option-btn.is-active,
.beam-coating-option-btn[aria-pressed="true"] {
    border-color: rgba(103, 150, 123, 0.48);
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    color: #1b0f04;
}

.beam-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.beam-table thead th {
    padding: 10px 8px;
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93b3d2;
    border-bottom: 1px solid rgba(121, 183, 255, 0.14);
    background: rgba(19, 30, 40, 0.8);
    white-space: nowrap;
}

.beam-table tbody td {
    padding: 6px;
    border-bottom: 1px solid rgba(121, 183, 255, 0.1);
    vertical-align: middle;
}

.beam-table tbody tr:last-child td {
    border-bottom: none;
}

.beam-table tbody tr.is-selected {
    background: rgba(121, 183, 255, 0.08);
}

.beam-col-view {
    width: 80px;
}

.beam-col-small {
    width: 62px;
}

.beam-col-medium {
    width: 96px;
}

.beam-col-length {
    width: 84px;
}

.beam-col-label {
    width: 92px;
}

.beam-col-face {
    width: 84px;
}

.beam-col-delete {
    width: 46px;
}

.compact-table--beam-cuts .beam-col-view {
    width: 78px;
}

.compact-table--beam-cuts .beam-col-length {
    width: 82px;
}

.compact-table--beam-cuts .beam-col-label {
    width: 76px;
}

.compact-table--beam-cuts .beam-col-face {
    width: 88px;
}

.compact-table--beam-cuts input[type="number"],
.compact-table--beam-cuts input[type="text"],
.beam-table--editor input[type="number"],
.beam-table--editor input[type="text"],
.beam-table--editor select,
.compact-table--beam-cuts select {
    height: 36px;
    min-height: 36px;
    padding: 6px 30px 6px 8px;
    box-sizing: border-box;
    line-height: 20px;
}

.beam-coating-field {
    min-width: 0;
}

.compact-table--beam-cuts,
.beam-table--editor {
    display: block;
}

.compact-table--beam-cuts colgroup,
.beam-table--editor colgroup {
    display: none;
}

.compact-table--beam-cuts thead,
.beam-table--editor thead {
    display: none;
}

.compact-table--beam-cuts tbody,
.beam-table--editor tbody {
    display: grid;
    gap: 12px;
}

.compact-table--beam-cuts tbody tr,
.beam-table--editor tbody tr {
    display: flex;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    align-items: flex-end;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(121, 183, 255, 0.12);
    background: rgba(8, 12, 17, 0.34);
}

.compact-table--beam-cuts tbody td,
.beam-table--editor tbody td {
    display: grid;
    gap: 4px;
    flex: 1 1 56px;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
}

.compact-table--beam-cuts tbody td::before,
.beam-table--editor tbody td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9bb7d3;
}

.compact-table--beam-cuts tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: 108px 84px 120px minmax(0, 1fr) 36px 36px 36px;
    gap: 10px 10px;
    align-items: end;
    padding-right: 0;
}

.compact-table--beam-cuts tbody td {
    flex: initial;
}

.compact-table--beam-cuts tbody td:first-child {
    grid-column: 1;
}

.compact-table--beam-cuts tbody td:nth-child(2) {
    grid-column: 2;
}

.compact-table--beam-cuts tbody td:nth-child(3) {
    grid-column: 3;
}

.compact-table--beam-cuts tbody td:nth-child(4) {
    grid-column: 4;
}

.compact-table--beam-cuts tbody td:nth-child(5) {
    grid-column: 5;
}

.compact-table--beam-cuts tbody td:nth-child(6) {
    grid-column: 6;
}

.compact-table--beam-cuts tbody td:nth-child(7) {
    grid-column: 7;
}

.beam-overlay-cut-editor__summary {
    display: grid;
    gap: 10px;
}

.beam-overlay-cut-editor__properties {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.beam-overlay-cut-editor__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.beam-overlay-cut-editor__summary .beam-field--overlay-size {
    grid-column: 1 / -1;
}

.beam-overlay-cut-editor__summary .beam-overlay-cut-editor__properties {
    grid-column: 1 / -1;
    min-width: 0;
}

.beam-overlay-cut-editor__summary .builder-field--display.beam-field--property {
    min-height: 58px;
    padding: 9px 10px;
}

.beam-overlay-cut-editor__summary .beam-field:first-child,
.beam-overlay-cut-editor__properties .beam-field:first-child,
.beam-overlay-cut-editor__row .beam-field:first-child {
    grid-column: auto;
}

.beam-overlay-cut-editor__summary .builder-field:first-child,
.beam-overlay-cut-editor__properties .builder-field:first-child,
.beam-overlay-cut-editor__row .builder-field:first-child {
    grid-column: auto;
}

.beam-field--overlay-size {
    grid-column: 1 / -1;
}

.beam-field--overlay-qty,
.beam-field--overlay-length,
.beam-field--overlay-face,
.beam-field--overlay-angle,
.beam-field--overlay-dir {
    grid-column: auto;
}

.beam-field--overlay-label {
    min-width: 0;
}

.compact-table--beam-cuts tbody td:last-child,
.beam-table--editor tbody td:last-child {
    flex: 0 0 auto;
    margin-left: auto;
}

.compact-table--beam-cuts tbody td:last-child {
    position: static;
    width: 36px;
    margin-left: 0;
}

.beam-table--editor tbody td:first-child {
    flex-basis: 72px;
}

.beam-table--cleats tbody td {
    flex-basis: 56px;
}

.beam-table--drills tbody tr,
.beam-table--cleats tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding-right: 56px;
}

.beam-table--drills tbody td,
.beam-table--cleats tbody td {
    flex: initial;
}

.beam-table__group-row th {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(121, 183, 255, 0.14);
    background: rgba(12, 18, 24, 0.92);
    color: #9fe1b2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.beam-table__group-row th:last-child {
    background: transparent;
    border-bottom-color: transparent;
}

.beam-table--drills tbody td:last-child,
.beam-table--cleats tbody td:last-child {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    margin-left: 0;
}

.beam-table--drills tbody td:first-child {
    grid-column: 1 / span 2;
}

.beam-table--drills tbody td:nth-child(2) {
    grid-column: 3 / span 2;
}

.beam-table--drills tbody td:nth-child(3) {
    grid-column: 5 / span 2;
}

.beam-table--drills tbody td:nth-child(4) {
    grid-column: 7 / span 2;
}

.beam-table--drills tbody td:nth-child(5) {
    grid-column: 1 / span 2;
}

.beam-table--drills tbody td:nth-child(6) {
    grid-column: 3 / span 3;
}

.beam-table--drills tbody td:nth-child(7) {
    grid-column: 6 / span 2;
}

.beam-table--cleats tbody td:first-child {
    grid-column: 1 / span 2;
}

.beam-table--cleats tbody td:nth-child(2) {
    grid-column: 3 / span 2;
}

.beam-table--cleats tbody td:nth-child(3) {
    grid-column: 5 / span 2;
}

.beam-table--cleats tbody td:nth-child(4) {
    grid-column: 7 / span 2;
}

.beam-table--cleats tbody td:nth-child(5) {
    grid-column: 1 / span 2;
}

.beam-table--cleats tbody td:nth-child(6) {
    grid-column: 3 / span 2;
}

.beam-table--cleats tbody td:nth-child(7) {
    grid-column: 5 / span 2;
}

.beam-table--cleats tbody td:nth-child(8) {
    grid-column: 7 / span 2;
}

.beam-table--cleats tbody td:nth-child(9) {
    grid-column: 1 / span 2;
}

.beam-table--cleats tbody td:nth-child(10) {
    grid-column: 3 / span 2;
}

.beam-table--cleats tbody td:nth-child(11) {
    grid-column: 5 / span 2;
}

.beam-table--cleats tbody td:nth-child(12) {
    grid-column: 7 / span 2;
}

.beam-table--cleats tbody td:nth-child(13) {
    grid-column: 1 / span 2;
}

.beam-table--cleats tbody td:nth-child(14) {
    grid-column: 3 / span 2;
}

.beam-table--cleats tbody td::before {
    white-space: normal;
    line-height: 1.25;
}

.beam-table--cleats tbody td[data-label="Cleat Kind"],
.beam-table--cleats tbody td[data-label="Cleat Location"],
.beam-table--cleats tbody td[data-label="Hole Dia"] {
    min-width: 88px;
}

.beam-table--cleats tbody td[data-label="From Top"],
.beam-table--cleats tbody td[data-label="From Bottom"],
.beam-table--cleats tbody td[data-label="From Side"],
.beam-table--cleats tbody td[data-label="First Cleat"],
.beam-table--cleats tbody td[data-label="Cleat Spacing"] {
    min-width: 72px;
}

.beam-table--editor tbody td[data-label="Pattern"],
.beam-table--editor tbody td[data-label="Type"],
.beam-table--editor tbody td[data-label="Location"],
.beam-table--editor tbody td[data-label="Hole Dia"] {
    flex-basis: 84px;
}

.compact-table--beam-cuts tbody td > *,
.beam-table--editor tbody td > * {
    width: 100%;
}

.compact-table--beam-cuts tbody td:last-child::before,
.beam-table--editor tbody td:last-child::before {
    content: none;
}

.compact-table--beam-cuts tbody tr.is-selected,
.beam-table--editor tbody tr.is-selected {
    background: rgba(121, 183, 255, 0.08);
}

.compact-table--beam-cuts .beam-empty-row,
.beam-table--editor .beam-empty-row {
    flex: 1 1 100%;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px dashed rgba(121, 183, 255, 0.14);
    background: rgba(14, 21, 29, 0.52);
}

.beam-viewport-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 420px;
    height: 100%;
    flex: 1 1 auto;
    align-self: start;
    border-radius: 18px;
    border: 1px solid rgba(121, 183, 255, 0.12);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(9, 15, 21, 0.98), rgba(13, 20, 28, 0.98));
}

#animation-toolbar {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toolbar-tab-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(121, 183, 255, 0.16);
    background: rgba(14, 21, 29, 0.84);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.beam-viewport-toggle-btn {
    min-width: 96px;
}

.toolbar-tab-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.toolbar-tab-list::-webkit-scrollbar,
.toolbar-panel::-webkit-scrollbar {
    height: 6px;
}

.toolbar-tab-list::-webkit-scrollbar-thumb,
.toolbar-panel::-webkit-scrollbar-thumb {
    background: rgba(127, 158, 192, 0.65);
    border-radius: 999px;
}

.toolbar-tab,
.toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid rgba(122, 146, 170, 0.28);
    border-radius: 12px;
    background: rgba(35, 52, 68, 0.7);
    color: #eef6ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.toolbar-tab:hover,
.toolbar-btn:hover,
.toolbar-axis-btn:hover {
    background: rgba(55, 77, 98, 0.82);
    transform: translateY(-1px);
}

.toolbar-tab.active {
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    border-color: transparent;
    color: #1b0f04;
}

.toolbar-panel-row {
    display: none;
    width: 100%;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(121, 183, 255, 0.16);
    background: rgba(14, 21, 29, 0.84);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.toolbar-panel-row.has-active-panel {
    display: flex;
}

.toolbar-panel {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.toolbar-panel.active {
    display: flex;
}

.toolbar-btn.active,
.toolbar-axis-btn.active {
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    color: #08131f;
    border-color: transparent;
}

.toolbar-camera-view-btn.active,
#dimension-linear-btn.active,
#dimension-angle-btn.active {
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    color: #1b0f04;
    border-color: transparent;
}

.toolbar-btn.secondary {
    background: rgba(35, 52, 68, 0.52);
    color: #eef6ff;
}

.toolbar-axis-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 4px 4px 4px 12px;
    border-radius: 14px;
    border: 1px solid rgba(122, 146, 170, 0.18);
    background: rgba(10, 16, 22, 0.34);
}

.toolbar-axis-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #98aec3;
}

.toolbar-axis-buttons {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.toolbar-axis-btn {
    min-width: 42px;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(122, 146, 170, 0.24);
    background: rgba(35, 52, 68, 0.58);
    color: #eef6ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.beam-end-plate-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.beam-end-plate-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(95, 197, 176, 0.18);
    background: linear-gradient(180deg, rgba(11, 30, 33, 0.9), rgba(7, 18, 22, 0.94));
}

.beam-end-plate-group-list {
    display: grid;
    gap: 14px;
}

.beam-editor-group {
    display: grid;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(121, 183, 255, 0.18);
    background: linear-gradient(180deg, rgba(16, 27, 38, 0.9), rgba(8, 15, 24, 0.94));
}

.beam-editor-group--physical {
    border-color: rgba(121, 183, 255, 0.18);
    background: linear-gradient(180deg, rgba(16, 27, 38, 0.9), rgba(8, 15, 24, 0.94));
}

.beam-editor-group--location {
    border-color: rgba(121, 183, 255, 0.18);
    background: linear-gradient(180deg, rgba(16, 27, 38, 0.9), rgba(8, 15, 24, 0.94));
}

.beam-editor-group--holes {
    border-color: rgba(121, 183, 255, 0.18);
    background: linear-gradient(180deg, rgba(16, 27, 38, 0.9), rgba(8, 15, 24, 0.94));
}

.beam-editor-group__header {
    display: grid;
    gap: 4px;
}

.beam-editor-group__header h4 {
    margin: 0;
    color: #eef6ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beam-editor-group__header p {
    margin: 0;
    color: #98aec3;
    line-height: 1.45;
    font-size: 0.88rem;
}

.beam-field-grid--endplate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.beam-field-grid--endplate .beam-field:first-child {
    grid-column: auto;
}

.beam-cleat-grid {
    display: grid;
    gap: 14px;
}

.beam-drill-list {
    display: grid;
    gap: 14px;
}

.beam-cleat-card {
    gap: 14px;
}

.beam-field-grid--cleat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.beam-field-grid--cleat .beam-field--cleat-type {
    grid-column: 1 / -1;
}

.beam-empty-state {
    padding: 18px;
    border-radius: 16px;
    border: 1px dashed rgba(121, 183, 255, 0.22);
    background: linear-gradient(180deg, rgba(11, 30, 33, 0.72), rgba(7, 18, 22, 0.82));
    color: #98aec3;
    line-height: 1.5;
}

.beam-empty-state--editor {
    padding: 14px;
    border-radius: 12px;
    border-color: rgba(122, 146, 170, 0.32);
    background: rgba(18, 28, 38, 0.76);
    font-size: 12px;
    text-align: center;
}

.beam-drill-validation {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(198, 92, 92, 0.4);
    background: rgba(77, 24, 24, 0.28);
    color: #f0b6b6;
    font-size: 12px;
    line-height: 1.5;
}

.beam-end-plate-card .beam-field {
    min-width: 0;
}

.beam-end-plate-card .beam-field input,
.beam-end-plate-card .beam-field select {
    width: 100%;
    min-width: 0;
}

.beam-end-plate-card .beam-field select:disabled,
.beam-end-plate-card .beam-field input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.beam-viewport-canvas {
    position: absolute;
    inset: 0;
    min-height: 0;
    flex: 1 1 auto;
}

.beam-viewport-overlay {
    position: fixed;
    inset: 0;
    z-index: 14000;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 24px;
}

.beam-viewport-overlay.is-hidden {
    display: none;
}

.beam-viewport-overlay--inline {
    position: static;
    inset: auto;
    z-index: auto;
    display: block;
    padding: 0;
}

.beam-viewport-overlay--inline .beam-viewport-overlay__dialog {
    width: 100%;
    height: auto;
    grid-template-rows: minmax(0, 1fr);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.beam-viewport-overlay--inline .beam-viewport-overlay__header {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(121, 183, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(17, 25, 34, 0.96), rgba(12, 18, 24, 0.96)),
        rgba(7, 12, 17, 0.64);
    box-shadow: 0 16px 42px rgba(5, 9, 13, 0.24);
}

.beam-viewport-overlay--inline .beam-viewport-overlay__editor-main {
    align-self: start;
}

.beam-viewport-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 13, 0.76);
    backdrop-filter: blur(10px);
}

.beam-viewport-overlay__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px;
    width: min(1600px, calc(100vw - 48px));
    height: calc(100vh - 48px);
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(121, 183, 255, 0.18);
    background: linear-gradient(180deg, rgba(9, 15, 21, 0.98), rgba(13, 20, 28, 0.98));
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
    overflow: hidden;
}

.beam-viewport-overlay__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.beam-viewport-overlay__header h2 {
    margin: 4px 0 0;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: #eef6ff;
}

.beam-viewport-overlay__subtitle {
    margin: 6px 0 0;
    color: #a8bfd4;
    line-height: 1.5;
}

.beam-viewport-overlay__eyebrow {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9fe1b2;
}

.beam-viewport-overlay__dialog--editor,
.builder-viewport-overlay__dialog--editor {
    width: min(1720px, calc(100vw - 48px));
}

.beam-viewport-overlay__editor-layout,
.builder-viewport-overlay__editor-layout {
    --beam-overlay-sidebar-width: 440px;
    --builder-overlay-sidebar-width: var(--beam-overlay-sidebar-width);
    display: grid;
    grid-template-columns: minmax(420px, var(--builder-overlay-sidebar-width)) 12px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
}

.beam-viewport-overlay__editor-sidebar,
.builder-viewport-overlay__editor-sidebar {
    min-width: 0;
    overflow: auto;
    padding-right: 6px;
    display: grid;
    gap: 18px;
}

.beam-viewport-overlay__resize-handle,
.builder-viewport-overlay__resize-handle,
.builder-resize-handle {
    position: relative;
    align-self: stretch;
    justify-self: center;
    width: 12px;
    min-width: 12px;
    cursor: col-resize;
    border-radius: 999px;
    background: transparent;
    touch-action: none;
}

.beam-viewport-overlay__resize-handle::before,
.builder-viewport-overlay__resize-handle::before,
.builder-resize-handle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(121, 183, 255, 0.18), rgba(121, 183, 255, 0.34));
    opacity: 0.55;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.beam-viewport-overlay__resize-handle::after,
.builder-viewport-overlay__resize-handle::after,
.builder-resize-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 84px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(232, 242, 252, 0.72);
    box-shadow: 0 0 0 1px rgba(121, 183, 255, 0.12);
}

.beam-viewport-overlay__resize-handle:hover::before,
.beam-viewport-overlay__resize-handle:focus-visible::before,
.beam-viewport-overlay__resize-handle.is-dragging::before,
.builder-viewport-overlay__resize-handle:hover::before,
.builder-viewport-overlay__resize-handle:focus-visible::before,
.builder-viewport-overlay__resize-handle.is-dragging::before,
.builder-resize-handle:hover::before,
.builder-resize-handle:focus-visible::before,
.builder-resize-handle.is-dragging::before {
    opacity: 1;
    transform: scaleX(1.08);
}

.beam-viewport-overlay__resize-handle:focus-visible,
.builder-viewport-overlay__resize-handle:focus-visible,
.builder-resize-handle:focus-visible {
    outline: none;
}

.beam-viewport-overlay__editor-sidebar::-webkit-scrollbar,
.builder-viewport-overlay__editor-sidebar::-webkit-scrollbar {
    width: 8px;
}

.beam-viewport-overlay__editor-sidebar::-webkit-scrollbar-thumb {
    background: rgba(127, 158, 192, 0.45);
    border-radius: 999px;
}

.beam-viewport-overlay__editor-main {
    min-width: 0;
    min-height: 0;
    display: grid;
}

.beam-viewport-overlay__editor-main .beam-card--viewport {
    height: 100%;
}

.beam-leave-prompt,
.builder-leave-prompt {
    position: fixed;
    inset: 0;
    z-index: 14500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.beam-leave-prompt.is-hidden,
.builder-leave-prompt.is-hidden {
    display: none;
}

.beam-leave-prompt__backdrop,
.builder-leave-prompt__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 16, 0.66);
    backdrop-filter: blur(6px);
}

.beam-leave-prompt__dialog,
.builder-leave-prompt__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    width: min(540px, calc(100vw - 48px));
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(121, 183, 255, 0.18);
    background: linear-gradient(180deg, rgba(18, 26, 36, 0.98), rgba(12, 19, 28, 0.98));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.beam-leave-prompt__header,
.builder-leave-prompt__header {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(170, 196, 220, 0.12);
}

.builder-summary__order-field,
.beam-summary__order-field {
    display: grid;
    gap: 4.5px;
    padding: 8.5px 9px;
    border-radius: 14px;
    border: 1px solid rgba(182, 196, 209, 0.26);
    background: linear-gradient(180deg, rgba(48, 62, 76, 0.98), rgba(29, 40, 51, 0.98));
}

.builder-summary__order-field > span,
.beam-summary__order-field span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9bb7d3;
}

.builder-summary__cta[hidden],
.builder-summary__return-link[hidden],
.beam-summary__cta[hidden],
.beam-summary__return-link[hidden] {
    display: none;
}

.builder-summary__metric,
.beam-summary__metric {
    min-width: 0;
}

.builder-summary__metric span,
.beam-summary__metric span {
    min-width: 0;
}

.builder-summary__metric strong,
.beam-summary__metric strong {
    min-width: 0;
}

.builder-summary__description,
.beam-summary__description {
    min-height: 120px;
    white-space: normal;
}

.beam-empty-row {
    text-align: center;
    color: #8ea8bf;
}

@media (max-width: 1440px) {
    .builder-workspace__layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    }
}

@media (max-width: 980px) {
    .builder-workspace__hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .beam-hero-actions {
        justify-content: flex-start;
        justify-self: start;
    }
}

@media (max-width: 920px) {
    .web-page-shell.web-page-shell--beam-wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .web-page-shell.web-page-shell--beam-wide .web-sidebar {
        display: none;
    }

    .builder-workspace__layout {
        grid-template-columns: 1fr;
    }

    .builder-workspace__column--main,
    .builder-workspace__column--right,
    .beam-card--viewport,
    .builder-card--viewport,
    .builder-summary,
    .beam-summary {
        position: static;
        top: auto;
    }

    .beam-viewport-toolbar {
        align-items: stretch;
        justify-content: flex-start;
    }

    #animation-toolbar {
        position: static;
        padding: 16px 16px 0;
    }

    .beam-viewport-shell {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .beam-viewport-canvas {
        position: relative;
        min-height: 320px;
    }

    .beam-end-plate-grid,
    .beam-field-grid--endplate {
        grid-template-columns: 1fr;
    }

    .beam-field-grid--cleat,
    .beam-field-grid--cutting {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4px;
    }

    .beam-field-grid--editor-3up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4px;
    }

    .beam-field-grid--drill-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4px;
    }


    .beam-viewport-overlay__dialog {
        width: calc(100vw - 32px);
        height: calc(100vh - 32px);
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__dialog {
        width: 100%;
        height: auto;
    }

    .beam-viewport-overlay__editor-layout,
    .builder-viewport-overlay__editor-layout {
        grid-template-columns: 1fr;
    }

    .beam-viewport-overlay__resize-handle,
    .builder-viewport-overlay__resize-handle,
    .builder-resize-handle {
        display: none;
    }

    .beam-viewport-overlay__editor-sidebar,
    .builder-viewport-overlay__editor-sidebar {
        padding-right: 0;
    }

    .beam-leave-prompt__dialog,
    .builder-leave-prompt__dialog {
        width: calc(100vw - 32px);
    }
}

@media (max-width: 720px) {
    .builder-workspace__hero,
    .beam-card,
    .builder-card,
    .builder-summary,
    .beam-summary {
        padding: 16px;
    }

    .beam-field-grid--product {
        grid-template-columns: 1fr;
    }

    .beam-overlay-cut-editor__summary {
        grid-template-columns: 1fr;
    }

    .beam-overlay-cut-editor__properties {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .beam-properties-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .beam-field--property {
        min-width: 0;
    }

    .beam-card__header--inline {
        grid-template-columns: 1fr;
    }

    .beam-viewport-overlay {
        padding: 12px;
    }

    .beam-viewport-overlay--inline {
        padding: 0;
    }

    .beam-viewport-overlay__dialog {
        width: calc(100vw - 24px);
        height: calc(100vh - 24px);
        padding: 14px;
        border-radius: 22px;
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__dialog {
        width: 100%;
        height: auto;
        padding: 0;
        border-radius: 0;
    }

    .beam-viewport-overlay__header {
        align-items: stretch;
        flex-direction: column;
    }

    .beam-viewport-overlay--inline .beam-viewport-overlay__header {
        padding: 16px;
    }

    .compact-table--beam-cuts tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compact-table--beam-cuts tbody td:first-child,
    .compact-table--beam-cuts tbody td:nth-child(2),
    .compact-table--beam-cuts tbody td:nth-child(3),
    .compact-table--beam-cuts tbody td:nth-child(4),
    .compact-table--beam-cuts tbody td:nth-child(5),
    .compact-table--beam-cuts tbody td:nth-child(6),
    .compact-table--beam-cuts tbody td:nth-child(7) {
        grid-column: auto;
    }

    .beam-field-grid--overlay-editor {
        grid-template-columns: 1fr;
    }

    .beam-field--overlay-wide {
        grid-column: auto;
    }

    .builder-workspace__hero h1 {
        font-size: 1.9rem;
    }

    .beam-leave-prompt,
    .builder-leave-prompt {
        padding: 12px;
    }

    .beam-leave-prompt__dialog,
    .builder-leave-prompt__dialog {
        width: calc(100vw - 24px);
        padding: 16px;
        border-radius: 20px;
    }

    .beam-component-prompt__actions,
    .builder-component-prompt__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .beam-component-prompt__actions--stacked,
    .builder-component-prompt__actions--stacked {
        grid-template-columns: minmax(0, 1fr);
    }
}

.beam-viewer-display-popover {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.viewer-display-popover__toggle {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(178, 207, 235, 0.3);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(20, 31, 44, 0.96), rgba(13, 21, 31, 0.94));
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.viewer-display-popover__toggle:hover {
    background: linear-gradient(180deg, rgba(28, 43, 60, 0.98), rgba(18, 29, 41, 0.96));
    border-color: rgba(178, 207, 235, 0.5);
    transform: translateY(-1px);
}

.viewer-display-popover__toggle[aria-expanded="true"] {
    border-color: rgba(96, 239, 166, 0.5);
    background: linear-gradient(180deg, rgba(27, 58, 43, 0.98), rgba(16, 35, 27, 0.96));
}

.viewer-display-popover__icon {
    position: relative;
    width: 18px;
    height: 14px;
    display: inline-block;
}

.viewer-display-popover__icon-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #e5f1ff;
}

.viewer-display-popover__icon-line:nth-child(1) {
    top: 1px;
}

.viewer-display-popover__icon-line:nth-child(2) {
    top: 6px;
}

.viewer-display-popover__icon-line:nth-child(3) {
    top: 11px;
}

.viewer-display-popover__panel {
    width: min(230px, calc(100vw - 32px));
    min-width: 230px;
    max-width: min(230px, calc(100vw - 32px));
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid rgba(178, 207, 235, 0.26);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(16, 24, 34, 0.97), rgba(10, 17, 24, 0.95));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.viewer-display-popover__panel .toolbar-btn {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
}

.beam-viewport-info {
    position: fixed;
    bottom: var(--viewport-guide-bottom, 16px);
    left: var(--viewport-guide-left, 16px);
    max-width: min(var(--viewport-guide-max-width, 320px), calc(100vw - 32px));
    max-height: var(--viewport-guide-max-height, calc(100vh - 32px));
    background: rgba(30, 30, 30, 0.95);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 15;
    font-size: 13px;
    color: #aaaaaa;
    overflow: hidden;
    pointer-events: auto;
}

.builder-viewport-shell > .beam-viewport-info,
.beam-viewport-shell > .beam-viewport-info {
    position: absolute;
    max-width: min(var(--viewport-guide-max-width, 320px), calc(100% - 32px));
    max-height: var(--viewport-guide-max-height, calc(100% - 32px));
}

.beam-viewport-info__toggle {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 11px 14px;
    border: 0;
    background: transparent;
    color: #f2f6f0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.beam-viewport-info__help-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    margin-right: 10px;
    padding: 0;
    border: 1px solid #3d4f63;
    border-radius: 999px;
    background: #223142;
    color: #dbe9f8;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    pointer-events: auto;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.beam-viewport-info__help-button:hover,
.beam-viewport-info__help-button:focus-visible {
    background: #2a3b4f;
    border-color: #547196;
    outline: 2px solid rgba(96, 239, 166, 0.55);
    outline-offset: 2px;
}

.beam-viewport-info__toggle:focus-visible {
    outline: 2px solid rgba(119, 178, 85, 0.85);
    outline-offset: -2px;
}

.beam-viewport-info__title {
    flex: 1 1 auto;
    color: #f2f6f0;
    font-weight: 700;
    letter-spacing: 0;
}

.beam-viewport-info__header {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 0;
    padding-left: 10px;
    min-width: min(220px, calc(100vw - 32px));
}

.beam-viewport-info__chevron {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(225deg) translate(-2px, -2px);
    transition: transform 160ms ease;
}

.beam-viewport-info.is-expanded .beam-viewport-info__chevron {
    transform: rotate(45deg);
}

.beam-viewport-info__content {
    padding: 0 18px 14px;
    overflow: auto;
}

.beam-viewport-info.is-collapsed .beam-viewport-info__content {
    display: none;
}

.beam-viewport-info__group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.beam-viewport-info__item {
    margin-bottom: 0;
}

.beam-viewport-info__group--mobile {
    display: none;
}

.beam-field {
    border-radius: 14px;
    padding: 4px;
    transition: background-color 140ms ease, box-shadow 140ms ease;
}

.beam-field > span {
    transition: color 140ms ease;
}

.beam-field:focus-within {
    background: rgba(255, 177, 111, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 177, 111, 0.34);
}

.beam-field:focus-within > span {
    color: #ffd4ac;
}

@media (max-width: 920px) {
    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-workspace__layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        align-items: start !important;
    }

    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-workspace__column--main,
    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-workspace__column--right,
    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-summary,
    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .beam-summary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-workspace__column--right {
        grid-column: 1 !important;
        align-self: start !important;
    }

    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-summary,
    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .beam-summary,
    body.web-sale-internal-module-page .web-page-shell.web-page-shell--beam-wide .builder-summary__panel {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay--inline {
        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        place-items: stretch !important;
        box-sizing: border-box !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay__dialog,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay__editor-layout,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay__editor-main,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-card--viewport,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-shell {
        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: none !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .beam-viewport-canvas {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay__dialog,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-card--viewport,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-shell {
        padding: 0 !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay__editor-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay__editor-sidebar,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam .builder-viewport-overlay__resize-handle {
        display: none !important;
    }

    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-viewport-overlay__editor-sidebar,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .fabrication-editor-sidebar-body {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scrollbar-gutter: stable !important;
    }

    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .fabrication-editor-sidebar-body > * {
        position: relative !important;
        inset: auto !important;
        grid-area: auto !important;
        grid-column: auto !important;
        grid-row: auto !important;
        flex: 0 0 auto !important;
        align-self: stretch !important;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }

    body:not(.builder-mobile-viewport-mode) .web-page-shell.web-page-shell--beam-wide.fabrication-editor-shell--beam {
        width: calc(100% - 13px) !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .web-page-shell__main,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace__layout,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace__column--main,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace__column--right,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-viewport-overlay--inline,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-viewport-overlay__editor-layout,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-summary,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-summary__panel {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace__layout,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace__column--main,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace__column--right,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-viewport-overlay__editor-layout,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-summary {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-workspace__column--main,
    body:not(.builder-mobile-viewport-mode) .fabrication-editor-shell--beam .builder-summary {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam #animation-toolbar {
        position: fixed !important;
        top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
        right: 8px !important;
        left: 8px !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam #animation-toolbar .toolbar-tab-row,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam #animation-toolbar .toolbar-panel-row {
        width: auto !important;
        max-width: 100% !important;
        justify-content: center !important;
    }

    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam #animation-toolbar .toolbar-tab-list,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam #animation-toolbar .toolbar-quick-actions,
    body.builder-mobile-viewport-mode .fabrication-editor-shell--beam #animation-toolbar .toolbar-meta-row {
        flex: 0 1 auto !important;
        width: auto !important;
        justify-content: center !important;
        overflow: visible !important;
    }
}

