
    .wb-activation-free .wb-sync-notice{padding:10px!important;margin:10px 0!important;border-radius:10px!important}
    .wb-activation-free .wb-sync-notice__text{font-size:12px!important;line-height:1.5!important;font-weight:400!important}
    .wb-activation-free .wb-sync-notice__cta{background:transparent!important;color:#244bb0!important;font-size:12px!important;padding:0!important;margin-top:4px!important;min-height:24px!important;text-decoration:underline}

    .wb-preview-first-banner.is-activation-compact{padding:10px 14px!important;margin:8px 14px!important;box-shadow:none!important;border-radius:12px!important;flex:0 0 auto!important}
    .wb-preview-first-banner.is-activation-compact .wb-preview-first-banner__title{font-size:13px!important}
    .wb-preview-first-banner.is-activation-compact .wb-preview-first-banner__body{font-size:12px!important;line-height:1.45!important}
    .wb-preview-first-banner.is-activation-compact .wb-preview-first-banner__actions{margin-top:6px!important}
    .wb-preview-first-banner.is-activation-compact .wb-btn{padding:4px 8px!important;min-height:28px!important;font-size:12px!important}


    html:has(body.wb-page) {
        overflow: hidden;
        height: 100%;
        min-height: 100dvh;
        max-height: 100dvh;
    }

    body.wb-page {
        margin: 0;
        min-height: 100dvh;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .wb-page {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        --wb-topbar-h: 3.5rem;
        /* Builder theme tokens — sidebar and builder menu from the darker builder preview */
        --wb-rail-bg: #10173a;
        --wb-rail-bg-deep: #0f172a;
        --wb-rail-border: #344569;
        --wb-menu-bg: #101725;
        --wb-menu-border: #2d3b55;
        --wb-menu-rule: #26314a;
        --wb-panel-bg: transparent;
        --wb-panel-bg-elevated: var(--grw-premium-surface-elevated);
        --wb-panel-bg-surface: var(--grw-premium-surface);
        --wb-panel-bg-input: #1c2943;
        --wb-canvas-bg: #f8fafc;
        --wb-canvas-grid: rgba(148, 163, 184, 0.18);
        --wb-text: #f8fafc;
        --wb-text-muted: #c9d4e8;
        /* Muted copy stays light enough to read on the navy cards. */
        --wb-text-dim: #c3d0e6;
        --wb-placeholder: #c9d6ea;
        --wb-segment-text: #e8eef8;
        --wb-segment-text-active: #bfdbfe;
        --wb-preview-text: #ffffff;
        --wb-preview-badge-text: #ffffff;
        --wb-preview-badge-bg: rgba(37, 99, 235, 0.42);
        --wb-preview-badge-border: rgba(59, 130, 246, 0.8);
        --wb-border: var(--grw-premium-border-subtle);
        --wb-border-subtle: rgba(96, 165, 250, 0.1);
        --wb-section-header-bg: rgba(255, 255, 255, 0.04);
        --wb-accent: var(--grw-brand);
        --wb-accent-soft: rgba(var(--grw-brand-rgb), 0.14);
        --wb-accent-glow: rgba(var(--grw-brand-rgb), 0.32);
        --wb-focus-ring: #829fff;
        --wb-toggle-on: #3b82f6;
        --wb-toggle-on-border: #f1f5f9;
        --wb-toggle-on-glow: rgba(37, 99, 235, 0.55);
        --wb-toggle-on-soft: #121c2e;
        --wb-toggle-on-soft-strong: rgba(37, 99, 235, 0.48);
        /* Selected controls use a light border and dark fill; blue = open accordion hierarchy */
        --wb-selection: var(--wb-toggle-on);
        --wb-selection-border: var(--wb-toggle-on-border);
        --wb-selection-glow: var(--wb-toggle-on-glow);
        --wb-selection-soft: var(--wb-toggle-on-soft);
        --wb-selection-soft-strong: var(--wb-toggle-on-soft-strong);
        --wb-selection-text: #bfdbfe;
        --wb-toggle-off-track: rgba(255, 255, 255, 0.16);
        --wb-toggle-off-border: rgba(255, 255, 255, 0.24);
        --wb-transition: 0.18s ease;
        /* ── Builder panel typography ────────────────────────────────────
           One family (Inter) and five roles, used on every tab:
           title 16/700 · accordion 15/600 · body 14/500 · meta 13/400 · eyebrow 12/600.
           Every accordion, including nested rows and card heads, uses the accordion role. */
        --wb-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        --wb-type-title-size: 1rem;
        --wb-type-title-weight: 700;
        --wb-type-title-tracking: -0.01em;
        --wb-type-accordion-size: 15px;
        --wb-type-accordion-weight: 600;
        --wb-type-accordion-tracking: 0;
        --wb-type-accordion-line: 1.3;
        --wb-accordion-title-size: var(--wb-type-accordion-size);
        --wb-accordion-title-weight: var(--wb-type-accordion-weight);
        --wb-accordion-title-line: var(--wb-type-accordion-line);
        --wb-accordion-title-tracking: var(--wb-type-accordion-tracking);
        --wb-type-nested-accordion-size: var(--wb-type-accordion-size);
        --wb-standalone-title-size: var(--wb-type-accordion-size);
        --wb-standalone-title-weight: var(--wb-type-accordion-weight);
        --wb-standalone-title-line: var(--wb-type-accordion-line);
        --wb-standalone-pad-y: 10px;
        --wb-standalone-pad-x: 13px;
        --wb-standalone-min-height: 40px;
        --wb-type-sub-size: 0.8125rem;
        --wb-type-sub-line: 1.45;
        --wb-type-label-size: 0.75rem;
        --wb-type-label-weight: 600;
        --wb-type-label-tracking: 0.04em;
        --wb-type-body-size: 0.875rem;
        --wb-type-body-weight: 500;
        --wb-type-body-line: 1.4;
        --wb-type-meta-size: 0.8125rem;
        --wb-type-meta-line: 1.45;
        --wb-type-link-size: 0.875rem;
        --wb-type-link-weight: 600;
        /* Shared accordion / section-card chrome — Balanced hierarchy from the
           approved builder-refined-preview reference. Scoped via .wb-page. */
        --wb-accordion-bg: #151d32;
        --wb-accordion-border: #26314a;
        --wb-accordion-radius: 8px;
        --wb-accordion-gap: 8px;
        --wb-accordion-pad-y: 12px;
        --wb-accordion-pad-x: 15px;
        --wb-accordion-inset: none;
        --wb-accordion-bg-open: #121b2d;
        --wb-accordion-heading-open: #161f33;
        --wb-accordion-border-open: #26314a;
        --wb-accordion-heading-rule: #222c42;
        --wb-accordion-hover-bg: #1b2741;
        --wb-accordion-accent: #829fff;
        --wb-nested-accordion-bg: #121b2d;
        --wb-nested-accordion-bg-open: #101825;
        --wb-nested-accordion-border: #222c42;
        --wb-nested-accordion-border-open: #2a3548;
        --wb-nested-accordion-heading-open: #161f33;
        --wb-nested-accordion-heading-rule: #222c42;
        --wb-nested-accordion-hover-bg: #182233;
        --wb-nested-accordion-inset: none;
        --wb-nested-accordion-shadow-open: 0 3px 9px #030b1926;
        --wb-nested-accordion-radius: 7px;
        --wb-nested-accordion-gap: 8px;
        --wb-nested-group-pad: 12px 10px 12px 18px;
        --wb-nested-body-pad: 17px 14px 18px;
        --wb-nested-control-gap: 19px;
        --wb-field-bg: #1c2943;
        --wb-field-border: #475a7b;
        --wb-field-radius: 5px;
        --wb-panel-title-color: #ffffff;
        --wb-panel-sub-color: #c9d4e8;
        --wb-accordion-label-color: #e7eefb;
        --wb-accordion-label-open: #ffffff;
        --wb-accordion-muted-color: #c9d4e8;
        --wb-accordion-chevron-color: #c9d4e8;
        --wb-accordion-chevron-open: #e7eefb;
        --wb-nested-label-color: #e7eefb;
        font-family: var(--wb-font);
        background: var(--wb-rail-bg-deep);
        /* Builder chrome uses blue for on-states. The shared sidebar still has an emerald wash for admin. */
        --grw-premium-bg-radial-emerald: radial-gradient(ellipse 110% 75% at 0% 0%, rgba(59, 130, 246, 0.18), transparent 52%);
        --grw-premium-active-bg: rgba(37, 99, 235, 0.42);
        --grw-premium-active-bg-hover: rgba(37, 99, 235, 0.52);
    }

    /* In-panel selected controls use the dark active fill; rail/nav and primary CTAs keep brand blue */
    .wb-page .wb-panel {
        --grw-premium-active-bg: #121c2e;
        --grw-premium-active-bg-hover: #121c2e;
        --grw-premium-active-border: #f1f5f9;
        background: var(--wb-menu-bg);
    }

    .wb-page > form.wb-builder-root {
        display: flex;
        flex-direction: column;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }

    .wb-page > form:not(.wb-builder-root) {
        flex: 0 0 auto;
        min-height: 0;
    }

    .wb-flash {
        position: fixed;
        top: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 80;
        max-width: min(32rem, calc(100vw - 2rem));
        padding: 0.625rem 1rem;
        border-radius: 0.75rem;
        font-size: 0.875rem;
        font-weight: 500;
        box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.2);
        opacity: 1;
        transition: opacity 0.28s ease;
    }

    .wb-flash.is-hiding {
        opacity: 0;
        pointer-events: none;
    }

    .wb-flash--success { background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; }
    .wb-flash--warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
    .wb-flash--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

    .wb-field-error {
        margin: 0.375rem 0 0;
        font-size: 0.8125rem;
        line-height: 1.45;
        color: #fecaca;
    }

    .wb-field-error.wb-field-error--note {
        color: var(--wb-text-dim);
    }

    .wb-page .wb-shell .wb-panel .wb-select.is-invalid,
    .wb-page .wb-shell .wb-panel [data-wb-domain-field].is-invalid .wb-select {
        border-color: #f87171;
        box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.45);
    }

    .wb-page .wb-shell .wb-panel [data-wb-domain-field].is-invalid {
        border-radius: 0.75rem;
        outline: 1px solid rgba(248, 113, 113, 0.35);
        outline-offset: 2px;
    }

    .wb-shell {
        display: flex;
        flex-direction: row;
        flex: 1;
        min-height: 0;
        align-items: stretch;
        overflow: hidden;
    }

    .wb-admin-layout-banner {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        margin: 0;
        padding: 0.75rem 1.125rem;
        background: linear-gradient(180deg, rgba(30, 39, 56, 0.98) 0%, rgba(20, 26, 36, 0.98) 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: #cbd5e1;
        font-size: 0.8125rem;
        line-height: 1.5;
        flex-shrink: 0;
    }

    .wb-admin-layout-banner__icon {
        flex-shrink: 0;
        width: 1.125rem;
        height: 1.125rem;
        margin-top: 0.125rem;
        color: #bfdbfe;
    }

    .wb-admin-layout-banner__body {
        flex: 1;
        min-width: 0;
    }

    .wb-admin-layout-banner__title {
        margin: 0 0 0.25rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: #f1f5f9;
        letter-spacing: -0.01em;
    }

    .wb-admin-layout-banner__text {
        margin: 0;
        color: #94a3b8;
    }

    .wb-admin-layout-banner__layout {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.75rem;
        color: #7dd3fc;
        background: rgba(14, 165, 233, 0.12);
        border: 1px solid rgba(56, 189, 248, 0.22);
        border-radius: 0.375rem;
        padding: 0.0625rem 0.375rem;
    }

    .wb-admin-layout-banner__links {
        margin-top: 0.5rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.375rem 0.75rem;
    }

    .wb-admin-layout-banner__links a {
        color: #bfdbfe;
        font-weight: 600;
        text-decoration: none;
    }

    .wb-admin-layout-banner__links a:hover {
        color: #bfdbfe;
        text-decoration: underline;
    }

    .wb-topbar {
        display: flex;
        align-items: center;
        gap: 0.75rem 1rem;
        flex-wrap: wrap;
        padding: 0.625rem 1.125rem;
        background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
        border-bottom: 1px solid #e8edf3;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 1px 3px rgba(15, 23, 42, 0.04);
        z-index: 20;
        flex-shrink: 0;
    }

    .wb-topbar__logo {
        flex-shrink: 0;
    }

    .wb-topbar__name-wrap {
        flex: 1;
        min-width: 10rem;
        max-width: 28rem;
    }

    .wb-topbar__name {
        width: 100%;
        font-family: inherit;
        font-weight: 600;
        font-size: 1.0625rem;
        letter-spacing: -0.02em;
        color: #0f172a;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 0.5rem;
        padding: 0.375rem 0.5rem;
        transition: border-color var(--wb-transition), background var(--wb-transition), box-shadow var(--wb-transition);
    }

    .wb-topbar__name:hover,
    .wb-topbar__name:focus {
        outline: none;
        border-color: rgba(var(--grw-brand-rgb), 0.28);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(var(--grw-brand-rgb), 0.08);
    }

    .wb-topbar__status {
        font-size: 0.75rem;
        font-weight: 500;
        color: #64748b;
        white-space: nowrap;
    }

    .wb-topbar__split {
        font-size: 0.75rem;
        font-weight: 600;
        color: #92400e;
        background: #fffbeb;
        border: 1px solid #fcd34d;
        border-radius: 999px;
        padding: 0.15rem 0.55rem;
        white-space: nowrap;
    }

    .wb-topbar__split[hidden] {
        display: none;
    }

    .wb-topbar__actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
        flex-wrap: wrap;
    }

    .wb-plan-sim {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        margin: 0;
    }

    .wb-plan-sim__label {
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: #64748b;
        white-space: nowrap;
    }

    .wb-plan-sim__select {
        appearance: none;
        -webkit-appearance: none;
        font-size: 0.8125rem;
        font-weight: 500;
        line-height: 1.25;
        color: #0f172a;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.5rem center;
        border: 1px solid var(--grw-premium-border-subtle, #e2e8f0);
        border-radius: 0.375rem;
        padding: 0.375rem 1.75rem 0.375rem 0.625rem;
        max-width: 9.5rem;
        cursor: pointer;
    }

    .wb-plan-sim__select:focus {
        outline: 2px solid rgba(37, 99, 235, 0.35);
        outline-offset: 1px;
    }

    .wb-btn {
        padding: 0.5rem 0.875rem;
    }

    .wb-rail {
        width: 4.5rem;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.1875rem;
        padding: 0.75rem 0.4375rem;
        border-right: 1px solid var(--wb-rail-border);
        overflow-y: auto;
    }

    .wb-rail__btn {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        width: 100%;
        min-height: 3.375rem;
        padding: 0.5rem 0.25rem;
        border: none;
        border-radius: 0.6875rem;
        background: transparent;
        color: var(--wb-text-muted);
        font-family: var(--wb-font);
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: 0.01em;
        cursor: pointer;
        transition: background var(--wb-transition), color var(--wb-transition), transform 0.12s ease, box-shadow var(--wb-transition);
    }

    .wb-rail__btn::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        width: 3px;
        height: 1.5rem;
        border-radius: 0 3px 3px 0;
        background: var(--wb-accent);
        box-shadow: 0 0 10px var(--wb-accent-glow);
        transition: transform var(--wb-transition);
    }

    .wb-rail__btn svg {
        width: 1.3125rem;
        height: 1.3125rem;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.65;
        opacity: 0.88;
        transition: opacity var(--wb-transition), transform var(--wb-transition);
    }

    .wb-rail__btn:hover {
        background: var(--grw-premium-hover-bg);
        color: var(--wb-text);
        box-shadow: inset 0 0 0 1px var(--grw-premium-hover-border);
    }

    .wb-rail__btn:hover svg {
        opacity: 1;
        transform: translateY(-1px);
    }

    .wb-rail__btn.is-active {
        background: rgba(37, 99, 235, 0.46);
        color: #fff;
        box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.9), 0 1px 2px rgba(15, 23, 42, 0.28);
    }

    .wb-rail__btn.is-active::before {
        transform: translateY(-50%) scaleY(1);
        background: #3b82f6;
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.9);
    }

    .wb-rail__btn.is-active svg {
        opacity: 1;
        color: #bfdbfe;
        filter: drop-shadow(0 0 7px rgba(37, 99, 235, 0.95));
    }

    .wb-rail__btn:focus-visible {
        outline: 2px solid var(--wb-focus-ring);
        outline-offset: 2px;
    }

    @keyframes wb-rail-pulse-primary {
        0%, 100% {
            box-shadow: 0 0 0 0 var(--wb-accent-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        }
        50% {
            box-shadow: 0 0 0 4px var(--wb-accent-glow), 0 0 18px var(--wb-accent-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
        }
    }

    @keyframes wb-rail-pulse-secondary {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.72; }
    }

    .wb-rail__btn.wb-rail__btn--onboard-pulse {
        animation: wb-rail-pulse-primary 1.1s ease-in-out 3;
        background: var(--grw-premium-active-bg);
        color: #fff;
    }

    .wb-rail__btn.wb-rail__btn--onboard-pulse::before {
        transform: translateY(-50%) scaleY(1);
    }

    .wb-rail__btn.wb-rail__btn--onboard-hint {
        animation: wb-rail-pulse-secondary 1.4s ease-in-out 2;
    }

    .wb-rail__btn--link {
        text-decoration: none;
        margin-top: auto;
    }

    /* Web builder: Install stays below the main tabs, slightly more noticeable. */
    .wb-rail__install {
        margin-top: 0.3125rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
    }

    .wb-rail__btn--install {
        color: #cbd5e1;
    }

    .wb-rail__btn--install svg {
        opacity: 1;
        color: #bfdbfe;
    }

    .wb-rail__btn--install:hover {
        color: #f8fafc;
    }

    .wb-rail__btn--install:hover svg {
        color: #bfdbfe;
    }

    .wb-rail__btn--install.is-active svg {
        color: #bfdbfe;
    }

    .wb-panel {
        width: 22.5rem;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        border-right: 1px solid var(--wb-menu-border);
        overflow: hidden;
        overscroll-behavior: none;
        color: var(--wb-text);
    }

    #wb-panel {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .wb-panel.wb-style-column {
        position: relative;
        z-index: 90;
        pointer-events: auto;
        isolation: isolate;
    }

    .wb-panel.wb-style-column .wb-panel__body,
    .wb-panel.wb-style-column .wb-section,
    .wb-panel.wb-style-column .wb-section.is-active {
        pointer-events: auto;
    }

    .wb-panel__head {
        position: relative;
        z-index: 6;
        flex-shrink: 0;
        padding: 0;
        border-bottom: 1px solid var(--wb-menu-rule);
        background: var(--wb-menu-bg);
    }

    .wb-panel__head-inner {
        padding: 1.0625rem 1.125rem 0.9375rem;
    }

    .wb-panel__head-row {
        display: flex;
        align-items: center;
        gap: 0.8125rem;
    }

    .wb-panel__icon {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* Matches combined height of title + description (mockup). */
        width: 2.625rem;
        height: 2.625rem;
        color: var(--wb-panel-title-color);
    }

    .wb-panel__icon[hidden],
    .wb-panel__icon:empty {
        display: none;
    }

    .wb-panel__icon svg {
        width: 2.375rem;
        height: 2.375rem;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
    }

    .wb-panel__head-copy {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .wb-panel__sub:empty {
        display: none;
    }

    /* Role: panel title */
    .wb-panel-title,
    .wb-panel__title {
        font-family: inherit;
        font-weight: var(--wb-type-title-weight);
        font-size: var(--wb-type-title-size);
        letter-spacing: var(--wb-type-title-tracking);
        color: var(--wb-panel-title-color);
        margin: 0;
        line-height: 1.25;
    }

    /* Role: panel subtitle */
    .wb-panel-sub,
    .wb-panel__sub {
        font-size: var(--wb-type-sub-size);
        line-height: var(--wb-type-sub-line);
        font-weight: 400;
        color: var(--wb-panel-sub-color);
        margin: 0;
    }

    .wb-panel__body {
        flex: 1;
        min-height: 0;
        overflow: hidden;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .wb-section {
        display: none;
        animation: wb-section-in 0.22s ease;
    }

    .wb-section.is-active {
        display: flex;
        flex: 1 1 0%;
        flex-direction: column;
        gap: 0.8125rem;
        min-height: 0;
        max-height: 100%;
        height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 1rem 1rem 1.625rem;
        scrollbar-gutter: stable;
        scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
        contain: layout style;
    }

    /* Card stacks (Panel show-switch, Install) use the same tight gap as accordions. */
    .wb-section.is-active:has(> .wb-card) {
        gap: var(--wb-accordion-gap);
    }

    /* overflow:hidden on .wb-card makes flex min-height:auto resolve to 0 — override inside scrolling sections */
    .wb-section.is-active > .wb-card,
    .wb-section.is-active > .wb-customize-style-accordions,
    .wb-section.is-active > .wb-customize-panel,
    .wb-section.is-active > .wb-seo-panel,
    .wb-section.is-active > .wb-style-reset-footer {
        flex: 0 0 auto;
        flex-shrink: 0;
        min-height: auto;
        overflow: visible;
    }

    .wb-section.is-active > * {
        flex-shrink: 0;
    }

    .wb-section.is-active::-webkit-scrollbar {
        width: 6px;
    }

    .wb-section.is-active::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 999px;
    }

    .wb-style-reset-footer {
        margin-top: auto;
        padding-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
    }

    .wb-style-reset-action {
        width: 100%;
        padding: var(--wb-accordion-pad-y) var(--wb-accordion-pad-x);
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
        color: var(--wb-accordion-muted-color);
        font-family: inherit;
        font-size: var(--wb-type-accordion-size);
        font-weight: 600;
        letter-spacing: var(--wb-type-accordion-tracking);
        text-align: center;
        cursor: pointer;
        transition: background var(--wb-transition), color var(--wb-transition), border-color var(--wb-transition);
    }

    .wb-style-reset-action:hover {
        background: rgba(255, 255, 255, 0.085);
        color: var(--wb-panel-sub-color);
        border-color: rgba(148, 163, 184, 0.36);
    }

    .wb-style-reset-action:focus-visible {
        outline: 2px solid var(--wb-accent);
        outline-offset: 2px;
    }

    .wb-style-reset-footer__hint,
    .wb-hint.wb-style-reset-footer__hint {
        margin: 0;
        margin-top: 0;
        text-align: left;
        color: var(--wb-panel-sub-color);
    }

    .wb-style-panel {
        gap: var(--wb-accordion-gap);
    }

    .wb-style-section {
        padding: 0.9rem 0.85rem 1rem;
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
    }

    .wb-style-section__title {
        margin: 0 0 0.65rem;
        color: var(--wb-text);
        font-size: var(--wb-accordion-title-size);
        font-weight: var(--wb-accordion-title-weight);
        letter-spacing: var(--wb-accordion-title-tracking);
        line-height: var(--wb-accordion-title-line);
    }

    .wb-style-section > .wb-label {
        margin: 0 0 0.45rem;
    }

    .wb-style-section > .wb-hint {
        margin: 0.7rem 0 0;
        display: block;
    }

    .wb-theme-choices {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .wb-font-source-choices {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    #wb-font-preset-wrap {
        margin-top: 1rem;
    }

    /* Preset list stays hidden until Preset is chosen. :has covers clicks even if the script bound early. */
    #wb-font-family-group:has([name="font_source"][value="inherit"]:checked) #wb-font-preset-wrap {
        display: none !important;
    }

    .wb-theme-choice,
    .wb-font-source-choice {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.55rem;
        margin: 0;
        min-height: 6.25rem;
        padding: 0.95rem 0.4rem 0.8rem;
        border: 1px solid #485b7c;
        border-radius: 6px;
        background: #222f4a;
        cursor: pointer;
        color: #d7e1f2;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 500;
        transition: border-color var(--wb-transition), background var(--wb-transition);
    }

    .wb-theme-choice input[type="radio"],
    .wb-font-source-choice input[type="radio"] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .wb-theme-choice__icon,
    .wb-font-source-choice__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.75rem;
        height: 1.75rem;
        color: inherit;
    }

    .wb-theme-choice__icon svg,
    .wb-font-source-choice__icon svg {
        display: block;
        width: 1.75rem;
        height: 1.75rem;
    }

    .wb-theme-choice__label,
    .wb-font-source-choice__label {
        font-weight: 600;
        line-height: 1.2;
    }

    .wb-theme-choice:hover,
    .wb-font-source-choice:hover {
        border-color: #5a7199;
        background: #27344f;
    }

    .wb-theme-choice:has(input:checked),
    .wb-font-source-choice:has(input:checked),
    .wb-theme-choice.is-selected,
    .wb-font-source-choice.is-selected {
        border-color: var(--wb-toggle-on-border);
        background: #121c2e;
        color: #fff;
    }

    /* Theme radios keep is-selected after a change. Only the checked card stays highlighted. Border-style buttons have no radio and still use is-selected. */
    .wb-theme-choice.is-selected:has(input[name="theme"]:not(:checked)) {
        border-color: #485b7c;
        background: #222f4a;
        color: #d7e1f2;
    }

    .wb-theme-choice:has(input:focus-visible),
    .wb-font-source-choice:has(input:focus-visible),
    button.wb-theme-choice:focus-visible {
        outline: 2px solid var(--wb-accordion-accent);
        outline-offset: 2px;
    }

    button.wb-theme-choice {
        width: 100%;
        appearance: none;
    }

    .wb-visual-choices {
        display: grid;
        gap: 0.5rem;
    }

    .wb-visual-choices--2,
    .wb-visual-choices--split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-visual-choices--split > .wb-theme-choice--full {
        grid-column: 1 / -1;
    }

    .wb-font-sample {
        margin-top: 0.7rem;
        padding: 0.85rem 0.9rem;
        border: 1px solid #485b7c;
        border-radius: 6px;
        background: #1b2740;
        color: #f2f5fd;
    }

    .wb-font-sample strong {
        display: block;
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    .wb-font-sample span {
        display: block;
        margin-top: 0.25rem;
        font-size: 0.8rem;
        font-weight: 400;
        color: #b4c2dc;
        line-height: 1.4;
    }

    .wb-style-panel .wb-style-reset-footer {
        margin-top: 0;
        padding-top: 0;
    }

    .wb-style-panel .wb-style-reset-action {
        text-align: left;
        font-weight: 500;
        color: var(--wb-accordion-muted-color);
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        padding: 0.35rem 0;
    }

    .wb-style-panel .wb-style-reset-action:hover {
        background: transparent;
        color: var(--wb-panel-sub-color);
        border-color: transparent;
    }

    @keyframes wb-section-in {
        from { opacity: 0; transform: translateY(4px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .wb-section.hidden,
    .wb-card.hidden,
    .wb-collapse.hidden,
    .wb-rail__btn.hidden,
    [data-wb-layout-show].hidden,
    [data-wb-layout-show-inverse].hidden,
    .wb-label.hidden,
    .wb-hint.hidden,
    [data-wb-layout-advanced].hidden,
    [data-wb-customize-style-element].hidden,
    .wb-spacing-element.hidden,
    .wb-spacing-horizontal-fields.hidden,
    .wb-visual-option.hidden,
    [data-wb-intrinsic-width-only].hidden,
    .wb-field.hidden,
    .wb-field-grid.hidden,
    [data-wb-border-field].hidden {
        display: none !important;
    }

    /* Custom review count must show as soon as that radio is selected, including
       right after a layout switch (the wrap can still carry .hidden for a tick). */
    .wb-segment:has(input[name="max_reviews_mode"][value="custom"]:checked) ~ [data-wb-max-reviews-custom-wrap],
    .wb-segment:has(input[name="flyout_max_reviews_mode"][value="custom"]:checked) ~ [data-wb-flyout-max-reviews-custom-wrap] {
        display: block !important;
    }

    /* Demo or a real listing must not collapse Business-tab search. */
    .wb-panel [data-wb-business-search],
    .wb-panel [data-wb-business-search].hidden,
    .wb-field.wb-business-search.hidden {
        display: block !important;
    }

    .wb-group {
        margin-bottom: 1.125rem;
        padding-bottom: 1.125rem;
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-group:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .wb-group--nested {
        margin-top: 0.5rem;
        margin-bottom: 0;
        padding-top: 0.625rem;
        padding-bottom: 0;
        border-top: 1px solid var(--wb-border-subtle);
        border-bottom: none;
    }

    .wb-review-photos-fields {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .wb-review-photos-fields > .wb-toggle {
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
        min-height: var(--wb-standalone-min-height);
        padding: var(--wb-standalone-pad-y) var(--wb-standalone-pad-x);
    }

    .wb-review-photos-fields > .wb-toggle:hover {
        background: var(--wb-accordion-hover-bg);
    }

    .wb-review-photos-fields > .wb-toggle .wb-toggle__label {
        font-size: var(--wb-standalone-title-size);
        font-weight: var(--wb-standalone-title-weight);
        letter-spacing: 0;
        line-height: var(--wb-standalone-title-line);
    }

    .wb-group__title {
        font-family: inherit;
        font-size: var(--wb-type-label-size);
        font-weight: var(--wb-type-label-weight);
        letter-spacing: var(--wb-type-label-tracking);
        color: var(--wb-text-muted);
        margin: 0 0 0.6875rem;
    }

    /* Nested accordion stack inside a parent .wb-collapse (Header, Review Cards, …). */
    .wb-nested-accordions {
        display: flex;
        flex-direction: column;
        gap: var(--wb-nested-accordion-gap);
    }

    .wb-nested-accordions > .wb-collapse,
    .wb-nested-accordions > .wb-feed-header-style-controls > .wb-collapse {
        margin-top: 0;
    }

    .wb-feed-header-style-controls {
        display: flex;
        flex-direction: column;
        gap: var(--wb-nested-accordion-gap);
    }

    .wb-card {
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
        overflow: hidden;
    }

    .wb-card__head {
        padding: var(--wb-accordion-pad-y) var(--wb-accordion-pad-x) 0.625rem;
        background: var(--wb-section-header-bg);
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-card__title {
        font-family: inherit;
        font-size: var(--wb-type-accordion-size);
        font-weight: var(--wb-type-accordion-weight);
        letter-spacing: var(--wb-type-accordion-tracking);
        color: var(--wb-text);
        margin: 0;
    }

    .wb-card__desc {
        font-size: var(--wb-type-meta-size);
        line-height: var(--wb-type-meta-line);
        color: var(--wb-text-muted);
        margin: 0.25rem 0 0;
    }

    .wb-card__body {
        padding: 0.875rem var(--wb-accordion-pad-x) 1.0625rem;
    }

    .wb-card__body > .wb-field:first-child,
    .wb-card__body > .wb-toggle-list:first-child {
        margin-top: 0.125rem;
    }

    /*
     * Nested accordions share a lighter navy than the open parent, even when
     * closed. Open nested panels take the strongest focus (blue border + inset).
     */
    .wb-collapse .wb-collapse,
    .wb-collapse--nested {
        margin-top: 0;
        background: var(--wb-nested-accordion-bg);
        border: 1px solid var(--wb-nested-accordion-border);
        border-radius: var(--wb-nested-accordion-radius);
        box-shadow: none;
        transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .wb-collapse .wb-collapse[open],
    .wb-collapse--nested[open] {
        background: var(--wb-nested-accordion-bg-open);
        border-color: var(--wb-nested-accordion-border-open);
        box-shadow: var(--wb-nested-accordion-shadow-open);
    }

    .wb-collapse .wb-collapse > .wb-collapse__summary::before,
    .wb-collapse--nested > .wb-collapse__summary::before {
        display: none;
    }

    .wb-collapse .wb-collapse > .wb-collapse__summary,
    .wb-collapse--nested > .wb-collapse__summary {
        min-height: 43px;
        padding: 10px 13px;
        font-size: var(--wb-type-accordion-size);
        font-weight: var(--wb-type-accordion-weight);
        letter-spacing: var(--wb-type-accordion-tracking);
        line-height: var(--wb-type-accordion-line);
        color: var(--wb-nested-label-color);
    }

    .wb-collapse .wb-collapse:not([open]) > .wb-collapse__summary:hover,
    .wb-collapse--nested:not([open]) > .wb-collapse__summary:hover {
        background: var(--wb-nested-accordion-hover-bg);
        color: #f0f4ff;
    }

    .wb-collapse .wb-collapse[open] > .wb-collapse__summary,
    .wb-collapse--nested[open] > .wb-collapse__summary {
        background: var(--wb-nested-accordion-heading-open);
        color: #fff;
        font-weight: var(--wb-type-accordion-weight);
        border-bottom: 1px solid var(--wb-nested-accordion-heading-rule);
        box-shadow: inset 2px 0 transparent;
    }

    .wb-collapse .wb-collapse[open] > .wb-collapse__summary::after,
    .wb-collapse--nested[open] > .wb-collapse__summary::after {
        background-color: #d9e4fc;
    }

    .wb-collapse .wb-collapse > .wb-collapse__body,
    .wb-collapse--nested > .wb-collapse__body {
        padding: var(--wb-nested-body-pad);
        gap: var(--wb-nested-control-gap);
        border-top: none;
        background: transparent;
    }

    @media (pointer: coarse) {
        .wb-collapse .wb-collapse > .wb-collapse__summary,
        .wb-collapse--nested > .wb-collapse__summary {
            min-height: 44px;
        }
    }

    .wb-range-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 72px;
        align-items: center;
        gap: 16px;
    }

    .wb-range {
        flex: 1;
        min-width: 0;
        width: 100%;
        -webkit-appearance: none;
        appearance: none;
        accent-color: var(--wb-toggle-on);
        height: 0.5rem;
        margin: 0;
        cursor: pointer;
        --wb-range-progress: 0%;
        --wb-range-fill: var(--wb-selection);
        --wb-range-track: rgba(255, 255, 255, 0.08);
        background: linear-gradient(
            to right,
            var(--wb-range-fill) 0%,
            var(--wb-range-fill) var(--wb-range-progress),
            var(--wb-range-track) var(--wb-range-progress),
            var(--wb-range-track) 100%
        );
        border-radius: 999px;
        border: 1px solid var(--wb-border);
    }

    .wb-range::-webkit-slider-runnable-track {
        height: 0.5rem;
        border-radius: 999px;
        background: transparent;
        border: none;
    }

    .wb-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 1rem;
        height: 1rem;
        margin-top: -0.3125rem;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    }

    .wb-range::-moz-range-track {
        height: 0.5rem;
        border-radius: 999px;
        background: var(--wb-range-track);
        border: 1px solid var(--wb-border);
    }

    .wb-range::-moz-range-progress {
        height: 0.5rem;
        border-radius: 999px;
        background: var(--wb-range-fill);
        border: none;
    }

    .wb-range::-moz-range-thumb {
        width: 1rem;
        height: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    }

    .wb-range:focus-visible {
        outline: none;
    }

    .wb-range:focus-visible::-webkit-slider-thumb {
        box-shadow: 0 0 0 4px var(--wb-focus-ring), 0 2px 8px rgba(0, 0, 0, 0.35);
    }

    .wb-range:focus-visible::-moz-range-thumb {
        box-shadow: 0 0 0 4px var(--wb-focus-ring), 0 2px 8px rgba(0, 0, 0, 0.35);
    }

    .wb-segment--3 label {
        font-size: var(--wb-type-body-size);
        padding: 0.4375rem 0.375rem;
    }

    .wb-divider {
        height: 1px;
        margin: 1.25rem 0;
        background: linear-gradient(90deg, transparent, var(--wb-border) 12%, var(--wb-border) 88%, transparent);
        border: none;
    }

    .wb-field {
        margin-bottom: 1rem;
    }

    .wb-field:last-child {
        margin-bottom: 0;
    }

    .wb-field--nested {
        margin-top: 1rem;
    }

    .wb-field-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8125rem;
    }

    .wb-field-grid--colors {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .wb-colour-section + .wb-colour-section {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--wb-border-subtle);
    }

    /* Skip divider when the previous colour section is layout-hidden (e.g. feeds:
       header → hidden widget_colours → feed card must not show a hairline). */
    .wb-colour-section.hidden + .wb-colour-section {
        margin-top: 0.875rem;
        padding-top: 0;
        border-top: none;
    }

    .wb-colour-section__title {
        margin: 0 0 0.625rem;
        font-size: var(--wb-type-label-size);
        font-weight: var(--wb-type-label-weight);
        letter-spacing: var(--wb-type-label-tracking);
        color: var(--wb-text-muted);
    }

    .wb-colour-section.hidden {
        display: none;
    }

    .wb-colour-fields-stack {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
        grid-column: 1 / -1;
    }

    .wb-colour-field-row,
    .wb-field-grid--colors .wb-colour-field-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.5rem 0.75rem;
    }

    .wb-colour-field-row > .wb-label,
    .wb-field-grid--colors .wb-colour-field-row > .wb-label,
    .wb-color-field__label.wb-label {
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
    }

    .wb-colour-field-row > .wb-color-row,
    .wb-colour-field-row > .wb-color-field__control,
    .wb-colour-field-row > [data-wb-widget-bg-picker-show],
    .wb-field-grid--colors .wb-colour-field-row > .wb-color-row,
    .wb-field-grid--colors .wb-colour-field-row > .wb-color-field__control,
    .wb-field-grid--colors .wb-colour-field-row > [data-wb-widget-bg-picker-show] {
        flex: 0 0 auto;
        margin-left: auto;
        align-self: flex-start;
        width: auto;
        max-width: none;
    }

    .wb-colour-field-row > .wb-hint,
    .wb-field-grid--colors .wb-colour-field-row > .wb-hint {
        flex-basis: 100%;
        margin-top: 0;
    }

    .wb-spacing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-margin-panel--compact {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .wb-margin-panel--compact .wb-margin-panel__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 28px;
    }

    .wb-margin-panel--compact .wb-margin-panel__head-copy {
        display: flex;
        align-items: baseline;
        gap: 6px;
        min-width: 0;
    }

    .wb-margin-panel--compact .wb-margin-panel__title {
        font-size: 0.8125rem;
        font-weight: 650;
        line-height: 1.2;
        color: var(--wb-text);
    }

    .wb-margin-panel--compact .wb-margin-panel__unit {
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1.2;
        color: var(--wb-text-muted);
    }

    .wb-margin-panel--compact .wb-margin-panel__link {
        flex-direction: row;
        width: auto;
        min-width: 0;
        min-height: 28px;
        height: 28px;
        padding: 0 8px;
        gap: 5px;
        border-radius: 6px;
        background: var(--wb-panel-bg-input);
        box-shadow: none;
    }

    .wb-margin-panel--compact .wb-margin-panel__link[aria-pressed="false"] {
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.16);
        background: var(--wb-panel-bg-input);
        color: #cbd5e1;
    }

    .wb-margin-panel--compact .wb-margin-panel__link[aria-pressed="true"],
    .wb-margin-panel--compact .wb-margin-panel__link[aria-pressed="true"]:hover {
        color: #bfdbfe;
        background: rgba(37, 99, 235, 0.38);
        border-color: rgba(37, 99, 235, 0.75);
        box-shadow: none;
    }

    .wb-margin-panel--compact .wb-spacing-control__link-text::before {
        content: 'Linked';
        text-transform: none;
        letter-spacing: 0.01em;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .wb-margin-panel--compact .wb-margin-panel__link[aria-pressed="false"] .wb-spacing-control__link-text::before {
        content: 'Link sides';
    }

    .wb-margin-panel--compact .wb-margin-panel__sides {
        gap: 6px;
    }

    .wb-margin-panel--compact .wb-margin-panel__side {
        gap: 4px;
    }

    .wb-margin-panel--compact .wb-margin-panel__side-label {
        display: block;
        font-family: var(--wb-font);
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0.01em;
        text-align: center;
        color: #e2e8f0;
    }

    .wb-margin-panel--compact .wb-margin-panel__side .wb-input,
    .wb-margin-panel--compact .wb-spacing-control__input {
        min-height: 36px;
        height: 36px;
        padding: 0 0.25rem;
        border-radius: 6px;
        font-size: var(--wb-type-body-size);
    }

    .wb-margin-panel {
        display: flex;
        align-items: stretch;
        gap: 0.625rem;
        padding: 0.75rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.75rem;
        background: var(--wb-panel-bg-surface);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
    }

    .wb-margin-panel.wb-margin-panel--compact {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .wb-spacing-control__link,
    .wb-margin-panel__link {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1875rem;
        width: auto;
        min-width: 3.5rem;
        min-height: 2.5rem;
        padding: 0.375rem 0.4375rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0.625rem;
        background: var(--wb-panel-bg-input);
        color: var(--wb-text-muted);
        cursor: pointer;
        transition: border-color var(--wb-transition), background var(--wb-transition), color var(--wb-transition), box-shadow var(--wb-transition);
    }

    .wb-spacing-control__link-text {
        font-family: var(--wb-font);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.025em;
        line-height: 1.1;
        text-align: center;
        white-space: nowrap;
        color: inherit;
    }

    .wb-spacing-control__link-text::before {
        content: 'Linked';
    }

    .wb-spacing-control__link[aria-pressed="false"] .wb-spacing-control__link-text::before,
    .wb-margin-panel__link[aria-pressed="false"] .wb-spacing-control__link-text::before {
        content: 'Unlinked';
    }

    .wb-spacing-control__link:hover,
    .wb-margin-panel__link:hover {
        border-color: rgba(255, 255, 255, 0.22);
        background: #283244;
        color: var(--wb-text);
    }

    .wb-spacing-control__link:focus-visible,
    .wb-margin-panel__link:focus-visible {
        outline: none;
        border-color: rgba(var(--grw-brand-rgb), 0.55);
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.45), 0 0 0 4px var(--wb-focus-ring);
    }

    .wb-spacing-control__link[aria-pressed="false"],
    .wb-margin-panel__link[aria-pressed="false"] {
        color: #cbd5e1;
        border-style: dashed;
        border-color: rgba(255, 255, 255, 0.24);
        background: var(--wb-panel-bg-input);
    }

    .wb-spacing-control__link[aria-pressed="false"]:hover,
    .wb-margin-panel__link[aria-pressed="false"]:hover {
        color: var(--wb-text);
        border-color: rgba(255, 255, 255, 0.34);
        background: #283244;
    }

    .wb-spacing-control__link[aria-pressed="true"],
    .wb-margin-panel__link[aria-pressed="true"] {
        color: #fff;
        border-style: solid;
        border-color: var(--wb-selection-border);
        background: var(--wb-selection);
        box-shadow: 0 0 14px var(--wb-selection-glow);
    }

    .wb-spacing-control__link[aria-pressed="true"]:hover,
    .wb-margin-panel__link[aria-pressed="true"]:hover {
        color: #fff;
        background: #059669;
        border-color: var(--wb-selection-border);
        box-shadow: 0 0 16px var(--wb-selection-glow);
    }

    .wb-margin-panel--compact .wb-margin-panel__link,
    .wb-margin-panel--compact .wb-spacing-control__link {
        flex-direction: row;
        width: auto;
        min-width: 0;
        min-height: 28px;
        height: 28px;
        padding: 0 8px;
        gap: 5px;
        border-radius: 6px;
        box-shadow: none;
    }

    .wb-margin-panel--compact .wb-margin-panel__link[aria-pressed="false"],
    .wb-margin-panel--compact .wb-spacing-control__link[aria-pressed="false"] {
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.16);
        background: var(--wb-panel-bg-input);
        color: #cbd5e1;
    }

    .wb-margin-panel--compact .wb-margin-panel__link[aria-pressed="true"],
    .wb-margin-panel--compact .wb-margin-panel__link[aria-pressed="true"]:hover,
    .wb-margin-panel--compact .wb-spacing-control__link[aria-pressed="true"],
    .wb-margin-panel--compact .wb-spacing-control__link[aria-pressed="true"]:hover {
        color: #bfdbfe;
        background: rgba(37, 99, 235, 0.38);
        border-color: rgba(37, 99, 235, 0.75);
        box-shadow: none;
    }

    .wb-margin-panel__link-icon {
        width: 1.0625rem;
        height: 1.0625rem;
        flex-shrink: 0;
    }

    .wb-margin-panel__link-icon--unlinked {
        display: none;
    }

    .wb-margin-panel__link[aria-pressed="false"] .wb-margin-panel__link-icon--linked {
        display: none;
    }

    .wb-margin-panel__link[aria-pressed="false"] .wb-margin-panel__link-icon--unlinked {
        display: block;
    }

    .wb-margin-panel__sides {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        flex: 1 1 auto;
        gap: 0.5rem;
        min-width: 0;
    }

    .wb-margin-panel__side {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3125rem;
    }

    .wb-margin-panel__dir {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.125rem;
        min-height: 1.75rem;
        color: var(--wb-text-muted);
    }

    .wb-margin-panel__dir svg {
        width: 0.875rem;
        height: 0.875rem;
        flex-shrink: 0;
    }

    .wb-margin-panel__dir-label {
        font-family: var(--wb-font);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        line-height: 1;
        color: var(--wb-text-dim);
    }

    .wb-margin-panel__side .wb-input,
    .wb-spacing-control__input {
        min-height: 2.375rem;
        height: 2.375rem;
        padding: 0.4375rem 0.25rem;
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        text-align: center;
        font-variant-numeric: tabular-nums;
        color: #f1f5f9;
        -moz-appearance: textfield;
        appearance: textfield;
    }

    .wb-margin-panel__side .wb-input::-webkit-outer-spin-button,
    .wb-margin-panel__side .wb-input::-webkit-inner-spin-button,
    .wb-spacing-control__input::-webkit-outer-spin-button,
    .wb-spacing-control__input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Nested option stacks: tighter gaps, toggles flush with sibling field labels */
    .wb-google-logo-chrome-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .wb-google-logo-chrome-group > .wb-toggle,
    .wb-collapse__body > .wb-toggle,
    .wb-card__body > .wb-toggle {
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }

    /* Match Logo size / Logo padding field labels (not body-weight toggle text). */
    .wb-google-logo-chrome-group > .wb-toggle .wb-toggle__label {
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        letter-spacing: 0;
        color: var(--wb-text);
        line-height: 1.35;
    }

    .wb-google-logo-chrome-group .wb-field {
        margin-bottom: 0;
        margin-top: 0;
    }

    #wb-google-logo-bg-fields,
    #wb-google-logo-border-fields,
    #wb-google-logo-bg-fields-feed,
    #wb-google-logo-border-fields-feed {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    /* ID flex rules beat utility .hidden — force collapse when toggles are off. */
    #wb-google-logo-bg-fields.hidden,
    #wb-google-logo-border-fields.hidden,
    #wb-google-logo-bg-fields-feed.hidden,
    #wb-google-logo-border-fields-feed.hidden {
        display: none !important;
    }

    /* Declutter field captions builder-wide — keep complex help via .wb-hint--essential */
    .wb-page .wb-field > .wb-hint:not(.wb-hint--essential),
    .wb-page .wb-field > p.wb-hint:not(.wb-hint--essential),
    .wb-page .wb-element-margin > .wb-hint:not(.wb-hint--essential),
    .wb-page .wb-element-margin > p.wb-hint:not(.wb-hint--essential),
    .wb-page .wb-field-grid .wb-hint:not(.wb-hint--essential) {
        display: none;
    }

    .wb-customize-style-accordion .wb-toggle__hint,
    .wb-card--flat .wb-toggle__hint,
    .wb-google-logo-chrome-group .wb-toggle__hint {
        display: none;
    }

    .wb-card__body > .wb-toggle-list {
        margin-bottom: 0;
    }

    .wb-spacing-gaps {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .wb-spacing-gap-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 5.5rem;
        gap: 0.625rem;
        align-items: center;
        padding: 0.625rem 0.75rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.625rem;
        background: var(--wb-panel-bg-surface);
    }

    .wb-spacing-gap-row__label {
        font-size: var(--wb-type-body-size);
        font-weight: var(--wb-type-body-weight);
        color: var(--wb-text);
        line-height: 1.35;
    }

    .wb-spacing-gap-row__input {
        min-height: 2.125rem;
    }

    .wb-spacing-gaps-segment {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .wb-spacing-gaps-segment + .wb-spacing-gaps-segment {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px dashed var(--wb-border-subtle);
    }

    .wb-spacing-gaps-segment__title {
        margin: 0;
        font-size: var(--wb-type-label-size);
        font-weight: var(--wb-type-label-weight);
        letter-spacing: var(--wb-type-label-tracking);
        color: var(--wb-text-muted, #94a3b8);
    }

    .wb-color-popover__panel .wb-color-popover__transparent,
    .wb-color-popover__panel .wb-color-popover__multicolour {
        background: #243044;
        color: #e2e8f0;
        border-color: rgba(148, 163, 184, 0.35);
    }

    .wb-color-popover__panel .wb-color-popover__transparent:hover,
    .wb-color-popover__panel .wb-color-popover__multicolour:hover {
        background: #243044;
        border-color: rgba(var(--grw-brand-rgb), 0.45);
    }

    .wb-color-popover__backdrop {
        position: fixed;
        inset: 0;
        z-index: 10040;
        background: rgba(2, 6, 23, 0.18);
        pointer-events: auto;
    }

    .wb-color-popover__backdrop[hidden] {
        display: none !important;
    }

    .wb-color-popover__opacity {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        margin-top: 0.625rem;
        padding-top: 0.625rem;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
    }

    .wb-color-popover__opacity-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .wb-color-popover__opacity-label,
    .wb-color-popover__opacity-value {
        font-family: var(--wb-font);
        font-size: 0.75rem;
        font-weight: 600;
        color: #e8eef8;
    }
    }

    .wb-color-popover__opacity-value {
        color: #94a3b8;
        font-variant-numeric: tabular-nums;
    }

    .wb-color-popover__opacity-slider {
        width: 100%;
        accent-color: var(--wb-selection);
    }

    .wb-color-popover__transparent {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.4375rem 0.5rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.5rem;
        background: var(--wb-panel-bg-surface);
        color: var(--wb-text);
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 500;
        cursor: pointer;
        text-align: center;
        transition: border-color 0.15s, background 0.15s;
    }

    .wb-color-popover__transparent:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.45);
        background: #243044;
    }

    .wb-spacing-element__label {
        font-size: var(--wb-type-body-size);
        font-weight: var(--wb-type-body-weight);
        color: inherit;
    }

    .wb-spacing-element__hint {
        margin: 0.625rem 0 0.5rem;
    }

    /* Role: section label — one style for every section/field label across
       all builder tabs (linked business, allowed domain, …). */
    .wb-section-label {
        display: block;
        font-size: var(--wb-type-label-size);
        font-weight: var(--wb-type-label-weight);
        letter-spacing: var(--wb-type-label-tracking);
        text-transform: uppercase;
        color: var(--wb-text-muted);
        margin: 0 0 0.5rem;
    }

    .wb-label {
        display: block;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0;
        text-transform: none;
        color: var(--wb-text);
        margin: 0 0 0.5rem;
    }

    /* Role: body / control text — linked business name, values, primary copy. */
    .wb-field-text {
        font-size: var(--wb-type-body-size);
        font-weight: var(--wb-type-body-weight);
        line-height: var(--wb-type-body-line);
        letter-spacing: 0.005em;
        color: var(--wb-text);
        margin: 0;
    }

    /* Role: secondary / meta — muted supporting text (address, captions). */
    .wb-text-meta {
        font-size: var(--wb-type-meta-size);
        line-height: var(--wb-type-meta-line);
        font-weight: 400;
        color: var(--wb-text-muted);
        margin: 0;
    }

    /* Role: inline text link / link-button — tidy, never a full-width rule. */
    .wb-text-link {
        display: inline-flex;
        align-items: center;
        width: auto;
        font-size: var(--wb-type-link-size);
        font-weight: var(--wb-type-link-weight);
        letter-spacing: 0.01em;
        color: var(--grw-brand-light);
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        text-decoration: none;
        transition: color var(--wb-transition);
    }

    .wb-text-link:hover {
        color: #fff;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 0.15em;
    }

    .wb-text-link:focus-visible {
        outline: 2px solid var(--wb-focus-ring);
        outline-offset: 2px;
        border-radius: 3px;
    }

    .wb-label--with-preview {
        display: flex;
        align-items: center;
        gap: 0.375rem;
    }

    .wb-verified-badge-preview {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--wb-verified-badge-color, #1a73e8);
        color: var(--wb-verified-badge-tick-color, #fff);
        -webkit-text-fill-color: var(--wb-verified-badge-tick-color, #fff);
        flex-shrink: 0;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        text-transform: none;
        letter-spacing: 0;
    }

    .wb-verified-badge-preview--large {
        width: 1.375rem;
        height: 1.375rem;
        font-size: 0.6875rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    }

    .wb-verified-badge-section {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
    }

    .wb-verified-badge-section__preview {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 0.75rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.625rem;
        background: var(--wb-panel-bg-surface);
    }

    .wb-verified-badge-section__preview-label {
        font-family: var(--wb-font);
        font-size: var(--wb-type-label-size);
        font-weight: var(--wb-type-label-weight);
        color: var(--wb-text-muted);
        letter-spacing: 0.04em;
    }

    .wb-verified-badge-colors {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .wb-verified-badge-colors .wb-color-field {
        margin-bottom: 0;
    }

    .wb-verified-badge-colors .wb-label {
        margin-bottom: 0.5rem;
    }

    @media (max-width: 520px) {
        .wb-verified-badge-colors {
            grid-template-columns: 1fr;
        }
    }

    .wb-hint {
        display: block;
        margin-top: 0.3125rem;
        font-size: var(--wb-type-meta-size);
        line-height: 1.5;
        color: var(--wb-text-dim);
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
    }

    .wb-hint strong {
        color: var(--grw-brand-light);
    }

    /* Dark builder chrome links (panel + rail; excludes light preview canvas).
       Upgrade-card buttons keep their own colours — do not inherit pale link text. */
    .wb-page .wb-shell .wb-panel a:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-rail a,
    .wb-page .wb-shell .wb-panel .wb-hint a:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel .wb-callout a:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel .wb-business-search__help a {
        color: var(--grw-brand-light);
        text-decoration-color: rgba(var(--grw-brand-rgb), 0.45);
    }

    .wb-business-search__help {
        font-size: 0.875rem;
    }

    .wb-page .wb-shell .wb-panel a:not(.wb-callout__btn):visited,
    .wb-page .wb-shell .wb-rail a:visited {
        color: var(--grw-brand-light);
    }

    .wb-page .wb-shell .wb-panel a:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-rail a:hover,
    .wb-page .wb-shell .wb-panel .wb-hint a:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-panel .wb-callout a:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-panel .wb-business-search__help a:hover {
        color: #fff;
        text-decoration-color: rgba(255, 255, 255, 0.55);
    }

    .wb-page .wb-shell .wb-panel a:focus-visible,
    .wb-page .wb-shell .wb-rail a:focus-visible {
        outline: 2px solid var(--wb-focus-ring);
        outline-offset: 2px;
        border-radius: 2px;
    }

    /* Upgrade cards: opaque light surface + button colours that beat .wb-panel a */
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade,
    .wb-callout.wb-callout--upgrade {
        background: #EFF6FF;
        border: 1px solid #BFDBFE;
        color: #475569;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade .wb-callout__title,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade .wb-callout__title,
    .wb-callout--upgrade .wb-callout__title {
        color: #1E40AF;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade .wb-callout__text,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade .wb-callout__text,
    .wb-callout--upgrade .wb-callout__text {
        color: #475569;
        opacity: 1;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade .wb-callout__price,
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade .wb-hint,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade .wb-callout__price,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade .wb-hint,
    .wb-callout--upgrade .wb-callout__price,
    .wb-callout--upgrade .wb-hint {
        color: #334155;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade a.wb-callout__btn--primary,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade a.wb-callout__btn--primary,
    .wb-callout--upgrade a.wb-callout__btn--primary {
        background: #2563EB;
        color: #fff;
        border: 1px solid #2563EB;
        text-decoration: none;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade a.wb-callout__btn--primary:hover,
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade a.wb-callout__btn--primary:visited,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade a.wb-callout__btn--primary:hover,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade a.wb-callout__btn--primary:visited,
    .wb-callout--upgrade a.wb-callout__btn--primary:hover,
    .wb-callout--upgrade a.wb-callout__btn--primary:visited {
        background: #1D4ED8;
        border-color: #1D4ED8;
        color: #fff;
        text-decoration: none;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade a.wb-callout__btn--ghost,
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade a.wb-callout__btn--ghost:visited,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade a.wb-callout__btn--ghost,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade a.wb-callout__btn--ghost:visited,
    .wb-callout--upgrade a.wb-callout__btn--ghost,
    .wb-callout--upgrade a.wb-callout__btn--ghost:visited {
        background: transparent;
        color: #1D4ED8;
        border: 0;
        text-decoration: underline;
        text-decoration-color: #1D4ED8;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade a.wb-callout__btn--ghost:hover,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade a.wb-callout__btn--ghost:hover,
    .wb-callout--upgrade a.wb-callout__btn--ghost:hover {
        color: #1E3A8A;
        text-decoration-color: #1E3A8A;
        background: transparent;
    }
    .wb-page .wb-shell .wb-panel .wb-callout--upgrade a.wb-callout__btn:focus-visible,
    .wb-page .wb-shell .wb-group--domain-preview .wb-callout--upgrade a.wb-callout__btn:focus-visible,
    .wb-callout--upgrade a.wb-callout__btn:focus-visible {
        outline: 2px solid #1D4ED8;
        outline-offset: 2px;
        border-radius: 0.5rem;
    }

    .wb-input,
    .wb-select,
    .wb-textarea {
        width: 100%;
        min-height: 2.375rem;
        border: 1px solid var(--wb-field-border);
        border-radius: var(--wb-field-radius);
        padding: 0.5rem 0.6875rem;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 500;
        line-height: 1.35;
        color: var(--wb-text);
        background: var(--wb-field-bg);
        box-shadow: none;
        transition: border-color var(--wb-transition), box-shadow var(--wb-transition), background var(--wb-transition), color var(--wb-transition);
    }

    #wb-rating-custom-label,
    #wb-rating-custom-label-feed {
        text-transform: none;
    }

    .wb-input::placeholder,
    .wb-textarea::placeholder {
        color: var(--wb-placeholder);
        opacity: 1;
    }

    .wb-input:hover,
    .wb-textarea:hover {
        border-color: #5a7199;
        background: #20304c;
    }

    .wb-input:focus,
    .wb-textarea:focus {
        outline: none;
        border-color: var(--wb-accordion-accent);
        box-shadow: 0 0 0 2px rgba(130, 159, 255, 0.28);
        background: #20304c;
    }

    .wb-input.wb-input--narrow,
    .wb-range-row .wb-input--narrow {
        width: 72px;
        min-width: 0;
        min-height: 2.25rem;
        padding: 0.4375rem 0.5rem;
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    .wb-input:read-only,
    .wb-select:disabled,
    .wb-input:disabled,
    .wb-textarea:disabled {
        color: var(--wb-text-dim);
        border-color: var(--wb-border-subtle);
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        cursor: not-allowed;
        opacity: 1;
    }

    .wb-select {
        appearance: none;
        -webkit-appearance: none;
        padding-right: 2rem;
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23c9d6ea' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.55rem center;
        background-size: 0.95rem;
    }

    .wb-panel .wb-select {
        height: 36px;
        min-height: 36px;
        padding: 0 2rem 0 9px;
        border: 1px solid #485b7c;
        border-radius: 5px;
        background-color: #1b2940;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 500;
        letter-spacing: 0;
        line-height: 34px;
        color: #f8fafc;
    }

    .wb-panel .wb-select:hover,
    .wb-panel .wb-select:focus {
        border-color: #5a7199;
        background-color: #1b2940;
        outline: none;
    }

    .wb-panel .wb-select:focus {
        border-color: var(--wb-accordion-accent);
        box-shadow: 0 0 0 2px rgba(130, 159, 255, 0.28);
    }

    .wb-select option {
        background: #1b2940;
        color: #f1f5f9;
    }

    .wb-color-row {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-height: 2.375rem;
    }

    .wb-color-row > .wb-color-row__hex {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

    .wb-color-row > .wb-color-reset,
    .wb-color-row > .wb-btn-icon {
        order: 2;
        flex-shrink: 0;
    }

    .wb-color-row > .wb-color-popover {
        order: 3;
    }

    .wb-color-popover {
        position: relative;
        flex-shrink: 0;
    }

    .wb-color-row__swatch {
        display: block;
        width: 2rem;
        height: 2rem;
        padding: 0;
        border: 1px solid rgba(148, 163, 184, 0.28);
        border-radius: 0.4375rem;
        cursor: pointer;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
        background: transparent;
        transition: box-shadow 0.15s, border-color 0.15s;
    }

    .wb-color-row__swatch:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.45);
    }

    .wb-color-row__swatch:focus-visible {
        outline: none;
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.5), 0 0 0 4px var(--wb-focus-ring);
    }

    .wb-color-row__swatch--google-multicolor {
        background:
            linear-gradient(#4285F4, #4285F4) 0 0 / 50% 50% no-repeat,
            linear-gradient(#EA4335, #EA4335) 100% 0 / 50% 50% no-repeat,
            linear-gradient(#FBBC04, #FBBC04) 0 100% / 50% 50% no-repeat,
            linear-gradient(#34A853, #34A853) 100% 100% / 50% 50% no-repeat !important;
    }

    .wb-color-popover__panel {
        position: absolute;
        z-index: 120;
        top: calc(100% + 0.375rem);
        right: 0;
        left: auto;
        width: 15.5rem;
        min-width: 15.5rem;
        padding: 0.75rem;
        border: 1px solid rgba(148, 163, 184, 0.35);
        border-radius: 0.75rem;
        background: linear-gradient(180deg, #182030 0%, #121a28 100%);
        color-scheme: dark;
        color: #e2e8f0;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.55),
            0 18px 44px rgba(0, 0, 0, 0.72);
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
        isolation: isolate;
    }

    .wb-color-popover__panel .wb-color-popover__opacity {
        margin-top: 0;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
    }

    .wb-color-popover__panel .wb-color-popover__opacity-label,
    .wb-color-popover__panel .wb-color-popover__opacity-value {
        color: #e2e8f0;
    }

    .wb-color-popover__panel.is-floating {
        position: fixed;
        z-index: 10050;
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        margin: 0;
    }

    .wb-field:has(.wb-color-row),
    .wb-typo-row,
    .wb-typo-color-cell,
    .wb-typo-size-cell,
    .wb-typo-weight-cell,
    .wb-color-row {
        overflow: visible;
    }

    .wb-color-popover__panel[hidden] {
        display: none !important;
    }

    .wb-color-popover__custom {
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
    }

    .wb-color-popover__sv {
        position: relative;
        width: 100%;
        height: 8.75rem;
        border-radius: 0.5rem;
        overflow: hidden;
        cursor: crosshair;
        touch-action: none;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        background-color: #f00;
        background-image:
            linear-gradient(to top, #000, transparent),
            linear-gradient(to right, #fff, transparent);
    }

    .wb-color-popover__sv-cursor {
        position: absolute;
        width: 0.875rem;
        height: 0.875rem;
        margin: -0.4375rem 0 0 -0.4375rem;
        border: 2px solid #fff;
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
        pointer-events: none;
    }

    .wb-color-popover__hue {
        position: relative;
        width: 100%;
        height: 0.75rem;
        border-radius: 999px;
        cursor: pointer;
        touch-action: none;
        background: linear-gradient(
            to right,
            #f00 0%,
            #ff0 17%,
            #0f0 33%,
            #0ff 50%,
            #00f 67%,
            #f0f 83%,
            #f00 100%
        );
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .wb-color-popover__hue-cursor {
        position: absolute;
        top: 50%;
        width: 0.875rem;
        height: 0.875rem;
        margin: -0.4375rem 0 0 -0.4375rem;
        border: 2px solid #fff;
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
        pointer-events: none;
        background: transparent;
    }

    .wb-color-popover__hex-row {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .wb-color-popover__preview {
        flex-shrink: 0;
        width: 2rem;
        height: 2rem;
        border-radius: 0.5rem;
        border: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
        background: #4285f4;
    }

    .wb-color-popover__hex-input {
        flex: 1;
        min-width: 0;
        height: 2rem;
        padding: 0.3125rem 0.5rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.5rem;
        background: var(--wb-panel-bg-input);
        color: #f1f5f9;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.8125rem;
        letter-spacing: 0.04em;
    }

    .wb-color-popover__hex-input:focus {
        outline: none;
        border-color: rgba(var(--grw-brand-rgb), 0.55);
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.45), 0 0 0 4px var(--wb-focus-ring);
    }

    .wb-color-popover__footer {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        margin-top: 0.125rem;
        padding-top: 0.625rem;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
    }

    .wb-color-popover__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2rem;
        padding: 0.3125rem 0.75rem;
        border-radius: 0.5rem;
        border: 1px solid transparent;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
    }

    .wb-color-popover__btn--ghost {
        border-color: rgba(148, 163, 184, 0.4);
        background: #243044;
        color: #e2e8f0;
    }

    .wb-color-popover__btn--ghost:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.45);
        color: #f8fafc;
        background: #2d3c55;
    }

    .wb-color-popover__btn--primary {
        border-color: rgba(var(--grw-brand-rgb), 0.65);
        background: rgba(var(--grw-brand-rgb), 0.22);
        color: #f8fafc;
    }

    .wb-color-popover__btn--primary:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.85);
        background: rgba(var(--grw-brand-rgb), 0.32);
    }

    .wb-color-popover__btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.5), 0 0 0 4px var(--wb-focus-ring);
    }

    .wb-color-row__picker {
        display: none !important;
    }

    .wb-color-popover__multicolour {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        margin: 0;
        padding: 0.4375rem 0.5rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.5rem;
        background: var(--wb-panel-bg-surface);
        color: var(--wb-text);
        font-size: 0.75rem;
        font-weight: 500;
        cursor: pointer;
        text-align: left;
        transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    }

    .wb-color-popover__multicolour:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.45);
        background: #243044;
    }

    .wb-color-popover__multicolour.is-active {
        border-color: var(--wb-selection-border);
        background: var(--wb-selection-soft);
        box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.65);
    }

    .wb-color-popover__multicolour:focus-visible {
        outline: none;
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.5), 0 0 0 4px var(--wb-focus-ring);
    }

    .wb-color-popover__multicolour-preview {
        width: 1.375rem;
        height: 1.375rem;
        flex-shrink: 0;
        border-radius: 0.3125rem;
        background:
            linear-gradient(#4285F4, #4285F4) 0 0 / 50% 50% no-repeat,
            linear-gradient(#EA4335, #EA4335) 100% 0 / 50% 50% no-repeat,
            linear-gradient(#FBBC04, #FBBC04) 0 100% / 50% 50% no-repeat,
            linear-gradient(#34A853, #34A853) 100% 100% / 50% 50% no-repeat;
    }

    .wb-color-popover__multicolour-label {
        flex: 1;
        min-width: 0;
    }

    .wb-preview-root .grw-stars--multicolour .grw-star:nth-child(1) { color: #4285F4; }
    .wb-preview-root .grw-stars--multicolour .grw-star:nth-child(2) { color: #EA4335; }
    .wb-preview-root .grw-stars--multicolour .grw-star:nth-child(3) { color: #FBBC04; }
    .wb-preview-root .grw-stars--multicolour .grw-star:nth-child(4) { color: #34A853; }
    .wb-preview-root .grw-stars--multicolour .grw-star:nth-child(5) { color: #4285F4; }

    /* Builder branding footer: keep dismiss × slightly above text center */
    .wb-preview-root .grw-branding.grw-branding--builder .grw-branding-dismiss-control {
        top: 0;
        bottom: 0;
        margin-top: auto;
        margin-bottom: auto;
        transform: translateY(-3px);
    }

    .wb-preview-root .grw-branding.grw-branding--builder .grw-branding-dismiss__icon {
        transform: translateY(-1px);
    }

    .wb-color-row__hex {
        flex: 1;
        min-width: 0;
        min-height: 2rem;
        height: 2rem;
        padding: 0.3125rem 0.5625rem;
        font-size: 0.8125rem;
        line-height: 1.25;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-variant-numeric: tabular-nums;
        letter-spacing: 0.03em;
        color: #e2e8f0;
        background: var(--wb-panel-bg-input);
        border-radius: 0.4375rem;
        box-shadow: none;
    }

    .wb-color-row__hex::placeholder {
        color: var(--wb-placeholder);
        opacity: 1;
    }

    .wb-color-row__hex:focus {
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.45), 0 0 0 4px var(--wb-focus-ring);
    }

    .wb-color-row__hex::placeholder {
        color: var(--wb-placeholder);
        opacity: 1;
    }

    .wb-color-row__hex.is-invalid {
        border-color: #fca5a5;
    }

    .wb-color-reset {
        flex-shrink: 0;
        cursor: pointer;
        transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
    }

    .wb-color-reset:hover {
        color: var(--grw-brand-light);
        background: var(--wb-accent-soft);
        border-color: rgba(var(--grw-brand-rgb), 0.35);
    }

    .wb-color-reset:focus-visible {
        outline: none;
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.45), 0 0 0 4px var(--wb-focus-ring);
    }

    .wb-color-reset--inline {
        flex-shrink: 0;
    }

    .wb-color-field .wb-color-reset.wb-btn-icon {
        width: 2rem;
        height: 2rem;
        border-radius: 0.4375rem;
    }

    .wb-color-field .wb-color-reset.wb-btn-icon svg {
        width: 0.875rem;
        height: 0.875rem;
    }

    .wb-btn-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        border: 1px solid var(--wb-border);
        border-radius: 0.5625rem;
        background: var(--wb-panel-bg-input);
        color: var(--wb-text-muted);
        cursor: pointer;
        transition: border-color var(--wb-transition), background var(--wb-transition), color var(--wb-transition), box-shadow var(--wb-transition);
    }

    .wb-btn-icon svg {
        width: 0.9375rem;
        height: 0.9375rem;
        flex-shrink: 0;
    }

    .wb-btn-icon:hover {
        color: var(--grw-brand-light);
        background: var(--wb-accent-soft);
        border-color: rgba(var(--grw-brand-rgb), 0.35);
    }

    .wb-field-input-group {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        min-width: 0;
    }

    .wb-field-input-group .wb-input {
        flex: 1;
        min-width: 0;
    }

    .wb-typo-color-cell,
    .wb-typo-size-cell,
    .wb-typo-weight-cell {
        min-width: 0;
    }

    .wb-typo-color-cell .wb-color-row {
        flex: 1;
        min-width: 0;
        gap: 0.5rem;
    }

    .wb-typo-color-cell .wb-color-row__hex,
    .wb-typo-size-cell .wb-typo-row__size {
        flex: 1;
        min-width: 0;
    }

    .wb-typo-size-cell .wb-typo-row__size {
        max-width: none;
    }

    .wb-typo-color-cell .wb-color-row__hex {
        max-width: none;
    }

    .wb-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-height: 2.25rem;
        padding: 0.375rem 0.75rem;
        margin: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        cursor: pointer;
        transition: background var(--wb-transition);
    }

    .wb-toggle:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    .wb-toggle:has(.wb-toggle__input:focus-visible) {
        outline: none;
        box-shadow: inset 0 0 0 1px rgba(var(--grw-brand-rgb), 0.45), inset 0 0 0 3px var(--wb-focus-ring);
    }

    .wb-field > .wb-toggle:only-child {
        border: 1px solid var(--wb-border-subtle);
        border-radius: 0.625rem;
        background: rgba(255, 255, 255, 0.02);
    }

    .wb-field > .wb-toggle:only-child:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .wb-group--nested > .wb-toggle {
        border: 1px solid var(--wb-border-subtle);
        border-radius: 0.625rem;
        background: rgba(255, 255, 255, 0.02);
    }

    .wb-group--nested > .wb-toggle:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .wb-toggle__input {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .wb-toggle__track {
        position: relative;
        flex-shrink: 0;
        width: 2.375rem;
        height: 1.3125rem;
        border-radius: 999px;
        background: var(--wb-toggle-off-track);
        border: 1px solid var(--wb-toggle-off-border);
        transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
        margin-left: auto;
        pointer-events: none !important;
    }

    .wb-toggle__track::after {
        content: '';
        position: absolute;
        top: 0.125rem;
        left: 0.125rem;
        width: 0.9375rem;
        height: 0.9375rem;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
        transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none !important;
    }

    .wb-toggle__input:checked + .wb-toggle__track {
        background: var(--wb-selection);
        border-color: var(--wb-selection-border);
        box-shadow: 0 0 14px var(--wb-selection-glow);
    }

    .wb-toggle__input:checked + .wb-toggle__track::after {
        transform: translateX(1.0625rem);
    }

    .wb-toggle__input:disabled + .wb-toggle__track {
        opacity: 0.6;
    }

    .wb-toggle:has(.wb-toggle__input:disabled) {
        pointer-events: none;
        cursor: not-allowed;
    }

    .wb-toggle:has(.wb-toggle__input:disabled) .wb-toggle__content {
        opacity: 0.6;
    }

    .wb-toggle__content {
        flex: 1;
        min-width: 0;
        text-align: left;
    }

    .wb-toggle__heading {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
    }

    .wb-toggle.wb-toggle--row {
        align-items: center;
        gap: 12px;
        min-height: 47px;
        padding: var(--wb-accordion-pad-y) var(--wb-accordion-pad-x);
    }

    .wb-toggle-list .wb-toggle.wb-toggle--row {
        min-height: 2.25rem;
        gap: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .wb-toggle--with-tip > .wb-toggle__heading {
        flex: 0 1 auto;
        position: relative;
        z-index: 2;
    }

    .wb-toggle__control {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
        min-width: 0;
        min-height: 1.3125rem;
        margin: 0;
        cursor: pointer;
    }

    .wb-toggle__label {
        display: block;
        min-width: 0;
        color: var(--wb-text);
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.35;
    }

    .wb-toggle__hint {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
        font-size: 12px;
        font-weight: 400;
        color: var(--wb-text-muted);
        line-height: 1.35;
    }

    .wb-toggle-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .wb-toggle-list > .wb-toggle,
    .wb-toggle-list > * > .wb-toggle {
        width: 100%;
    }

    .wb-toggle-list > .wb-toggle:not(:last-child),
    .wb-toggle-list > *:not(:last-child) > .wb-toggle {
        border-bottom: 1px solid var(--wb-border-subtle);
        border-radius: 0;
    }

    .wb-content-review-photos {
        margin-top: 0;
    }

    .wb-content-review-photos > .wb-collapse {
        margin: 0;
    }

    /* Show / hide elements accordion (badge/sticker): flat toggle list inside body. */
    .wb-card--visibility > .wb-collapse__body > .wb-toggle-list--visibility {
        gap: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .wb-card--visibility > .wb-collapse__body > .wb-toggle-list--visibility > .wb-visibility-toggle > .wb-toggle,
    .wb-card--visibility > .wb-collapse__body > .wb-toggle-list--visibility > .wb-visibility-modifier > .wb-toggle,
    .wb-card--visibility > .wb-collapse__body > .wb-toggle-list--visibility > [data-wb-layout-show] > .wb-toggle {
        border: none;
        border-radius: 0;
        background: transparent;
        min-height: 2.125rem;
        padding: 0.3125rem 0;
    }

    .wb-card--visibility > .wb-collapse__body > .wb-toggle-list--visibility > .wb-visibility-toggle:not(:last-child) > .wb-toggle,
    .wb-card--visibility > .wb-collapse__body > .wb-toggle-list--visibility > .wb-visibility-modifier:not(:last-child) > .wb-toggle,
    .wb-card--visibility > .wb-collapse__body > .wb-toggle-list--visibility > *:not(:last-child) > .wb-toggle {
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-card--visibility .wb-feed-header-children {
        display: contents;
    }

    .wb-card--visibility .wb-visibility-modifier {
        margin-top: 0;
    }

    .wb-card--visibility .wb-visibility-modifier .wb-toggle__label {
        color: var(--wb-text);
    }

    /* Feed Customize: show/hide toggles live inside Header / Review Cards / Buttons. */
    .wb-customize-style-accordion .wb-feed-visibility-toggles {
        margin-bottom: 0;
    }

    .wb-customize-style-accordion .wb-toggle-list--visibility {
        gap: 0;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .wb-customize-style-accordion .wb-toggle-list--visibility > .wb-toggle,
    .wb-customize-style-accordion .wb-toggle-list--visibility > * > .wb-toggle,
    .wb-customize-style-accordion .wb-toggle-list--visibility > * > * > .wb-toggle {
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0.3125rem 0;
    }

    .wb-customize-style-accordion .wb-toggle-list--visibility > .wb-toggle:not(:last-child),
    .wb-customize-style-accordion .wb-toggle-list--visibility > *:not(:last-child) > .wb-toggle,
    .wb-customize-style-accordion .wb-feed-header-children > *:not(:last-child) > .wb-toggle {
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-customize-style-accordion .wb-feed-header-children {
        display: contents;
    }

    .wb-customize-style-accordions {
        display: flex;
        flex-direction: column;
        gap: var(--wb-accordion-gap);
        margin-top: 0;
    }

    /* Show header sits in the Header summary: switch, then the open/close arrow on the right. */
    .wb-header-accordion-row {
        position: relative;
    }

    /* The header details is not a direct flex child, so its own top margin was stacking on the list gap and leaving Widget appearance sitting apart. */
    .wb-customize-style-accordions > .wb-header-accordion-row > .wb-collapse,
    .wb-customize-style-accordions > .wb-element-row > .wb-collapse {
        margin-top: 0;
    }

    .wb-header-accordion-row > .wb-collapse > .wb-collapse__summary > .wb-element-row__switches {
        top: 50%;
        right: 38px;
        z-index: 3;
        transform: translateY(-50%);
    }

    .wb-header-accordion-row:has([data-wb-feed-show-header]:not(.hidden)) > .wb-collapse > .wb-collapse__summary {
        padding-right: 5.5rem;
    }

    .wb-header-accordion-row:has([data-wb-feed-show-header]:not(.hidden)) > .wb-collapse > .wb-collapse__summary::after {
        position: absolute;
        top: 50%;
        right: 15px;
        margin-left: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .wb-header-accordion-row:has([data-wb-feed-show-header]:not(.hidden)) > .wb-collapse[open] > .wb-collapse__summary::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .wb-header-accordion-row:has([data-wb-feed-show-header] .wb-toggle__input:not(:checked)) > .wb-collapse:not([open]) > .wb-collapse__summary .wb-collapse__copy-title {
        color: var(--wb-text-muted);
    }

    /* Show footer button sits on the Footer title, same place as Show header. */
    .wb-style-feed-buttons-section > .wb-collapse__summary > .wb-element-row__switches {
        top: 50%;
        right: 38px;
        z-index: 3;
        transform: translateY(-50%);
    }

    .wb-style-feed-buttons-section:has([data-wb-feed-footer-button-toggle]:not(.hidden)) > .wb-collapse__summary {
        padding-right: 5.5rem;
    }

    .wb-style-feed-buttons-section:has([data-wb-feed-footer-button-toggle]:not(.hidden)) > .wb-collapse__summary::after {
        position: absolute;
        top: 50%;
        right: 15px;
        margin-left: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .wb-style-feed-buttons-section:has([data-wb-feed-footer-button-toggle]:not(.hidden))[open] > .wb-collapse__summary::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .wb-style-feed-buttons-section:has([data-wb-feed-footer-button-toggle]:not(.hidden) .wb-toggle__input:not(:checked)):not([open]) > .wb-collapse__summary .wb-collapse__copy-title {
        color: var(--wb-text-muted);
    }

    /* Master toggle rows (Show AI summary / Show review panel). */
    .wb-customize-style-accordions > .wb-card--feed-show-header,
    .wb-card--ai-summary-show,
    .wb-card--panel-show {
        margin-top: 0;
    }

    .wb-card--panel-show {
        margin-bottom: 0;
    }

    .wb-card--feed-show-header .wb-card__body--compact {
        padding: var(--wb-standalone-pad-y) var(--wb-standalone-pad-x);
    }

    /* Show AI summary / Show review panel match a closed accordion row.
       Customize accordions are 47px; the toggle-list row must not add its own padding on top. */
    .wb-card--ai-summary-show .wb-card__body--compact,
    .wb-card--panel-show .wb-card__body--compact {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        min-height: 47px;
        padding: 13px;
    }

    .wb-card--ai-summary-show .wb-card__body--compact > .wb-toggle-list,
    .wb-card--panel-show .wb-card__body--compact > .wb-toggle-list {
        margin-top: 0;
        width: 100%;
    }

    .wb-card--feed-show-header .wb-toggle-list--visibility,
    .wb-card--ai-summary-show .wb-toggle-list--visibility,
    .wb-card--panel-show .wb-toggle-list--visibility {
        gap: 0;
    }

    .wb-card--feed-show-header .wb-toggle,
    .wb-card--ai-summary-show .wb-toggle,
    .wb-card--panel-show .wb-toggle {
        min-height: 0;
        padding: 0;
        border: none;
        background: transparent;
    }

    .wb-card--ai-summary-show .wb-toggle-list .wb-toggle.wb-toggle--row,
    .wb-card--panel-show .wb-toggle-list .wb-toggle.wb-toggle--row {
        min-height: 0;
        gap: 12px;
        padding: 0;
    }

    .wb-card--feed-show-header .wb-toggle:hover,
    .wb-card--ai-summary-show .wb-toggle:hover,
    .wb-card--panel-show .wb-toggle:hover {
        background: transparent;
    }

    .wb-card--feed-show-header .wb-toggle__label,
    .wb-card--ai-summary-show .wb-toggle__label,
    .wb-card--panel-show .wb-toggle__label {
        font-size: var(--wb-accordion-title-size);
        font-weight: var(--wb-accordion-title-weight);
        letter-spacing: var(--wb-accordion-title-tracking);
        line-height: var(--wb-accordion-title-line);
        color: var(--wb-text);
    }

    .wb-card--ai-summary-show .wb-toggle__label,
    .wb-card--panel-show .wb-toggle__label {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    /*
     * When every element accordion is hidden, collapse the group so Custom CSS
     * (or the next sibling) is not preceded by an empty gap.
     *
     * IMPORTANT: Selectors match the DOM tree, not the box tree — display:contents
     * does NOT make grandchildren match `> .wb-customize-style-accordion`. On admin
     * flyout/popup defaults (and domain defaults) the domain "Review panel style"
     * card is absent, so Panel style/colours/content live only under
     * #wb-flyout-override-fields. Count those descendants explicitly.
     * Review photos live under #wb-content-review-photos (not a direct child
     * accordion), so count that wrapper the same way or the Business feature
     * stays active while the control is hidden.
     */
    .wb-customize-style-accordions:not(:has(> .wb-customize-style-accordion:not(.hidden))):not(:has(> #wb-flyout-override-fields:not(.hidden) .wb-customize-style-accordion)):not(:has(> #wb-content-review-photos:not(.hidden) .wb-customize-style-accordion)) {
        display: none;
    }

    /*
     * Panel override wrappers are not themselves flex items we want spacing for.
     * display:contents promotes Panel style/colours/content for flex gap only.
     */
    #wb-flyout-override-fields:not(.hidden),
    #wb-flyout-custom-fields {
        display: contents;
    }

    #wb-flyout-override-fields.hidden {
        display: none;
    }

    .wb-customize-style-accordions > .wb-customize-style-accordion {
        margin-top: 0;
    }

    .wb-customize-style-accordion .wb-collapse__lead {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        border-bottom: none;
        background: transparent;
    }

    .wb-collapse {
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
        box-shadow: none;
        overflow: hidden;
        margin-top: var(--wb-accordion-gap);
    }

    .wb-collapse[open] {
        background: var(--wb-accordion-bg-open);
        border-color: var(--wb-accordion-border-open);
    }

    .wb-customize-style-accordions > .wb-collapse,
    .wb-customize-style-accordions > .wb-customize-style-accordion {
        margin-top: 0;
    }

    .wb-customize-style-accordions > [data-wb-content-review-photos] {
        min-width: 0;
    }

    .wb-customize-style-accordions > [data-wb-content-review-photos] > .wb-customize-style-accordion {
        margin-top: 0;
    }

    .wb-collapse__summary {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 50px;
        padding: 13px;
        font-family: var(--wb-font);
        font-size: var(--wb-type-accordion-size);
        font-weight: var(--wb-type-accordion-weight);
        letter-spacing: var(--wb-type-accordion-tracking);
        line-height: var(--wb-type-accordion-line);
        color: var(--wb-accordion-label-color);
        background: transparent;
        cursor: pointer;
        list-style: none;
        user-select: none;
        position: relative;
        transition: background var(--wb-transition), color var(--wb-transition);
    }

    .wb-collapse__copy {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .wb-collapse__copy-title {
        color: var(--wb-text);
        font-size: var(--wb-accordion-title-size);
        font-weight: var(--wb-accordion-title-weight);
        letter-spacing: var(--wb-accordion-title-tracking);
        line-height: var(--wb-accordion-title-line);
        min-width: 0;
    }

    .wb-collapse__info {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #c9d6ea;
        cursor: help;
    }

    .wb-collapse__info::before {
        content: "i";
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 15px;
        height: 15px;
        border: 1.25px solid currentColor;
        border-radius: 999px;
        font-size: 9px;
        font-weight: 700;
        font-style: normal;
        line-height: 1;
        font-family: inherit;
    }

    .wb-collapse__info:hover,
    .wb-collapse__info:focus-visible,
    .wb-collapse__info[aria-expanded="true"] {
        color: #e8eef8;
    }

    .wb-collapse__info:focus-visible {
        outline: 2px solid var(--wb-accordion-accent);
        outline-offset: 2px;
    }

    .wb-collapse-info-tip {
        position: fixed;
        z-index: 80;
        max-width: 240px;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid #3b4e70;
        background: #10192c;
        color: #e8eef8;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: 0;
        text-align: left;
        box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
        pointer-events: none;
    }

    .wb-collapse__summary::-webkit-details-marker {
        display: none;
    }

    /* Closed parents have no left chevron. The open marker stays in place but is uncoloured. */
    .wb-collapse > .wb-collapse__summary::before {
        content: none;
        display: none;
    }

    .wb-collapse[open] > .wb-collapse__summary::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        width: 3px;
        flex: none;
        background: transparent;
        border-radius: 0 2px 2px 0;
        -webkit-mask-image: none;
        mask-image: none;
        opacity: 1;
    }

    .wb-collapse__summary::after {
        content: '';
        flex-shrink: 0;
        width: 15px;
        height: 15px;
        margin-left: auto;
        background-color: var(--wb-accordion-chevron-color);
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        transition: transform 0.18s ease, background-color 0.18s ease;
        opacity: 1;
    }

    .wb-collapse[open] > .wb-collapse__summary::after {
        transform: rotate(180deg);
        background-color: var(--wb-accordion-chevron-open);
    }

    .wb-collapse:not([open]) > .wb-collapse__summary:hover {
        background: var(--wb-accordion-hover-bg);
        color: #f2f5fd;
    }

    .wb-collapse[open] > .wb-collapse__summary {
        background: var(--wb-accordion-heading-open);
        color: var(--wb-accordion-label-open);
        font-weight: 600;
        border-bottom: 1px solid var(--wb-accordion-heading-rule);
    }

    .wb-collapse[open] > .wb-collapse__summary:hover {
        background: var(--wb-accordion-heading-open);
        color: var(--wb-accordion-label-open);
    }

    .wb-collapse__summary:focus-visible {
        outline: 2px solid var(--wb-accordion-accent);
        outline-offset: -2px;
    }

    .wb-collapse__lead {
        margin: 0;
        padding: 0.6875rem var(--wb-accordion-pad-x) 0.8125rem;
        border-bottom: 1px solid var(--wb-border-subtle);
        background: rgba(255, 255, 255, 0.02);
        font-size: var(--wb-type-meta-size);
        line-height: 1.5;
    }

    /* Lead nested in body already has body pad-x — avoid double horizontal indent */
    .wb-collapse__body > .wb-collapse__lead {
        padding-left: 0;
        padding-right: 0;
    }

    .wb-collapse__lead.wb-hint {
        margin-top: 0;
        color: var(--wb-panel-sub-color);
    }

    .wb-json-ld-explainer {
        margin: 0;
        border: 1px solid var(--wb-border-subtle, #e2e8f0);
        border-radius: 10px;
        overflow: hidden;
        background: #f8fafc;
    }

    .wb-json-ld-explainer img {
        display: block;
        width: 100%;
        height: auto;
    }

    .wb-collapse__body {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 12px var(--wb-accordion-pad-x) 14px;
        border-top: none;
        background: transparent;
    }

    .wb-collapse > .wb-collapse__body:has(> .wb-nested-accordions),
    .wb-collapse > .wb-collapse__body:has(> .wb-feed-header-style-controls) {
        padding: var(--wb-nested-group-pad);
        gap: 10px;
    }

    .wb-collapse__lead + .wb-collapse__body {
        border-top: none;
    }

    .wb-collapse__body .wb-field:first-child {
        margin-top: 0;
    }

    .wb-card--flat {
        flex-shrink: 0;
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
    }

    #wb-layout-options-root {
        display: flex;
        flex-direction: column;
        gap: var(--wb-accordion-gap);
    }

    /* An empty options root is still a flex item, so it doubles the gap under Layout & spacing. */
    #wb-layout-options-root:not(:has(.wb-layout-options-panel:not(.hidden))) {
        display: none;
    }

    .wb-summary-card {
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
        overflow: hidden;
    }

    .wb-summary-card + .wb-summary-card {
        margin-top: var(--wb-accordion-gap);
    }

    .wb-summary-card__bar {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding: var(--wb-accordion-pad-y) var(--wb-accordion-pad-x) 0.625rem;
        background: transparent;
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-summary-card__intro {
        min-width: 0;
        flex: 1;
    }

    .wb-summary-card__title {
        font-family: inherit;
        font-size: var(--wb-type-accordion-size);
        font-weight: var(--wb-type-accordion-weight);
        letter-spacing: var(--wb-type-accordion-tracking);
        color: var(--wb-text);
        margin: 0;
    }

    .wb-summary-card__desc {
        font-size: var(--wb-type-meta-size);
        line-height: var(--wb-type-meta-line);
        color: var(--wb-text-muted);
        margin: 0.25rem 0 0;
    }

    .wb-summary-card__customize {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        font-family: inherit;
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        background: rgba(var(--grw-brand-rgb), 0.22);
        border: 1.5px solid rgba(var(--grw-brand-rgb), 0.62);
        border-radius: 999px;
        padding: 0.4375rem 0.8125rem;
        cursor: pointer;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.08) inset,
            0 2px 10px rgba(var(--grw-brand-rgb), 0.28);
        transition: background var(--wb-transition), border-color var(--wb-transition), color var(--wb-transition), box-shadow var(--wb-transition), transform var(--wb-transition);
    }

    .wb-summary-card:not(.is-expanded) .wb-summary-card__customize {
        animation: wb-customize-attention 2.8s ease-in-out infinite;
    }

    @keyframes wb-customize-attention {
        0%, 100% {
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.08) inset,
                0 2px 10px rgba(var(--grw-brand-rgb), 0.22);
        }
        50% {
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.14) inset,
                0 0 0 3px rgba(var(--grw-brand-rgb), 0.18),
                0 4px 16px rgba(var(--grw-brand-rgb), 0.38);
        }
    }

    .wb-summary-card__customize-badge {
        font-size: 0.5625rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        color: rgba(255, 255, 255, 0.92);
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 999px;
        padding: 0.125rem 0.375rem;
    }

    .wb-summary-card__customize-chevron {
        flex-shrink: 0;
        opacity: 0.95;
        transition: transform var(--wb-transition);
    }

    .wb-summary-card__customize:hover {
        background: rgba(var(--grw-brand-rgb), 0.34);
        border-color: rgba(var(--grw-brand-rgb), 0.82);
        color: #fff;
        transform: translateY(-1px);
    }

    .wb-summary-card__customize:focus-visible {
        outline: 2px solid var(--wb-focus-ring);
        outline-offset: 2px;
    }

    .wb-summary-card.is-expanded .wb-summary-card__customize {
        animation: none;
        background: var(--wb-accent);
        border-color: var(--wb-accent);
        color: #fff;
    }

    .wb-summary-card.is-expanded .wb-summary-card__customize-badge {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.28);
    }

    .wb-summary-card.is-expanded .wb-summary-card__customize-chevron {
        transform: rotate(90deg);
    }

    .wb-summary-card__peek {
        padding: 0.8125rem 1rem 1rem;
    }

    .wb-summary-card__expand {
        padding: 0 1rem 1rem;
        border-top: 1px solid var(--wb-border-subtle);
    }

    .wb-summary-card__expand > .wb-group:first-child,
    .wb-summary-card__expand > .wb-toggle-list:first-child {
        margin-top: 0.875rem;
    }

    .wb-summary-chips {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .wb-summary-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.3125rem 0.625rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--wb-border);
        font-size: 0.75rem;
        color: var(--wb-text-muted);
    }

    .wb-summary-chip__state {
        font-weight: 700;
        color: #bfdbfe;
    }

    .wb-callout {
        border-radius: 0.625rem;
        padding: 0.75rem 0.875rem;
        font-size: var(--wb-type-body-size);
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .wb-callout--info {
        border: 1px solid rgba(var(--grw-brand-rgb), 0.28);
        background: rgba(var(--grw-brand-rgb), 0.1);
        color: #bfdbfe;
    }

    .wb-callout--warn {
        border: 1px solid rgba(251, 191, 36, 0.35);
        background: rgba(251, 191, 36, 0.1);
        color: #fde68a;
    }

    .wb-callout--with-icon {
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
    }

    .wb-callout__icon {
        flex: 0 0 auto;
        width: 1.125rem;
        height: 1.125rem;
        margin-top: 0.1rem;
        color: inherit;
        opacity: 0.95;
    }

    .wb-callout__icon svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .wb-callout--with-icon .wb-callout__body {
        min-width: 0;
        flex: 1 1 auto;
    }

    .wb-callout--warn .wb-text-link {
        color: #fef3c7;
    }

    .wb-callout--warn .wb-text-link:hover {
        color: #fff;
    }

    .wb-callout--upgrade {
        background: #EFF6FF;
        border: 1px solid #BFDBFE;
        color: #475569;
    }
    .wb-callout--upgrade .wb-callout__title {
        color: #1E40AF;
    }
    .wb-callout--upgrade .wb-callout__text {
        color: #475569;
        opacity: 1;
    }
    .wb-callout--upgrade .wb-callout__price,
    .wb-callout--upgrade .wb-hint {
        color: #334155;
    }
    .wb-callout__actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1rem;
        margin: 0.75rem 0 0;
    }
    .wb-callout__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.25rem;
        padding: 0.4rem 0.9rem;
        border-radius: 0.5rem;
        font-weight: 650;
        font-size: 0.875rem;
        line-height: 1.2;
        text-decoration: none;
    }
    .wb-callout__btn--primary {
        background: #2563EB;
        color: #fff;
        border: 1px solid #2563EB;
    }
    .wb-callout__btn--primary:hover {
        background: #1D4ED8;
        border-color: #1D4ED8;
        color: #fff;
    }
    .wb-callout__btn--ghost {
        background: transparent;
        color: #1D4ED8;
        border: 0;
        padding-left: 0;
        padding-right: 0;
        min-height: 0;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 0.15em;
    }
    .wb-callout__btn--ghost:hover {
        color: #1E3A8A;
    }

    .wb-callout--muted {
        border: 1px solid var(--wb-border);
        background: rgba(255, 255, 255, 0.04);
        color: var(--wb-text-muted);
    }

    .wb-callout__title {
        font-weight: 700;
        font-size: var(--wb-type-body-size);
        margin: 0 0 0.25rem;
    }

    .wb-callout__text {
        font-size: var(--wb-type-meta-size);
        margin: 0;
        opacity: 0.92;
        white-space: pre-line;
    }

    [data-wb-demo-listing-note] .wb-callout__text {
        font-size: 15px;
        line-height: 1.45;
    }

    .wb-callout__text--lines {
        white-space: normal;
    }

    .wb-callout > .wb-callout__price,
    .wb-callout > .wb-callout__compare {
        margin: 0.35rem 0 0;
        font-size: var(--wb-type-meta-size);
        line-height: 1.45;
    }

    .wb-install-callout {
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0 0;
        padding: 12px;
        background: rgba(59, 130, 246, 0.12);
        border: 1px solid rgba(59, 130, 246, 0.7);
        border-left: 3px solid #3B82F6;
        border-radius: 8px;
        box-shadow: none;
        min-width: 0;
    }

    .wb-install-callout__icon {
        flex: 0 0 auto;
        width: 1.125rem;
        height: 1.125rem;
        margin-top: 0.1rem;
        color: #bfdbfe;
    }

    .wb-install-callout__icon svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .wb-install-callout__content {
        flex: 1 1 auto;
        min-width: 0;
    }

    .wb-install-callout__title {
        margin: 0;
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.35;
        color: #bfdbfe;
    }

    .wb-install-callout__text {
        margin: 0.25rem 0 0;
        font-size: 0.8125rem;
        font-weight: 400;
        line-height: 1.45;
        color: #cbd5e1;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .wb-install-callout__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 0.625rem;
        padding: 0.375rem 0.75rem;
        min-height: 2rem;
        border: 1px solid #3B82F6;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.06);
        color: #bfdbfe;
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
        box-shadow: none;
    }

    .wb-install-callout__btn:hover {
        background: rgba(59, 130, 246, 0.18);
        color: #bfdbfe;
    }

    .wb-install-callout__btn:focus-visible {
        outline: 2px solid #3B82F6;
        outline-offset: 2px;
    }

    @media (max-width: 640px) {
        .wb-install-callout__btn {
            width: 100%;
        }
    }

    .wb-customize-lock-banner {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .wb-customize-panel {
        --wb-customize-section-gap: var(--wb-accordion-gap);
        --wb-element-row-height: 48px;
        display: flex;
        flex-direction: column;
        gap: var(--wb-customize-section-gap);
    }

    .wb-customize-panel .wb-collapse__copy {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .wb-customize-panel .wb-collapse__copy-title {
        display: block;
    }

    .wb-customize-panel .wb-collapse__copy-desc {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.35;
        color: var(--wb-panel-sub-color);
    }

    .wb-customize-panel .wb-customize-style-accordions > .wb-customize-style-accordion > .wb-collapse__summary,
    .wb-customize-panel .wb-customize-style-accordions > [data-wb-content-review-photos] > .wb-customize-style-accordion > .wb-collapse__summary {
        min-height: 47px;
        align-items: center;
    }

    .wb-customize-panel .wb-customize-style-accordion[open] > .wb-collapse__summary .wb-collapse__copy-desc {
        color: #bdcde5;
        font-weight: 400;
    }

    .wb-customize-panel .wb-collapse__body--elements {
        padding: 5px 8px 6px;
        gap: 0;
        background: var(--wb-nested-accordion-bg);
    }

    .wb-element-rows {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .wb-element-row {
        position: relative;
        border-bottom: 1px solid var(--wb-border-subtle);
        min-width: 0;
    }

    .wb-element-row:last-child {
        border-bottom: 0;
    }

    .wb-customize-panel .wb-element.wb-collapse--nested,
    .wb-customize-panel .wb-collapse .wb-element {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .wb-customize-panel .wb-element[open] {
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .wb-customize-panel .wb-element > .wb-collapse__summary {
        min-height: var(--wb-element-row-height);
        padding: 13px 87px 13px 8px;
    }

    .wb-customize-panel .wb-element-row--plain .wb-element > .wb-collapse__summary {
        padding-right: 36px;
    }

    .wb-customize-panel .wb-element:not([open]) > .wb-collapse__summary:hover {
        background: transparent;
    }

    .wb-element-static {
        display: flex;
        align-items: center;
        gap: 7px;
        min-height: var(--wb-element-row-height);
        padding: 13px 80px 13px 8px;
        font-size: var(--wb-type-accordion-size);
        font-weight: var(--wb-type-accordion-weight);
        letter-spacing: var(--wb-type-accordion-tracking);
        line-height: var(--wb-type-accordion-line);
        color: var(--wb-nested-label-color);
    }

    .wb-element-row--plain .wb-element-static {
        padding-right: 12px;
    }

    .wb-element-title {
        display: block;
        min-width: 0;
        font-size: 13px;
        font-weight: normal;
    }

    .wb-element-row:has(.wb-toggle__input:not(:checked)) .wb-element-title {
        color: var(--wb-text-muted);
    }

    .wb-element-row:has(.wb-element[open]) {
        background: var(--wb-nested-accordion-bg-open);
        border-radius: 5px;
        border-bottom-color: var(--wb-nested-accordion-heading-rule);
        margin: 3px 0;
    }

    .wb-customize-panel .wb-element[open] > .wb-collapse__summary .wb-element-title {
        color: #fff;
    }

    .wb-element-row--has-switch {
        min-height: var(--wb-element-row-height);
        isolation: isolate;
        z-index: 0;
    }

    /* Hidden nested details collapse the row to 0; the absolute 44×44 switch then
       overlaps the next row (Grid Star rating vs Review count). Keep the hit box. */
    .wb-element-row--has-switch:not(:has(> .wb-element[open]:not(.hidden))) {
        overflow: hidden;
    }

    .wb-element-row--has-switch > .wb-element {
        position: relative;
        z-index: 0;
    }

    .wb-element-row--has-switch > .wb-element > .wb-collapse__summary::after {
        pointer-events: none;
    }

    .wb-element-row__switches {
        position: absolute;
        top: calc(var(--wb-element-row-height) / 2 - 22px);
        right: 26px;
        z-index: 2;
        isolation: isolate;
        width: 44px;
        height: 44px;
        max-height: var(--wb-element-row-height);
        pointer-events: auto;
    }

    /* Empty layout metadata is not "every family". Those switches share this
       44px hit box, so an empty allow-list must not stay interactive. */
    .wb-element-row__switches > .wb-feed-visibility-family[data-wb-layout-show=""],
    .wb-element-row__switches > .wb-feed-visibility-family.hidden {
        display: none !important;
        pointer-events: none !important;
    }
    .wb-element-row__switches > .wb-feed-visibility-family[data-wb-layout-show=""] input,
    .wb-element-row__switches > .wb-feed-visibility-family.hidden input {
        pointer-events: none !important;
    }

    .wb-element-row__switches .wb-toggle--switch-only {
        position: absolute;
        inset: 0;
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        margin: 0;
        justify-content: center;
        gap: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .wb-element-row__switches .wb-toggle--switch-only > input[type="hidden"] {
        position: absolute;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
    }

    .wb-element-row__switches .wb-toggle--switch-only:hover,
    .wb-element-row__switches .wb-toggle--switch-only:has(.wb-toggle__input:focus-visible) {
        background: transparent;
        box-shadow: none;
    }

    .wb-element-row__switches .wb-toggle--switch-only:has(.wb-toggle__input:focus-visible) .wb-toggle__track {
        outline: 2px solid var(--wb-accordion-accent);
        outline-offset: 2px;
    }

    .wb-toggle--switch-only .wb-toggle__input,
    .wb-element-row__switches .wb-toggle--switch-only .wb-toggle__input {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        clip: auto !important;
        clip-path: none !important;
        overflow: visible;
        opacity: 0;
        cursor: pointer;
        z-index: 4;
        pointer-events: auto !important;
        appearance: none;
        -webkit-appearance: none;
    }

    .wb-toggle--switch-only .wb-toggle__track,
    .wb-element-row__switches .wb-toggle--switch-only .wb-toggle__track {
        pointer-events: none !important;
        position: relative;
        z-index: 1;
    }

    .wb-customize-advanced {
        margin-top: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .wb-customize-advanced > .wb-collapse__summary {
        min-height: 47px;
        padding-left: 0;
        padding-right: 0;
        color: var(--wb-text-muted);
        background: transparent;
        border: 0;
        font-size: var(--wb-type-accordion-size);
        font-weight: var(--wb-type-accordion-weight);
        letter-spacing: var(--wb-type-accordion-tracking);
        line-height: var(--wb-type-accordion-line);
    }

    .wb-customize-advanced:not([open]) > .wb-collapse__summary:hover {
        background: transparent;
        color: var(--wb-text);
    }

    .wb-customize-advanced[open] > .wb-collapse__summary {
        background: transparent;
        color: var(--wb-text);
        font-weight: 600;
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-customize-advanced[open] > .wb-collapse__summary::before {
        display: none;
        content: none;
    }

    .wb-customize-advanced > .wb-collapse__body {
        padding: 0.75rem 0 0;
        background: transparent;
    }

    .wb-customize-panel > .wb-collapse,
    .wb-customize-panel > .wb-customize-custom-css {
        margin-top: 0;
    }

    .wb-settings-panel .wb-settings-field-block + .wb-settings-field-block {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
        border-top: 1px solid var(--wb-border-subtle);
    }

    .wb-settings-panel .wb-settings-field-block > .wb-label {
        margin: 0 0 0.35rem;
    }

    .wb-settings-panel .wb-settings-field-block > .wb-hint {
        margin: 0 0 0.65rem;
        display: block;
    }

    .wb-settings-panel .wb-settings-switches {
        display: flex;
        flex-direction: column;
        gap: var(--wb-customize-section-gap);
    }

    .wb-settings-switch {
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
        overflow: hidden;
    }

    .wb-settings-switch .wb-toggle--row {
        min-height: var(--wb-standalone-min-height);
        align-items: center;
        padding: var(--wb-standalone-pad-y) var(--wb-standalone-pad-x);
        gap: 10px;
    }

    .wb-settings-switch .wb-toggle--row:hover {
        background: transparent;
    }

    .wb-settings-switch .wb-toggle__label {
        font-size: var(--wb-standalone-title-size);
        font-weight: var(--wb-standalone-title-weight);
        letter-spacing: 0;
        line-height: var(--wb-standalone-title-line);
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.35rem;
        color: var(--wb-text);
    }

    .wb-settings-switch .wb-toggle__hint {
        font-size: 12px;
    }

    .wb-settings-switch .wb-toggle:has(.wb-toggle__input:focus-visible) {
        box-shadow: none;
    }

    .wb-settings-switch .wb-toggle:has(.wb-toggle__input:focus-visible) .wb-toggle__track {
        outline: 2px solid var(--wb-accordion-accent);
        outline-offset: 2px;
    }

    /* Locked Customize / AI Summary: accordions stay openable; only controls are non-interactive. */
    .wb-customize-panel--locked .wb-collapse__summary,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__summary {
        cursor: pointer;
    }

    .wb-customize-panel--locked .wb-collapse__body,
    .wb-customize-panel--locked .wb-style-reset-footer,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__body {
        cursor: not-allowed;
        opacity: 0.72;
    }

    .wb-customize-panel--locked .wb-collapse__body *,
    .wb-customize-panel--locked .wb-style-reset-footer *,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__body * {
        pointer-events: none !important;
        cursor: not-allowed !important;
        user-select: none;
    }

    /* Nested accordion headers remain expandable so locked users can browse options. */
    .wb-customize-panel--locked .wb-collapse__body summary,
    .wb-customize-panel--locked .wb-collapse__body summary *,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__body summary,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__body summary * {
        pointer-events: auto !important;
        cursor: pointer !important;
        user-select: auto;
    }

    .wb-customize-panel--locked input:disabled,
    .wb-customize-panel--locked textarea:disabled,
    .wb-customize-panel--locked select:disabled,
    .wb-customize-panel--locked button:disabled,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls input:disabled,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls textarea:disabled,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls select:disabled,
    .wb-ai-summary-stack--locked .wb-ai-summary-controls button:disabled {
        cursor: not-allowed !important;
    }

    /* Higher specificity than dashboard/modal .grw-embed-code light styles. */
    .wb-panel .wb-embed-code-wrap.grw-embed-code-wrap,
    .wb-settings-embed .wb-embed-code-wrap {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0.5625rem;
        border-radius: 0.75rem;
        overflow: visible;
        border: 1px solid var(--wb-border);
        background: var(--wb-panel-bg-input);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
    }

    .wb-panel .wb-embed-code.grw-embed-code,
    .wb-settings-embed .wb-embed-code {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        padding: 0.5rem 0.5rem;
        padding-right: 0.5rem;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.75rem;
        line-height: 1.5;
        color: #cbd5e1;
        background: transparent;
        overflow-x: hidden;
        overflow-y: auto;
        white-space: pre-wrap;
        word-break: break-word;
        overflow-wrap: anywhere;
        min-height: 5.5rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.18) rgba(15, 23, 42, 0.55);
    }

    .wb-panel .wb-embed-code.grw-embed-code::-webkit-scrollbar,
    .wb-settings-embed .wb-embed-code::-webkit-scrollbar {
        height: 6px;
        width: 6px;
    }

    .wb-panel .wb-embed-code.grw-embed-code::-webkit-scrollbar-track,
    .wb-settings-embed .wb-embed-code::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.55);
        border-radius: 999px;
    }

    .wb-panel .wb-embed-code.grw-embed-code::-webkit-scrollbar-thumb,
    .wb-settings-embed .wb-embed-code::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
        border-radius: 999px;
    }

    .wb-panel .wb-embed-code.grw-embed-code::-webkit-scrollbar-thumb:hover,
    .wb-settings-embed .wb-embed-code::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.28);
    }

    .wb-panel .wb-embed-copy-btn.grw-embed-copy-btn,
    .wb-settings-embed .wb-embed-copy-btn {
        position: static;
        z-index: 2;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.3125rem 0.5rem;
        font-family: var(--wb-font);
        font-size: 0.75rem;
        font-weight: 600;
        color: #e8eef8;
        background: var(--wb-panel-bg-surface);
        border: 1px solid var(--wb-border);
        border-radius: 0.375rem;
        box-shadow: none;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }

    .wb-panel .wb-embed-copy-btn.grw-embed-copy-btn:hover:not(:disabled),
    .wb-settings-embed .wb-embed-copy-btn:hover:not(:disabled) {
        color: #f8fafc;
        background: rgba(30, 58, 138, 0.55);
        border-color: rgba(37, 99, 235, 0.7);
    }

    .wb-panel .wb-embed-copy-btn.grw-embed-copy-btn.is-copied,
    .wb-settings-embed .wb-embed-copy-btn.is-copied {
        color: #bfdbfe;
        background: rgba(30, 58, 138, 0.65);
        border-color: rgba(37, 99, 235, 0.75);
    }

    .wb-panel .wb-embed-copy-btn.grw-embed-copy-btn:disabled,
    .wb-settings-embed .wb-embed-copy-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .wb-settings-embed .wb-embed-code-wrap--pending {
        opacity: 0.92;
    }

    .wb-settings-embed .wb-embed-code--pending {
        user-select: none;
        -webkit-user-select: none;
        white-space: pre-wrap;
        color: #94a3b8;
        font-style: italic;
    }

    .wb-panel .wb-embed-copy-btn.grw-embed-copy-btn svg,
    .wb-settings-embed .wb-embed-copy-btn svg {
        width: 0.75rem;
        height: 0.75rem;
    }

    .wb-install-layout {
        display: flex;
        flex-direction: column;
        gap: var(--wb-accordion-gap);
    }

    .wb-install-card__body {
        padding: 13px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .wb-install-card__title {
        margin: 0;
        color: var(--wb-text);
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
    }

    .wb-install-lead {
        margin: 0;
        font-size: 13px;
        line-height: 19px;
        color: #9cabc2;
    }

    .wb-install-steps {
        margin: 0;
        padding-left: 1.4rem;
        list-style: decimal;
        color: var(--wb-text);
    }

    .wb-install-steps > li {
        display: list-item;
        padding-left: 3px;
        color: var(--wb-text);
        font-size: 15px;
        line-height: 20px;
    }

    .wb-install-steps > li::marker {
        color: var(--wb-text);
        font-size: 15px;
        font-weight: 700;
    }

    .wb-install-steps > li + li {
        margin-top: 14px;
    }

    .wb-install-steps h3 {
        margin: 0 0 4px;
        color: var(--wb-text);
        font-size: 15px;
        font-weight: 700;
        line-height: 20px;
    }

    .wb-install-steps .wb-hint {
        margin: 0;
        font-size: 13px;
        line-height: 19px;
        color: #9cabc2;
    }

    .wb-install-steps__btn {
        width: 100%;
        margin-top: 8px;
        min-height: 38px;
        font-size: 13px;
        font-weight: 600;
        line-height: 18px;
    }

    .wb-install-embed {
        margin-top: 8px;
        background: #1b2940;
        padding: 10px;
        border: 1px solid #34445f;
        border-radius: 6px;
    }

    .wb-install-embed__note,
    .wb-install-embed .wb-embed-code--pending {
        font-family: Inter, ui-sans-serif, system-ui, sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 19px;
        color: #b5c4d9;
        margin: 0 0 8px;
    }

    .wb-install-embed .wb-embed-code-wrap {
        flex-direction: column;
        gap: 8px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .wb-install-embed .wb-embed-code:not(.wb-embed-code--pending) {
        width: 100%;
        height: 140px;
        min-height: 140px;
        resize: vertical;
        background: #111b2e;
        color: #e2eaf6;
        border: 1px solid #34445f;
        border-radius: 4px;
        padding: 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .wb-install-embed__code {
        width: 100%;
        height: 140px;
        resize: vertical;
        background: #111b2e;
        border: 1px solid #34445f;
        border-radius: 4px;
        padding: 8px;
        font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        color: #e2eaf6;
    }

    .wb-install-embed .wb-embed-copy-btn,
    .wb-install-secondary {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 36px;
        padding: 8px 10px;
        border: 1px solid #485b7c;
        border-radius: 6px;
        background: #1b2940;
        color: #dce5f3;
        font: 600 13px/18px Inter, ui-sans-serif, system-ui, sans-serif;
        cursor: pointer;
    }

    .wb-install-secondary:disabled,
    .wb-install-embed .wb-embed-copy-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .wb-install-text-link {
        border: 0;
        background: none;
        color: #b8d4ff;
        padding: 5px 0;
        text-align: left;
        font-size: 13px;
        line-height: 19px;
        text-decoration: none;
    }

    .wb-install-text-link:hover {
        color: #d6e6ff;
    }

    .wb-settings-embed code,
    .wb-card__desc code {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.8125rem;
        color: #e2eaf6;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0.25rem;
        padding: 0.0625rem 0.25rem;
    }

    .wb-layout-categories {
        display: flex;
        flex-direction: column;
        gap: var(--wb-accordion-gap);
    }

    .wb-layout-search {
        position: relative;
        display: flex;
        align-items: center;
        margin: 0 0 0.625rem;
    }

    .wb-layout-search__icon {
        position: absolute;
        left: 0.625rem;
        width: 0.9375rem;
        height: 0.9375rem;
        color: var(--wb-text-dim);
        pointer-events: none;
        transition: color var(--wb-transition);
    }

    #wb-panel .wb-layout-search__input {
        width: 100%;
        height: 2.125rem;
        margin: 0;
        padding: 0 2rem 0 2rem;
        border: 1px solid var(--wb-accordion-border);
        border-radius: 0.625rem;
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
        color: var(--wb-text);
        font-family: var(--wb-font);
        font-size: 0.8125rem;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0;
        appearance: none;
        -webkit-appearance: none;
        transition: border-color var(--wb-transition), box-shadow var(--wb-transition), background var(--wb-transition);
    }

    #wb-panel .wb-layout-search__input::-webkit-search-cancel-button,
    #wb-panel .wb-layout-search__input::-webkit-search-decoration {
        -webkit-appearance: none;
    }

    #wb-panel .wb-layout-search__input::placeholder {
        color: var(--wb-placeholder, var(--wb-text-dim));
        opacity: 1;
        font-weight: 400;
    }

    #wb-panel .wb-layout-search__input:hover {
        border-color: rgba(255, 255, 255, 0.16);
    }

    #wb-panel .wb-layout-search__input:focus {
        outline: none;
        border-color: var(--wb-accordion-accent);
        box-shadow: 0 0 0 2px rgba(130, 159, 255, 0.22);
    }

    .wb-layout-search:focus-within .wb-layout-search__icon {
        color: var(--wb-accordion-accent);
    }

    #wb-panel .wb-layout-search__clear {
        position: absolute;
        right: 0.375rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.375rem;
        height: 1.375rem;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--wb-text-dim);
        cursor: pointer;
        transition: background var(--wb-transition), color var(--wb-transition);
    }

    #wb-panel .wb-layout-search__clear[hidden] {
        display: none;
    }

    #wb-panel .wb-layout-search__clear:hover,
    #wb-panel .wb-layout-search__clear:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        color: var(--wb-text);
        outline: none;
    }

    #wb-panel .wb-layout-search__clear svg {
        width: 0.75rem;
        height: 0.75rem;
    }

    #wb-panel .wb-layout-search__empty {
        margin: 0 0 0.625rem;
        padding: 0.625rem 0.75rem;
        border: 1px dashed var(--wb-accordion-border);
        border-radius: 0.625rem;
        color: var(--wb-text-dim);
        font-family: var(--wb-font);
        font-size: var(--wb-type-meta-size);
        line-height: var(--wb-type-meta-line);
        text-align: center;
    }

    #wb-panel .wb-layout-search__empty[hidden],
    .wb-layout-category.is-search-hidden,
    .wb-layout-card.is-search-hidden {
        display: none;
    }

    .wb-layout-category {
        background: var(--wb-accordion-bg);
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        padding: 0.75rem var(--wb-accordion-pad-x);
        box-shadow: var(--wb-accordion-inset);
    }

    .wb-layout-category__head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 0.625rem;
    }

    .wb-layout-category__title {
        margin: 0;
        color: var(--wb-text);
        font-size: var(--wb-accordion-title-size);
        font-weight: var(--wb-accordion-title-weight);
        letter-spacing: var(--wb-accordion-title-tracking);
        line-height: var(--wb-accordion-title-line);
    }

    .wb-layout-category__hint {
        margin: 0;
        color: var(--wb-text-dim);
        font-size: var(--wb-type-meta-size);
        font-weight: 400;
        line-height: var(--wb-type-meta-line);
    }

    .wb-layout-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .wb-layout-card {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.875rem;
        padding: 0.625rem;
        background: var(--wb-panel-bg-surface);
        cursor: pointer;
        transition: border-color var(--wb-transition), transform var(--wb-transition), box-shadow var(--wb-transition), background var(--wb-transition);
    }

    .wb-layout-card:hover {
        border-color: rgba(255, 255, 255, 0.16);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.55);
    }

    .wb-layout-card:has(.layout-radio:focus-visible) {
        outline: 2px solid var(--wb-focus-ring);
        outline-offset: 2px;
    }

    .wb-layout-card:has(.layout-radio:checked) {
        border-color: var(--wb-toggle-on-border);
        background: #121c2e;
        box-shadow: none;
    }

    .wb-layout-card:has(.layout-radio:checked) .wb-layout-card__preview {
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: none;
        background: #121c2e;
    }

    .wb-layout-card.is-locked {
        opacity: 1;
    }

    .wb-layout-card.is-locked .wb-layout-card__preview::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: rgba(15, 23, 42, 0.52);
        z-index: 2;
        pointer-events: none;
    }

    .wb-layout-card.is-locked .wb-layout-card__name,
    .wb-layout-card.is-locked .wb-layout-card__desc {
        opacity: 0.72;
    }

    /*
     * Tile / view-as-plan lock chrome stays on the card.
     * Never paint a solid ring onto the inner Compact Badge Google tracer.
     */
    .wb-layout-card.is-locked .wb-layout-card__mock .grw-google-tracer {
        border-color: transparent;
        box-shadow: none;
    }

    .wb-layout-card__mock .grw-google-tracer,
    .wb-layout-card.is-locked .wb-layout-card__mock .grw-google-tracer {
        appearance: none;
        -webkit-appearance: none;
        border: none !important;
        border-color: transparent !important;
        outline: none;
        box-shadow: none;
        background-color: transparent !important;
        background-image: linear-gradient(90deg, #4285F4 0%, #34A853 22%, #FBBC04 44%, #EA4335 66%, #4285F4 88%, #34A853 100%) !important;
        background-size: 220% 100%;
    }

    .wb-layout-card__preview {
        position: relative;
        aspect-ratio: 16 / 11;
        width: 100%;
        height: auto;
        min-height: 8.25rem;
        border-radius: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: #1e293b;
        overflow: hidden;
    }

    .wb-layout-schematic {
        position: absolute;
        inset: 0;
        display: none; /* hidden by default; JS shows it only if live preview fails */
        padding: 0.2rem;
        pointer-events: none;
    }

    /* Restore SVG fallback when JS explicitly marks it visible after a mount failure. */
    .wb-layout-schematic--visible {
        display: block !important;
    }

    .wb-layout-schematic__svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .wb-layout-card__preview-mount {
        display: none;
    }

    /* Live miniature of the real widget, mounted by GrwPreview and scaled to fit the card. */
    .wb-layout-card__mock {
        position: absolute;
        inset: 0;
        display: none;
        overflow: hidden;
        pointer-events: none;
    }

    .wb-layout-card__preview.is-live .wb-layout-card__mock {
        display: block;
        animation: wb-layout-mock-fadein 0.18s ease both;
    }

    @keyframes wb-layout-mock-fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* Schematic is hidden by default; keep this rule so future is-live additions stay clean. */
    .wb-layout-card__preview.is-live .wb-layout-schematic {
        display: none;
    }

    .wb-layout-card__stage {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        transform-origin: center center;
        display: block;
        text-align: center;
    }

    .wb-layout-card__target {
        display: block;
    }

    /* Let the real widget render at its natural width inside the scaled stage. */
    .wb-layout-card__mock .grw-mock.max-w-2xl,
    .wb-layout-card__mock .grw-mock.max-w-xl,
    .wb-layout-card__mock .grw-mock.max-w-lg,
    .wb-layout-card__mock .grw-mock.max-w-3xl,
    .wb-layout-card__mock .grw-mock.max-w-md,
    .wb-layout-card__mock .grw-mock.max-w-sm {
        max-width: none;
    }

    .wb-layout-card__mock .grw-badge,
    .wb-layout-card__mock .grw-mock.grw-badge,
    .wb-layout-card__mock .grw-pill-chip.grw-sticker {
        width: max-content;
        max-width: none;
    }

    .wb-layout-card__mock .grw-badge .grw-badge-count {
        white-space: nowrap;
    }

    /* Carousel / slider navigation lives just outside the card edge — keep it visible. */
    .wb-layout-card__mock .grw-preview-carousel.grw-mock,
    .wb-layout-card__mock .grw-preview-showcase.grw-mock {
        overflow: visible;
    }

    .wb-mini-list,
    .wb-mini-grid,
    .wb-mini-masonry,
    .wb-mini-carousel,
    .wb-mini-slider,
    .wb-mini-badge-card,
    .wb-mini-badge-compact,
    .wb-mini-badge-inline,
    .wb-mini-badge-cta,
    .wb-mini-badge-request,
    .wb-mini-sticker-circle,
    .wb-mini-sticker-bold,
    .wb-mini-sticker-oval,
    .wb-mini-sticker-tag,
    .wb-mini-sticker-achievement,
    .wb-mini-sticker-ribbon,
    .wb-mini-sticker-pill {
        position: relative;
        width: 100%;
        height: 100%;
        display: block;
    }

    .wb-mini-list span {
        display: block;
        height: 0.35rem;
        border-radius: 0.25rem;
        background: #cbd5e1;
        margin-bottom: 0.18rem;
    }
    .wb-mini-list span:nth-child(1) {
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        border: 1px solid rgba(15, 23, 42, 0.08);
        width: 65%;
    }
    .wb-mini-list span:nth-child(2) {
        width: 100%;
    }
    .wb-mini-list span:nth-child(3) {
        width: 84%;
        margin-bottom: 0;
    }

    .wb-mini-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.2rem;
        padding-top: 0.38rem;
    }
    .wb-mini-grid::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 0.28rem;
        border-radius: 0.25rem;
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }
    .wb-mini-grid span {
        border-radius: 0.2rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }
    .wb-mini-grid span:nth-child(1),
    .wb-mini-grid span:nth-child(3) {
        background: #f1f5f9;
    }
    .wb-mini-grid span:nth-child(2),
    .wb-mini-grid span:nth-child(4) {
        background: #ffffff;
    }

    .wb-mini-masonry {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.18rem;
    }
    .wb-mini-masonry span {
        border-radius: 0.2rem;
        background: #cbd5e1;
    }
    .wb-mini-masonry span:nth-child(1) { height: 100%; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border: 1px solid rgba(15, 23, 42, 0.08); }
    .wb-mini-masonry span:nth-child(2) { height: 62%; background: #f1f5f9; border: 1px solid rgba(15, 23, 42, 0.08); }
    .wb-mini-masonry span:nth-child(3) { height: 82%; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.08); }
    .wb-mini-masonry span:nth-child(4) { position: absolute; right: 0; width: 31%; height: 52%; bottom: 0; background: #f8fafc; border: 1px solid rgba(15, 23, 42, 0.08); }

    .wb-mini-carousel {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.2rem;
    }
    .wb-mini-carousel span {
        border-radius: 0.25rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }
    .wb-mini-carousel span:nth-child(2) {
        transform: scale(1.03);
        box-shadow: 0 2px 6px -4px rgba(15, 23, 42, 0.18);
    }

    .wb-mini-slider {
        padding-top: 0.38rem;
    }
    .wb-mini-slider::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 0.28rem;
        border-radius: 0.25rem;
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }
    .wb-mini-slider span {
        position: absolute;
        bottom: 0;
        width: 30%;
        height: 0.9rem;
        border-radius: 0.22rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }
    .wb-mini-slider span:nth-child(1) { left: 0; }
    .wb-mini-slider span:nth-child(2) { left: 35%; }
    .wb-mini-slider span:nth-child(3) { right: 0; }

    .wb-mini-badge-card {
        border-radius: 0.35rem;
        border: 1px solid #cbd5e1;
        background: #fff;
        box-shadow: inset 0 -10px 0 #f8fafc;
        padding: 0.22rem;
    }
    .wb-mini-badge-card span:nth-child(1) {
        display: block;
        width: 44%;
        height: 0.28rem;
        border-radius: 0.2rem;
        background: #0f172a;
    }
    .wb-mini-badge-card span:nth-child(2) {
        display: block;
        width: 58%;
        height: 0.28rem;
        margin-top: 0.14rem;
        border-radius: 0.2rem;
        background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    }
    .wb-mini-badge-card span:nth-child(3) {
        display: block;
        width: 85%;
        height: 0.22rem;
        margin-top: 0.16rem;
        border-radius: 0.2rem;
        background: #cbd5e1;
    }

    .wb-mini-badge-compact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.14rem;
        border-radius: 999px;
        border: 1px solid #cbd5e1;
        background: #ffffff;
        padding: 0.12rem 0.22rem;
    }
    .wb-mini-badge-compact > span:nth-child(1) {
        font-size: 0.18rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #1a237e;
        line-height: 1;
    }
    .wb-mini-badge-compact > span:nth-child(2) {
        display: flex;
        align-items: center;
        gap: 0.12rem;
    }
    .wb-mini-badge-compact > span:nth-child(2) span:nth-child(1) {
        width: 0.34rem;
        height: 0.18rem;
        border-radius: 0.12rem;
        background: #0f172a;
    }
    .wb-mini-badge-compact > span:nth-child(2) span:nth-child(2) {
        width: 0.52rem;
        height: 0.14rem;
        border-radius: 0.12rem;
        background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    }
    .wb-mini-badge-compact > span:nth-child(2) span:nth-child(3) {
        width: 0.28rem;
        height: 0.12rem;
        border-radius: 0.12rem;
        background: #94a3b8;
    }

    .wb-mini-badge-inline {
        display: flex;
        align-items: center;
        gap: 0.14rem;
        border-radius: 0.35rem;
        border: 1px solid #cbd5e1;
        background: #fff;
        padding: 0.14rem 0.18rem;
        box-shadow: 0 2px 5px -4px rgba(15, 23, 42, 0.2);
    }
    .wb-mini-badge-inline span:nth-child(1) {
        width: 0.32rem;
        height: 0.32rem;
        border-radius: 999px;
        background: conic-gradient(from 212deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75% 100%);
        flex-shrink: 0;
    }
    .wb-mini-badge-inline span:nth-child(2) {
        width: 0.42rem;
        height: 0.14rem;
        border-radius: 0.12rem;
        background: #1a73e8;
        flex-shrink: 0;
    }
    .wb-mini-badge-inline span:nth-child(3) {
        flex: 1;
        height: 0.2rem;
        border-radius: 0.12rem;
        background: linear-gradient(90deg, #334155 0%, #f59e0b 55%, #cbd5e1 100%);
    }

    .wb-mini-badge-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.2rem;
    }
    .wb-mini-badge-cta span {
        border-radius: 0.25rem;
        text-align: center;
        border: 1px solid transparent;
    }
    .wb-mini-badge-cta span:nth-child(1) {
        background: #1d4ed8;
        border-color: #1e40af;
    }
    .wb-mini-badge-cta span:nth-child(2) {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

    .wb-mini-badge-request {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
        border: 1px solid #ea580c;
    }
    .wb-mini-badge-request span {
        width: 62%;
        height: 0.2rem;
        border-radius: 0.2rem;
        background: rgba(255, 255, 255, 0.85);
    }

    .wb-mini-sticker-circle {
        width: 2rem;
        height: 2rem;
        margin: 0 auto;
        border-radius: 999px;
        background: conic-gradient(from 212deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75% 100%);
        padding: 0.13rem;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 8px -6px rgba(15, 23, 42, 0.45);
    }
    .wb-mini-sticker-circle span {
        position: relative;
        z-index: 2;
        line-height: 1;
    }
    .wb-mini-sticker-circle span:nth-child(1) {
        position: absolute;
        inset: 0.25rem;
        border-radius: 999px;
        background: #fff;
        z-index: 1;
    }
    .wb-mini-sticker-circle span:nth-child(2) {
        font-size: 0.42rem;
        font-weight: 900;
        color: #0f172a;
    }
    .wb-mini-sticker-circle span:nth-child(3) {
        margin-top: 0.03rem;
        font-size: 0.24rem;
        font-weight: 800;
        color: #1a73e8;
    }

    .wb-mini-sticker-bold {
        width: 1.95rem;
        height: 1.95rem;
        margin: 0 auto;
        border-radius: 999px;
        background: radial-gradient(circle at 34% 22%, #5b9aff 0%, #1a73e8 48%, #1256b8 100%);
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.02rem;
        padding: 0.14rem 0.1rem 0.1rem;
        box-shadow: 0 4px 10px -6px rgba(21, 87, 176, 0.8);
        position: relative;
    }
    .wb-mini-sticker-bold__label {
        font-size: 0.14rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        line-height: 1;
        opacity: 0.94;
    }
    .wb-mini-sticker-bold span:nth-child(2) {
        font-size: 0.38rem;
        font-weight: 900;
        line-height: 1;
    }
    .wb-mini-sticker-bold span:nth-child(3) {
        font-size: 0.2rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        color: #fde68a;
    }
    .wb-mini-sticker-bold__g {
        width: 0.32rem;
        height: 0.32rem;
        border-radius: 999px;
        background: #fff;
        flex-shrink: 0;
        margin-top: 0.03rem;
    }

    .wb-mini-sticker-tag {
        width: 1.62rem;
        height: 2rem;
        margin: 0 auto;
        border-radius: 0.42rem;
        border: 1px solid #d7e3ff;
        overflow: hidden;
        background: #fff;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 8px -6px rgba(15, 23, 42, 0.45);
    }
    .wb-mini-sticker-tag span {
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
    }
    .wb-mini-sticker-tag span:nth-child(1) {
        height: 0.56rem;
        font-size: 0.2rem;
        font-weight: 800;
        color: #fff;
        background: linear-gradient(180deg, #4285f4 0%, #1a73e8 100%);
    }
    .wb-mini-sticker-tag span:nth-child(2) {
        margin-top: 0.15rem;
        font-size: 0.43rem;
        font-weight: 900;
        color: #1a73e8;
    }
    .wb-mini-sticker-tag span:nth-child(3) {
        margin-top: 0.08rem;
        font-size: 0.27rem;
        font-weight: 800;
        color: #64748b;
    }

    .wb-mini-sticker-oval {
        min-width: 2.1rem;
        height: 1.45rem;
        margin: 0.25rem auto 0;
        border-radius: 999px;
        padding: 0 0.44rem;
        background: radial-gradient(ellipse at 35% 25%, #5ca0ff 0%, #1a73e8 58%, #1c4ea3 100%);
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px -6px rgba(22, 78, 163, 0.78);
    }
    .wb-mini-sticker-oval span:nth-child(1) {
        font-size: 0.42rem;
        font-weight: 900;
        line-height: 1;
    }
    .wb-mini-sticker-oval span:nth-child(2) {
        margin-top: 0.05rem;
        font-size: 0.23rem;
        font-weight: 800;
        line-height: 1;
    }

    .wb-mini-sticker-achievement {
        width: 2rem;
        height: 2.3rem;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0.05rem;
        align-items: center;
        justify-content: center;
        padding: 0.42rem 0.2rem 0.28rem;
        box-sizing: border-box;
        background: transparent;
    }
    .wb-mini-sticker-achievement::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 184 212'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='18%25' y1='0%25' x2='82%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23fff7d6'/%3E%3Cstop offset='50%25' stop-color='%23f9e27d'/%3E%3Cstop offset='100%25' stop-color='%23c9a227'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='50%25' y1='0%25' x2='50%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23fff'/%3E%3Cstop offset='100%25' stop-color='%23e3edfa'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23r)' d='M92 3 L114 27 L158 40 L158 86 C158 124 130 168 92 206 C54 168 26 124 26 86 L26 40 L70 27 Z'/%3E%3Cpath fill='url(%23f)' d='M92 12 L108 28 L148 38 L148 84 C148 118 124 158 92 192 C60 158 36 118 36 84 L36 38 L76 28 Z'/%3E%3Cpath fill='%231a73e8' d='M48 44 H136 Q142 44 142 50 V58 Q142 64 136 64 H48 Q42 64 42 58 V50 Q42 44 48 44 Z'/%3E%3C/svg%3E") center / contain no-repeat;
        filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.18));
        z-index: 0;
    }
    .wb-mini-sticker-achievement span {
        display: block;
        line-height: 1;
        text-align: center;
        position: relative;
        z-index: 1;
    }
    .wb-mini-sticker-achievement span {
        position: relative;
        z-index: 1;
    }
    .wb-mini-sticker-achievement span:nth-child(1) {
        font-size: 0.4rem;
        font-weight: 900;
        color: #0f172a;
    }
    .wb-mini-sticker-achievement span:nth-child(2) {
        margin-top: 0.07rem;
        font-size: 0.22rem;
        font-weight: 800;
        color: #eab308;
    }

    .wb-mini-sticker-ribbon {
        display: flex;
        align-items: center;
        gap: 0.14rem;
        width: 2.5rem;
        height: 0.78rem;
        margin: 0.28rem auto 0;
        padding: 0.1rem 0.16rem 0.1rem 0;
        border-radius: 0.34rem;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 3px 8px -5px rgba(15, 23, 42, 0.28);
        overflow: hidden;
    }
    .wb-mini-sticker-ribbon span:nth-child(1) {
        width: 0.1rem;
        align-self: stretch;
        flex-shrink: 0;
        border-radius: 0.34rem 0 0 0.34rem;
        background: linear-gradient(180deg, #5ca0ff 0%, #1a73e8 100%);
    }
    .wb-mini-sticker-ribbon span:nth-child(2) {
        font-size: 0.3rem;
        font-weight: 900;
        color: #0f172a;
        line-height: 1;
    }
    .wb-mini-sticker-ribbon span:nth-child(3) {
        font-size: 0.16rem;
        font-weight: 800;
        color: #d97706;
        line-height: 1;
    }

    .wb-mini-sticker-pill {
        display: flex;
        align-items: center;
        gap: 0.2rem;
        width: 2.4rem;
        height: 0.72rem;
        margin: 0 auto;
        padding: 0.1rem 0.18rem 0.1rem 0.12rem;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #d7e3ff;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
    }
    .wb-mini-sticker-pill span:nth-child(1) {
        width: 0.34rem;
        height: 0.34rem;
        border-radius: 999px;
        background: conic-gradient(from 212deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75% 100%);
        flex-shrink: 0;
    }
    .wb-mini-sticker-pill span:nth-child(2) {
        font-size: 0.28rem;
        font-weight: 900;
        color: #0f172a;
        line-height: 1;
    }
    .wb-mini-sticker-pill span:nth-child(3) {
        font-size: 0.16rem;
        font-weight: 800;
        color: #1a73e8;
        line-height: 1;
    }

    .wb-layout-card:has(.layout-radio:checked) .wb-layout-card__name {
        color: #ffffff;
    }

    .wb-layout-card__tone {
        display: none;
    }

    .wb-layout-card__name {
        display: block;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        color: #e8eef8;
        line-height: 1.2;
        text-align: center;
        padding-bottom: 0.125rem;
    }

    .wb-layout-card__desc {
        display: none;
    }

    .wb-layout-card__badge,
    .wb-layout-card__variant-badge {
        position: absolute;
        top: 0.3rem;
        left: 0.3rem;
        font-size: 0.52rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        border-radius: 999px;
        padding: 0.1rem 0.35rem;
    }

    .wb-layout-card__badge {
        left: auto;
        right: 0.3rem;
        z-index: 3; /* above locked preview overlay (::after z-index: 2) */
        color: #b45309;
        background: #fffbeb;
        border: 1px solid #fde68a;
    }

    .wb-layout-card__variant-badge {
        color: #c7d2fe;
        background: rgba(49, 46, 129, 0.45);
        border: 1px solid rgba(165, 180, 252, 0.45);
    }

    .wb-segment {
        display: flex;
        border: 1px solid var(--wb-border);
        border-radius: 0.6875rem;
        padding: 0.1875rem;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
    }

    .wb-page .wb-shell .wb-panel .wb-segment label {
        flex: 1;
        text-align: center;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        padding: 0.4375rem 0.5rem;
        border-radius: 0.5rem;
        cursor: pointer;
        color: var(--wb-segment-text);
        transition: background var(--wb-transition), color var(--wb-transition), box-shadow var(--wb-transition);
    }

    .wb-page .wb-shell .wb-panel .wb-segment label:has(input:checked) {
        background: var(--grw-premium-active-bg);
        color: var(--wb-selection-text);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.28), inset 0 0 0 1px var(--grw-premium-active-border);
    }

    .wb-segment label:has(input:focus-visible) {
        outline: 2px solid var(--wb-focus-ring);
        outline-offset: 1px;
    }

    .wb-segment input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    /* Stacked option cards (e.g. Review panel style: website default vs custom) */
    .wb-segment.wb-segment--stack {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3125rem;
        padding: 0.3125rem;
    }

    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack label,
    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack .wb-segment__option {
        display: flex;
        align-items: flex-start;
        text-align: left;
        padding: 0.625rem 0.75rem;
        gap: 0.5rem;
    }

    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack .wb-segment__option.is-disabled,
    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack label:has(input:disabled) {
        opacity: 0.55;
        cursor: not-allowed;
        pointer-events: none;
    }

    /* Stacked segment hints: readable light copy on dark unselected cards */
    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack .wb-hint,
    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack .wb-hint strong {
        color: #e2e8f0;
    }

    /* Selected stack option: light blue text, same as the other selected controls. */
    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack label:has(input:checked),
    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack label:has(input:checked) strong {
        color: var(--wb-selection-text);
    }

    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack label:has(input:checked) .wb-hint,
    .wb-page .wb-shell .wb-panel .wb-segment.wb-segment--stack label:has(input:checked) .wb-hint strong {
        color: #bfdbfe;
    }

    /* Visual option cards (star size, review count, rating label, etc.) */
    .wb-visual-options__grid {
        display: grid;
        gap: 0.5rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-field-grid--full {
        grid-column: 1 / -1;
    }

    .wb-sticker-gradient-presets {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
        margin-top: 0.35rem;
    }

    .wb-sticker-gradient-preset {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 0.35rem 0.25rem 0.4rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.55rem;
        background: rgba(15, 23, 42, 0.72);
        cursor: pointer;
        transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    }

    .wb-sticker-gradient-preset:hover {
        border-color: rgba(37, 99, 235, 0.8);
        box-shadow: 0 2px 8px -4px var(--wb-selection-glow);
    }

    .wb-sticker-gradient-preset:focus-visible {
        outline: 2px solid var(--wb-selection);
        outline-offset: 2px;
    }

    .wb-sticker-gradient-preset.is-selected {
        border-color: var(--wb-selection);
        box-shadow: 0 0 0 1px var(--wb-selection);
    }

    .wb-sticker-gradient-preset__swatch {
        display: block;
        width: 100%;
        height: 1.35rem;
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    }

    .wb-sticker-gradient-preset__label {
        font-size: 0.62rem;
        font-weight: 600;
        line-height: 1.15;
        text-align: center;
        color: var(--wb-text-muted, #94a3b8);
    }

    @media (max-width: 640px) {
        .wb-sticker-gradient-presets {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    .wb-visual-options__grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-visual-options__grid--1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .wb-width-custom {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.25rem;
    }

    .wb-width-custom__number {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .wb-width-custom__units {
        display: inline-flex;
        border: 1px solid var(--wb-border);
        border-radius: 0.6875rem;
        padding: 0.1875rem;
        gap: 0.125rem;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
    }

    .wb-width-custom__unit {
        appearance: none;
        background: transparent;
        border: 0;
        margin: 0;
        padding: 0.4375rem 0.7rem;
        font: inherit;
        font-size: 0.78125rem;
        font-weight: 600;
        color: var(--wb-segment-text);
        cursor: pointer;
        border-radius: 0.5rem;
        transition: background var(--wb-transition), color var(--wb-transition), box-shadow var(--wb-transition);
    }

    .wb-width-custom__unit:hover {
        color: var(--wb-text);
    }

    .wb-width-custom__unit.is-selected {
        background: var(--grw-premium-active-bg);
        color: var(--wb-selection-text);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.28), inset 0 0 0 1px var(--grw-premium-active-border);
    }

    #wb-widget-width-group .wb-visual-option,
    #wb-widget-align-group .wb-visual-option {
        gap: 0.55rem;
    }

    #wb-widget-width-group .wb-visual-option.is-selected::after,
    #wb-widget-align-group .wb-visual-option.is-selected::after {
        content: none;
    }

    #wb-widget-width-group .wb-visual-option__preview {
        min-height: 2.75rem;
    }

    #wb-widget-width-group .wb-visual-option__sample,
    #wb-widget-width-group .wb-visual-option__measure-value {
        font-size: 0.8125rem;
        font-weight: 600;
    }

    .wb-visual-option__measure {
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 0;
        color: var(--wb-preview-text, #e2e8f0);
    }

    .wb-visual-option__measure-cap {
        flex: 0 0 1px;
        width: 1px;
        height: 10px;
        background: currentColor;
    }

    .wb-visual-option__measure-rule {
        flex: 1 1 auto;
        height: 1px;
        min-width: 0.5rem;
        background: currentColor;
    }

    .wb-visual-option__measure-value {
        flex: 0 1 auto;
        min-width: 0;
        padding: 0 0.3rem;
        line-height: 1.2;
        letter-spacing: -0.01em;
        white-space: nowrap;
    }

    .wb-visual-option__align-lines {
        display: none;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 1.35rem;
        color: currentColor;
    }

    .wb-visual-option__align-lines span {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 1px;
        background: currentColor;
    }

    .wb-visual-option__align-lines--left {
        align-items: flex-start;
    }

    .wb-visual-option__align-lines--center {
        align-items: center;
    }

    .wb-visual-option__align-lines--right {
        align-items: flex-end;
    }

    .wb-visual-option__align-lines--left span:nth-child(2),
    .wb-visual-option__align-lines--center span:nth-child(2),
    .wb-visual-option__align-lines--right span:nth-child(2) {
        width: 68%;
    }

    #wb-widget-align-group .wb-visual-option {
        align-items: center;
    }

    #wb-widget-align-group .wb-visual-option__preview {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 2.6rem;
        padding: 0.2rem;
        background: transparent;
        border: 0;
    }

    #wb-widget-align-group .wb-visual-option.is-selected .wb-visual-option__preview {
        background: transparent;
        border: 0;
    }

    #wb-widget-align-group .wb-visual-option__align {
        width: 3.1rem;
        margin: 0 auto;
    }

    #wb-widget-align-group .wb-visual-option__align-track {
        display: block;
        height: 2rem;
        border-style: solid;
        border-color: rgba(148, 163, 184, 0.45);
        border-radius: 0.4rem;
        background: rgba(15, 23, 42, 0.45);
    }

    #wb-widget-align-group .wb-visual-option__align-widget {
        width: 36%;
        max-width: none;
        height: 0.82rem;
        top: 50%;
        margin-top: 0;
        transform: translateY(-50%);
        border-radius: 0.16rem;
        background: #e8eef6;
        overflow: hidden;
    }

    #wb-widget-align-group .wb-visual-option__align--center .wb-visual-option__align-widget {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }

    #wb-widget-align-group .wb-visual-option__align-widget::before {
        content: '';
        display: block;
        width: 52%;
        height: 1.5px;
        margin: 0.16rem auto 0.05rem;
        border-radius: 1px;
        background: #94a3b8;
    }

    #wb-widget-align-group .wb-visual-option__align-widget::after {
        content: '★';
        display: block;
        font-size: 6px;
        line-height: 1;
        text-align: center;
        color: #fbbc04;
    }

    #wb-widget-align-group .wb-visual-option.is-selected .wb-visual-option__align-track {
        border-color: rgba(37, 99, 235, 0.9);
        background: rgba(59, 130, 246, 0.16);
    }

    #wb-widget-align-group .wb-visual-option.is-selected .wb-visual-option__align-widget {
        background: #f8fafc;
    }

    #wb-widget-align-group .wb-visual-option__align-lines {
        display: none;
    }

    .wb-visual-options__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wb-visual-options--icon-only .wb-visual-option {
        justify-content: center;
        min-height: 2.625rem;
        padding: 0.375rem;
        font-size: 0;
        line-height: 0;
        min-width: 0;
    }

    .wb-visual-options--icon-only .wb-visual-option__preview {
        width: 100%;
        margin: 0;
        min-height: 1.875rem;
        padding: 0.2rem;
        box-sizing: border-box;
        overflow: hidden;
    }

    .wb-visual-options__grid--star-size {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wb-visual-options__grid--min-stars {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.375rem;
    }

    .wb-visual-options--min-stars .wb-visual-option {
        padding: 0.5rem 0.2rem 0.45rem;
        gap: 0;
        min-width: 0;
    }

    .wb-visual-options--min-stars .wb-visual-option__preview {
        display: none;
    }

    .wb-visual-options--min-stars .wb-visual-option__label {
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .wb-visual-option--span-full {
        grid-column: 1 / -1;
    }

    .wb-visual-option {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.625rem 0.5rem 0.5rem;
        border: 1px solid #485b7c;
        border-radius: 6px;
        background: #222f4a;
        cursor: pointer;
        text-align: center;
        font-family: var(--wb-font);
        color: #d7e1f2;
        position: relative;
        transition: border-color var(--wb-transition), background var(--wb-transition), box-shadow var(--wb-transition);
    }

    .wb-visual-option:hover {
        border-color: #5a7199;
        background: #27344f;
    }

    .wb-visual-option:focus {
        outline: none;
    }

    .wb-visual-option:focus-visible {
        outline: 2px solid var(--wb-focus-ring);
        outline-offset: 2px;
    }

    .wb-visual-option.is-selected {
        border-color: var(--wb-toggle-on-border);
        background: #121c2e;
        box-shadow: none;
        color: var(--wb-selection-text);
    }

    .wb-visual-option.is-selected::after {
        content: '';
        position: absolute;
        top: 6px;
        right: 6px;
        width: 10px;
        height: 10px;
        background-color: var(--wb-toggle-on);
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.2 6.2 4.8 8.7 9.8 3.2'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.2 6.2 4.8 8.7 9.8 3.2'/%3E%3C/svg%3E");
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }

    .wb-visual-option__preview {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.25rem;
        padding: 0.25rem 0.375rem;
        border-radius: 0.4375rem;
        background: rgba(0, 0, 0, 0.18);
        border: 1px solid var(--wb-border-subtle);
    }

    .wb-visual-option.is-selected .wb-visual-option__preview {
        border-color: rgba(59, 130, 246, 0.28);
        background: rgba(0, 0, 0, 0.24);
    }

    .wb-visual-option__stars {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.1em;
        color: var(--wb-star-color, #FBBC04);
        line-height: 1;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
    }

    .wb-visual-option__stars--multicolour span:nth-child(1) {
        color: #4285F4;
    }

    .wb-visual-option__stars--multicolour span:nth-child(2) {
        color: #EA4335;
    }

    .wb-visual-option__stars--multicolour span:nth-child(3) {
        color: #FBBC04;
    }

    .wb-visual-option__stars span {
        font-size: var(--wb-star-size, 16px);
        line-height: 1;
    }

    .wb-visual-option__stars--layout-default {
        opacity: 0.92;
    }

    .wb-page .wb-shell .wb-panel .wb-visual-option__sample {
        font-size: 0.6875rem;
        font-weight: 600;
        color: var(--wb-preview-text);
        line-height: 1.25;
        letter-spacing: -0.01em;
        word-break: break-word;
    }

    .wb-page .wb-shell .wb-panel .wb-visual-option__badge {
        display: inline-block;
        font-size: 0.5625rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--wb-preview-badge-text);
        padding: 0.2rem 0.45rem;
        border-radius: 0.25rem;
        background: var(--wb-preview-badge-bg);
        border: 1px solid var(--wb-preview-badge-border);
    }

    .wb-page .wb-shell .wb-panel .wb-visual-option.is-selected .wb-visual-option__badge {
        color: #eff6ff;
        background: rgba(59, 130, 246, 0.28);
        border-color: rgba(37, 99, 235, 0.75);
    }

    .wb-visual-option__meta {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
        min-width: 0;
    }

    .wb-visual-option__label {
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        color: var(--wb-text);
        line-height: 1.2;
    }

    .wb-visual-option__hint {
        font-family: var(--wb-font);
        font-size: var(--wb-type-meta-size);
        font-weight: 500;
        color: var(--wb-text-muted);
        line-height: 1.2;
    }

    .wb-visual-option.is-selected .wb-visual-option__label {
        color: var(--wb-selection-text);
    }

    .wb-visual-option--pulse-stars:hover .wb-visual-option__stars span,
    .wb-visual-option--pulse-stars.is-selected .wb-visual-option__stars span {
        animation: wb-star-pulse 1.5s ease-in-out infinite;
    }

    .wb-visual-option--pulse-stars:hover .wb-visual-option__stars span:nth-child(2),
    .wb-visual-option--pulse-stars.is-selected .wb-visual-option__stars span:nth-child(2) {
        animation-delay: 0.12s;
    }

    .wb-visual-option--pulse-stars:hover .wb-visual-option__stars span:nth-child(3),
    .wb-visual-option--pulse-stars.is-selected .wb-visual-option__stars span:nth-child(3) {
        animation-delay: 0.24s;
    }

    @keyframes wb-star-pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.18); }
    }

    .wb-visual-option__align {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .wb-visual-option__align-track {
        position: relative;
        display: block;
        width: 100%;
        height: 1.15rem;
        border-radius: 0.3rem;
        border: 1px dashed rgba(148, 163, 184, 0.5);
        background: rgba(15, 23, 42, 0.35);
        box-sizing: border-box;
    }

    .wb-visual-option__align-widget {
        position: absolute;
        top: 50%;
        display: block;
        width: 30%;
        max-width: 1.05rem;
        height: 0.62rem;
        margin-top: -0.31rem;
        border-radius: 0.18rem;
        background: rgba(226, 232, 240, 0.92);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
        box-sizing: border-box;
    }

    .wb-visual-option__align--left .wb-visual-option__align-widget {
        left: 0.18rem;
    }

    .wb-visual-option__align--center .wb-visual-option__align-widget {
        left: 50%;
        transform: translateX(-50%);
    }

    .wb-visual-option__align--right .wb-visual-option__align-widget {
        right: 0.18rem;
    }

    .wb-visual-option.is-selected .wb-visual-option__align-track {
        border-color: rgba(37, 99, 235, 0.85);
        background: rgba(59, 130, 246, 0.14);
    }

    .wb-visual-option.is-selected .wb-visual-option__align-widget {
        background: rgba(59, 130, 246, 0.95);
    }

    .wb-visual-option__display-mock {
        position: relative;
        display: block;
        width: 100%;
        max-width: 5.5rem;
        min-height: 3.25rem;
        margin: 0 auto;
        border-radius: 0.45rem;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: rgba(15, 23, 42, 0.35);
        overflow: hidden;
        box-sizing: border-box;
    }

    .wb-visual-option.is-selected .wb-visual-option__display-mock {
        border-color: rgba(37, 99, 235, 0.9);
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.55);
    }

    .wb-visual-option__display-lines {
        display: flex;
        flex-direction: column;
        gap: 0.28rem;
        padding: 0.55rem 0.5rem 0.35rem;
    }

    .wb-visual-option__display-lines span {
        display: block;
        height: 0.18rem;
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.45);
    }

    .wb-visual-option__display-lines span:nth-child(1) { width: 88%; }
    .wb-visual-option__display-lines span:nth-child(2) { width: 72%; }
    .wb-visual-option__display-lines span:nth-child(3) { width: 80%; }
    .wb-visual-option__display-lines span:nth-child(4) { width: 60%; }

    .wb-visual-option__display-widget {
        position: absolute;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.65rem;
        height: 0.95rem;
        border-radius: 0.3rem;
        background: rgba(248, 250, 252, 0.95);
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    }

    .wb-visual-option__display-star {
        color: #fbbc04;
        font-size: 0.55rem;
        line-height: 1;
    }

    .wb-visual-option__display-mock--inline .wb-visual-option__display-widget {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -35%);
    }

    .wb-visual-option__display-mock--floating .wb-visual-option__display-widget {
        left: 0.35rem;
        bottom: 0.35rem;
    }

    .wb-float-settings__card {
        padding: 0.85rem 0.9rem 0.95rem;
        border-radius: 0.6875rem;
        border: 1px solid var(--wb-border);
        background: var(--wb-panel-bg-surface);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
    }

    .wb-float-settings__hint {
        margin: 0 0 0.85rem;
        font-size: 0.8125rem;
        line-height: 1.45;
        color: var(--wb-text-muted);
    }

    .wb-float-settings__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
        margin-bottom: 1rem;
        padding: 0.75rem;
        border-radius: 0.6875rem;
        border: 1px dashed rgba(255, 255, 255, 0.12);
        background:
            linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
            var(--wb-panel-bg-elevated);
        background-size: 100% 100%, 100% 100%, auto;
    }

    .wb-float-chip {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        min-height: 3.1rem;
        padding: 0.45rem 0.35rem;
        border-radius: 0.5625rem;
        border: 1px solid var(--wb-border);
        background: var(--wb-panel-bg-input);
        color: var(--wb-text-muted);
        cursor: pointer;
        transition: border-color var(--wb-transition), background var(--wb-transition), box-shadow var(--wb-transition), color var(--wb-transition);
    }

    .wb-float-chip:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.45);
        background: var(--wb-panel-bg-elevated);
        color: var(--wb-text);
    }

    .wb-float-chip.is-selected {
        border-color: var(--wb-selection-border);
        background: var(--wb-selection-soft);
        color: var(--wb-selection-text);
        box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.65);
    }

    .wb-float-chip__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.125rem;
        height: 1.125rem;
    }

    .wb-float-chip__icon svg {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
    }

    .wb-float-settings__offsets {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .wb-float-settings__offset-row {
        display: flex;
        align-items: center;
        gap: 0.55rem;
    }

    .wb-float-settings__dir {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.125rem;
        height: 1.125rem;
        flex-shrink: 0;
        color: var(--wb-text-muted);
    }

    .wb-float-settings__dir svg {
        width: 100%;
        height: 100%;
    }

    .wb-float-settings__number {
        width: 5.25rem;
        min-width: 0;
    }

    .wb-float-settings__unit {
        font-size: 0.8125rem;
        color: var(--wb-text-dim);
        white-space: nowrap;
    }

    .wb-float-settings__visibility {
        margin-top: 1rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .wb-device-visibility {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.65rem;
    }

    .wb-device-visibility__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.625rem;
        border: 1px solid var(--wb-border);
        background: var(--wb-panel-bg-input);
        color: var(--wb-text-muted);
        cursor: pointer;
        transition: border-color var(--wb-transition), background var(--wb-transition), color var(--wb-transition), opacity var(--wb-transition);
    }

    .wb-device-visibility__btn svg {
        width: 1.125rem;
        height: 1.125rem;
    }

    .wb-device-visibility__btn:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.45);
        color: var(--wb-text);
    }

    .wb-device-visibility__btn.is-active {
        border-color: var(--wb-selection-border);
        background: var(--wb-selection-soft);
        color: var(--wb-selection-text);
        box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.65);
    }

    .wb-device-visibility__btn:not(.is-active) {
        opacity: 0.45;
    }

    @media (max-width: 640px) {
        .wb-float-settings__offsets {
            grid-template-columns: 1fr;
        }
    }

    .wb-card--display-mode.is-floating-mode + .wb-collapse,
    .wb-card--display-mode.is-floating-mode + .wb-card {
        position: relative;
    }

    .wb-canvas-stage:has([data-wb-display-mode="floating"]) {
        align-items: stretch;
        justify-content: flex-start;
        min-height: 360px;
        height: 100%;
        overflow: visible;
        overflow-x: visible;
        padding-bottom: 5.5rem;
    }

    .wb-canvas-frame:has([data-wb-display-mode="floating"]) {
        flex: 1 1 auto;
        align-self: stretch;
        min-height: 360px;
        height: 100%;
        width: 100%;
        max-width: 100%;
        margin: 0;
        position: relative;
    }

    .wb-preview-root:has(> [data-wb-builder-preview][data-wb-display-mode="floating"]) {
        flex: 1 1 auto;
        width: 100%;
        min-height: 360px;
        height: 100%;
        align-self: stretch;
        padding: 0;
        justify-content: stretch;
        align-items: stretch;
        position: relative;
    }

    .wb-preview-root > [data-wb-builder-preview][data-wb-display-mode="floating"] {
        position: relative !important;
        flex: 1 1 auto;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100%;
        height: 100%;
        overflow: visible !important;
        align-self: stretch !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-wb-display-mode="floating"] .grw-placement-shell[data-grw-display-mode="floating"] {
        margin: 0 !important;
        width: fit-content !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-wb-display-mode="floating"][data-layout^="badge_"] .grw-placement-shell[data-grw-display-mode="floating"],
    .wb-preview-root > [data-wb-builder-preview][data-wb-display-mode="floating"][data-layout^="sticker_"] .grw-placement-shell[data-grw-display-mode="floating"] {
        width: fit-content !important;
        max-width: 100% !important;
        min-width: min-content !important;
    }

    /* Builder preview always shows the widget — visibility toggles affect live embeds only. */

    .wb-visual-option__pictogram {
        display: block;
        /* Fixed width: width:100% collapses to ~0 when the only children are
           absolutely positioned ::before/::after (icon-only logo/align previews). */
        width: 4.75rem;
        max-width: 100%;
        min-width: 3.25rem;
        min-height: 2.35rem;
        margin: 0 auto;
        border-radius: 0.35rem;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
            rgba(15, 23, 42, 0.22);
        position: relative;
        box-sizing: border-box;
        flex: 0 0 auto;
    }

    .wb-visual-option.is-selected .wb-visual-option__pictogram {
        border-color: rgba(37, 99, 235, 0.75);
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.5);
    }

    .wb-visual-option__pictogram::before,
    .wb-visual-option__pictogram::after {
        content: '';
        position: absolute;
        border-radius: 0.15rem;
        background: rgba(148, 163, 184, 0.55);
    }

    .wb-visual-option.is-selected .wb-visual-option__pictogram::before,
    .wb-visual-option.is-selected .wb-visual-option__pictogram::after {
        background: rgba(59, 130, 246, 0.95);
    }

    .wb-visual-option__pictogram--logo-side-left::before {
        width: 0.55rem;
        height: 0.55rem;
        left: 0.45rem;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 999px;
        background: linear-gradient(135deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%) !important;
    }

    .wb-visual-option__pictogram--logo-side-left::after {
        left: 1.2rem;
        right: 0.45rem;
        top: 0.62rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--logo-side-right::before {
        left: 0.45rem;
        right: 1.2rem;
        top: 0.62rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--logo-side-right::after {
        width: 0.55rem;
        height: 0.55rem;
        right: 0.45rem;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 999px;
        background: linear-gradient(135deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%) !important;
    }

    .wb-visual-option__pictogram--logo-stack-top::before {
        width: 0.55rem;
        height: 0.55rem;
        left: 50%;
        top: 0.42rem;
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient(135deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%) !important;
    }

    .wb-visual-option__pictogram--logo-stack-top::after {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.55rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--logo-stack-bottom::before {
        left: 0.75rem;
        right: 0.75rem;
        top: 0.55rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--logo-stack-bottom::after {
        width: 0.55rem;
        height: 0.55rem;
        left: 50%;
        bottom: 0.42rem;
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient(135deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%) !important;
    }

    .wb-visual-option__pictogram--logo-stack-align-left::before,
    .wb-visual-option__pictogram--logo-stack-align-center::before,
    .wb-visual-option__pictogram--logo-stack-align-right::before {
        width: 0.55rem;
        height: 0.55rem;
        top: 0.42rem;
        border-radius: 999px;
        background: linear-gradient(135deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%) !important;
    }

    .wb-visual-option__pictogram--logo-stack-align-left::before {
        left: 0.55rem;
        transform: none;
    }

    .wb-visual-option__pictogram--logo-stack-align-center::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .wb-visual-option__pictogram--logo-stack-align-right::before {
        right: 0.55rem;
        left: auto;
        transform: none;
    }

    .wb-visual-option__pictogram--logo-stack-align-left::after,
    .wb-visual-option__pictogram--logo-stack-align-center::after,
    .wb-visual-option__pictogram--logo-stack-align-right::after {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.55rem;
        height: 0.22rem;
    }

    .wb-visual-options__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wb-visual-option__pictogram--rating-beside::before {
        left: 0.45rem;
        width: 38%;
        top: 0.55rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--rating-beside::after {
        right: 0.45rem;
        width: 28%;
        top: 0.72rem;
        height: 0.45rem;
        border-radius: 0.2rem;
    }

    .wb-visual-option__pictogram--rating-below::before {
        left: 0.45rem;
        right: 0.45rem;
        top: 0.55rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--rating-below::after {
        left: 0.45rem;
        width: 34%;
        bottom: 0.55rem;
        height: 0.45rem;
        border-radius: 0.2rem;
    }

    .wb-visual-option__pictogram--header-split::before {
        left: 0.45rem;
        width: 34%;
        top: 0.72rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--header-split::after {
        right: 0.45rem;
        width: 34%;
        top: 0.72rem;
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--header-stacked::before {
        left: 50%;
        width: 46%;
        top: 0.55rem;
        transform: translateX(-50%);
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--header-stacked::after {
        left: 50%;
        width: 34%;
        bottom: 0.55rem;
        transform: translateX(-50%);
        height: 0.22rem;
    }

    .wb-visual-option__pictogram--summary-inline::before {
        left: 0.45rem;
        right: 0.45rem;
        top: 0.5rem;
        height: 0.18rem;
    }

    .wb-visual-option__pictogram--summary-inline::after {
        left: 0.45rem;
        width: 52%;
        bottom: 0.5rem;
        height: 0.34rem;
        border-radius: 0.2rem;
    }

    .wb-visual-option__pictogram--summary-compact::before {
        left: 0.45rem;
        right: 0.45rem;
        top: 0.55rem;
        height: 0.18rem;
    }

    .wb-visual-option__pictogram--summary-compact::after {
        left: 0.45rem;
        width: 68%;
        top: 1rem;
        height: 0.18rem;
    }

    .wb-visual-option__pictogram--border-solid {
        border-width: 2px;
        border-color: rgba(148, 163, 184, 0.65);
    }

    .wb-visual-option__pictogram--border-solid::before,
    .wb-visual-option__pictogram--border-solid::after,
    .wb-visual-option__pictogram--border-none::before,
    .wb-visual-option__pictogram--border-none::after,
    .wb-visual-option__pictogram--border-tracer::before,
    .wb-visual-option__pictogram--border-tracer::after {
        display: none;
    }

    .wb-visual-option__pictogram--border-none {
        border-style: dashed;
        border-color: rgba(148, 163, 184, 0.35);
    }

    .wb-visual-option__pictogram--border-tracer {
        border: 2px solid transparent;
        background:
            linear-gradient(rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.22)) padding-box,
            conic-gradient(from 180deg, #4285F4, #EA4335, #FBBC05, #34A853, #4285F4) border-box;
    }

    .wb-visual-option__pictogram--google-icon::before {
        width: 0.7rem;
        height: 0.7rem;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 999px;
        background: linear-gradient(135deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%) !important;
    }

    .wb-visual-option__pictogram--google-icon::after,
    .wb-visual-option__pictogram--google-full::after,
    .wb-visual-option__pictogram--showcase-grid::after {
        display: none;
    }

    .wb-visual-option__pictogram--google-full::before {
        left: 0.55rem;
        right: 0.55rem;
        top: 50%;
        transform: translateY(-50%);
        height: 0.28rem;
        border-radius: 0.12rem;
        background: linear-gradient(90deg, #4285F4 0 18%, #EA4335 18% 36%, #FBBC05 36% 54%, #4285F4 54% 72%, #34A853 72% 100%) !important;
    }

    .wb-visual-option__pictogram--showcase-carousel::before {
        left: 0.4rem;
        width: 42%;
        top: 0.62rem;
        height: 0.55rem;
        border-radius: 0.2rem;
        box-shadow: 0.95rem 0 0 rgba(148, 163, 184, 0.35);
    }

    .wb-visual-option__pictogram--showcase-carousel::after {
        right: 0.35rem;
        top: 0.95rem;
        width: 0.45rem;
        height: 0.45rem;
        border-top: 2px solid rgba(148, 163, 184, 0.65);
        border-right: 2px solid rgba(148, 163, 184, 0.65);
        transform: rotate(45deg);
        background: transparent;
        border-radius: 0;
    }

    .wb-visual-option__pictogram--showcase-grid::before {
        inset: 0.45rem;
        height: auto;
        background:
            linear-gradient(to right, transparent 48%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.22) 52%, transparent 52%),
            linear-gradient(to bottom, transparent 48%, rgba(15, 23, 42, 0.22) 48%, rgba(15, 23, 42, 0.22) 52%, transparent 52%),
            rgba(148, 163, 184, 0.35);
        border-radius: 0.2rem;
    }

    @media (max-width: 420px) {
        .wb-visual-options__grid--3 {
            grid-template-columns: 1fr;
        }
    }

    .wb-business-search {
        margin-bottom: 0;
    }

    .wb-linked-business {
        margin-bottom: 0;
    }

    .wb-linked-business .wb-section-label {
        margin-bottom: 0.5rem;
    }

    .wb-panel .wb-business-search .wb-label {
        margin-bottom: 0.5rem;
    }

    .wb-panel .wb-business-search .wb-style-section__title {
        font-size: 16px;
        font-weight: 700;
        line-height: 20px;
        letter-spacing: 0.1px;
    }

    .wb-panel .wb-business-search .wb-place-search-field .wb-input.wb-place-search-field__input {
        height: 42px;
        min-height: 42px;
        border: 1px solid #95a8c4;
        border-radius: 10px;
        background: #263750;
        color: #fff;
        padding: 8px 2.375rem 8px 37px;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 500;
        letter-spacing: 0;
        line-height: 24px;
    }

    .wb-panel .wb-business-search .wb-place-search-field .wb-input.wb-place-search-field__input::placeholder {
        color: var(--wb-placeholder);
        opacity: 1;
    }

    .wb-panel .wb-business-search .wb-place-search-field .wb-input.wb-place-search-field__input:hover {
        border-color: #5a7199;
        background: #20304c;
    }

    .wb-panel .wb-business-search .wb-place-search-field .wb-input.wb-place-search-field__input:focus {
        outline: none;
        border-color: var(--wb-accordion-accent);
        box-shadow: 0 0 0 2px rgba(130, 159, 255, 0.28);
        background: #20304c;
    }

    .wb-panel .wb-business-search .wb-place-search-field .wb-place-search-field__icon {
        left: 13px;
        width: 16px;
        height: 16px;
        color: #d8e5f5;
    }

    .wb-panel .wb-business-search .wb-place-search-field:focus-within .wb-place-search-field__icon {
        color: var(--grw-brand-light);
    }

    .wb-recent-places {
        margin-top: 0.625rem;
    }

    .wb-panel .wb-business-search .wb-recent-places {
        margin-top: 0.8125rem;
    }

    .wb-recent-places__label {
        font-family: var(--wb-font);
        font-size: var(--wb-type-label-size);
        font-weight: var(--wb-type-label-weight);
        letter-spacing: 0.04em;
        color: var(--wb-text-muted);
        margin: 0 0 0.375rem;
    }

    .wb-recent-places__list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.375rem;
    }

    .wb-recent-places__chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        max-width: 100%;
        padding: 0.3rem 0.55rem;
        border: 1px solid var(--wb-border);
        border-radius: 9999px;
        background: var(--wb-panel-bg-surface);
        color: var(--wb-text);
        font-size: 0.75rem;
        line-height: 1.25;
        cursor: pointer;
        transition: border-color 0.15s ease, background 0.15s ease;
    }

    .wb-recent-places__chip:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.45);
        background: rgba(var(--grw-brand-rgb), 0.08);
    }

    .wb-recent-places__chip-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 14rem;
        font-weight: 500;
    }

    .wb-recent-places__chip-rating {
        flex-shrink: 0;
        font-family: var(--wb-font);
        font-size: var(--wb-type-meta-size);
        color: var(--wb-text-muted);
    }

    .wb-business-search__results:empty {
        display: none;
        margin: 0;
        padding: 0;
    }

    .wb-business-card {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        padding: 0.9375rem var(--wb-accordion-pad-x) 0.9375rem 1.0625rem;
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
    }

    .wb-business-card__body {
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 0.125rem;
    }

    /* Card name uses the shared body role (.wb-field-text); address uses meta
       (.wb-text-meta). Element rules keep layout only, type comes from roles. */
    .wb-business-card__name {
        margin: 0;
    }

    .wb-business-card__addr {
        margin: 0.25rem 0 0;
    }

    .wb-business-card__unlink {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.75rem;
        height: 1.75rem;
        margin: -0.2rem -0.15rem 0 0;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 0.5rem;
        background: transparent;
        color: #f87171;
        cursor: pointer;
        transition:
            color 0.15s ease,
            background-color 0.15s ease,
            border-color 0.15s ease;
    }

    .wb-business-card__unlink svg {
        width: 0.875rem;
        height: 0.875rem;
        pointer-events: none;
    }

    .wb-business-card__unlink:hover {
        color: #fecaca;
        background: rgba(248, 113, 113, 0.12);
        border-color: rgba(248, 113, 113, 0.28);
    }

    .wb-business-card__unlink:focus-visible {
        outline: 2px solid rgba(248, 113, 113, 0.45);
        outline-offset: 1px;
    }

    .wb-business-card__unlink:active {
        color: #fda4af;
        background: rgba(248, 113, 113, 0.18);
    }

    #wb-business-layout-cta {
        display: none;
        width: 100%;
        margin-top: 0.75rem;
        min-height: 2.5rem;
        font-family: var(--wb-font);
        font-size: var(--wb-type-body-size);
        font-weight: 600;
        line-height: 16px;
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.25), 0 4px 14px rgba(var(--grw-brand-rgb), 0.22);
    }

    #wb-business-layout-cta.is-visible {
        display: inline-flex;
    }

    .wb-panel #wb-business-layout-cta.grw-btn--primary {
        color: #fff;
        background: linear-gradient(180deg, var(--grw-brand) 0%, var(--grw-brand-dark) 100%);
        border-color: var(--grw-brand-dark);
    }

    .wb-panel #wb-business-layout-cta.grw-btn--primary:hover:not(:disabled) {
        background: linear-gradient(180deg, var(--grw-brand-dark) 0%, var(--grw-brand-darker) 100%);
        border-color: var(--grw-brand-darker);
        box-shadow: 0 0 0 1px rgba(var(--grw-brand-rgb), 0.35), 0 6px 18px rgba(var(--grw-brand-rgb), 0.28);
    }

    .wb-canvas-wrap {
        position: relative;
        flex: 1;
        min-width: 0;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-self: stretch;
        padding: 0;
        overflow: auto;
        scrollbar-gutter: stable;
        background: var(--wb-canvas-bg);
    }

    .wb-canvas-wrap:has([data-wb-display-mode="floating"]) {
        overflow: visible;
        padding-bottom: 1.5rem;
    }

    /* Mobile phone-frame needs inset so the stage does not kiss the wrap edges. */
    .wb-canvas-wrap:has(.wb-canvas-stage--mobile) {
        padding: 0 1rem 1rem;
        background: #eef2f7;
        justify-content: center;
    }

    .wb-page .wb-canvas-wrap[data-wb-intrinsic-canvas="1"] {
        overflow-x: visible;
        overflow-y: auto;
    }

    .wb-page .wb-canvas-wrap[data-wb-intrinsic-canvas="1"] .wb-canvas-stage {
        overflow-x: visible;
        overflow-y: auto;
        align-items: stretch;
        justify-content: flex-start;
    }

    .wb-canvas-toolbar {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
        z-index: 40;
        pointer-events: none;
        flex-wrap: wrap;
        row-gap: 0.5rem;
        position: relative;
    }

    .wb-canvas-toolbar:has(.v3-plan-switch) {
        justify-content: space-between;
    }

    .wb-canvas-toolbar:has(#wb-live-draft-switch[hidden]):not(:has(.v3-plan-switch:not([hidden]))) {
        justify-content: flex-end;
    }

    .wb-canvas-toolbar .v3-plan-switch {
        display: flex;
        gap: 3px;
        background: #f1f4f8;
        border-radius: 7px;
        padding: 4px;
        max-width: 100%;
    }

    .wb-canvas-toolbar .v3-plan-switch button {
        background: none;
        border: 0;
        border-radius: 5px;
        font-size: 13px;
        font-weight: 500;
        padding: 6px 12px;
        color: #6b7890;
        line-height: 1.4;
        cursor: pointer;
        font-family: inherit;
        white-space: nowrap;
    }

    .wb-canvas-toolbar .v3-plan-switch button.active {
        background: #fff;
        box-shadow: 0 1px 5px rgba(35, 60, 106, 0.08);
        color: var(--v3-ink, #1e293b);
    }

    .wb-live-draft-context,
    .wb-live-draft-note {
        margin: 0 1rem 0.75rem;
        font-size: var(--wb-type-meta-size);
        line-height: 1.5;
        color: var(--wb-text-dim);
        font-weight: 400;
    }

    .wb-live-draft-context {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem 0.75rem;
    }

    .wb-live-draft-context[hidden],
    .wb-live-draft-note[hidden],
    .wb-live-draft-lock[hidden],
    #wb-live-draft-switch[hidden],
    #wb-live-draft-action[hidden] {
        display: none !important;
    }

    .wb-live-draft-lock {
        margin: 0;
        padding: 0.45rem 0.9rem;
        background: #f8fafc;
        color: #475569;
        font-size: var(--wb-type-meta-size);
        line-height: 1.4;
        border-bottom: 1px solid #e2e8f0;
    }

    .wb-shell.is-live-preview .wb-panel__body {
        opacity: 0.48;
    }

    @media (max-width: 480px) {
        .wb-canvas-toolbar .v3-plan-switch button {
            padding: 6px 8px;
            font-size: 12px;
        }
    }

    .wb-canvas-toolbar > * {
        pointer-events: auto;
    }

    .wb-canvas-wrap:has(.wb-canvas-stage--mobile) .wb-canvas-toolbar {
        padding-inline: 0.25rem;
        position: relative;
    }

    .wb-device-toggle {
        display: inline-flex;
        border: 1px solid #d8e0ea;
        border-radius: 0.5625rem;
        padding: 0.1875rem;
        background: #fff;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    }

    .wb-device-toggle button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        border: none;
        border-radius: 0.375rem;
        background: transparent;
        color: #52627a;
        cursor: pointer;
        transition: background var(--wb-transition), color var(--wb-transition);
    }

    .wb-device-toggle button:hover {
        color: #64748b;
        background: #f8fafc;
    }

    .wb-device-toggle button.is-active,
    .wb-device-toggle button.is-active:hover {
        background: #153b7a;
        color: #fff;
        box-shadow: 0 1px 3px #10255a33;
    }

    .wb-device-toggle button svg {
        width: 1.125rem;
        height: 1.125rem;
    }

    .wb-canvas-stage {
        position: relative;
        flex: 1;
        min-height: 0;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: auto;
        overflow-x: hidden;
        scrollbar-gutter: stable;
        border-radius: 0;
        background-color: var(--wb-canvas-bg);
        background-image:
            radial-gradient(circle, var(--wb-canvas-grid) 1px, transparent 1px);
        background-size: 20px 20px;
        background-position: 0 0;
        border: none;
        box-shadow: none;
        box-sizing: border-box;
        /* Top padding clears the overlaid device toolbar. Side gutter stays
           small so a full-width widget uses the canvas (Elfsight-style). */
        padding: 3.25rem 12px 1.25rem;
        transition: max-width 0.25s ease, width 0.25s ease, box-shadow 0.25s ease, border-radius 0.25s ease;
    }

    /* Must follow the default overflow:auto / overflow-x:hidden on .wb-canvas-stage
       so floating badges are not clipped at the canvas bottom. */
    .wb-canvas-stage:has([data-wb-display-mode="floating"]) {
        overflow: visible;
        overflow-x: visible;
        padding-bottom: 5.5rem;
    }

    .wb-canvas-stage:has([data-wb-display-mode="floating"]) .wb-preview-root > [data-wb-builder-preview][data-wb-display-mode="floating"] {
        padding-bottom: 4.5rem;
        box-sizing: border-box;
    }

    /* Every layout shares this canvas origin: top + the stage padding above,
       horizontally centered via widget_align (default Center). Do not add
       per-layout padding-top (ribbon used to jump 5.5rem). */

    .wb-canvas-stage--mobile {
        flex: 0 1 auto;
        width: 100%;
        max-width: 390px;
        align-self: center;
        margin: auto;
        min-height: min(640px, 80vh);
        padding: 1rem;
        border-radius: 1.25rem;
        border: 1px solid #e2e8f0;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.85),
            0 0 0 1px rgba(15, 23, 42, 0.06),
            0 8px 32px rgba(15, 23, 42, 0.1);
    }

    .wb-canvas-stage--mobile:has([data-wb-display-mode="floating"]) {
        min-height: min(640px, 80vh);
    }

    .wb-canvas-frame {
        position: relative;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        min-width: 0;
        min-height: 0;
        align-self: stretch;
        margin: 0;
        box-sizing: border-box;
        transition: max-width 0.25s ease, width 0.25s ease;
        isolation: isolate;
        overflow: visible;
    }

    .wb-canvas-toolbar:has([data-wb-device="tablet"]) .v3-plan-switch {
        flex-wrap: wrap;
    }

    .wb-device-toggle:has([data-wb-device="tablet"]) button:focus-visible {
        outline: 2px solid var(--wb-selection);
        outline-offset: 2px;
    }

    @media (max-width: 900px) {
        /* The collapsed homepage builder has an auto-height stage. Give it
           a usable viewport independent of the scaled chassis dimensions. */
        body:not(.builder-expanded) #builder .wb-canvas-stage--device {
            min-height: min(620px, 75dvh);
        }
    }

    /* Scroll the real viewport rather than fitting its full height into a thumbnail. */
    .wb-canvas-stage.wb-canvas-stage--device {
        display: block;
        overflow: auto;
        scrollbar-gutter: auto;
        overscroll-behavior: contain;
    }

    .wb-device-preview {
        --wb-device-radius: 30px;
        --wb-device-bezel: 14px;
        position: relative;
        flex: none;
        margin: 0 auto;
        border-radius: calc(var(--wb-device-radius) * var(--wb-device-scale, 1));
        overflow: hidden;
        overflow: clip;
        box-shadow: 0 2px 6px #0f172a30, 0 16px 36px -16px #0f172a66;
    }

    .wb-device-preview[data-wb-device-shell="mobile"] {
        --wb-device-radius: 44px;
        --wb-device-bezel: 8px;
    }

    .wb-device-preview__chassis {
        position: absolute;
        inset: 0 auto auto 0;
        box-sizing: content-box;
        width: max-content;
        padding: var(--wb-device-bezel);
        border-radius: var(--wb-device-radius);
        background: #171b23;
        box-shadow: inset 0 0 0 1px #697383, inset 0 0 0 3px #252b36;
        transform: scale(var(--wb-device-scale, 1));
        transform-origin: top left;
    }

    .wb-device-preview iframe {
        display: block;
        box-sizing: content-box;
        max-width: none;
        border: 0;
        border-radius: calc(var(--wb-device-radius) - var(--wb-device-bezel));
        background: #f8fafc;
    }

    .wb-device-preview__chassis::after {
        content: "";
        position: absolute;
        top: 4px;
        left: 50%;
        width: 6px;
        height: 6px;
        border-radius: 100px;
        background: #3b4657;
        transform: translateX(-50%);
        pointer-events: none;
    }

    [data-wb-device-shell="mobile"] .wb-device-preview__chassis::after {
        top: 15px;
        width: 74px;
        height: 17px;
        background: #171b23;
    }

    .wb-canvas-frame[data-device="desktop"] {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        align-self: stretch;
    }

    .wb-canvas-frame[data-device="mobile"] {
        max-width: 100%;
    }

    /* Auto-width badges/stickers: frame fills the canvas so widget_align can
       left/center/right the intrinsic host (same idea as feed custom-width). */
    .wb-canvas-frame:has([data-layout^="badge_"]):not(:has([data-wb-display-mode="floating"])):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])),
    .wb-canvas-frame:has([data-layout^="sticker_"]):not(:has([data-wb-display-mode="floating"])):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])) {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        align-self: stretch;
        height: auto;
        min-height: 0;
    }

    /* Mobile phone chrome is min-height 640px. Do not stretch badge/sticker stacks
       (or their branding footer) to that height — branding must sit under the widget. */
    .wb-canvas-stage--mobile .wb-canvas-frame:has([data-layout^="badge_"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-stage--mobile .wb-canvas-frame:has([data-layout^="sticker_"]):not(:has([data-wb-display-mode="floating"])) {
        align-self: center;
        height: auto;
        min-height: 0;
        flex: 0 0 auto;
    }
    .wb-canvas-stage--mobile .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="badge_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])),
    .wb-canvas-stage--mobile .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="sticker_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])) {
        height: auto;
        min-height: 0;
        flex: 0 0 auto;
    }
    .wb-canvas-stage--mobile [data-wb-builder-preview][data-layout^="badge_"]:not([data-wb-display-mode="floating"]),
    .wb-canvas-stage--mobile [data-wb-builder-preview][data-layout^="sticker_"]:not([data-wb-display-mode="floating"]) {
        height: auto !important;
        min-height: 0 !important;
        flex: 0 0 auto;
    }

    /* Feeds and empty states start at the top. align-self:center on a tall frame clips the
       header above the canvas and can make that overflow unscrollable. */
    .wb-canvas-frame:has(> .wb-preview-root[data-wb-preview-align="feed"]),
    .wb-canvas-frame:has(> .wb-preview-root > [data-wb-builder-preview].wb-preview-placeholder):not(:has([data-layout^="badge_"])):not(:has([data-layout^="sticker_"])) {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        align-self: stretch;
    }

    /* Full/custom-width inline badges and stickers fill the canvas. */
    .wb-canvas-frame[data-grw-width-mode="full"]:not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame[data-grw-width-mode="custom"]:not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="badge_"][data-grw-width-mode="full"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="badge_"][data-grw-width-mode="custom"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="sticker_"][data-grw-width-mode="full"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="sticker_"][data-grw-width-mode="custom"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="badge_"] [data-grw-width-mode="full"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="badge_"] [data-grw-width-mode="custom"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="sticker_"] [data-grw-width-mode="full"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout^="sticker_"] [data-grw-width-mode="custom"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout="badge_inline"] [data-grw-width-mode="full"]):not(:has([data-wb-display-mode="floating"])),
    .wb-canvas-frame:has([data-layout="badge_inline"] [data-grw-width-mode="custom"]):not(:has([data-wb-display-mode="floating"])) {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        align-self: stretch;
    }

    .wb-canvas-frame[data-device="mobile"]:has(> .wb-preview-root[data-wb-preview-align="feed"]),
    .wb-canvas-frame[data-device="mobile"]:has(> .wb-preview-root > [data-wb-builder-preview].wb-preview-placeholder) {
        max-width: 100%;
    }

    .wb-canvas-frame [data-wb-builder-preview]:not([data-layout^="badge_"]):not([data-layout^="sticker_"]) {
        width: 100%;
    }

    /* Classic Carousel desktop: badge left of three cards. Shared feed stretch
       CSS uses display:block on .grw-widget, which otherwise stacks this layout. */
    .wb-page .wb-canvas-stage:not(.wb-canvas-stage--mobile) .grw-placement-shell[data-grw-width-mode="full"] > .grw-embed > .grw-widget.grw-preview-classic-carousel,
    .wb-page .wb-canvas-stage:not(.wb-canvas-stage--mobile) .grw-placement-shell[data-grw-width-mode="custom"] > .grw-embed > .grw-widget.grw-preview-classic-carousel,
    .wb-page .wb-canvas-stage:not(.wb-canvas-stage--mobile) [data-layout="feed_classic_carousel"] .grw-preview-classic-carousel,
    .wb-page .wb-canvas-stage:not(.wb-canvas-stage--mobile) [data-layout="feed_classic_carousel"] .grw-google-tracer.grw-widget.grw-preview-classic-carousel:not(.grw-badge):not(.grw-pill-chip) > .grw-google-tracer-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .wb-preview-root {
        position: relative;
        flex: 0 0 auto;
        min-height: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        isolation: isolate;
        overflow: visible;
        box-sizing: border-box;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])),
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="badge_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])),
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="sticker_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])) {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        flex: 0 0 auto;
        justify-content: flex-start;
        align-content: flex-start;
        min-height: 0;
        padding: 0;
    }

    /* Builder canvas: auto-width badges/stickers follow widget_align on a full-width host. */
    .wb-preview-root[data-wb-preview-align="intrinsic"]:not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])) {
        width: 100%;
        align-self: stretch;
        align-items: center;
        justify-content: flex-start;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"]))[data-wb-widget-align="left"],
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="badge_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"]))[data-wb-widget-align="left"],
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="sticker_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"]))[data-wb-widget-align="left"] {
        align-items: flex-start;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"]))[data-wb-widget-align="center"],
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="badge_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"]))[data-wb-widget-align="center"],
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="sticker_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"]))[data-wb-widget-align="center"] {
        align-items: center;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"]))[data-wb-widget-align="right"],
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="badge_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"]))[data-wb-widget-align="right"],
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="sticker_"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"]))[data-wb-widget-align="right"] {
        align-items: flex-end;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:has([data-grw-width-mode="full"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])),
    .wb-preview-root[data-wb-preview-align="intrinsic"]:has([data-grw-width-mode="custom"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])) {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        flex: 0 0 auto;
        align-items: stretch;
        justify-content: flex-start;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:has([data-grw-width-mode="custom"])[data-wb-widget-align="left"] {
        align-items: flex-start;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:has([data-grw-width-mode="custom"])[data-wb-widget-align="center"] {
        align-items: center;
    }

    .wb-preview-root[data-wb-preview-align="intrinsic"]:has([data-grw-width-mode="custom"])[data-wb-widget-align="right"] {
        align-items: flex-end;
    }

    /* Feed + empty-state previews fill the canvas at full width. Custom width
       shrink-wraps so Widget alignment can move this preview. */
    .wb-preview-root[data-wb-preview-align="feed"]:not(:has([data-grw-width-mode="custom"])),
    .wb-preview-root:has(> [data-wb-builder-preview].wb-preview-placeholder):not(:has(> [data-wb-builder-preview][data-layout^="badge_"])):not(:has(> [data-wb-builder-preview][data-layout^="sticker_"])) {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        align-items: stretch !important;
    }

    .wb-preview-root[data-wb-preview-align="feed"]:has([data-grw-width-mode="custom"]) {
        align-items: flex-start;
    }

    .wb-preview-root[data-wb-preview-align="feed"] > [data-wb-builder-preview]:not([data-grw-width-mode="custom"]):not(:has([data-grw-width-mode="custom"])),
    .wb-preview-root:has(> [data-wb-builder-preview].wb-preview-placeholder):not(:has(> [data-wb-builder-preview][data-layout^="badge_"])):not(:has(> [data-wb-builder-preview][data-layout^="sticker_"])) > [data-wb-builder-preview] {
        align-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .wb-preview-root[data-wb-preview-align="feed"] > [data-wb-builder-preview][data-grw-width-mode="custom"],
    .wb-preview-root[data-wb-preview-align="feed"] > [data-wb-builder-preview]:has([data-grw-width-mode="custom"]) {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .wb-preview-root[data-wb-preview-align="feed"][data-wb-widget-align="left"] > [data-wb-builder-preview][data-grw-width-mode="custom"],
    .wb-preview-root[data-wb-preview-align="feed"][data-wb-widget-align="left"] > [data-wb-builder-preview]:has([data-grw-width-mode="custom"]) {
        align-self: flex-start !important;
    }
    .wb-preview-root[data-wb-preview-align="feed"][data-wb-widget-align="center"] > [data-wb-builder-preview][data-grw-width-mode="custom"],
    .wb-preview-root[data-wb-preview-align="feed"][data-wb-widget-align="center"] > [data-wb-builder-preview]:has([data-grw-width-mode="custom"]) {
        align-self: center !important;
    }
    .wb-preview-root[data-wb-preview-align="feed"][data-wb-widget-align="right"] > [data-wb-builder-preview][data-grw-width-mode="custom"],
    .wb-preview-root[data-wb-preview-align="feed"][data-wb-widget-align="right"] > [data-wb-builder-preview]:has([data-grw-width-mode="custom"]) {
        align-self: flex-end !important;
    }

    .wb-preview-root[data-wb-widget-align="center"]:not([data-wb-preview-align="intrinsic"]):not([data-wb-preview-align="feed"]):not(:has(> [data-wb-builder-preview].wb-preview-placeholder)) {
        align-items: center;
    }

    .wb-preview-root[data-wb-widget-align="right"]:not([data-wb-preview-align="intrinsic"]):not([data-wb-preview-align="feed"]):not(:has(> [data-wb-builder-preview].wb-preview-placeholder)) {
        align-items: flex-end;
    }

    .wb-preview-root > [data-wb-builder-preview] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        overflow: visible;
    }

    .wb-preview-root > [data-wb-builder-preview]:empty {
        min-height: 220px;
    }


    /* Locked-layout upgrade notice stacks above the widget (not beside it in flex-row badge/sticker mounts). */
    .wb-preview-root > [data-wb-builder-preview] > .wb-preview-layout-upgrade-stack {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 0;
    }
    .wb-preview-root > [data-wb-builder-preview] .wb-preview-layout-upgrade {
        display: block;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        align-self: stretch;
        box-sizing: border-box;
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    .wb-preview-root > [data-wb-builder-preview] a.wb-preview-layout-upgrade,
    .wb-preview-root > [data-wb-builder-preview] a.wb-preview-layout-upgrade:visited,
    .wb-preview-root > [data-wb-builder-preview] a.wb-preview-layout-upgrade:hover,
    .wb-preview-root > [data-wb-builder-preview] a.wb-preview-layout-upgrade:focus {
        color: #92400e; /* amber-800 — keep notice colour on link states */
        text-decoration: underline;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"]:has(> .wb-preview-layout-upgrade-stack),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"]:has(> .wb-preview-layout-upgrade-stack) {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] > .wb-preview-layout-upgrade-stack > .grw-placement-shell,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] > .wb-preview-layout-upgrade-stack > .grw-placement-shell {
        align-self: center;
    }
    .wb-preview-root[data-wb-widget-align="left"] > [data-wb-builder-preview][data-layout^="badge_"] > .wb-preview-layout-upgrade-stack > .grw-placement-shell,
    .wb-preview-root[data-wb-widget-align="left"] > [data-wb-builder-preview][data-layout^="sticker_"] > .wb-preview-layout-upgrade-stack > .grw-placement-shell {
        align-self: flex-start;
    }
    .wb-preview-root[data-wb-widget-align="right"] > [data-wb-builder-preview][data-layout^="badge_"] > .wb-preview-layout-upgrade-stack > .grw-placement-shell,
    .wb-preview-root[data-wb-widget-align="right"] > [data-wb-builder-preview][data-layout^="sticker_"] > .wb-preview-layout-upgrade-stack > .grw-placement-shell {
        align-self: flex-end;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"]:not([data-wb-display-mode="floating"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])) {
        display: block;
        width: fit-content;
        max-width: 100%;
        flex: 0 0 auto;
        overflow: visible;
        margin-inline: 0;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"]:not([data-wb-display-mode="floating"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])) {
        display: block;
        width: fit-content;
        max-width: 100%;
        min-width: 0;
        flex: 0 0 auto;
        overflow: visible;
        margin-inline: 0;
    }

    .wb-preview-root > [data-wb-builder-preview] .grw-placement-shell {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: visible;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell:not([data-grw-display-mode="floating"]):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell:not([data-grw-display-mode="floating"]):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) {
        width: max-content !important;
        max-width: 100%;
        min-width: min-content;
        overflow: visible;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_review_request"]:not([data-wb-display-mode="floating"]):not(:has([data-grw-width-mode="full"])):not(:has([data-grw-width-mode="custom"])) {
        width: 100% !important;
        max-width: min(480px, 100%) !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_review_request"] .grw-placement-shell:not([data-grw-display-mode="floating"]):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) {
        width: 100% !important;
        max-width: min(480px, 100%) !important;
        min-width: 0 !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_review_request"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_review_request"] .grw-embed,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_review_request"] .grw-lf {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_reviews_button"] .grw-placement-shell:not([data-grw-display-mode="floating"]):not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) {
        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_reviews_button"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_reviews_button"] .grw-embed {
        padding: 0 !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="full"]:not([data-grw-display-mode="floating"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="full"]:not([data-grw-display-mode="floating"]) {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="custom"]:not([data-grw-display-mode="floating"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="custom"]:not([data-grw-display-mode="floating"]) {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell:not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) .grw-pill-chip.grw-sticker {
        width: max-content !important;
        max-width: 100% !important;
        min-width: min-content !important;
        justify-content: flex-start !important;
        overflow: visible !important;
    }

    /* Only real layout mounts are query containers — empty/placeholder preview must stay full width. */
    .wb-preview-root > [data-wb-builder-preview][data-layout]:not([data-layout^="badge_"]):not([data-layout^="sticker_"]):not([data-layout^="feed_"]) {
        container-type: inline-size;
        container-name: grw-widget;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"],
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] {
        container-type: normal;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-typo-root {
        width: auto;
        max-width: 100%;
        display: flex;
        justify-content: center;
        margin-inline: auto;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-typo-root:has(> .grw-branding),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-typo-root:has(> .grw-branding),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-embed:has(> .grw-branding),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-embed:has(> .grw-branding) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        height: auto !important;
        min-height: 0 !important;
        justify-content: flex-start !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-typo-root:has(> .grw-branding),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-embed:has(> .grw-branding) {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-typo-root:has(> .grw-branding) > :not(.grw-branding),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-embed:has(> .grw-branding) > :not(.grw-branding) {
        width: 100% !important;
        max-width: 100% !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
    }
    .wb-preview-root > [data-wb-builder-preview] .grw-typo-root > .grw-branding,
    .wb-preview-root > [data-wb-builder-preview] .grw-embed > .grw-branding {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-typo-root > .grw-branding,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-typo-root > .grw-branding,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-embed > .grw-branding,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-embed > .grw-branding {
        width: auto !important;
        max-width: 100% !important;
        align-self: center !important;
    }

    .wb-preview-root[data-wb-widget-align="left"] > [data-wb-builder-preview][data-layout^="badge_"] .grw-typo-root,
    .wb-preview-root[data-wb-widget-align="left"] > [data-wb-builder-preview][data-layout^="sticker_"] .grw-typo-root {
        justify-content: flex-start;
        margin-inline: 0 auto;
    }

    .wb-preview-root[data-wb-widget-align="right"] > [data-wb-builder-preview][data-layout^="badge_"] .grw-typo-root,
    .wb-preview-root[data-wb-widget-align="right"] > [data-wb-builder-preview][data-layout^="sticker_"] .grw-typo-root {
        justify-content: flex-end;
        margin-inline: auto 0;
    }
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="badge_"] [data-grw-width-mode="full"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])),
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="badge_"] [data-grw-width-mode="custom"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])),
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="sticker_"] [data-grw-width-mode="full"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])),
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout^="sticker_"] [data-grw-width-mode="custom"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])),
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout="badge_inline"] [data-grw-width-mode="full"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])),
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout="badge_inline"] [data-grw-width-mode="custom"]):not(:has(> [data-wb-builder-preview][data-wb-display-mode="floating"])) {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"]:not([data-wb-display-mode="floating"]):has([data-grw-width-mode="full"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"]:not([data-wb-display-mode="floating"]):has([data-grw-width-mode="custom"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"]:not([data-wb-display-mode="floating"]):has([data-grw-width-mode="full"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"]:not([data-wb-display-mode="floating"]):has([data-grw-width-mode="custom"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"]:not([data-wb-display-mode="floating"]):has([data-grw-width-mode="full"]),
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"]:not([data-wb-display-mode="floating"]):has([data-grw-width-mode="custom"]) {
        width: 100% !important;
        max-width: 100%;
        align-self: stretch;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="full"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-typo-root {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="full"] .grw-badge.grw-badge--inline,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-badge.grw-badge--inline,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="full"] .grw-google-tracer.grw-badge.grw-badge--inline,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-google-tracer.grw-badge.grw-badge--inline {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-shrink: 1 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="full"] .grw-badge.grw-badge--inline .grw-badge-inline-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-badge.grw-badge--inline .grw-badge-inline-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="full"] .grw-google-tracer.grw-badge.grw-badge--inline .grw-badge-inline-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-google-tracer.grw-badge.grw-badge--inline .grw-badge-inline-body {
        min-width: max-content !important;
        width: max-content !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-placement-shell:not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-placement-shell:not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) .grw-typo-root {
        width: fit-content !important;
        max-width: 100% !important;
        min-width: 0 !important;
        container-type: normal !important;
        container-name: none !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-embed {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-typo-root[data-grw-content-align="center"],
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-embed[data-grw-content-align="center"] {
        align-items: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-typo-root[data-grw-content-align="right"],
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-embed[data-grw-content-align="right"] {
        align-items: flex-end !important;
    }
    /* Center compact badge above free-plan ad; paid (no branding) stays content-aligned. */
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-typo-root:has(> .grw-branding),
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-embed:has(> .grw-branding) {
        align-items: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-typo-root > .grw-branding,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-embed > .grw-branding {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        box-sizing: border-box !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge.grw-badge--compact,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge.grw-badge--inline {
        width: fit-content !important;
        max-width: 100% !important;
        min-width: max-content !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge.grw-badge--compact .grw-badge-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge.grw-badge--compact .grw-badge-compact-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge.grw-badge--inline .grw-badge-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge.grw-badge--inline .grw-badge-inline-body {
        min-width: max-content !important;
        width: max-content !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact:not(.grw-badge-compact--labeled):not(.grw-google-tracer) {
        padding: var(--grw-padding-top, var(--grw-padding-y, 14px)) var(--grw-padding-right, var(--grw-padding-x, 22px)) var(--grw-padding-bottom, var(--grw-padding-y, 14px)) var(--grw-padding-left, var(--grw-padding-x, 22px)) !important;
        gap: 8px !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled:not(.grw-google-tracer) {
        padding: var(--grw-padding-top, var(--grw-padding-y, 14px)) var(--grw-padding-right, var(--grw-padding-x, 22px)) var(--grw-padding-bottom, var(--grw-padding-y, 14px)) var(--grw-padding-left, var(--grw-padding-x, 22px)) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled .grw-badge-compact-body {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 2px !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled.grw-badge-compact--align-center .grw-badge-compact-body {
        align-items: center !important;
        text-align: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled.grw-badge-compact--align-right .grw-badge-compact-body {
        align-items: flex-end !important;
        text-align: right !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-rating-label-v--short {
        display: inline !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-rating-label-v--medium,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-rating-label-v--long {
        display: none !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled .grw-badge-label {
        font-size: var(--grw-font-size-rating-label, 9px) !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        color: var(--grw-color-rating-label, var(--grw-color-accent, #4285F4)) !important;
    }
    .wb-preview-root .grw-rating-label--custom {
        text-transform: none !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled .grw-badge-label .grw-rating-label-responsive {
        display: block !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled .grw-badge-value {
        line-height: 1 !important;
        letter-spacing: 0 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact .grw-badge-value {
        font-size: var(--grw-font-size-rating-value, 20px) !important;
        line-height: 1 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact .grw-badge-stars {
        font-size: var(--grw-font-size-stars, calc(var(--grw-font-size-rating-value, 20px) * 0.32)) !important;
        letter-spacing: 0.02em !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact .grw-badge-count {
        font-size: var(--grw-font-size-review-count, 12px) !important;
        font-weight: 500 !important;
        color: var(--grw-color-review-count, #64748b) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact .grw-badge-rating-row {
        gap: 4px !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact .grw-badge-compact-body {
        gap: 6px !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-badge--compact.grw-badge-compact--labeled .grw-badge-label {
        margin: 0 !important;
        padding: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-rating-label-v--short {
        display: inline !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-rating-label-v--medium,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-rating-label-v--long {
        display: none !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline:not(.grw-google-tracer) {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        padding: 10px 16px !important;
        gap: 12px !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-google-tracer.grw-badge {
        padding: var(--grw-tracer-width, var(--grw-widget-border-width, 3px)) !important;
        padding-block: var(--grw-tracer-width, var(--grw-widget-border-width, 3px)) !important;
        padding-inline: var(--grw-tracer-width, var(--grw-widget-border-width, 3px)) !important;
        gap: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        align-items: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-label {
        font-size: var(--grw-font-size-rating-label, 11px) !important;
        line-height: 1.2 !important;
        letter-spacing: 0.12em !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
        width: auto !important;
        max-width: none !important;
        color: var(--grw-color-rating-label, var(--grw-color-accent, #4285F4)) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-value {
        font-size: var(--grw-font-size-rating-value, 20px) !important;
        line-height: 1 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-stars {
        font-size: var(--grw-font-size-stars, calc(var(--grw-font-size-rating-value, 20px) * 0.65)) !important;
        line-height: 1 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-count {
        font-size: var(--grw-font-size-review-count, 11px) !important;
        font-weight: 500 !important;
        color: var(--grw-color-review-count, #64748b) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-rating-row {
        gap: 6px !important;
        align-items: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-divider {
        align-self: stretch;
        min-height: 20px;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-badge-count {
        align-self: center !important;
        line-height: 1 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-badge-label,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-badge-value,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-badge-stars,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-badge-count,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-review-count-verified,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-google-mark-wrap,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-google-mark,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-google-logo-responsive,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-badge-inline-body > .grw-stars-with-count {
        align-self: center !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-logo-responsive,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-logo-responsive__wordmark,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-logo-responsive__icon {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-mark-wrap,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-logo-responsive .grw-google-mark-wrap {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        align-self: center !important;
        line-height: 1 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-mark-wrap,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-mark,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-logo-responsive {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        line-height: 1 !important;
        margin-block: 0 !important;
        padding-block: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-mark-wrap .grw-google-mark {
        display: flex !important;
        align-items: center !important;
        line-height: 1 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-mark-wrap svg,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_inline"] .grw-badge--inline .grw-google-mark svg {
        display: block !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    /* Builder live preview: match /examples widget art (badges, feeds; stickers unchanged). */
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-typo-root {
        width: auto;
        max-width: 100%;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_card"] .grw-badge--rating-card:not(.grw-google-tracer) {
        width: max-content;
        max-width: 100%;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_card"] .grw-badge--rating-card .grw-badge-card-body.items-center .grw-badge-card-eyebrow,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_card"] .grw-badge--rating-card .grw-badge-card-body.text-center .grw-badge-card-eyebrow {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    /* Feed previews: one grw-widget container at canvas mount width (match /examples + marketing mounts). */
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] {
        container-type: inline-size;
        container-name: grw-widget;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-embed,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-widget-shell,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-mock,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-preview-showcase,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-preview-carousel {
        container-type: normal !important;
        container-name: none !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-placement-shell > .grw-embed,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-placement-shell > .grw-typo-root {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-placement-shell .grw-widget,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-placement-shell .grw-mock,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-placement-shell .grw-widget-shell,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-placement-shell .grw-preview-showcase,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-placement-shell .grw-preview-carousel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .wb-layout-card__mock[data-layout="feed_masonry"],
    .wb-layout-card__mock[data-layout="feed_grid"] {
        container-type: inline-size;
        container-name: grw-widget;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .wb-layout-card__mock[data-layout="feed_masonry"] [data-wb-layout-stage],
    .wb-layout-card__mock[data-layout="feed_grid"] [data-wb-layout-stage] {
        container-type: inline-size;
        container-name: grw-widget;
        box-sizing: border-box;
    }
    .wb-layout-card__mock[data-layout="feed_masonry"] .grw-typo-root,
    .wb-layout-card__mock[data-layout="feed_masonry"] .grw-embed,
    .wb-layout-card__mock[data-layout="feed_masonry"] .grw-widget-shell,
    .wb-layout-card__mock[data-layout="feed_masonry"] .grw-mock,
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-typo-root,
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-embed,
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-widget-shell,
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-mock {
        container-type: normal !important;
        container-name: none !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-preview-showcase-track--examples > .grw-feed-review-card,
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-preview-showcase-track--examples > .grw-preview-showcase-card {
        height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
    }
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-review-photos {
        flex: 0 1 auto !important;
        min-height: 0 !important;
    }
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-feed-review-card__body {
        flex: 1 0 auto !important;
        overflow: visible !important;
    }
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-showcase-excerpt {
        flex: 0 0 auto !important;
        min-height: 2.4em !important;
    }
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-feed-review-card__stars,
    .wb-layout-card__mock[data-layout="feed_grid"] .grw-feed-review-card__footer {
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_list"] .grw-reviews-stack--list {
        gap: var(--grw-gap-element, 14px) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_list"] .grw-list-review-item {
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_list"] .grw-reviews-stack--list .grw-list-review-item:last-child {
        border-bottom: none !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-typo-root {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: max-content;
        max-width: 100%;
        min-width: min-content;
        overflow: visible;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="full"] > .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="custom"] > .grw-typo-root {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    /* Auto-width sticker ribbon: max-content sizing; never clip accent/logo via overflow:hidden. */
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-pill-chip.grw-sticker,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-sticker-shape.grw-sticker-ribbon,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-pill-chip.grw-sticker .grw-sticker-ribbon,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-google-tracer.grw-pill-chip.grw-sticker .grw-sticker-ribbon {
        width: max-content !important;
        max-width: 100% !important;
        min-width: min-content !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-sticker-ribbon {
        overflow: visible !important;
    }
    /* Tag sticker: keep shell overflow:hidden for shadow/border; paint rounded caps on header/body directly. */
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-placement-shell[data-grw-width-mode="auto"],
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-typo-root,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-pill-chip.grw-sticker:not(.grw-google-tracer) {
        width: max-content !important;
        max-width: 100% !important;
        min-width: min-content !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-google-tracer.grw-pill-chip.grw-sticker > .grw-google-tracer-inner {
        width: max-content !important;
        max-width: 100% !important;
        min-width: min-content !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-google-tracer.grw-pill-chip.grw-sticker > .grw-google-tracer-inner > .grw-sticker-tag {
        border-radius: inherit !important;
        background: transparent !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-placement-shell[data-grw-width-mode="auto"] .grw-sticker-tag {
        width: max-content !important;
        max-width: 100% !important;
        min-width: min-content !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-pill-chip.grw-sticker:not(.grw-google-tracer) .grw-sticker-tag__header {
        overflow: hidden !important;
        flex-shrink: 0 !important;
        border-top-left-radius: calc(28px - var(--grw-sticker-tag-shell-inset, 0px)) !important;
        border-top-right-radius: calc(28px - var(--grw-sticker-tag-shell-inset, 0px)) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-google-tracer.grw-pill-chip.grw-sticker > .grw-google-tracer-inner > .grw-sticker-tag > .grw-sticker-tag__header {
        overflow: hidden !important;
        flex-shrink: 0 !important;
        border-top-left-radius: calc(28px - var(--grw-tracer-width, var(--grw-widget-border-width, 3px))) !important;
        border-top-right-radius: calc(28px - var(--grw-tracer-width, var(--grw-widget-border-width, 3px))) !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-pill-chip.grw-sticker:not(.grw-google-tracer) .grw-sticker-tag__body {
        overflow: hidden !important;
        flex-shrink: 0 !important;
        border-bottom-left-radius: calc(20px - var(--grw-sticker-tag-shell-inset, 0px)) !important;
        border-bottom-right-radius: calc(20px - var(--grw-sticker-tag-shell-inset, 0px)) !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-google-tracer.grw-pill-chip.grw-sticker > .grw-google-tracer-inner > .grw-sticker-tag > .grw-sticker-tag__body {
        overflow: hidden !important;
        flex-shrink: 0 !important;
        border-bottom-left-radius: calc(20px - var(--grw-tracer-width, var(--grw-widget-border-width, 3px))) !important;
        border-bottom-right-radius: calc(20px - var(--grw-tracer-width, var(--grw-widget-border-width, 3px))) !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-sticker-tag__logo {
        overflow: visible !important;
        line-height: 1 !important;
        padding-bottom: 2px !important;
        flex-shrink: 0 !important;
    }
    .wb-layout-card__preview:has([data-layout="sticker_tag"]) {
        overflow: visible;
    }
    .wb-layout-card__mock[data-layout="sticker_tag"] {
        overflow: visible;
    }
    .wb-preview-root:has(> [data-wb-builder-preview][data-layout="sticker_tag"]) {
        min-height: 10rem;
        overflow: visible;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_card"] .grw-badge-preview-align {
        width: auto;
        max-width: 100%;
        justify-content: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_card"] .grw-placement-shell:not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) .grw-google-tracer.grw-badge--rating-card {
        width: max-content !important;
        max-width: 100% !important;
        min-width: max-content !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_card"] .grw-placement-shell:not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) .grw-google-tracer.grw-badge--rating-card > .grw-google-tracer-inner {
        width: max-content !important;
        max-width: 100% !important;
        min-width: max-content !important;
        flex-shrink: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_card"] .grw-badge--rating-card:not(.grw-google-tracer) {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }
    /* Live preview Compact Badge: keep the Google tracer ring (never a solid lock-chrome blue). */
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact {
        appearance: none;
        -webkit-appearance: none;
        border: none !important;
        border-color: transparent !important;
        outline: none;
        background-color: transparent !important;
        background-image: linear-gradient(90deg, #4285F4 0%, #34A853 22%, #FBBC04 44%, #EA4335 66%, #4285F4 88%, #34A853 100%) !important;
        background-size: 220% 100%;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-placement-shell:not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) .grw-google-tracer.grw-badge.grw-badge--compact,
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-placement-shell:not([data-grw-width-mode="full"]):not([data-grw-width-mode="custom"]) .grw-google-tracer.grw-badge.grw-badge--compact > .grw-google-tracer-inner {
        flex-shrink: 0 !important;
        width: max-content !important;
        max-width: 100% !important;
        min-width: max-content !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact:not(.grw-badge-compact--labeled) {
        display: inline-flex !important;
        align-items: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact.grw-badge-compact--labeled {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact:not(.grw-badge-compact--labeled) > .grw-google-tracer-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        padding: var(--grw-padding-top, var(--grw-padding-y, 14px)) var(--grw-padding-right, var(--grw-padding-x, 22px)) var(--grw-padding-bottom, var(--grw-padding-y, 14px)) var(--grw-padding-left, var(--grw-padding-x, 22px)) !important;
        gap: 8px !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact.grw-badge-compact--labeled > .grw-google-tracer-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: var(--grw-padding-top, var(--grw-padding-y, 14px)) var(--grw-padding-right, var(--grw-padding-x, 22px)) var(--grw-padding-bottom, var(--grw-padding-y, 14px)) var(--grw-padding-left, var(--grw-padding-x, 22px)) !important;
        gap: 0 !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact.grw-badge-compact--labeled .grw-badge-compact-body {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 2px !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact.grw-badge-compact--labeled.grw-badge-compact--align-center .grw-badge-compact-body {
        align-items: center !important;
        text-align: center !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="badge_compact"]:not([data-grw-layout-picker-preview]) .grw-google-tracer.grw-badge.grw-badge--compact.grw-badge-compact--labeled.grw-badge-compact--align-right .grw-badge-compact-body {
        align-items: flex-end !important;
        text-align: right !important;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-pill-chip.grw-sticker,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-sticker-shape.grw-sticker-ribbon,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="full"] .grw-pill-chip.grw-sticker,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_ribbon"] .grw-placement-shell[data-grw-width-mode="full"] .grw-sticker-shape.grw-sticker-ribbon,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-badge,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-badge,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-google-tracer.grw-badge,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-google-tracer.grw-badge,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-google-tracer.grw-badge > .grw-google-tracer-inner,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="badge_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-google-tracer.grw-badge > .grw-google-tracer-inner,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-pill-chip.grw-sticker,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-pill-chip.grw-sticker,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-google-tracer.grw-pill-chip.grw-sticker > .grw-google-tracer-inner,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-google-tracer.grw-pill-chip.grw-sticker > .grw-google-tracer-inner,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="full"] .grw-sticker-shape,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="sticker_"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-sticker-shape,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-placement-shell[data-grw-width-mode="full"] .grw-sticker-tag,
    .wb-preview-root > [data-wb-builder-preview][data-layout="sticker_tag"] .grw-placement-shell[data-grw-width-mode="custom"] .grw-sticker-tag {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .wb-preview-root [data-preview-variant="examples"] .grw-preview-showcase--examples,
    .wb-preview-root [data-preview-variant="examples"] .grw-preview-showcase-viewport--examples,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-preview-showcase-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-preview-showcase-viewport--examples,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-preview-showcase-track--examples,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-reviews-grid,
    .wb-preview-root > [data-wb-builder-preview][data-layout^="feed_"] .grw-masonry-columns {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-body:has(.grw-preview-showcase-viewport--examples),
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-viewport--examples {
        padding: 0;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples {
        padding-top: var(--grw-gap-inner, 6px);
        padding-bottom: var(--grw-padding-bottom, var(--grw-padding-y, 14px));
        padding-left: var(--grw-padding-left, var(--grw-padding-x, 22px));
        padding-right: var(--grw-padding-right, var(--grw-padding-x, 22px));
    }
    /* WP hosted + in-app builder feed_grid: equal-height cards, aligned stars, no in-body gaps. */
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-preview-showcase-card,
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-feed-review-card {
        height: 100%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-feed-review-card__body {
        flex: 0 1 auto;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-feed-review-card__body > * {
        flex: 0 0 auto;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-showcase-excerpt {
        flex: 0 1 auto;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-feed-review-card__grow {
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-feed-review-card__footer {
        flex: 0 0 auto;
        margin-top: 0;
    }
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_grid"] .grw-preview-showcase-track--examples .grw-review-photos--placeholder {
        flex-shrink: 0;
        width: 100%;
        aspect-ratio: 1 / 1;
        visibility: hidden;
        pointer-events: none;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_carousel"] .grw-preview-carousel.grw-mock {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_carousel"] .grw-preview-carousel-body,
    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_carousel"] .grw-preview-carousel-viewport {
        min-height: 0;
        height: auto;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_carousel"] .grw-preview-carousel-slide__quote {
        flex: 0 1 auto;
    }

    .wb-preview-root > [data-wb-builder-preview][data-layout="feed_carousel"] .grw-preview-carousel-track {
        padding-top: var(--grw-gap-inner, 6px);
        padding-bottom: var(--grw-gap-inner, 6px);
    }

    /* Builder uses scoped canvas drawers only — never the viewport-fixed #grw-reviews-drawer-root on body. */
    .wb-page #grw-reviews-drawer-root {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Closed overlays stay hidden off the Panel tab. An open flyout/popup/lightbox
       from a canvas click must still appear so the preview matches a live widget. */
    .wb-page:not([data-wb-active-section="flyout"]) .grw-reviews-drawer-root:not(.grw-drawer-open),
    .wb-page:not([data-wb-active-section="flyout"]) #grw-review-photo-lightbox:not(.grw-photo-lightbox-open) {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .wb-page:not([data-wb-active-section="flyout"]) .wb-canvas-wrap .grw-reviews-drawer-root--scoped:not(.grw-drawer-open),
    .wb-page:not([data-wb-active-section="flyout"]) .wb-canvas-stage .grw-reviews-drawer-root--scoped:not(.grw-drawer-open),
    .wb-page:not([data-wb-active-section="flyout"]) .wb-canvas-frame .grw-reviews-drawer-root--scoped:not(.grw-drawer-open) {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .wb-page .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-drawer-open,
    .wb-page .wb-canvas-frame .grw-reviews-drawer-root--scoped.grw-drawer-open {
        display: flex !important;
        flex-direction: column;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .wb-page .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--popup.grw-drawer-open {
        align-items: center;
        justify-content: center;
        padding: 16px;
        box-sizing: border-box;
    }

    .wb-page .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--popup.grw-drawer-open .grw-drawer-panel {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        right: auto !important;
        margin: auto !important;
        width: min(720px, calc(100% - 32px)) !important;
        max-width: 100% !important;
        max-height: min(90%, 760px) !important;
        border-radius: 24px !important;
        transform: none !important;
    }

    .wb-page .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--flyout.grw-drawer-open {
        display: block !important;
    }

    .wb-page .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--flyout.grw-drawer-open .grw-drawer-panel {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        right: auto !important;
        margin: 0 !important;
        width: min(420px, 92%) !important;
        max-width: 100% !important;
        max-height: none !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .wb-page[data-wb-active-section="flyout"] .wb-canvas-stage .grw-reviews-drawer-root--scoped,
    .wb-page[data-wb-active-section="flyout"] .wb-canvas-frame .grw-reviews-drawer-root--scoped {
        border-radius: 0.75rem;
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    .wb-page[data-wb-active-section="flyout"] .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-drawer-open,
    .wb-page[data-wb-active-section="flyout"] .wb-canvas-frame .grw-reviews-drawer-root--scoped.grw-drawer-open {
        display: flex !important;
        flex-direction: column;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .wb-page[data-wb-active-section="flyout"] .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--popup.grw-drawer-open {
        align-items: center;
        justify-content: center;
        padding: 16px;
        box-sizing: border-box;
    }

    .wb-page[data-wb-active-section="flyout"] .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--popup.grw-drawer-open .grw-drawer-panel {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        right: auto !important;
        margin: auto !important;
        width: min(720px, calc(100% - 32px)) !important;
        max-width: 100% !important;
        max-height: min(90%, 760px) !important;
        border-radius: 24px !important;
        transform: none !important;
    }

    /* Flyout on the stage: block layout + forced on-canvas panel (flex centering is popup-only). */
    .wb-page[data-wb-active-section="flyout"] .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--flyout.grw-drawer-open {
        display: block !important;
    }

    .wb-page[data-wb-active-section="flyout"] .wb-canvas-stage .grw-reviews-drawer-root--scoped.grw-review-panel--flyout.grw-drawer-open .grw-drawer-panel {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        right: auto !important;
        margin: 0 !important;
        width: min(420px, 92%) !important;
        max-width: 100% !important;
        max-height: none !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .wb-canvas-stage .grw-reviews-drawer-root--scoped .grw-drawer-panel,
    .wb-canvas-frame .grw-reviews-drawer-root--scoped .grw-drawer-panel {
        width: min(420px, 92%);
    }

    .wb-help-schema {
        margin: 0 0 1.1rem;
        padding: 0.95rem 1rem 1rem;
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
    }
    .wb-help-schema h3 {
        margin: 0 0 0.55rem;
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--wb-text);
    }
    .wb-help-schema p {
        margin: 0 0 0.55rem;
        font-size: 0.8125rem;
        line-height: 1.5;
        color: var(--wb-text-dim);
    }
    .wb-help-schema p:last-child { margin-bottom: 0; }

    .wb-help-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .wb-help-links a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: var(--wb-accordion-pad-y) var(--wb-accordion-pad-x);
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--wb-text);
        text-decoration: none;
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
        transition: border-color var(--wb-transition), background var(--wb-transition), color var(--wb-transition);
    }

    .wb-help-links a:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.35);
        background: var(--wb-accent-soft);
        color: #DBEAFE;
    }

    /* Unsaved changes confirmation modal */
    #wb-confirm-modal.wb-unsaved-modal {
        z-index: 200000;
    }
    .wb-unsaved-modal {
        position: fixed;
        inset: 0;
        z-index: 200000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.25rem;
    }

    .wb-unsaved-modal[hidden] {
        display: none !important;
    }

    .wb-unsaved-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
    }

    .wb-unsaved-modal__panel {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 26rem;
        background: #fff;
        border-radius: 1rem;
        border: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(30, 58, 138, 0.08);
        padding: 1.25rem;
    }

    .wb-unsaved-modal__title {
        font-family: var(--wb-font);
        font-size: 1.0625rem;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 0.5rem;
    }

    .wb-unsaved-modal__text {
        font-family: var(--wb-font);
        font-size: 0.875rem;
        color: #334155;
        line-height: 1.5;
        margin: 0 0 1.25rem;
    }

    .wb-unsaved-modal__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    .wb-unsaved-modal__discard {
        color: #b91c1c;
        border-color: #fecaca;
    }

    .wb-unsaved-modal__discard:hover:not(:disabled) {
        background: #fef2f2;
        border-color: #fca5a5;
        color: #991b1b;
    }

    .wb-rail__btn--bug svg {
        color: #b45309;
    }

    .wb-rail__btn--bug:hover {
        color: #92400e;
    }

    .wb-bug-modal {
        position: fixed;
        inset: 0;
        z-index: 200000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.25rem;
    }

    .wb-bug-modal[hidden] {
        display: none !important;
    }

    .wb-bug-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
    }

    .wb-bug-modal__panel {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 28rem;
        background: #fff;
        border-radius: 1rem;
        border: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.22);
        padding: 1.25rem;
    }

    .wb-bug-modal__title {
        font-family: var(--wb-font);
        font-size: 1.0625rem;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 0.35rem;
    }

    .wb-bug-modal__text {
        font-size: 0.875rem;
        color: #475569;
        line-height: 1.5;
        margin: 0 0 1rem;
    }

    .wb-bug-modal__form {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .wb-bug-modal__label {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.8125rem;
        font-weight: 500;
        color: #334155;
    }

    .wb-bug-modal__textarea,
    .wb-bug-modal__input {
        width: 100%;
        border: 1px solid #e2e8f0;
        border-radius: 0.5rem;
        padding: 0.5rem 0.625rem;
        font-size: 0.875rem;
        font-family: inherit;
        resize: vertical;
    }

    .wb-bug-modal__textarea:focus,
    .wb-bug-modal__input:focus {
        outline: 2px solid rgba(66, 133, 244, 0.35);
        border-color: var(--grw-brand, #4285F4);
    }

    .wb-bug-modal__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
        margin-top: 0.25rem;
    }

    @media (max-width: 900px) {
        .wb-shell {
            flex-direction: column;
        }

        .wb-rail {
            width: 100%;
            flex-direction: row;
            justify-content: flex-start;
            overflow-x: auto;
            border-right: none;
            border-bottom: 1px solid var(--wb-rail-border);
            padding: 0.375rem 0.5rem;
            gap: 0.125rem;
        }

        .wb-rail__btn {
            width: auto;
            min-width: 3.5rem;
            flex-shrink: 0;
        }

        .wb-rail__btn::before {
            left: 50%;
            top: auto;
            bottom: 0;
            transform: translateX(-50%) scaleX(0);
            width: 1.25rem;
            height: 3px;
            border-radius: 3px 3px 0 0;
        }

        .wb-rail__btn.is-active::before {
            transform: translateX(-50%) scaleX(1);
        }

        .wb-rail__install {
            margin-top: 0;
            margin-left: 0.25rem;
            padding-top: 0;
            padding-left: 0.375rem;
            border-top: none;
            border-left: 1px solid rgba(148, 163, 184, 0.22);
        }

        .wb-rail__btn--link {
            margin-top: 0;
            margin-left: auto;
        }

        .wb-panel {
            width: 100%;
            max-height: 42vh;
            border-right: none;
            border-bottom: 1px solid var(--wb-menu-border);
        }

        .wb-layout-grid {
            grid-template-columns: 1fr;
        }

        .wb-canvas-wrap {
            position: relative;
            top: auto;
            align-self: stretch;
            height: auto;
            max-height: none;
            min-height: 18rem;
            overflow: auto;
        }

        .wb-canvas-stage {
            min-height: 14rem;
        }

        /* Expanded phone: keep panel + preview inside the viewport; each scrolls alone. */
        body.builder-expanded .wb-shell {
            flex: 1 1 auto;
            min-height: 0;
            overflow: hidden;
        }

        body.builder-expanded .wb-panel {
            max-height: min(38vh, 320px);
            overflow: auto;
            flex: 0 0 auto;
        }

        body.builder-expanded .wb-canvas-wrap {
            flex: 1 1 auto;
            min-height: 0;
            height: auto;
            max-height: none;
            overflow: auto;
        }

        body.builder-expanded .wb-canvas-stage--mobile {
            max-height: 100%;
            min-height: min(520px, 55dvh);
            overflow: auto;
            margin: 0 auto;
        }
    }

    .wb-reviews-curator {
        margin-bottom: 0.25rem;
    }

    .wb-reviews-sync-bar {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.875rem;
        padding: 0.75rem var(--wb-accordion-pad-x);
        border: 1px solid var(--wb-accordion-border);
        border-radius: var(--wb-accordion-radius);
        background: var(--wb-accordion-bg);
        box-shadow: var(--wb-accordion-inset);
    }

    .wb-reviews-sync-bar__meta {
        min-width: 0;
        flex: 1;
    }

    .wb-reviews-sync-bar__counts {
        margin: 0;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--wb-text);
    }

    .wb-reviews-sync-bar__hint,
    .wb-reviews-sync-bar__time {
        margin: 0.25rem 0 0;
        font-size: 0.75rem;
        color: var(--wb-text-muted);
        line-height: 1.4;
    }

    .wb-reviews-sync-bar__hint--success {
        color: #bfdbfe;
    }

    .wb-reviews-sync-bar__hint--upgrade {
        color: #fde68a;
    }

    .wb-reviews-sync-bar__badge {
        display: inline-block;
        margin-left: 0.125rem;
        padding: 0.0625rem 0.375rem;
        border-radius: 999px;
        font-size: 0.6875rem;
        font-weight: 600;
        color: #bfdbfe;
        background: rgba(134, 239, 172, 0.12);
    }

    .wb-reviews-sync-bar__actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .wb-reviews-gbp-btn {
        min-height: 2.25rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
        white-space: nowrap;
        text-align: center;
    }

    .wb-reviews-sync-btn {
        flex-shrink: 0;
        min-height: 2.25rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
        white-space: nowrap;
    }

    .wb-reviews-sync-btn.is-loading {
        opacity: 0.85;
        pointer-events: none;
    }

    .wb-reviews-sync-btn__spinner {
        display: inline-block;
        width: 0.875rem;
        height: 0.875rem;
        margin-left: 0.375rem;
        border: 2px solid currentColor;
        border-right-color: transparent;
        border-radius: 50%;
        vertical-align: -0.125rem;
        animation: wb-spin 0.8s linear infinite;
    }

    .wb-reviews-sync-feedback {
        margin: -0.375rem 0 0.75rem;
        font-size: 0.75rem;
        color: var(--wb-text-muted);
    }

    .wb-reviews-sync-feedback.is-success {
        color: #bfdbfe;
    }

    .wb-reviews-sync-feedback.is-error {
        color: #fca5a5;
    }

    @keyframes wb-spin {
        to { transform: rotate(360deg); }
    }

    .wb-reviews-curator__hint {
        margin-bottom: 0.75rem;
    }

    .wb-reviews-empty {
        padding: 0.875rem 1rem;
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px dashed var(--wb-border);
        color: var(--wb-text-muted);
    }

    .wb-reviews-sync-hint {
        font-size: 0.75rem;
        color: var(--wb-text-dim);
        margin-top: 0.75rem;
    }

    .wb-reviews-available {
        margin: 0 0 8px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.45;
        letter-spacing: 0;
        color: var(--wb-text-muted);
    }

    .wb-reviews-count-line {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .wb-reviews-count-line .wb-label {
        margin-bottom: 0;
    }

    .wb-reviews-list-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 0.375rem;
    }

    .wb-reviews-list-head[hidden] {
        display: none !important;
    }

    .wb-reviews-list-head__label {
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--wb-text-muted);
    }

    .wb-reviews-list-head__count {
        font-size: 0.6875rem;
        font-weight: 600;
        color: var(--wb-text-muted);
        padding: 0.125rem 0.4375rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid var(--wb-border-subtle);
    }

    .wb-reviews-hidden-wrap {
        margin-top: 0.75rem;
    }

    .wb-reviews-hidden-label {
        margin: 0 0 0.375rem;
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--wb-text-muted);
    }

    .wb-reviews-feed {
        list-style: none;
        margin: 0;
        padding: 0;
        border: 1px solid var(--wb-border);
        border-radius: 0.625rem;
        background: var(--wb-panel-bg-surface);
        overflow: hidden;
    }

    .wb-reviews-feed--hidden {
        background: rgba(255, 255, 255, 0.02);
        border-style: dashed;
    }

    .wb-reviews-feed--hidden .wb-reviews-row {
        opacity: 0.88;
    }

    .wb-reviews-row {
        display: flex;
        align-items: stretch;
        min-height: 3.25rem;
        border-bottom: 1px solid var(--wb-border-subtle);
        background: transparent;
        transition: background 0.12s ease;
    }

    .wb-reviews-row:last-child {
        border-bottom: none;
    }

    .wb-reviews-row:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    .wb-reviews-row.is-dragging {
        opacity: 0.55;
        background: var(--wb-accent-soft);
    }

    .wb-reviews-row__drag {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.375rem;
        padding: 0 0.125rem;
        color: var(--wb-text-dim);
        cursor: grab;
        touch-action: none;
    }

    .wb-reviews-row__drag:hover {
        color: var(--wb-text-muted);
        background: rgba(255, 255, 255, 0.05);
    }

    .wb-reviews-row__drag:active {
        cursor: grabbing;
    }

    .wb-reviews-row__reorder {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.125rem;
        padding: 0.25rem 0 0.25rem 0.125rem;
    }

    .wb-reviews-row__move {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.25rem;
        height: 1.25rem;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0.25rem;
        background: transparent;
        color: var(--wb-text-muted);
        cursor: pointer;
    }

    .wb-reviews-row__move:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.08);
        color: var(--wb-text);
    }

    .wb-reviews-row__move:focus-visible {
        outline: 2px solid #3b82f6;
        outline-offset: 1px;
    }

    .wb-reviews-row__move:disabled {
        opacity: 0.35;
        cursor: default;
    }

    .wb-reviews-row__switch {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        padding: 0 0.5rem 0 0.25rem;
    }

    .wb-reviews-row__switch .wb-toggle--switch-only {
        position: relative;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        transform: none;
    }

    .wb-reviews-row__switch .wb-toggle--switch-only:hover,
    .wb-reviews-row__switch .wb-toggle--switch-only:has(.wb-toggle__input:focus-visible) {
        background: transparent;
        transform: none;
    }

    .wb-reviews-row__switch .wb-toggle--switch-only .wb-toggle__track {
        margin-left: 0;
    }

    .wb-reviews-row__switch .wb-toggle--switch-only:has(.wb-toggle__input:focus-visible) .wb-toggle__track {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
    }

    .wb-reviews-panel {
        gap: var(--wb-accordion-gap);
    }

    .wb-reviews-panel .wb-reviews-curator {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-width: 0;
    }

    /* An empty manager is still a flex item, and the old gap sat above Sort by.
       Hide it so Reviews starts at the same inset as Customize. */
    .wb-reviews-panel #wb-reviews-manager:not(:has(> *)) {
        display: none;
    }

    .wb-reviews-panel .wb-reviews-curator > .wb-callout:not(.hidden),
    .wb-reviews-panel #wb-reviews-manager:not(.hidden):has(> *) {
        margin-bottom: var(--wb-accordion-gap);
    }

    .wb-card--badge-element-order .wb-collapse__body,
    .wb-card--sticker-element-order .wb-collapse__body {
        padding-top: 0.25rem;
    }

    .wb-badge-element-order__list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin: 0;
        padding: 0.125rem;
        list-style: none;
        border-radius: 0.625rem;
        transition: background 0.15s ease, box-shadow 0.15s ease;
    }

    .wb-badge-element-order__list.is-badge-order-dragging {
        background: rgba(59, 130, 246, 0.07);
        box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.22);
        padding: 0.375rem;
    }

    .wb-badge-element-order__list.is-badge-order-dragging .wb-badge-element-order__item:not(.is-dragging):not(.is-drop-target) {
        opacity: 0.62;
    }

    .wb-badge-element-order__item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5625rem 0.6875rem;
        border: 1px solid var(--wb-border-subtle);
        border-radius: 0.625rem;
        background: var(--wb-panel-bg-surface);
        cursor: grab;
        touch-action: none;
        position: relative;
        z-index: 1;
        transition: box-shadow 0.15s ease, opacity 0.15s ease, transform 0.15s ease,
                    background 0.15s ease, border-color 0.15s ease, border-style 0.15s ease;
    }

    .wb-badge-element-order__item:active {
        cursor: grabbing;
    }

    .wb-badge-element-order__item:hover {
        border-color: rgba(148, 163, 184, 0.45);
        background: rgba(255, 255, 255, 0.03);
    }

    /* Source slot left behind while dragging */
    .wb-badge-element-order__item.is-dragging {
        opacity: 0.4;
        transform: scale(0.98);
        background: rgba(59, 130, 246, 0.08);
        border-color: var(--wb-accent, #3b82f6);
        border-style: dashed;
        border-width: 1.5px;
        box-shadow: none;
        cursor: grabbing;
    }

    /* Elevated drag ghost (setDragImage clone) */
    .wb-badge-element-order__item--ghost {
        opacity: 0.96;
        transform: rotate(1.25deg) scale(1.03);
        border-color: rgba(59, 130, 246, 0.7);
        background: #1e293b;
        box-shadow:
            0 14px 28px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(59, 130, 246, 0.35),
            0 0 18px rgba(59, 130, 246, 0.25);
        cursor: grabbing;
    }

    /* Drop target row highlight */
    .wb-badge-element-order__item.is-drop-target {
        border-color: rgba(59, 130, 246, 0.65);
        background: rgba(59, 130, 246, 0.12);
        box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
        opacity: 1;
    }

    /* Drop-before: vivid insertion line appearing in the gap above the hovered item */
    .wb-badge-element-order__item.is-drop-before::before {
        content: '';
        position: absolute;
        left: 0.2rem;
        right: 0.2rem;
        top: calc(-0.5rem / 2 - 1.5px);
        height: 3px;
        background: var(--wb-accent, #3b82f6);
        border-radius: 3px;
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
        animation: wbDropLineIn 0.12s ease-out both;
        transform-origin: left center;
    }

    /* Dot cap at the left end of the before-line */
    .wb-badge-element-order__item.is-drop-before::after {
        content: '';
        position: absolute;
        left: -1px;
        top: calc(-0.5rem / 2 - 4.5px);
        width: 8px;
        height: 8px;
        background: var(--wb-accent, #3b82f6);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.75);
        animation: wbDropLineIn 0.12s ease-out both;
    }

    /* Drop-after: vivid insertion line appearing in the gap below the hovered item */
    .wb-badge-element-order__item.is-drop-after::after {
        content: '';
        position: absolute;
        left: 0.2rem;
        right: 0.2rem;
        bottom: calc(-0.5rem / 2 - 1.5px);
        height: 3px;
        background: var(--wb-accent, #3b82f6);
        border-radius: 3px;
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
        animation: wbDropLineIn 0.12s ease-out both;
        transform-origin: left center;
    }

    /* Dot cap at the left end of the after-line */
    .wb-badge-element-order__item.is-drop-after::before {
        content: '';
        position: absolute;
        left: -1px;
        bottom: calc(-0.5rem / 2 - 4.5px);
        width: 8px;
        height: 8px;
        background: var(--wb-accent, #3b82f6);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.75);
        animation: wbDropLineIn 0.12s ease-out both;
    }

    @keyframes wbDropLineIn {
        from { opacity: 0; transform: scaleX(0.4); }
        to   { opacity: 1; transform: scaleX(1); }
    }

    .wb-badge-element-order__item.is-dropped {
        animation: wb-badge-order-drop-flash 0.48s ease;
    }

    /* Drag handle: clearly afforded as a drag target */
    .wb-badge-element-order__handle {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.25rem;
        height: 1.25rem;
        color: var(--wb-text-muted);
        font-size: 0.875rem;
        letter-spacing: 0.02em;
        line-height: 1;
        user-select: none;
        cursor: grab;
        border-radius: 0.25rem;
        transition: color 0.1s ease, background 0.1s ease;
    }

    .wb-badge-element-order__item:hover .wb-badge-element-order__handle {
        color: var(--wb-text);
        background: rgba(255, 255, 255, 0.08);
    }

    .wb-badge-element-order__item.is-dragging .wb-badge-element-order__handle {
        cursor: grabbing;
    }

    .wb-badge-element-order__label {
        font-size: 0.78125rem;
        font-weight: 600;
        line-height: 1.35;
        color: var(--wb-text);
    }

    .wb-preview-root [data-grw-badge-element].wb-badge-preview-element {
        cursor: grab;
        touch-action: none;
        position: relative;
        transition: box-shadow 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
    }

    .wb-preview-root [data-grw-badge-element].wb-badge-preview-element:active {
        cursor: grabbing;
    }

    .wb-preview-root .grw-badge-inline-body.is-badge-order-dragging {
        outline: 1px dashed rgba(59, 130, 246, 0.45);
        outline-offset: 4px;
        border-radius: 0.375rem;
    }

    .wb-preview-root [data-grw-badge-element].wb-badge-preview-element.is-dragging {
        opacity: 0.28;
        transform: scale(0.93);
        outline: 2px dashed var(--wb-accent);
        outline-offset: 2px;
        cursor: grabbing;
    }

    /* Preview drop-before: left-edge accent line */
    .wb-preview-root [data-grw-badge-element].wb-badge-preview-element.is-drop-before {
        box-shadow: inset 3px 0 0 var(--wb-accent), inset 0 0 0 1px rgba(59, 130, 246, 0.2);
    }

    /* Preview drop-after: right-edge accent line */
    .wb-preview-root [data-grw-badge-element].wb-badge-preview-element.is-drop-after {
        box-shadow: inset -3px 0 0 var(--wb-accent), inset 0 0 0 1px rgba(59, 130, 246, 0.2);
    }

    .wb-preview-root [data-grw-badge-element].wb-badge-preview-element.is-dropped {
        animation: wb-badge-order-drop-flash 0.48s ease;
    }

    @keyframes wb-badge-order-drop-flash {
        0%, 100% {
            background-color: transparent;
        }
        45% {
            background-color: var(--wb-accent-soft);
        }
    }

    .wb-reviews-row__open {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
        padding: 0.5625rem 0.5rem 0.5625rem 0.625rem;
        margin: 0;
        border: none;
        background: transparent;
        text-align: left;
        cursor: pointer;
        font: inherit;
        color: inherit;
    }

    .wb-reviews-row__drag + .wb-reviews-row__open,
    .wb-reviews-row__reorder + .wb-reviews-row__open,
    .wb-reviews-row__drag + .wb-reviews-row__reorder + .wb-reviews-row__open {
        padding-left: 0;
    }

    .wb-reviews-row__open:focus-visible {
        outline: 2px solid #3b82f6;
        outline-offset: -2px;
    }

    .wb-reviews-row__avatar {
        flex-shrink: 0;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 999px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wb-reviews-row__avatar--lg {
        width: 3rem;
        height: 3rem;
    }

    .wb-reviews-row__avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .wb-reviews-row__avatar--ph {
        font-size: 0.6875rem;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.02em;
    }

    .wb-reviews-row__avatar--lg.wb-reviews-row__avatar--ph {
        font-size: 0.8125rem;
    }

    .wb-reviews-row__content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.1875rem;
    }

    .wb-reviews-row__line1 {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.375rem;
        min-width: 0;
    }

    .wb-reviews-row__name {
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--wb-text);
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .wb-reviews-row__rating {
        display: inline-flex;
        align-items: center;
        gap: 0.1875rem;
        flex-shrink: 0;
        padding: 0.125rem 0.375rem;
        border-radius: 0.3125rem;
        background: rgba(37, 99, 235, 0.4);
        color: #bfdbfe;
        font-size: 0.6875rem;
        font-weight: 700;
        line-height: 1;
    }

    .wb-reviews-row__rating-icon {
        display: block;
        flex-shrink: 0;
    }

    .wb-reviews-row__rating-num {
        line-height: 1;
    }

    .wb-reviews-row__line2 {
        display: block;
        font-size: 0.75rem;
        line-height: 1.4;
        color: var(--wb-text-muted);
        min-width: 0;
    }

    .wb-reviews-row__time {
        color: var(--wb-text-dim);
        white-space: nowrap;
    }

    .wb-reviews-row__sep {
        margin: 0 0.25rem;
        color: var(--wb-text-dim);
    }

    .wb-reviews-row__excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }

    .wb-reviews-row__photos {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
        margin-top: 0.3125rem;
    }

    .wb-reviews-row__photo {
        position: relative;
        flex-shrink: 0;
        width: 2rem;
        height: 2rem;
        border-radius: 0.3125rem;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.06);
    }

    .wb-reviews-row__photo-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .wb-reviews-row__photo-more {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(15, 23, 42, 0.65);
        color: #fff;
        font-size: 0.625rem;
        font-weight: 700;
        line-height: 1;
        pointer-events: none;
    }

    .wb-review-modal__photos {
        display: flex;
        flex-wrap: wrap;
        gap: 0.375rem;
        margin-top: 1rem;
    }

    .wb-review-modal__photo {
        flex-shrink: 0;
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 0.375rem;
        overflow: hidden;
        border: 1px solid var(--wb-border);
        background: rgba(255, 255, 255, 0.04);
    }

    .wb-review-modal__photo-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .wb-reviews-btn {
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.4375rem 0.75rem;
        border-radius: 0.5rem;
        border: 1px solid var(--wb-border);
        background: var(--wb-panel-bg-input);
        color: var(--wb-text-muted);
        cursor: pointer;
        white-space: nowrap;
        transition: background var(--wb-transition), border-color var(--wb-transition), color var(--wb-transition);
    }

    .wb-reviews-btn:hover {
        background: #2a3548;
        border-color: rgba(255, 255, 255, 0.14);
        color: var(--wb-text);
    }

    .wb-reviews-btn--primary {
        background: var(--wb-accent-soft);
        border-color: rgba(var(--grw-brand-rgb), 0.3);
        color: #DBEAFE;
    }

    .wb-reviews-btn--primary:hover {
        background: rgba(var(--grw-brand-rgb), 0.22);
        border-color: rgba(var(--grw-brand-rgb), 0.45);
        color: #fff;
    }

    .wb-reviews-btn--danger {
        background: rgba(239, 68, 68, 0.08);
        border-color: rgba(239, 68, 68, 0.28);
        color: #fca5a5;
    }

    .wb-reviews-btn--danger:hover {
        background: rgba(239, 68, 68, 0.16);
        border-color: rgba(239, 68, 68, 0.4);
        color: #fecaca;
    }

    /* Review detail modal */
    body.wb-review-modal-open {
        overflow: hidden;
    }

    .wb-review-modal {
        position: fixed;
        inset: 0;
        z-index: 200000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .wb-review-modal[hidden] {
        display: none !important;
    }

    .wb-review-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(3px);
    }

    .wb-review-modal__panel {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 24rem;
        max-height: min(32rem, calc(100vh - 2rem));
        overflow: auto;
        background: #fff;
        border-radius: 0.875rem;
        border: 1px solid #e2e8f0;
        box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.2);
        padding: 1rem 1rem 0.875rem;
    }

    .wb-review-modal__close {
        position: absolute;
        top: 0.625rem;
        right: 0.625rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.75rem;
        height: 1.75rem;
        padding: 0;
        border: none;
        border-radius: 0.4375rem;
        background: #f8fafc;
        color: #64748b;
        cursor: pointer;
    }

    .wb-review-modal__close:hover {
        background: #f1f5f9;
        color: #334155;
    }

    .wb-review-modal__header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding-right: 1.75rem;
        margin-bottom: 0.875rem;
    }

    .wb-review-modal__name {
        margin: 0;
        font-size: 0.9375rem;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.3;
    }

    .wb-review-modal__sub {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.375rem 0.5rem;
        margin-top: 0.25rem;
    }

    .wb-review-modal__time {
        font-size: 0.75rem;
        color: #94a3b8;
    }

    .wb-review-modal__text {
        margin: 0 0 1rem;
        font-size: 0.8125rem;
        line-height: 1.55;
        color: #334155;
        white-space: pre-wrap;
        word-break: break-word;
    }

    .wb-review-modal__actions {
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
        padding-top: 0.25rem;
        border-top: 1px solid #f1f5f9;
    }

    .wb-review-modal__reorder {
        display: flex;
        gap: 0.375rem;
    }

    .wb-review-modal__reorder .wb-reviews-btn {
        flex: 1;
    }

    .wb-review-modal__primary {
        display: flex;
        flex-wrap: wrap;
        gap: 0.375rem;
        justify-content: flex-end;
    }

    .wb-typo-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .wb-typography-control {
        padding: 0.875rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.75rem;
        background: var(--wb-panel-bg-surface);
    }

    .wb-customize-panel .wb-typography-control,
    .wb-ai-summary-stack .wb-typography-control {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .wb-typo-stack {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .wb-typo-stack__label {
        margin: 0;
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.35;
        color: var(--wb-text);
    }

    .wb-customize-panel .wb-element[open] > .wb-collapse__body .wb-hint,
    .wb-customize-panel .wb-ai-element[open] > .wb-collapse__body .wb-hint,
    .wb-style-panel .wb-hint,
    .wb-settings-panel .wb-hint,
    .wb-reviews-panel .wb-hint {
        color: #c3cfe4;
    }

    .wb-customize-panel .wb-element[open] > .wb-collapse__body .wb-hint--essential,
    .wb-customize-panel .wb-ai-element[open] > .wb-collapse__body .wb-hint--essential,
    .wb-style-panel .wb-hint--essential,
    .wb-settings-panel .wb-hint--essential,
    .wb-reviews-panel .wb-hint--essential {
        color: #d7e1f2;
    }

    .wb-reviews-panel .wb-reviews-feed {
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .wb-reviews-panel .wb-reviews-row {
        min-height: 2.75rem;
    }

    .wb-typography-control__cell--reset .wb-typography-row__reset {
        opacity: 0.72;
    }

    .wb-typography-control__header {
        margin-bottom: 0.75rem;
    }

    .wb-typography-control__title,
    .wb-typo-row__label {
        display: block;
        font-size: var(--wb-type-body-size);
        font-weight: var(--wb-type-body-weight);
        color: var(--wb-text);
        text-transform: none;
        letter-spacing: 0;
        line-height: 1.35;
    }

    .wb-typography-control__desc,
    .wb-typo-row__desc {
        display: block;
        font-size: var(--wb-type-meta-size);
        color: var(--wb-text-dim);
        line-height: var(--wb-type-meta-line);
        margin-top: 0.1875rem;
    }

    .wb-typography-control__body {
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
    }

    .wb-typography-control__row {
        display: grid;
        gap: 0.625rem;
        align-items: end;
    }

    .wb-typography-control__row--controls {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    }

    .wb-typography-control__row--colour {
        grid-template-columns: minmax(0, 1fr);
    }

    .wb-typography-control__row--compact {
        align-items: end;
    }

    .wb-typography-control__cell--reset {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        justify-content: flex-end;
        align-self: end;
    }

    .wb-typography-control__cell-label--spacer {
        visibility: hidden;
        min-height: 0.75rem;
    }

    .wb-typo-role-reset,
    .wb-typography-row__reset {
        flex-shrink: 0;
        align-self: center;
    }

    .wb-typography-control__cell {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        min-width: 0;
    }

    .wb-typography-control__cell-label {
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        color: var(--wb-text-muted);
        line-height: 1.2;
    }

    .wb-typo-row {
        display: block;
    }

    .wb-typo-row__size,
    .wb-typo-row__weight {
        min-height: 2.375rem;
        height: 2.375rem;
        padding: 0.4375rem 0.625rem;
        font-size: 0.8125rem;
        box-shadow: none;
    }

    .wb-typo-row__weight {
        padding-right: 2rem;
        width: 100%;
        max-width: none;
    }

    .wb-reviews-item__author.wb-input,
    .wb-reviews-item__rating.wb-select,
    .wb-reviews-item__text.wb-textarea {
        min-height: auto;
        padding: 0.375rem 0.5rem;
        border-radius: 0.4375rem;
        box-shadow: none;
    }

    /* Dark panel utilities (Tailwind overrides in panel markup) */
    .wb-panel .border-slate-200,
    .wb-panel .border-t {
        border-color: var(--wb-border-subtle) !important;
    }

    .wb-panel .text-slate-500,
    .wb-panel .text-gray-500 {
        color: var(--wb-text-muted) !important;
    }

    .wb-page .wb-shell .wb-panel a[class*="text-slate"]:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel a[class*="text-gray"]:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel a[class*="text-blue"]:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel a.text-brand:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel a.text-brand-dark:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel .text-brand,
    .wb-page .wb-shell .wb-panel a.underline:not(.wb-callout__btn),
    .wb-page .wb-shell .wb-panel a.hover\:underline:hover:not(.wb-callout__btn) {
        color: var(--grw-brand-light) !important;
        text-decoration-color: rgba(var(--grw-brand-rgb), 0.45);
    }

    .wb-page .wb-shell .wb-panel a[class*="text-slate"]:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-panel a[class*="text-gray"]:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-panel a[class*="text-blue"]:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-panel a.text-brand:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-panel a.text-brand-dark:not(.wb-callout__btn):hover,
    .wb-page .wb-shell .wb-panel .text-brand:hover,
    .wb-page .wb-shell .wb-panel a.hover\:text-brand:hover:not(.wb-callout__btn) {
        color: #fff !important;
        text-decoration-color: rgba(255, 255, 255, 0.55);
    }

    .wb-page .wb-shell #place-results a,
    .wb-page .wb-shell #place-results .text-amber-700 a {
        color: var(--grw-brand-light) !important;
    }

    .wb-page .wb-shell #place-results a:hover,
    .wb-page .wb-shell #place-results .text-amber-700 a:hover {
        color: #fff !important;
    }

    .wb-panel .text-gred {
        color: #fca5a5 !important;
    }

    .wb-panel .text-gred:hover {
        color: #fecaca !important;
    }

    #place-results button,
    #place-results .wb-business-search__result {
        width: 100%;
        text-align: left;
        border: 1px solid var(--wb-border);
        border-radius: 0.625rem;
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
        color: var(--wb-text);
        background: var(--wb-panel-bg-surface);
        cursor: pointer;
        transition: border-color var(--wb-transition), background var(--wb-transition);
    }

    #place-results button:hover,
    #place-results .wb-business-search__result:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.35);
        background: var(--wb-accent-soft);
        transform: none;
        box-shadow: none;
    }

    #place-results button strong,
    #place-results .wb-business-search__result-body strong {
        color: var(--wb-text);
        font-weight: 600;
    }

    #place-results .wb-business-search__result-pin {
        color: var(--grw-brand-light);
        background: rgba(var(--grw-brand-rgb), 0.16);
    }

    #place-results .wb-business-search__result-addr {
        color: var(--wb-text-muted) !important;
    }

    #place-results button span,
    #place-results .text-gray-500 {
        color: var(--wb-text-muted) !important;
    }

    #place-results .text-red-600 {
        color: #fca5a5 !important;
    }

    #place-results .text-amber-700 {
        color: #fde68a !important;
    }

    .wb-place-search-field {
        position: relative;
    }

    .wb-place-search-field__icon {
        position: absolute;
        left: 0.8125rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1.0625rem;
        height: 1.0625rem;
        color: #94a3b8;
        pointer-events: none;
        transition: color var(--wb-transition);
        z-index: 1;
    }

    .wb-place-search-field:focus-within .wb-place-search-field__icon {
        color: rgba(var(--grw-brand-rgb), 0.9);
    }

    .wb-panel .wb-place-search-field .wb-place-search-field__icon {
        color: var(--wb-text-dim);
    }

    .wb-panel .wb-place-search-field:focus-within .wb-place-search-field__icon {
        color: var(--grw-brand-light);
    }

    .wb-panel .wb-place-search-field__spinner {
        color: var(--grw-brand-light);
    }

    .wb-panel .wb-place-search-field .wb-input.wb-place-search-field__input {
        padding-left: 2.375rem;
        padding-right: 2.375rem;
    }

    .wb-place-search-field__spinner {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.125rem;
        height: 1.125rem;
        color: rgba(var(--grw-brand-rgb), 0.85);
        pointer-events: none;
    }

    .wb-place-search-field__spinner[hidden] {
        display: none !important;
    }

    .wb-place-search-field__spinner-icon {
        width: 100%;
        height: 100%;
        animation: wb-place-search-spin 0.75s linear infinite;
    }

    @keyframes wb-place-search-spin {
        to { transform: rotate(360deg); }
    }

    .wb-place-search-field--canvas .wb-place-search-field__input {
        width: 100%;
        min-height: 2.75rem;
        border: 1.5px solid rgba(148, 163, 184, 0.45);
        border-radius: 0.75rem;
        padding: 0.6875rem 2.5rem 0.6875rem 2.5rem;
        font-size: 0.9375rem;
        line-height: 1.35;
        color: #0f172a;
        background: linear-gradient(180deg, #ffffff, #fbfdff);
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
        transition: border-color var(--wb-transition), box-shadow var(--wb-transition), background var(--wb-transition);
    }

    .wb-place-search-field--canvas .wb-place-search-field__input::placeholder {
        color: #94a3b8;
    }

    .wb-place-search-field--canvas .wb-place-search-field__input:hover {
        border-color: #94a3b8;
    }

    .wb-place-search-field--canvas .wb-place-search-field__input:focus {
        outline: none;
        border-color: rgba(var(--grw-brand-rgb), 0.65);
        box-shadow: 0 0 0 4px rgba(var(--grw-brand-rgb), 0.14), 0 8px 24px -10px rgba(var(--grw-brand-rgb), 0.35);
        background: #fff;
    }

    .wb-business-search__result {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        text-align: left;
        border: 1px solid #e2e8f0;
        border-radius: 0.75rem;
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
        background: #fff;
        color: #0f172a;
        cursor: pointer;
        transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    }

    .wb-business-search__result:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.4);
        background: linear-gradient(180deg, #f8fbff, #f1f6ff);
        box-shadow: 0 6px 18px -10px rgba(var(--grw-brand-rgb), 0.35);
        transform: translateY(-1px);
    }

    .wb-business-search__result-pin {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
        border-radius: 0.625rem;
        color: rgba(var(--grw-brand-rgb), 0.95);
        background: rgba(var(--grw-brand-rgb), 0.1);
    }

    .wb-business-search__result-pin svg {
        width: 1.05rem;
        height: 1.05rem;
    }

    .wb-business-search__result-body {
        flex: 1;
        min-width: 0;
    }

    .wb-business-search__result-body strong {
        display: block;
        color: #0f172a;
        font-weight: 600;
        line-height: 1.3;
    }

    .wb-business-search__result-addr {
        display: block;
        margin-top: 0.125rem;
        font-size: 0.75rem;
        color: #64748b;
        line-height: 1.35;
    }

    .wb-business-search__results:not(:empty) {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .wb-preview-placeholder {
        min-height: 220px;
        border: 2px dashed #d8e0ea;
        border-radius: 0.875rem;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.875rem;
        color: #94a3b8;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    }

    .wb-preview-placeholder--search {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        max-width: none;
        width: 100%;
        margin: 0;
        min-height: auto;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .wb-preview-root > [data-wb-builder-preview].wb-preview-placeholder {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        container-type: normal;
        container-name: none;
    }

    .wb-preview-empty-search {
        width: 100%;
    }

    .wb-preview-empty-search__hero {
        text-align: center;
        margin-bottom: 1.125rem;
    }

    .wb-preview-empty-search__illus {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.25rem;
        height: 3.25rem;
        margin: 0 auto 0.75rem;
        border-radius: 1rem;
        color: rgba(var(--grw-brand-rgb), 0.9);
        background: linear-gradient(145deg, rgba(var(--grw-brand-rgb), 0.14), rgba(var(--grw-brand-rgb), 0.06));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }

    .wb-preview-empty-search__illus svg {
        width: 1.65rem;
        height: 1.65rem;
    }

    .wb-preview-empty-search__title {
        margin: 0 0 0.375rem;
        font-size: 1.0625rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        color: #0f172a;
        line-height: 1.25;
    }

    .wb-preview-empty-search__message {
        margin: 0 auto;
        font-size: 0.8125rem;
        line-height: 1.5;
        color: #64748b;
        max-width: 36rem;
    }

    .wb-preview-empty-search__recent {
        margin-top: 0.75rem;
        text-align: left;
    }

    /* Canvas empty state: shared recent-place chips inherit dark sidebar tokens — restore light-theme contrast */
    .wb-preview-empty-search__recent .wb-recent-places__label {
        color: #475569;
    }

    .wb-preview-empty-search__recent .wb-recent-places__chip {
        border-color: #cbd5e1;
        background: #ffffff;
        color: #0f172a;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    }

    .wb-preview-empty-search__recent .wb-recent-places__chip:hover {
        border-color: rgba(var(--grw-brand-rgb), 0.4);
        background: linear-gradient(180deg, #f8fbff, #f1f6ff);
    }

    .wb-preview-empty-search__recent .wb-recent-places__chip:focus-visible {
        outline: none;
        border-color: rgba(var(--grw-brand-rgb), 0.65);
        box-shadow: 0 0 0 3px rgba(var(--grw-brand-rgb), 0.14);
    }

    .wb-preview-empty-search__recent .wb-recent-places__chip-name {
        color: #0f172a;
    }

    .wb-preview-empty-search__recent .wb-recent-places__chip-rating {
        color: #64748b;
    }

    .wb-preview-empty-search__domain {
        margin-top: 0.75rem;
        padding-bottom: 0.125rem;
    }

    .wb-group--domain-preview {
        text-align: left;
        border: 1px solid rgba(148, 163, 184, 0.28);
        border-radius: 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        box-shadow:
            0 4px 24px -10px rgba(15, 23, 42, 0.14),
            0 1px 3px rgba(15, 23, 42, 0.06);
    }

    .wb-group--domain-preview .wb-field {
        margin-bottom: 0;
    }

    .wb-group--domain-preview .wb-group__title {
        margin-bottom: 0.5rem;
        font-size: 0.8125rem;
        font-weight: 700;
        color: #0f172a;
        letter-spacing: -0.01em;
    }

    .wb-group--domain-preview .wb-label {
        color: #334155;
        font-size: 0.8125rem;
        font-weight: 650;
        letter-spacing: 0;
        text-transform: none;
    }

    .wb-group--domain-preview .wb-select,
    .wb-group--domain-preview .wb-input {
        background: #fff;
        border-color: rgba(148, 163, 184, 0.45);
        color: #0f172a;
    }

    .wb-group--domain-preview .wb-select,
    .wb-group--domain-preview .wb-select:hover,
    .wb-group--domain-preview .wb-select:focus {
        height: auto;
        min-height: 2.375rem;
        padding: 0.5rem 2rem 0.5rem 0.6875rem;
        background-color: #fff;
        border-color: rgba(148, 163, 184, 0.45);
        color: #0f172a;
        font-size: 0.84375rem;
        font-weight: 500;
        line-height: 1.35;
        box-shadow: none;
    }

    .wb-group--domain-preview .wb-hint,
    .wb-group--domain-preview .wb-callout__text {
        color: #64748b;
    }

    .wb-group--domain-preview .wb-callout--warn {
        background: rgba(251, 191, 36, 0.12);
        border-color: rgba(245, 158, 11, 0.35);
    }

    .wb-group--domain-preview .wb-callout__title {
        color: #b45309;
    }

    .wb-group--domain-preview .wb-callout--upgrade .wb-callout__title {
        color: #1E40AF;
    }
    .wb-group--domain-preview .wb-callout--upgrade .wb-callout__text {
        color: #475569;
    }

    .wb-domain-add {
        margin-top: 0.75rem;
    }

    .wb-group--domain:not(.wb-group--domain-preview) {
        margin-top: 1.25rem;
        padding: 1.25rem 0 0;
        border-top: 1px solid var(--wb-border, rgba(148, 163, 184, 0.18));
    }

    .wb-panel .wb-group--domain:not(.wb-group--domain-preview) > .wb-field {
        margin-bottom: 0;
    }

    .wb-panel .wb-group--domain .wb-domain-intro {
        margin-bottom: 0.625rem;
    }

    .wb-panel .wb-group--domain .wb-domain-select {
        min-height: 2.625rem;
        border-radius: 0.75rem;
    }

    .wb-group--domain.wb-group--domain-preview {
        margin-top: 0;
        border-top: none;
        padding: 1.25rem;
    }

    .wb-domain-intro {
        line-height: 1.45;
    }

    .wb-domain-limit-note {
        line-height: 1.45;
        margin-bottom: 0;
    }

    .wb-group--domain .wb-domain-add:last-child,
    .wb-group--domain .wb-domain-limit-note:last-child,
    .wb-group--domain .wb-field > .wb-hint:last-child {
        margin-bottom: 0;
    }

    .wb-domain-limit-note a {
        color: var(--grw-brand-light);
    }

    .wb-domain-input-field .wb-input.wb-place-search-field__input {
        padding-left: 2.5rem;
    }

    .wb-panel .wb-domain-input-field .wb-place-search-field__icon {
        color: var(--wb-text-dim);
    }

    .wb-panel .wb-domain-input-field:focus-within .wb-place-search-field__icon {
        color: var(--grw-brand-light);
    }

    .wb-group--domain-preview .wb-domain-input-field .wb-place-search-field__input {
        background: #fff;
        border-color: rgba(148, 163, 184, 0.45);
        color: #0f172a;
    }

    .wb-group--domain-preview .wb-domain-input-field .wb-place-search-field__icon {
        color: #94a3b8;
    }

    .wb-group--domain-preview .wb-domain-input-field:focus-within .wb-place-search-field__icon {
        color: rgba(var(--grw-brand-rgb), 0.9);
    }

    .wb-group--domain-preview .wb-domain-limit-note a {
        color: rgba(var(--grw-brand-rgb), 0.95);
    }

    .wb-domain-add__toggle {
        display: inline-block;
        margin-bottom: 0.5rem;
        font-size: 0.8125rem;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .wb-domain-add__form {
        margin-top: 0.5rem;
    }

    .wb-domain-add__fields {
        display: grid;
        gap: 0.5rem;
        margin-bottom: 0.625rem;
    }

    .wb-domain-add__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }

    .wb-group--domain-preview .wb-domain-add__submit {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }

    .wb-group--domain-preview .wb-domain-add__cancel {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
        color: #475569;
        border-color: rgba(148, 163, 184, 0.45);
    }

    .wb-panel .wb-domain-add__fields {
        display: grid;
        gap: 0.5rem;
        margin-bottom: 0.625rem;
    }

    .wb-panel .wb-domain-add__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }

    .wb-panel .wb-domain-add__toggle {
        display: inline-flex;
        align-items: center;
        margin-top: 0.75rem;
        margin-bottom: 0;
        padding: 0;
        border: none;
        background: none;
        font-size: 0.8125rem;
        line-height: 1.35;
        letter-spacing: 0.01em;
        color: var(--grw-brand-light);
        cursor: pointer;
    }

    .wb-panel .wb-domain-add__toggle:hover {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 0.15em;
    }

    .wb-preview-empty-search__field {
        margin-bottom: 1rem;
        text-align: left;
        border: 1px solid rgba(148, 163, 184, 0.28);
        border-radius: 1rem;
        padding: 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        box-shadow:
            0 4px 24px -10px rgba(15, 23, 42, 0.14),
            0 1px 3px rgba(15, 23, 42, 0.06);
    }

    .wb-preview-empty-search__results {
        margin-top: 0.625rem;
    }

    .wb-preview-empty-search__results .wb-business-search__error {
        font-size: 0.875rem;
        color: #dc2626;
        padding: 0 0.125rem;
    }

    .wb-preview-empty-search__results .wb-business-search__demo-note {
        font-size: 0.75rem;
        color: #b45309;
        padding: 0 0.125rem 0.375rem;
    }

    .wb-panel .grw-btn--outline {
        color: #DBEAFE;
        background: transparent;
        border-color: rgba(var(--grw-brand-rgb), 0.35);
        box-shadow: none;
    }

    .wb-panel .grw-btn--outline:hover:not(:disabled) {
        background: var(--wb-accent-soft);
        border-color: rgba(var(--grw-brand-rgb), 0.5);
        color: #fff;
    }

    .wb-panel .grw-btn--ghost {
        color: var(--wb-text-muted);
        background: transparent;
        border-color: var(--wb-border);
        box-shadow: none;
    }

    .wb-panel .grw-btn--ghost:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.14);
        color: var(--wb-text);
    }

    /* Dark builder chrome: readable text (no #1E3A8A / --grw-brand on panel & rail) */
    .wb-page .wb-shell .wb-panel .wb-color-reset,
    .wb-page .wb-shell .wb-rail .wb-color-reset {
        color: var(--grw-brand-light);
    }

    .wb-page .wb-shell .wb-panel .wb-color-reset:hover,
    .wb-page .wb-shell .wb-rail .wb-color-reset:hover {
        color: #fff;
    }

    .wb-page .wb-shell .wb-panel .wb-summary-chip__state,
    .wb-page .wb-shell .wb-panel .wb-help-links a:hover,
    .wb-page .wb-shell .wb-panel .wb-reviews-btn--primary,
    .wb-page .wb-shell .wb-panel .grw-btn--outline,
    .wb-page .wb-shell .wb-panel .grw-btn--preview {
        color: #DBEAFE;
    }

    .wb-page .wb-shell .wb-panel .grw-btn--preview:hover:not(:disabled),
    .wb-page .wb-shell .wb-panel .grw-btn--preview.is-active {
        color: #fff;
    }

    .wb-page .wb-shell .wb-panel .wb-layout-card__tone {
        color: #DBEAFE;
        background: rgba(30, 58, 138, 0.42);
        border-color: rgba(37, 99, 235, 0.7);
    }

    .wb-page .wb-shell .wb-panel .wb-input,
    .wb-page .wb-shell .wb-panel .wb-textarea,
    .wb-page .wb-shell .wb-panel .wb-card__title,
    .wb-page .wb-shell .wb-panel .wb-summary-card__title {
        color: #ffffff;
    }

    .wb-page .wb-shell .wb-panel .wb-visual-option__label {
        color: #b4c2dc;
    }

    .wb-page .wb-shell .wb-panel .wb-select option {
        color: #f1f5f9;
        background: #1b2940;
    }

    .wb-page .wb-shell .wb-panel .wb-visual-option.is-selected .wb-visual-option__label {
        color: var(--wb-selection-text);
    }

    /* Premium builder form components */
    .wb-color-field {
        width: 100%;
    }

    .wb-color-field__control,
    .wb-color-row {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        min-height: 2rem;
    }

    .wb-field-grid--colors .wb-color-field__control,
    .wb-field-grid--colors .wb-color-row,
    .wb-colour-field-row .wb-color-field__control,
    .wb-colour-field-row .wb-color-row {
        width: auto;
    }

    .wb-color-field .wb-color-row__swatch {
        width: 2rem;
        height: 2rem;
        border-radius: 0.4375rem;
    }

    .wb-color-field .wb-color-row__hex {
        flex: 1;
        min-width: 0;
        min-height: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

    .wb-card__body > .wb-field + .wb-field,
    .wb-card__body > .wb-group + .wb-field,
    .wb-card__body > .wb-field + .wb-group {
        margin-top: 0.25rem;
    }

    .wb-field .wb-hint {
        margin-top: 0.375rem;
    }

    .wb-ai-summary-stack > .wb-collapse,
    .wb-ai-summary-controls > .wb-collapse,
    .wb-customize-panel > .wb-collapse {
        margin-top: 0;
    }

    .wb-ai-summary-stack {
        display: flex;
        flex-direction: column;
        gap: var(--wb-accordion-gap);
    }

    .wb-ai-summary-controls {
        display: flex;
        flex-direction: column;
        gap: var(--wb-accordion-gap);
    }

    .wb-ai-summary-stack .wb-collapse__copy {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .wb-ai-summary-stack .wb-collapse__copy-title {
        display: block;
    }

    .wb-ai-summary-stack .wb-collapse__copy-desc {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.35;
        color: var(--wb-panel-sub-color);
    }

    .wb-ai-summary-stack .wb-customize-style-accordion > .wb-collapse__summary {
        min-height: 47px;
        align-items: center;
    }

    .wb-ai-summary-stack .wb-customize-style-accordion[open] > .wb-collapse__summary .wb-collapse__copy-desc {
        color: #bdcde5;
        font-weight: 400;
    }

    .wb-ai-summary-stack .wb-card--ai-summary-show .wb-toggle__hint {
        font-size: 12px;
    }

    .wb-ai-summary-preview-accordion {
        margin-top: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .wb-ai-summary-preview-accordion > .wb-collapse__summary {
        min-height: 47px;
        padding-left: 0;
        padding-right: 0;
        color: var(--wb-text-muted);
        background: transparent;
        border: 0;
        font-weight: 500;
    }

    .wb-ai-summary-preview-accordion:not([open]) > .wb-collapse__summary:hover {
        background: transparent;
        color: var(--wb-text);
    }

    .wb-ai-summary-preview-accordion[open] > .wb-collapse__summary {
        background: transparent;
        color: var(--wb-text);
        font-weight: 600;
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-ai-summary-preview-accordion[open] > .wb-collapse__summary::before {
        display: none;
        content: none;
    }

    .wb-ai-summary-preview-accordion > .wb-collapse__body {
        padding: 0.75rem 0 0;
        background: transparent;
    }

    .wb-ai-summary-stack .wb-collapse__body--ai-elements {
        padding: 5px 8px 6px;
        gap: 0;
    }

    .wb-ai-elements {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .wb-ai-element-row {
        position: relative;
        border-bottom: 1px solid var(--wb-border-subtle);
        min-width: 0;
    }

    .wb-ai-element-row:last-child {
        border-bottom: 0;
    }

    .wb-ai-element-row > .wb-toggle--switch-only {
        position: absolute;
        top: calc(48px / 2 - 22px);
        right: 26px;
        z-index: 2;
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        margin: 0;
        justify-content: center;
        gap: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .wb-ai-element-row > .wb-toggle--switch-only > input[type="hidden"] {
        position: absolute;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
    }

    .wb-ai-element-row > .wb-toggle--switch-only:hover,
    .wb-ai-element-row > .wb-toggle--switch-only:has(.wb-toggle__input:focus-visible) {
        background: transparent;
        box-shadow: none;
    }

    .wb-ai-element-row > .wb-toggle--switch-only:has(.wb-toggle__input:focus-visible) .wb-toggle__track {
        outline: 2px solid var(--wb-accordion-accent);
        outline-offset: 2px;
    }

    .wb-ai-element-row > .wb-toggle--switch-only .wb-toggle__track {
        margin-left: 0;
    }

    .wb-toggle--switch-only .wb-toggle__content--switch-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .wb-ai-summary-stack .wb-ai-element.wb-collapse--nested,
    .wb-ai-summary-stack .wb-collapse .wb-ai-element {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .wb-ai-summary-stack .wb-ai-element[open] {
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .wb-ai-summary-stack .wb-ai-element > .wb-collapse__summary {
        min-height: 48px;
        padding: 13px 87px 13px 8px;
    }

    .wb-ai-summary-stack .wb-ai-element:not([open]) > .wb-collapse__summary:hover {
        background: transparent;
    }

    .wb-ai-element-static {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 13px 80px 13px 8px;
        font-size: var(--wb-type-accordion-size);
        font-weight: var(--wb-type-accordion-weight);
        letter-spacing: var(--wb-type-accordion-tracking);
        line-height: var(--wb-type-accordion-line);
        color: var(--wb-nested-label-color);
    }

    .wb-ai-element-title {
        display: block;
        min-width: 0;
        font-size: 13px;
        font-weight: normal;
    }

    .wb-ai-element-row:has(.wb-toggle__input:not(:checked)) .wb-ai-element-title {
        color: var(--wb-text-muted);
    }

    .wb-ai-element-row:has(.wb-ai-element[open]) {
        background: var(--wb-nested-accordion-bg-open);
        border-radius: 5px;
        border-bottom-color: var(--wb-nested-accordion-heading-rule);
        margin: 3px 0;
    }

    .wb-ai-summary-stack .wb-ai-element[open] > .wb-collapse__summary .wb-ai-element-title {
        color: #fff;
    }

    .wb-ai-element__body {
        padding-top: 4px;
    }

    .wb-ai-summary-controls .wb-collapse__body > .wb-field {
        margin-bottom: 0;
    }

    .wb-ai-summary-controls .wb-collapse__body > .wb-group--nested {
        margin-top: 0;
    }

    .wb-ai-summary-controls > .wb-ai-summary-actions,
    .wb-ai-summary-controls > .wb-summary-preview-card {
        margin-top: 0;
    }

    .wb-ai-style-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    .wb-ai-style-card {
        display: block;
        cursor: pointer;
        margin: 0;
    }

    .wb-ai-style-card__inner {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
        min-height: 6.5rem;
        padding: 1rem 0.75rem;
        border-radius: 0.875rem;
        border: 1px solid var(--wb-border);
        background: var(--wb-panel-bg-input);
        color: var(--wb-text-muted);
        transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
    }

    .wb-ai-style-card:hover .wb-ai-style-card__inner {
        border-color: rgba(96, 165, 250, 0.45);
        color: var(--wb-text);
    }

    .wb-ai-style-card__icon {
        display: inline-flex;
        width: 1.75rem;
        height: 1.75rem;
        color: inherit;
    }

    .wb-ai-style-card__icon svg {
        width: 100%;
        height: 100%;
    }

    .wb-ai-style-card__label {
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: inherit;
    }

    .wb-ai-style-card__check {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        display: none;
        align-items: center;
        justify-content: center;
        width: 1.25rem;
        height: 1.25rem;
        border-radius: 999px;
        background: #3b82f6;
        color: #fff;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
    }

    .wb-ai-style-card__check svg {
        width: 0.75rem;
        height: 0.75rem;
    }

    .wb-ai-style-card:has(input:checked) .wb-ai-style-card__inner,
    .wb-ai-style-card input:checked + .wb-ai-style-card__inner {
        border-color: #3b82f6;
        background: rgba(59, 130, 246, 0.08);
        color: #bfdbfe;
        box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
    }

    .wb-ai-style-card:has(input:checked) .wb-ai-style-card__check,
    .wb-ai-style-card input:checked + .wb-ai-style-card__inner .wb-ai-style-card__check {
        display: inline-flex;
    }

    .wb-ai-style-card:has(input:focus-visible) .wb-ai-style-card__inner,
    .wb-ai-style-card input:focus-visible + .wb-ai-style-card__inner {
        outline: 2px solid #60a5fa;
        outline-offset: 2px;
    }

    .wb-ai-style-card:has(input:disabled) {
        cursor: not-allowed;
        opacity: 0.55;
    }

    .wb-ai-summary-actions__row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.625rem 0.75rem;
        margin-top: 0.375rem;
    }

    .wb-ai-summary-actions__btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4375rem;
    }

    .wb-ai-summary-actions__btn svg {
        width: 1rem;
        height: 1rem;
        flex-shrink: 0;
    }

    .wb-ai-summary-actions__status {
        margin: 0;
    }

    .wb-summary-preview-card {
        margin-top: 0.25rem;
        border: 1px solid var(--wb-border);
        border-radius: 0.75rem;
        background: var(--wb-panel-bg-surface);
        overflow: hidden;
    }

    .wb-summary-preview-card__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        background: var(--wb-section-header-bg);
        border-bottom: 1px solid var(--wb-border-subtle);
    }

    .wb-summary-preview-card__label {
        margin: 0;
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--wb-text-muted);
    }

    .wb-summary-preview-card__badge {
        font-size: 0.5625rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        padding: 0.125rem 0.4375rem;
        border-radius: 999px;
        color: #bfdbfe;
        background: rgba(59, 130, 246, 0.18);
        border: 1px solid rgba(59, 130, 246, 0.28);
    }

    .wb-summary-preview-card__body {
        padding: 0.875rem 0.75rem;
        font-size: 0.8125rem;
        line-height: 1.6;
        color: var(--wb-text);
        text-align: left;
        word-break: break-word;
        max-height: 12rem;
        overflow-y: auto;
        background: var(--wb-panel-bg-input);
    }

    .wb-summary-preview-card__body:not(.is-empty) {
        white-space: pre-wrap;
    }

    .wb-summary-preview-card__body.is-empty {
        white-space: normal;
    }

    .wb-summary-preview-card__empty {
        display: block;
        color: var(--wb-text-dim);
        font-style: italic;
    }

    .wb-summary-preview-card__loading {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--wb-text-muted);
        font-style: normal;
        font-weight: 500;
    }

    .wb-summary-preview-card__spinner {
        display: inline-block;
        width: 0.875rem;
        height: 0.875rem;
        border: 2px solid rgba(59, 130, 246, 0.22);
        border-top-color: #3B82F6;
        border-radius: 50%;
        flex-shrink: 0;
        animation: wb-spin 0.75s linear infinite;
    }

    @media (prefers-reduced-motion: reduce) {
        .wb-summary-preview-card__spinner {
            animation: none;
        }
    }

    @media (max-width: 520px) {
        .wb-ai-style-grid {
            grid-template-columns: 1fr;
        }

        .wb-typography-control__row--controls {
            grid-template-columns: 1fr 1fr auto;
        }

        .wb-margin-panel:not(.wb-margin-panel--compact) .wb-margin-panel__sides {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .wb-verified-badge-colors {
            grid-template-columns: 1fr;
        }
    }

    .wb-plan-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        margin-left: 0.4rem;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        color: #334155;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        border-radius: 999px;
        padding: 0.1rem 0.45rem;
        vertical-align: middle;
    }
    .wb-plan-badge__lock {
        display: inline-flex;
        line-height: 0;
    }
    .wb-collapse__summary .wb-plan-badge,
    .wb-toggle__label .wb-plan-badge {
        margin-left: 0.5rem;
    }
    .wb-builder-root[data-preview-first="1"] .wb-preview-layout-upgrade,
    .wb-builder-root[data-preview-first="1"] .wb-preview-layout-upgrade-stack > a.wb-preview-layout-upgrade {
        display: none !important;
    }
    .wb-builder-root[data-preview-first="1"] .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__body,
    .wb-builder-root[data-preview-first="1"] .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__body * {
        pointer-events: auto !important;
        cursor: auto !important;
        user-select: auto;
        opacity: 1;
    }
    .wb-builder-root[data-preview-first="1"] .wb-ai-summary-stack--locked .wb-ai-summary-controls .wb-collapse__body {
        cursor: auto;
        opacity: 1;
    }
    .wb-builder-root[data-preview-first="1"] .wb-layout-card.is-locked .wb-layout-card__preview::after {
        background: transparent;
    }
    .wb-builder-root[data-preview-first="1"] .wb-layout-card.is-locked .wb-layout-card__name,
    .wb-builder-root[data-preview-first="1"] .wb-layout-card.is-locked .wb-layout-card__desc {
        opacity: 1;
    }
    .wb-preview-first-banner {
        margin: 0.75rem 1rem 0;
        padding: 0.85rem 1rem;
        border: 1px solid #cbd5e1;
        border-radius: 0.75rem;
        background: #f8fafc;
        color: #0f172a;
    }
    .wb-preview-first-banner__title {
        font-weight: 700;
        font-size: 0.95rem;
        margin: 0 0 0.25rem;
    }
    .wb-preview-first-banner__body {
        margin: 0 0 0.65rem;
        font-size: 0.85rem;
        color: #475569;
    }
    .wb-preview-first-banner__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .wb-preview-first-banner.is-day3 {
        padding: 0;
        border: 0;
        background: transparent;
    }
    .wb-preview-first-banner.is-day3 .wb-preview-first-banner__title,
    .wb-preview-first-banner.is-day3 .wb-preview-first-banner__body,
    .wb-preview-first-banner.is-day3 .wb-preview-first-banner__actions {
        display: none;
    }
    .wb-day3-card {
        box-sizing: border-box;
        max-width: 100%;
        margin: 0;
        padding: 1rem 1rem 0.9rem;
        border-radius: 0.75rem;
        background: #11182c;
        color: #f8fafc;
        border: 1px solid rgba(255, 255, 255, 0.08);
        overflow-wrap: anywhere;
    }
    .wb-day3-card[hidden] { display: none !important; }
    .wb-day3-card__kicker {
        margin: 0 0 0.45rem;
        font-size: 0.75rem;
        line-height: 1.45;
        color: #94a3b8;
    }
    .wb-day3-card__title {
        margin: 0 0 0.4rem;
        font-size: 1rem;
        line-height: 1.35;
        font-weight: 700;
        color: #f8fafc;
    }
    .wb-day3-card__body,
    .wb-day3-card__note,
    .wb-day3-card__trust,
    .wb-day3-card__free-note {
        margin: 0 0 0.7rem;
        font-size: 0.84rem;
        line-height: 1.45;
        color: #cbd5e1;
    }
    .wb-day3-card__note,
    .wb-day3-card__free-note {
        margin-bottom: 0.55rem;
        font-size: 0.75rem;
        color: #94a3b8;
    }
    .wb-day3-card__benefits {
        margin: 0 0 0.85rem;
        padding: 0 0 0 1.1rem;
        font-size: 0.82rem;
        line-height: 1.4;
        color: #e2e8f0;
    }
    .wb-day3-card__benefits li { margin: 0.2rem 0; }
    .wb-day3-card__benefits[hidden] { display: none !important; }
    .wb-day3-card__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: auto;
        max-width: 100%;
        min-height: 44px;
        margin: 0 0 0.55rem;
        padding: 0.5rem 0.9rem;
        border-radius: 0.55rem;
        border: 1px solid #1d4ed8;
        background: #2563eb;
        color: #fff;
        font-size: 0.84rem;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        box-shadow: none;
    }
    .wb-day3-card__cta:hover {
        background: #1d4ed8;
        color: #fff;
    }
    .wb-day3-card__cta:focus-visible,
    .wb-day3-card__free:focus-visible,
    .wb-day3-return button:focus-visible {
        outline: 2px solid #60a5fa;
        outline-offset: 2px;
    }
    .wb-day3-card__trust { margin-bottom: 0.65rem; }
    .wb-day3-card__free-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.9rem;
        align-items: baseline;
    }
    .wb-day3-card__free {
        background: none;
        border: 0;
        padding: 0.15rem 0;
        color: #cbd5e1;
        font: inherit;
        font-size: 0.8rem;
        text-decoration: underline;
        text-underline-offset: 2px;
        cursor: pointer;
    }
    .wb-day3-card__free[hidden] { display: none !important; }
    .wb-day3-return {
        margin: 0.5rem 1rem 0;
        font-size: 0.8rem;
        line-height: 1.4;
        color: #475569;
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
        align-items: baseline;
    }
    .wb-day3-return[hidden] { display: none !important; }
    .wb-day3-return button {
        background: none;
        border: 0;
        padding: 0;
        color: #334155;
        font: inherit;
        text-decoration: underline;
        text-underline-offset: 2px;
        cursor: pointer;
    }
    #wb-upgrade-modal[data-wb-day3-offer] .wb-unsaved-modal__panel {
        background: #11182c;
        border-color: rgba(255, 255, 255, 0.08);
        color: #f8fafc;
        box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.45);
    }
    #wb-upgrade-modal[data-wb-day3-offer] .wb-unsaved-modal__title,
    #wb-upgrade-modal[data-wb-day3-offer] .wb-unsaved-modal__close {
        color: #f8fafc;
    }
    #wb-upgrade-modal[data-wb-day3-offer] .wb-unsaved-modal__text {
        color: #cbd5e1;
        margin-bottom: 0.65rem;
    }
    #wb-upgrade-modal[data-wb-day3-offer] #wb-upgrade-modal-kicker,
    #wb-upgrade-modal[data-wb-day3-offer] #wb-upgrade-modal-note {
        margin: 0 0 0.45rem;
        font-size: 0.75rem;
        line-height: 1.45;
        color: #94a3b8;
    }
    #wb-upgrade-modal[data-wb-day3-offer] #wb-upgrade-modal-note { margin-top: 0.15rem; }
    #wb-upgrade-modal[data-wb-day3-offer] #wb-upgrade-modal-benefits {
        margin: 0.15rem 0 0.75rem;
        padding-left: 1.1rem;
        color: #e2e8f0;
        font-size: 0.84rem;
        line-height: 1.4;
    }
    #wb-upgrade-modal[data-wb-day3-offer] #wb-upgrade-modal-supporting {
        color: #cbd5e1;
        font-size: 0.8rem;
        line-height: 1.45;
    }
    #wb-upgrade-modal[data-wb-day3-offer] #wb-upgrade-modal-primary.grw-btn--primary {
        background: #2563eb;
        border-color: #1d4ed8;
        box-shadow: none;
        color: #fff;
    }
    #wb-upgrade-modal[data-wb-day3-offer][data-wb-day3-free-confirm] #wb-upgrade-modal-primary.grw-btn--primary {
        background: transparent;
        color: #e2e8f0;
        border-color: rgba(255, 255, 255, 0.28);
    }
    #wb-upgrade-modal[data-wb-day3-offer] .grw-btn--ghost {
        background: transparent;
        color: #cbd5e1;
        border-color: rgba(255, 255, 255, 0.22);
    }
    .wb-preview-first-toast {
        position: sticky;
        top: 0;
        z-index: 10060;
        box-sizing: border-box;
        width: auto;
        max-width: 100%;
        margin: 0.5rem 1rem 0;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
        pointer-events: auto;
        isolation: isolate;
    }
    .wb-preview-first-toast[hidden] {
        display: none !important;
    }
    .wb-preview-first-toast__inner {
        display: flex;
        gap: 0.75rem;
        align-items: flex-start;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding: 0.85rem 1rem;
        background: #0f172a;
        color: #f8fafc;
        border-radius: 0.75rem;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.28);
    }
    .wb-preview-first-toast__title {
        font-weight: 700;
        margin: 0 0 0.2rem;
        font-size: 0.9rem;
    }
    .wb-preview-first-toast__body {
        margin: 0;
        font-size: 0.8rem;
        color: #cbd5e1;
    }
    .wb-preview-first-toast__copy {
        min-width: 0;
        flex: 1;
    }
    .wb-preview-first-toast__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.65rem;
    }
    .wb-preview-first-toast__actions[hidden] {
        display: none !important;
    }
    .wb-preview-first-toast__cta,
    .wb-preview-first-toast__undo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0.45rem 0.85rem;
        border-radius: 0.55rem;
        font-size: 0.8rem;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        box-sizing: border-box;
    }
    .wb-preview-first-toast__cta[hidden],
    .wb-preview-first-toast__undo[hidden] {
        display: none !important;
    }
    .wb-preview-first-toast__cta {
        background: #fff;
        color: #0f172a;
        border: 0;
        pointer-events: auto;
        position: relative;
        z-index: 1;
    }
    .wb-preview-first-toast__undo {
        background: transparent;
        color: #e2e8f0;
        border: 1px solid rgba(226, 232, 240, 0.35);
    }
    .wb-preview-first-toast__close {
        border: 0;
        background: transparent;
        color: inherit;
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
        flex-shrink: 0;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
    }
    .wb-unsaved-modal__close {
        position: absolute;
        top: 0.65rem;
        right: 0.75rem;
        border: 0;
        background: transparent;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
        color: #334155;
    }
    .wb-unsaved-modal__panel {
        position: relative;
    }
    @media (max-width: 640px) {
        .wb-preview-first-banner,
        .wb-preview-first-toast,
        .wb-day3-return {
            margin-left: max(0.75rem, env(safe-area-inset-left, 0px));
            margin-right: max(0.75rem, env(safe-area-inset-right, 0px));
        }
        .wb-day3-card__cta {
            width: 100%;
        }
        .wb-preview-first-toast {
            position: relative;
            left: auto;
            right: auto;
            bottom: auto;
            max-width: none;
        }
        .wb-topbar__actions .wb-btn {
            font-size: 0.8rem;
        }
        .wb-canvas-wrap {
            overflow-x: hidden;
        }
    }

    .wb-seo-panel {
        display: flex;
        flex-direction: column;
        gap: 1.15rem;
        color: var(--wb-text);
        font-family: var(--wb-font);
    }
    .wb-seo-eyebrow {
        margin: 0 0 0.45rem;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        color: var(--wb-segment-text-active);
    }
    .wb-seo-heading {
        margin: 0 0 0.7rem;
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.35;
        color: var(--wb-text);
    }
    .wb-seo-sales p,
    .wb-seo-locked p,
    .wb-seo-explainer__body p,
    .wb-seo-benefit p {
        margin: 0 0 0.7rem;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.55;
        color: var(--wb-text-muted);
    }
    .wb-seo-sales p:last-child,
    .wb-seo-locked p:last-child,
    .wb-seo-explainer__body p:last-child,
    .wb-seo-benefit p:last-child {
        margin-bottom: 0;
    }
    .wb-seo-caveat {
        font-size: 0.8125rem !important;
        color: var(--wb-text-dim) !important;
    }
    .wb-seo-benefits,
    .wb-seo-points {
        display: grid;
        gap: 0.85rem;
        border: 1px solid var(--wb-border);
        border-radius: 14px;
        background: var(--wb-panel-bg-surface);
        padding: 0.95rem 1rem;
    }
    .wb-seo-point {
        display: grid;
        grid-template-columns: 1.75rem minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
    }
    .wb-seo-point__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.75rem;
        height: 1.75rem;
        margin-top: 0.05rem;
        color: var(--wb-segment-text-active);
    }
    .wb-seo-point__icon svg {
        width: 1.35rem;
        height: 1.35rem;
        display: block;
    }
    .wb-seo-point h4 {
        margin: 0 0 0.2rem;
        font-size: 0.9375rem;
        font-weight: 650;
        color: var(--wb-text);
    }
    .wb-seo-point p {
        margin: 0;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.5;
        color: var(--wb-text-muted);
    }
    .wb-seo-rule {
        margin: 0;
        border: 0;
        border-top: 1px solid var(--wb-border);
    }
    .wb-seo-example__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin: 0 0 0.65rem;
    }
    .wb-seo-example__label {
        margin: 0;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--wb-text-dim);
    }
    .wb-seo-state {
        margin: 0;
        padding: 0.2rem 0.55rem;
        border-radius: 999px;
        border: 1px solid var(--wb-border);
        background: rgba(148, 163, 184, 0.12);
        color: var(--wb-text-muted);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.04em;
    }
    .wb-seo-state[data-state="on"] {
        border-color: rgba(34, 197, 94, 0.45);
        background: rgba(34, 197, 94, 0.16);
        color: #4ade80;
    }
    .wb-seo-example .schema-serp-example__kicker {
        display: none;
    }
    .wb-seo-example .wb-seo-enabled {
        margin-top: 0.85rem;
    }
    .wb-seo-result {
        border: 1px solid var(--wb-border);
        border-radius: 12px;
        background: #fff;
        padding: 0.75rem 0.8rem 0.85rem;
    }
    .wb-seo-result__url {
        margin: 0 0 0.2rem;
        font-size: 0.7rem;
        color: #188038;
    }
    .wb-seo-result__title {
        margin: 0 0 0.3rem;
        font-size: 0.88rem;
        line-height: 1.3;
        color: #1a0dab;
        font-weight: 500;
    }
    .wb-seo-result__desc {
        margin: 0;
        font-size: 0.72rem;
        line-height: 1.45;
        color: #4d5156;
    }
    .wb-seo-result__rating {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        margin: 0 0 0.3rem;
        font-size: 0.72rem;
        color: #4d5156;
    }
    .wb-seo-result__rating svg {
        width: 11px;
        height: 11px;
    }
    .wb-seo-point {
        align-items: center;
    }
    .wb-seo-point h4 {
        margin: 0;
    }
    .wb-seo-benefit,
    .wb-seo-enabled,
    .wb-seo-locked,
    .wb-seo-explainer,
    .wb-seo-tips,
    .wb-seo-duplicate {
        border: 1px solid var(--wb-border);
        border-radius: 14px;
        background: var(--wb-panel-bg-surface);
        padding: 0.9rem 1rem;
    }
    .wb-seo-benefit h4,
    .wb-seo-tips h3,
    .wb-seo-duplicate h4 {
        margin: 0 0 0.4rem;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--wb-text);
    }
    .wb-seo-control {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }
    .wb-seo-status {
        margin: 0 0 0.25rem;
        font-size: 0.9375rem;
        font-weight: 700;
        color: #86efac;
    }
    .wb-seo-status-support {
        margin: 0 0 0.85rem;
        font-size: 0.8125rem;
        color: var(--wb-text-muted);
    }
    .wb-seo-details {
        display: grid;
        gap: 0.55rem;
        margin: 0 0 0.9rem;
    }
    .wb-seo-details div {
        display: grid;
        gap: 0.1rem;
    }
    .wb-seo-details dt {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--wb-text-dim);
    }
    .wb-seo-details dd {
        margin: 0;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--wb-text);
    }
    .wb-seo-test,
    .wb-seo-learn a {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--wb-segment-text-active);
        text-decoration: none;
    }
    .wb-seo-test:hover,
    .wb-seo-learn a:hover {
        color: #fff;
    }
    .wb-seo-locked-label {
        margin: 0 0 0.55rem !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.04em;
        color: var(--wb-segment-text-active) !important;
    }
    .wb-seo-upgrade-actions {
        margin: 0.85rem 0 0.45rem;
    }
    .wb-seo-upgrade-support {
        margin: 0 !important;
        font-size: 0.8125rem !important;
        color: var(--wb-text-dim) !important;
    }
    .wb-seo-explainer summary {
        cursor: pointer;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--wb-text);
        list-style: none;
    }
    .wb-seo-explainer summary::-webkit-details-marker { display: none; }
    .wb-seo-explainer summary::after {
        content: "＋";
        float: right;
        color: var(--wb-text-dim);
        font-weight: 500;
    }
    .wb-seo-explainer[open] summary::after { content: "–"; }
    .wb-seo-explainer__body { margin-top: 0.75rem; }
    .wb-seo-tips ol {
        margin: 0;
        padding-left: 1.15rem;
        display: grid;
        gap: 0.7rem;
    }
    .wb-seo-tips li {
        font-size: 0.875rem;
        line-height: 1.5;
        color: var(--wb-text-muted);
    }
    .wb-seo-tips li strong {
        display: block;
        margin-bottom: 0.15rem;
        color: var(--wb-text);
        font-weight: 600;
    }
    .wb-seo-learn { margin: 0.15rem 0 0; }
    .wb-json-ld-explainer .wb-seo-example-label,
    .schema-serp-example__kicker {
        display: inline-flex;
        align-items: center;
        margin: 0 0 0.5rem;
        padding: 0.15rem 0.5rem;
        border-radius: 999px;
        background: rgba(59, 130, 246, 0.16);
        color: var(--wb-segment-text-active);
        font-size: 0.6875rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .wb-json-ld-explainer figcaption,
    .schema-serp-example figcaption {
        margin-top: 0.55rem;
        font-size: 0.75rem;
        line-height: 1.45;
        color: var(--wb-text-dim);
    }
    .schema-serp-example--builder .schema-serp-example__grid {
        display: grid;
        gap: 0.65rem;
    }
    @media (min-width: 520px) {
        .schema-serp-example--builder .schema-serp-example__grid {
            grid-template-columns: 1fr 1fr;
        }
    }
    .schema-serp-example--builder .schema-serp-card {
        border: 1px solid var(--wb-border);
        border-radius: 12px;
        background: #111827;
        overflow: hidden;
    }
    .schema-serp-example--builder .schema-serp-card__label {
        margin: 0;
        padding: 0.45rem 0.7rem;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--wb-text-dim);
        background: rgba(255, 255, 255, 0.04);
        border-bottom: 1px solid var(--wb-border);
    }
    .schema-serp-example--builder .schema-serp-card__result {
        padding: 0.7rem 0.75rem 0.8rem;
        background: #fff;
    }
    .schema-serp-example--builder .schema-serp-card__url {
        margin: 0 0 0.2rem;
        font-size: 0.7rem;
        color: #188038;
    }
    .schema-serp-example--builder .schema-serp-card__title {
        margin: 0 0 0.3rem;
        font-size: 0.88rem;
        line-height: 1.3;
        color: #1a0dab;
        font-weight: 500;
    }
    .schema-serp-example--builder .schema-serp-card__desc {
        margin: 0;
        font-size: 0.72rem;
        line-height: 1.45;
        color: #4d5156;
    }
    .schema-serp-example--builder .schema-serp-card__rating {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        margin: 0 0 0.3rem;
        font-size: 0.72rem;
        color: #4d5156;
    }
    .schema-serp-example--builder .schema-serp-card__rating svg {
        width: 11px;
        height: 11px;
    }

    .wb-seo-panel { gap: 0; }
    .wb-seo-setting .wb-toggle--row {
        align-items: flex-start;
        min-height: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .wb-seo-setting .wb-toggle__label {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.3;
    }
    .wb-seo-status {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 6px 0 0;
        font-size: 11px;
        color: #80d6ae;
    }
    .wb-seo-status::before {
        content: "";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
    }
    .wb-seo-panel.is-off .wb-seo-status { color: #91a2b8; }
    .wb-seo-lead {
        margin: 14px 0 0;
        color: #b6c2d3;
        font-size: 13px;
        line-height: 1.5;
    }
    .wb-seo-benefit {
        display: grid;
        grid-template-columns: 28px 1fr;
        gap: 9px;
        margin: 12px 0 0;
        padding: 12px 14px;
        border-radius: 12px;
    }
    .wb-seo-benefit__icon {
        color: #80b4ff;
        font-size: 18px;
        line-height: 22px;
    }
    .wb-seo-benefit b {
        display: block;
        margin-bottom: 3px;
        font-size: 13px;
        font-weight: 500;
        color: var(--wb-text);
    }
    .wb-seo-benefit p {
        margin: 0;
        color: #98a8bf;
        font-size: 12px;
        line-height: 1.45;
    }
    .wb-seo-example { margin: 14px 0 0; }
    .wb-seo-example__bar {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 8px;
        color: #8f9eb3;
        font-size: 10px;
        letter-spacing: 1.4px;
        text-transform: uppercase;
    }
    .wb-seo-example__sample {
        letter-spacing: 0;
        text-transform: none;
        color: #75859b;
    }
    .wb-seo-serp {
        background: #fff;
        border-radius: 8px;
        padding: 14px 16px 15px;
        font-family: Arial, Arimo, "Liberation Sans", Helvetica, sans-serif;
        color: #4d5156;
        text-align: left;
        box-shadow: 0 10px 30px #0002;
    }
    #wb-panel .wb-seo-serp,
    #wb-panel .wb-seo-serp p,
    #wb-panel .wb-seo-serp span {
        font-family: Arial, Arimo, "Liberation Sans", Helvetica, sans-serif;
        letter-spacing: 0;
    }
    .wb-seo-panel.is-off .wb-seo-serp { opacity: .85; }
    .wb-seo-serp__source {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .wb-seo-serp__favicon {
        display: grid;
        place-items: center;
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        box-sizing: border-box;
        border: 1px solid #ecedef;
        border-radius: 50%;
        background: #f1f3f4;
    }
    .wb-seo-serp__favicon svg {
        width: 15px;
        height: 15px;
        display: block;
        fill: #5f6368;
    }
    .wb-seo-serp__site {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
    .wb-seo-serp__name {
        font-size: 13px;
        line-height: 18px;
        color: #202124;
        white-space: nowrap;
    }
    .wb-seo-serp__url {
        font-size: 11px;
        line-height: 16px;
        color: #4d5156;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .wb-seo-serp__more {
        align-self: flex-end;
        flex: 0 0 auto;
        margin: 0 0 0 -4px;
        line-height: 0;
    }
    .wb-seo-serp__more svg {
        width: 16px;
        height: 16px;
        display: block;
        fill: #4d5156;
    }
    .wb-seo-serp__title {
        margin: 6px 0 3px;
        font-size: 18px;
        font-weight: 400;
        line-height: 23px;
        color: #1a0dab;
    }
    .wb-seo-serp__desc {
        margin: 0;
        font-size: 13px;
        line-height: 20px;
        color: #4d5156;
    }
    .wb-seo-serp__rating {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 2px 0 0;
        font-size: 13px;
        line-height: 20px;
        color: #70757a;
    }
    .wb-seo-panel.is-off .wb-seo-serp__rating { display: none; }
    .wb-seo-serp__stars {
        display: inline-flex;
        gap: 0;
    }
    .wb-seo-serp__stars svg {
        width: 13px;
        height: 13px;
        display: block;
        fill: #fbbc04;
    }
    .wb-seo-caption {
        margin: 8px 1px 0;
        font-size: 10px;
        line-height: 1.45;
        color: #8293aa;
    }
    .wb-seo-data {
        display: flex;
        align-items: center;
        gap: 7px;
        margin: 12px 0 0;
        padding: 12px 0 0;
        border-top: 1px solid #293442;
        font-size: 10px;
        color: #8aa0bb;
    }
    .wb-seo-data code { color: #adc8f6; font-size: 11px; }
    .wb-seo-eligibility {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid #293442;
        color: #9aabc2;
        font-size: 11px;
        line-height: 1.6;
    }
    .wb-seo-eligibility summary {
        cursor: pointer;
        color: #bbc9dc;
        font-size: 12px;
    }
    .wb-seo-eligibility summary::-webkit-details-marker { display: none; }
    .wb-seo-eligibility p { margin: 10px 0 0; }
    .wb-seo-eligibility a { color: #8ab8ff; text-decoration: none; }
    .wb-seo-eligibility__links { display: flex; flex-wrap: wrap; gap: 14px; }

    /* Keep nested settings legible when their open outline appears. */
    .wb-collapse .wb-collapse[open] > .wb-collapse__summary,
    .wb-collapse--nested[open] > .wb-collapse__summary,
    .wb-customize-panel .wb-element[open] > .wb-collapse__summary {
        padding-left: 16px;
    }

    /* Summary switches reserve their own space; the chevron sits to their left. */
    .wb-collapse--nested > .wb-collapse__summary:has(> .wb-element-row__switches:not(:empty)) {
        padding-right: 104px;
    }
    .wb-collapse--nested > .wb-collapse__summary > .wb-element-row__switches {
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
    }
    .wb-collapse--nested > .wb-collapse__summary:has(> .wb-element-row__switches:not(:empty))::after {
        position: absolute;
        top: 50%;
        right: 67px;
        margin-left: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }
    .wb-collapse--nested[open] > .wb-collapse__summary:has(> .wb-element-row__switches:not(:empty))::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Layout-scoped fields must not leave empty rows or half-width lone controls. */
    .wb-field-grid:not(:has(> :not(.hidden):not([hidden]))) {
        display: none;
    }
    .wb-field-grid:not(:has(> :not(.hidden):not([hidden]) ~ :not(.hidden):not([hidden]))) > :not(.hidden):not([hidden]) {
        grid-column: 1 / -1;
    }

    .wb-review-photos-heading {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
    }
    .wb-page .wb-field:has(> .wb-hint:only-child):not(:has(> .wb-hint--essential)) {
        display: none;
    }

    /* Keep overlays anchored to the device viewport while widget content scrolls. */
    .wb-device-document .wb-canvas-wrap,
    .wb-device-document .wb-canvas-stage {
        position: fixed;
        inset: 0;
        display: block;
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        scrollbar-gutter: auto;
        box-shadow: none;
    }

    :root .wb-device-document .wb-canvas-stage > .wb-canvas-frame[data-device] {
        width: 100%;
        height: 100%;
        max-height: 100%;
        box-sizing: border-box;
        padding: 24px 12px;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: none;
        overscroll-behavior: contain;
        transition: none;
    }

    /* Keep the framed phone preview scrollable without visible scrollbar chrome. */
    .wb-canvas-stage--device:has(> [data-wb-device-shell="mobile"]:not([hidden])),
    .wb-device-document .wb-canvas-frame[data-device="mobile"] {
        scrollbar-width: none;
    }

    .wb-canvas-stage--device:has(> [data-wb-device-shell="mobile"]:not([hidden]))::-webkit-scrollbar,
    .wb-device-document .wb-canvas-frame[data-device="mobile"]::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .wb-device-document .wb-canvas-stage--mobile > .wb-canvas-frame {
        padding-top: 42px;
    }

    .wb-device-document .wb-canvas-stage:has([data-grw-preview-theme="dark"], .grw-theme-dark) {
        --wb-canvas-bg: #17202e;
        --wb-canvas-grid: #354155;
    }
