.web-post-module-shell {
    width: min(1800px, calc(100% - 24px));
    margin: calc(var(--web-internal-breadcrumb-height, 31px) + var(--web-internal-breadcrumb-gap, 24px)) auto 0;
    padding: 1rem 0 1.6rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1rem;
    align-items: start;
}

.web-post-module-shell,
.web-post-module-public-shell {
    --builder-summary-width: 360px;
    --builder-panel-border: rgba(121, 183, 255, 0.14);
    --builder-panel-background: linear-gradient(180deg, rgba(17, 25, 34, 0.96), rgba(12, 18, 24, 0.96)), rgba(7, 12, 17, 0.64);
    --builder-panel-shadow: 0 16px 42px rgba(5, 9, 13, 0.24);
    --builder-secondary-background: linear-gradient(180deg, rgba(52, 72, 90, 0.98), rgba(35, 49, 62, 0.98));
    --builder-secondary-border: rgba(126, 154, 184, 0.24);
    --builder-accent-background: linear-gradient(180deg, rgba(255, 184, 123, 0.98), rgba(232, 124, 42, 0.92));
    --builder-accent-background-hover: linear-gradient(180deg, rgba(255, 206, 164, 0.98), rgba(245, 145, 63, 0.94));
    --builder-accent-border: rgba(255, 177, 111, 0.48);
    --builder-control-background-active: rgba(7, 12, 17, 0.52);
    --builder-control-border: rgba(122, 146, 170, 0.28);
}

.web-post-module-public-shell.web-page-shell {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) minmax(280px, 360px);
    gap: 1rem;
    align-items: start;
    padding-block: 1rem 1.6rem;
}

.web-post-module-public-main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.web-post-module-shell > .web-post-module-hero {
    grid-column: 1 / -1;
}

.web-post-module-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(126, 154, 184, 0.18);
    background: #111;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 30px rgba(10, 18, 26, 0.14);
}

.web-post-module-hero__copy {
    display: grid;
    gap: 0.35rem;
    max-width: 760px;
}

.web-post-module-hero__eyebrow {
    color: #9bb7d3;
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.web-post-module-hero h1 {
    margin: 0;
    color: #eef6ff;
    font-size: 1.95rem;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0;
}

.web-post-module-hero p {
    margin: 0;
    color: #9db5cb;
    font-size: 14px;
    line-height: 1.55;
}

.web-post-module-hero__guide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 0.9rem;
    border: 1px solid rgba(103, 150, 123, 0.48) !important;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65)) !important;
    color: #1b0f04 !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(35, 82, 56, 0.24);
}

.web-post-module-hero__guide:hover,
.web-post-module-hero__guide:focus-visible {
    color: #1b0f04 !important;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.web-post-module-public-main > .builder-seo-support {
    margin-top: 6rem;
}

.web-post-module-public-shell .builder-workspace__column--right {
    position: sticky;
    top: calc(var(--web-sticky-header-height, 0px) + 1rem);
    min-width: 0;
}

.web-post-module-shell .builder-workspace__column--right {
    position: sticky;
    top: calc(var(--web-internal-breadcrumb-height, 31px) + var(--web-internal-breadcrumb-gap, 24px) + 1rem);
    min-width: 0;
}

.web-post-module-public-shell #order-qty[readonly],
.web-post-module-shell #order-qty[readonly] {
    cursor: default;
}

.web-post-module-panel {
    border: 1px solid rgba(121, 183, 255, 0.14);
    border-radius: 8px;
    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);
    overflow: hidden;
}

.web-post-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(126, 154, 184, 0.18);
    background: linear-gradient(180deg, rgba(30, 45, 60, 0.75), rgba(18, 27, 36, 0.2));
}

.web-post-module-eyebrow {
    margin: 0 0 0.2rem;
    color: #9bb7d3;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.web-post-module-header h1,
.web-post-module-editor__bar h2 {
    margin: 0;
    color: #eef6ff;
    font-size: 1.45rem;
}

.web-post-module-actions,
.web-post-module-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.web-post-module-actions button,
.web-post-module-actions .button-link,
.web-post-module-row-actions button,
.web-post-module-editor__bar button {
    min-height: 38px;
    border-radius: 6px;
}

#post-module-add-row {
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65)) !important;
    border: 1px solid rgba(103, 150, 123, 0.48) !important;
    color: #1b0f04 !important;
    font-size: 14px !important;
}

.web-post-module-message {
    margin: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(63, 108, 154, 0.26);
    border-radius: 6px;
    background: #eaf3fb;
    color: #14334d;
    font-weight: 700;
}

.web-post-module-message[data-type="error"] {
    border-color: rgba(176, 38, 38, 0.28);
    background: #fff0f0;
    color: #7f1d1d;
}

.web-post-module-message[data-type="success"] {
    border-color: rgba(42, 122, 78, 0.24);
    background: #edf8f1;
    color: #14532d;
}

.web-post-module-table-wrap {
    overflow: visible;
    padding: 1rem;
}

.web-post-module-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #dce9f6;
    display: block;
}

.web-post-module-table thead,
.web-post-module-table tbody {
    display: block;
}

.web-post-module-table tbody {
    display: grid;
    gap: 0.85rem;
}

.web-post-module-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.web-post-module-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(126, 154, 184, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(23, 34, 44, 0.96), rgba(17, 25, 33, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 24px rgba(5, 9, 13, 0.18);
    overflow: hidden;
}

.web-post-module-table th,
.web-post-module-table td {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1 1 90px;
    min-width: 0;
    padding: 0.55rem;
    border-bottom: 0;
    vertical-align: middle;
    text-align: left;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.35;
}

.web-post-module-field-label {
    display: block;
    color: #9bb7d3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.web-post-module-table th:nth-child(1),
.web-post-module-table td:nth-child(1) {
    flex-basis: 160px;
}

.web-post-module-table th:nth-child(2),
.web-post-module-table td:nth-child(2) {
    flex-basis: 125px;
}

.web-post-module-table th:nth-child(3),
.web-post-module-table td:nth-child(3) {
    flex-basis: 140px;
}

.web-post-module-table th:nth-child(4),
.web-post-module-table td:nth-child(4) {
    flex-basis: 89px;
}

.web-post-module-table th:nth-child(5),
.web-post-module-table td:nth-child(5) {
    flex-basis: 115px;
}

.web-post-module-table th:nth-child(6),
.web-post-module-table td:nth-child(6) {
    flex-basis: 129px;
}

.web-post-module-table th:nth-child(7),
.web-post-module-table td:nth-child(7) {
    flex: 0 1 66px;
}

.web-post-module-table th:nth-child(8),
.web-post-module-table td:nth-child(8) {
    flex: 0 1 140px;
}

.web-post-module-table th:nth-child(9),
.web-post-module-table td:nth-child(9) {
    flex: 0 1 92px;
}

.web-post-module-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f2f5f7;
    color: #3b4651;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.web-post-module-table select,
.web-post-module-table input[type="number"] {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    box-sizing: border-box;
    border: 1px solid rgba(122, 146, 170, 0.28);
    border-radius: 6px;
    background: rgba(18, 24, 31, 0.72);
    color: #dce9f6;
    font-size: 14px;
    line-height: 1.35;
}

.web-post-module-table select:focus,
.web-post-module-table input[type="number"]:focus {
    border-color: rgba(255, 177, 111, 0.74);
    box-shadow: 0 0 0 3px rgba(255, 177, 111, 0.24), 0 0 0 1px rgba(255, 208, 160, 0.3) inset;
    outline: none;
}

.web-post-module-table select option {
    background: #17212b;
    color: #dce9f6;
}

.web-post-module-table select[data-field="selectedPostSize"] {
    min-width: 0;
}

.web-post-module-table select[data-field="selectedBasePlate"],
.web-post-module-table select[data-field="selectedTopPlate"] {
    min-width: 0;
}

.web-post-module-table td.web-post-module-table__customised {
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.web-post-module-table__customised .web-post-module-field-label {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    right: 0.55rem;
}

.web-post-module-custom-status-cell {
    min-width: 70px;
}

.web-post-module-custom-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: auto;
    margin-bottom: auto;
    border: 1px solid rgba(126, 154, 184, 0.28);
    border-radius: 50%;
    background: rgba(7, 12, 17, 0.34);
    color: #8294a5;
    font-size: 13px;
    line-height: 1;
    transform: translateY(4px);
}

.web-post-module-custom-status.is-customised {
    border-color: rgba(103, 150, 123, 0.68);
    background: rgba(103, 150, 123, 0.26);
    color: #bde5ca;
}

.web-post-module-custom-status svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.web-post-module-row-actions {
    width: 100%;
    justify-content: center;
}

.web-post-module-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 36px !important;
    min-width: 36px;
    padding: 0;
    border-radius: 12px !important;
}

.web-post-module-action-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.web-post-module-action-btn--delete svg {
    width: 16px;
    height: 16px;
}

.web-post-module-action-btn--edit {
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65)) !important;
    border: 1px solid rgba(103, 150, 123, 0.48) !important;
    color: #1b0f04 !important;
}

.web-post-module-action-btn--copy {
    background: linear-gradient(180deg, rgba(78, 106, 135, 0.98), rgba(45, 63, 82, 0.98)) !important;
    border: 1px solid rgba(126, 154, 184, 0.32) !important;
    color: #dce9f6 !important;
}

.web-post-module-action-btn--delete {
    background: rgba(118, 32, 32, 0.24) !important;
    border: 1px solid rgba(255, 127, 127, 0.32) !important;
    color: #ffd8d8 !important;
}

.web-post-module-action-btn .is-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.web-post-module-editor {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: grid;
    place-items: stretch;
}

.web-post-module-editor[hidden] {
    display: none;
}

.web-post-module-editor__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 13, 0.72);
}

.web-post-module-editor__dialog {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1760px, calc(100vw - 24px));
    height: min(940px, calc(100vh - 24px));
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(215, 225, 236, 0.3);
    border-radius: 8px;
    background: #111820;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.web-post-module-editor__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, rgba(30, 45, 60, 0.75), rgba(18, 27, 36, 0.2));
    border-bottom: 1px solid rgba(126, 154, 184, 0.18);
}

.web-post-module-editor__bar p {
    margin: 0.15rem 0 0;
    color: #9db5cb;
}

#post-module-editor-close {
    min-height: 36px !important;
    border: 1px solid rgba(185, 116, 52, 0.55) !important;
    border-radius: 6px !important;
    background: linear-gradient(rgb(201, 134, 69), rgb(159, 100, 53)) !important;
    color: #1b0f04 !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 13px !important;
}

.web-post-module-editor iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #1c242c;
}

@media (max-width: 760px) {
    .web-post-module-header,
    .web-post-module-editor__bar {
        align-items: stretch;
        flex-direction: column;
    }

    .web-post-module-actions,
    .web-post-module-row-actions {
        align-items: stretch;
    }
}

@media (max-width: 1240px) {
    .web-post-module-public-shell.web-page-shell {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    }

    .web-post-module-public-shell .builder-workspace__column--right {
        position: static;
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .web-post-module-shell,
    .web-post-module-public-shell.web-page-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .web-post-module-shell .builder-workspace__column--right,
    .web-post-module-public-shell .web-sidebar,
    .web-post-module-public-shell .builder-workspace__column--right {
        grid-column: 1;
        position: static;
    }
}