body.ghz-pb-wizard-open,
body.ghz-pb-workspace-open {
    overflow: hidden !important;
}

[data-ghz-panel-builder].ghz-pb-ux-v060 {
    --ghz-ux-bg: #f5f7fb;
    --ghz-ux-panel: #ffffff;
    --ghz-ux-border: #e1e6ef;
    --ghz-ux-text: #101828;
    --ghz-ux-muted: #667085;
    --ghz-ux-primary: #102a5e;
    --ghz-ux-primary-2: #173d87;
}

/*
 * Windowed/closed mode is intentionally collapsed to one launcher.
 * Fullscreen-only nodes must never participate in Porto's normal layout.
 */
[data-ghz-panel-builder].ghz-pb-ux-v060.ghz-pb-windowed {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

[data-ghz-panel-builder].ghz-pb-ux-v060.ghz-pb-windowed
> :not(.ghz-pb-ux-launcher) {
    display: none !important;
}

[data-ghz-panel-builder].ghz-pb-ux-v060.ghz-pb-windowed
> .ghz-pb-ux-launcher {
    display: inline-flex !important;
    position: static !important;
    margin: 0 !important;
}

[data-ghz-ux-stage-nav][hidden] {
    display: none !important;
}

[data-ghz-panel-builder].ghz-pb-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482000 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: var(--ghz-ux-bg) !important;
    box-shadow: none !important;
}

.ghz-pb-ux-topbar {
    display: none;
}

.ghz-pb-fullscreen > .ghz-pb-ux-topbar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 50;
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border-bottom: 1px solid var(--ghz-ux-border);
}

.ghz-pb-ux-brand,
.ghz-pb-ux-top-actions {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ghz-pb-ux-brand > div {
    display: grid;
    gap: 1px;
}

.ghz-pb-ux-brand strong {
    color: var(--ghz-ux-text);
    font-size: 16px;
}

.ghz-pb-ux-brand small {
    color: var(--ghz-ux-muted);
    font-size: 12px;
}

.ghz-pb-ux-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--ghz-ux-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
}

.ghz-pb-ux-top-actions button,
.ghz-pb-ux-workspace-toolbar button {
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #fff;
    color: #344054;
    font-weight: 750;
    cursor: pointer;
}

.ghz-pb-ux-launcher {
    display: none;
}

.ghz-pb-ux-v060:not(.ghz-pb-fullscreen) > .ghz-pb-ux-launcher {
    display: inline-flex;
    position: static;
    z-index: 10;
    margin: 0;
    min-height: 42px;
    align-items: center;
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
    background: var(--ghz-ux-primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.ghz-pb-fullscreen .ghz-pb-layout {
    position: absolute !important;
    inset: 64px 0 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    direction: ltr !important;
    grid-template-columns: 190px minmax(470px, 1fr) minmax(320px, 390px) !important;
    grid-template-areas: "nav form preview" !important;
    gap: 0 !important;
    overflow: hidden !important;
    background: var(--ghz-ux-bg);
}

[dir="rtl"].ghz-pb-fullscreen .ghz-pb-layout,
.ghz-pb-fullscreen[dir="rtl"] .ghz-pb-layout {
    direction: ltr !important;
    grid-template-columns: minmax(320px, 390px) minmax(470px, 1fr) 190px !important;
    grid-template-areas: "preview form nav" !important;
}

[dir="rtl"].ghz-pb-fullscreen .ghz-pb-layout > main,
[dir="rtl"].ghz-pb-fullscreen .ghz-pb-preview-card,
[dir="rtl"].ghz-pb-fullscreen .ghz-pb-ux-stage-nav,
.ghz-pb-fullscreen[dir="rtl"] .ghz-pb-layout > main,
.ghz-pb-fullscreen[dir="rtl"] .ghz-pb-preview-card,
.ghz-pb-fullscreen[dir="rtl"] .ghz-pb-ux-stage-nav {
    direction: rtl !important;
}

.ghz-pb-fullscreen .ghz-pb-layout > main {
    grid-area: form;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    background: #fff;
    border-inline: 1px solid var(--ghz-ux-border);
}

.ghz-pb-fullscreen .ghz-pb-layout > main > .ghz-pb-stage {
    grid-row: 1;
    grid-column: 1;
    min-height: 0 !important;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 26px 28px 24px !important;
    overflow: auto !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ghz-pb-fullscreen .ghz-pb-layout > main > .ghz-pb-stage::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.ghz-pb-fullscreen .ghz-pb-layout > main > .ghz-pb-stage[hidden] {
    display: none !important;
}

.ghz-pb-fullscreen .ghz-pb-preview-card {
    grid-area: preview;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;
    max-height: none !important;
    overflow: auto;
    margin: 0 !important;
    padding: 22px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fbfcfe;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (min-width: 901px) {
    .ghz-pb-fullscreen .ghz-pb-preview-card {
        display: block !important;
        position: relative !important;
    }
}

.ghz-pb-fullscreen .ghz-pb-preview-canvas {
    max-height: 55vh;
    overflow: hidden;
}

.ghz-pb-fullscreen .ghz-pb-preview-canvas svg {
    width: 100%;
    height: auto;
    max-height: 50vh;
}

.ghz-pb-fullscreen .ghz-pb-actions {
    grid-row: 2;
    grid-column: 1;
    position: static !important;
    z-index: 20;
    width: 100%;
    margin: 0 !important;
    padding: 14px 28px 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--ghz-ux-border);
    backdrop-filter: blur(8px);
}


/*
 * Keep the full-screen experience visually calm. Each pane can still scroll
 * with mouse wheel, trackpad, keyboard or touch; only the browser chrome is
 * hidden.
 */
.ghz-pb-fullscreen .ghz-pb-layout > main,
.ghz-pb-fullscreen .ghz-pb-preview-card,
.ghz-pb-ux-stage-nav,
.ghz-pb-component-workspace.is-open {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ghz-pb-fullscreen .ghz-pb-layout > main::-webkit-scrollbar,
.ghz-pb-fullscreen .ghz-pb-preview-card::-webkit-scrollbar,
.ghz-pb-ux-stage-nav::-webkit-scrollbar,
.ghz-pb-component-workspace.is-open::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.ghz-pb-ux-stage-nav {
    display: none;
    grid-area: nav;
    height: 100%;
    overflow: auto;
    padding: 25px 14px;
    background: #f7f9fc;
    border-inline-end: 1px solid var(--ghz-ux-border);
}

.ghz-pb-fullscreen .ghz-pb-ux-stage-nav:not([hidden]) {
    display: block !important;
}

.ghz-pb-ux-stage-nav > small {
    display: block;
    margin: 0 8px 15px;
    color: var(--ghz-ux-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ghz-pb-ux-step {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 9px;
    min-height: 45px;
    padding: 7px 8px;
    margin-bottom: 5px;
    border-radius: 10px;
    color: #667085;
}

.ghz-pb-ux-step span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d0d5dd;
    background: #fff;
    font-size: 11px;
    font-weight: 850;
}

.ghz-pb-ux-step b {
    font-size: 12px;
    line-height: 1.3;
}

.ghz-pb-ux-step.is-active {
    color: var(--ghz-ux-primary);
    background: #eaf1ff;
}

.ghz-pb-ux-step.is-active span {
    border-color: var(--ghz-ux-primary);
    background: var(--ghz-ux-primary);
    color: #fff;
}

.ghz-pb-ux-step.is-complete span {
    border-color: #12b76a;
    background: #ecfdf3;
    color: #027a48;
}

.ghz-pb-ux-step--future {
    margin-top: 16px;
    border-top: 1px solid var(--ghz-ux-border);
    border-radius: 0;
    padding-top: 16px;
}

.ghz-pb-fullscreen .ghz-pb-stage {
    max-width: 780px;
    margin-inline: auto;
}

.ghz-pb-fullscreen .ghz-pb-stage-head {
    margin-bottom: 20px;
}

.ghz-pb-fullscreen .ghz-pb-stage-head h2 {
    font-size: 24px;
}

.ghz-pb-fullscreen .ghz-pb-finish-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ghz-pb-fullscreen .ghz-pb-finish-card {
    min-height: 104px;
    padding: 18px;
    text-align: start;
    border-radius: 14px;
}

.ghz-pb-component-workspace.ghz-pb-ux-workspace {
    display: none;
}

.ghz-pb-component-workspace.ghz-pb-ux-workspace.is-open {
    display: block !important;
    position: absolute !important;
    inset: 64px 0 0 !important;
    z-index: 40;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 78px 28px 60px !important;
    overflow: auto !important;
    background: #f7f9fc !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.ghz-pb-ux-workspace-toolbar {
    position: fixed;
    top: 64px;
    inset-inline: 0;
    z-index: 45;
    min-height: 64px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-bottom: 1px solid var(--ghz-ux-border);
}

.ghz-pb-ux-workspace-toolbar > div {
    display: grid;
    gap: 1px;
}

.ghz-pb-ux-workspace-toolbar strong {
    color: var(--ghz-ux-text);
    font-size: 15px;
}

.ghz-pb-ux-workspace-toolbar small {
    color: var(--ghz-ux-muted);
    font-size: 11px;
}

.ghz-pb-ux-workspace-nav {
    position: fixed;
    top: 128px;
    bottom: 0;
    inset-inline-start: 0;
    z-index: 44;
    width: 220px;
    padding: 18px 14px 30px;
    overflow: auto;
    background: #fff;
    border-inline-end: 1px solid var(--ghz-ux-border);
}

.ghz-pb-ux-workspace-nav > strong,
.ghz-pb-ux-workspace-nav > small {
    display: block;
    margin: 0 5px 9px;
    color: var(--ghz-ux-muted);
    font-size: 11px;
    font-weight: 800;
}

.ghz-pb-ux-workspace-nav > button,
.ghz-pb-ux-family-list button {
    width: 100%;
    min-height: 38px;
    margin-bottom: 5px;
    padding: 7px 10px;
    text-align: start;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #344054;
    font-weight: 700;
    cursor: pointer;
}

.ghz-pb-ux-workspace-nav > button:hover,
.ghz-pb-ux-family-list button:hover,
.ghz-pb-ux-family-list button.is-active {
    background: #f2f4f7;
    border-color: #e4e7ec;
}

.ghz-pb-ux-workspace-nav > button.is-primary {
    background: #eaf1ff;
    color: var(--ghz-ux-primary);
}

.ghz-pb-ux-workspace-nav hr {
    margin: 14px 0;
    border: 0;
    border-top: 1px solid var(--ghz-ux-border);
}

.ghz-pb-component-workspace.is-open > :not(.ghz-pb-ux-workspace-toolbar):not(.ghz-pb-ux-workspace-nav) {
    margin-inline-start: 220px;
    max-width: 1180px;
}

.ghz-pb-component-workspace.is-open .ghz-pb-smart,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-search,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-status,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-grid,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-selected-wrap,
.ghz-pb-component-workspace.is-open .ghz-pb-ux-empty-summary {
    margin-bottom: 18px;
}

.ghz-pb-component-workspace.is-open .ghz-pb-cw-head,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-family-tabs,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-layout-lock,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-selected-item .is-ready,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-selected-item .is-blocked,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-missing {
    display: none !important;
}

.ghz-pb-component-workspace.is-open .ghz-pb-cw-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 18px;
    align-items: start;
}

.ghz-pb-component-workspace.is-open .ghz-pb-cw-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 48vh;
    overflow: auto;
    padding-inline-end: 4px;
}

.ghz-pb-component-workspace.is-open .ghz-pb-cw-product {
    min-height: 92px;
    margin: 0;
}

.ghz-pb-component-workspace.is-open .ghz-pb-cw-selection,
.ghz-pb-component-workspace.is-open .ghz-pb-cw-selected-wrap,
.ghz-pb-component-workspace.is-open .ghz-pb-smart {
    border-radius: 14px;
    box-shadow: none;
}

.ghz-pb-ux-empty-summary {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #abefc6;
    border-radius: 14px;
    background: #ecfdf3;
}

.ghz-pb-ux-empty-summary[hidden] {
    display: none !important;
}

.ghz-pb-ux-empty-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    background: #d1fadf;
    color: #027a48;
    font-weight: 900;
}

.ghz-pb-ux-empty-summary strong {
    display: block;
    color: #05603a;
    font-size: 17px;
}

.ghz-pb-ux-empty-summary p {
    margin: 4px 0 12px;
    color: #475467;
}

.ghz-pb-ux-empty-summary [data-ghz-ux-empty-details] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ghz-pb-ux-empty-summary [data-ghz-ux-empty-details] span {
    min-width: 150px;
    padding: 9px 11px;
    display: grid;
    border: 1px solid #d1eadc;
    border-radius: 9px;
    background: #fff;
}

.ghz-pb-ux-empty-summary small {
    color: #667085;
}

.ghz-pb-component-workspace.is-empty-quote .ghz-pb-smart__intro,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-smart__fields,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-smart__advanced,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-smart__actions,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-smart__result,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-cw-search,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-cw-status,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-cw-grid,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-cw-selected-wrap,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-ux-family-list,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-ux-workspace-nav > hr,
.ghz-pb-component-workspace.is-empty-quote .ghz-pb-ux-workspace-nav > small,
.ghz-pb-component-workspace.is-empty-quote [data-ghz-ux-jump="smart"],
.ghz-pb-component-workspace.is-empty-quote [data-ghz-ux-jump="catalog"],
.ghz-pb-component-workspace.is-empty-quote [data-ghz-ux-jump="selected"],
.ghz-pb-component-workspace.is-empty-quote [data-ghz-smart-cart] {
    display: none !important;
}

.ghz-pb-component-workspace.is-empty-quote .ghz-pb-smart {
    padding: 0;
    border: 0;
    background: transparent;
}

.ghz-pb-component-workspace.is-empty-quote .ghz-pb-smart__quote-box {
    max-width: 850px;
    margin-inline: 0;
    padding: 20px;
    border: 1px solid var(--ghz-ux-border);
    border-radius: 14px;
    background: #fff;
}

.ghz-pb-component-workspace.is-empty-quote [data-ghz-smart-selected-total] {
    display: none;
}

@media (max-width: 1180px) {
    .ghz-pb-fullscreen .ghz-pb-layout {
        grid-template-columns: 155px minmax(430px, 1fr) 300px !important;
    }

    [dir="rtl"].ghz-pb-fullscreen .ghz-pb-layout,
    .ghz-pb-fullscreen[dir="rtl"] .ghz-pb-layout {
        grid-template-columns: 300px minmax(430px, 1fr) 155px !important;
    }

    .ghz-pb-ux-stage-nav {
        padding-inline: 9px;
    }

    .ghz-pb-component-workspace.is-open .ghz-pb-cw-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ghz-pb-fullscreen .ghz-pb-layout,
    [dir="rtl"].ghz-pb-fullscreen .ghz-pb-layout,
    .ghz-pb-fullscreen[dir="rtl"] .ghz-pb-layout {
        grid-template-columns: 1fr !important;
        grid-template-areas: "form" !important;
    }

    .ghz-pb-ux-stage-nav,
    .ghz-pb-fullscreen .ghz-pb-preview-card {
        display: none !important;
    }

    .ghz-pb-fullscreen .ghz-pb-layout > main {
        border: 0;
        padding: 0 !important;
    }

    .ghz-pb-fullscreen .ghz-pb-layout > main > .ghz-pb-stage {
        padding: 20px 16px !important;
    }

    .ghz-pb-fullscreen .ghz-pb-actions {
        margin: 0 !important;
        padding-inline: 16px !important;
    }

    .ghz-pb-ux-workspace-nav {
        position: sticky;
        top: 0;
        width: auto;
        height: auto;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 9px 12px;
        border: 0;
        border-bottom: 1px solid var(--ghz-ux-border);
    }

    .ghz-pb-ux-workspace-nav > strong,
    .ghz-pb-ux-workspace-nav > small,
    .ghz-pb-ux-workspace-nav > hr,
    .ghz-pb-ux-family-list {
        display: none !important;
    }

    .ghz-pb-ux-workspace-nav > button {
        width: auto;
        min-width: max-content;
        margin: 0;
    }

    .ghz-pb-component-workspace.is-open {
        padding: 78px 14px 40px !important;
    }

    .ghz-pb-component-workspace.is-open > :not(.ghz-pb-ux-workspace-toolbar):not(.ghz-pb-ux-workspace-nav) {
        margin-inline-start: 0;
        max-width: none;
    }

    .ghz-pb-component-workspace.is-open .ghz-pb-cw-grid {
        grid-template-columns: 1fr;
    }

    .ghz-pb-component-workspace.is-open .ghz-pb-cw-products {
        grid-template-columns: 1fr;
        max-height: none;
    }
}

@media (max-width: 600px) {
    .ghz-pb-ux-topbar {
        padding-inline: 12px;
    }

    .ghz-pb-ux-brand small {
        display: none;
    }

    .ghz-pb-ux-top-actions button {
        font-size: 0;
        width: 38px;
        padding: 0;
    }

    .ghz-pb-ux-top-actions button::after {
        content: "×";
        font-size: 22px;
    }

    .ghz-pb-fullscreen .ghz-pb-finish-choice {
        grid-template-columns: 1fr;
    }

    .ghz-pb-ux-workspace-toolbar {
        padding-inline: 12px;
    }

    .ghz-pb-ux-workspace-toolbar small {
        display: none;
    }
}


/* GHZ v0.6.10 clickable stage styles */
.ghz-pb-fullscreen
.ghz-pb-ux-step[role="button"] {
    cursor: pointer;
    user-select: none;
    outline: none;
    transition:
        background-color .15s ease,
        box-shadow .15s ease,
        color .15s ease;
}

.ghz-pb-fullscreen
.ghz-pb-ux-step[role="button"]:hover {
    background: #eef4fb;
    color: #173d70;
}

.ghz-pb-fullscreen
.ghz-pb-ux-step[role="button"]:focus-visible {
    box-shadow:
        inset 0 0 0 2px #1d5f9e;
}

.ghz-pb-fullscreen
.ghz-pb-ux-step.is-active[role="button"] {
    cursor: default;
}
/* /GHZ v0.6.10 clickable stage styles */


/*
 * GHZ Panel Builder v0.7.0 mobile containment correction
 * Scope: <= 900px only.
 * No desktop, PHP, JS or engineering behaviour changes.
 */
@media (max-width: 900px) {

    .ghz-pb-wizard,
    .ghz-pb-wizard *,
    .ghz-pb-wizard *::before,
    .ghz-pb-wizard *::after {
        box-sizing: border-box;
    }

    .ghz-pb-wizard {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: clip !important;
    }

    .ghz-pb-wizard .ghz-pb-layout,
    .ghz-pb-wizard .ghz-pb-editor,
    .ghz-pb-wizard .ghz-pb-preview-card,
    .ghz-pb-wizard .ghz-pb-component-workspace {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .ghz-pb-wizard .ghz-pb-preview-canvas {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .ghz-pb-wizard .ghz-pb-preview-canvas svg {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 600px) {

    .ghz-pb-wizard {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ghz-pb-wizard input,
    .ghz-pb-wizard select,
    .ghz-pb-wizard textarea,
    .ghz-pb-wizard button {
        max-width: 100%;
    }
}

/* /GHZ mobile containment correction */

/*
 * GHZ Panel Builder v0.7.0 mobile shell correction
 * The fullscreen UX owns mobile navigation.
 * Hide the legacy six-step strip so it cannot consume viewport width.
 */
@media (max-width: 900px) {

    [data-ghz-panel-builder].ghz-pb-fullscreen > .ghz-pb-steps {
        display: none !important;
    }

    [data-ghz-panel-builder].ghz-pb-fullscreen .ghz-pb-layout {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    [data-ghz-panel-builder].ghz-pb-fullscreen .ghz-pb-layout > main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    [data-ghz-panel-builder].ghz-pb-fullscreen
    .ghz-pb-layout > main > .ghz-pb-stage {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    [data-ghz-panel-builder].ghz-pb-fullscreen .ghz-pb-actions {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* /GHZ Panel Builder v0.7.0 mobile shell correction */

/*
 * GHZ Panel Builder v0.7.0 mobile fullscreen-nav specificity correction
 * JS exposes the desktop stage rail in fullscreen by removing [hidden].
 * On <=900px the mobile single-column layout must own the viewport.
 */
@media (max-width: 900px) {

    [data-ghz-panel-builder].ghz-pb-fullscreen
    .ghz-pb-ux-stage-nav:not([hidden]) {
        display: none !important;
    }

    [data-ghz-panel-builder].ghz-pb-fullscreen
    .ghz-pb-preview-card {
        display: none !important;
    }

    [data-ghz-panel-builder].ghz-pb-fullscreen
    .ghz-pb-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas: "form" !important;
    }
}

/* /GHZ Panel Builder v0.7.0 mobile fullscreen-nav specificity correction */
