/* A personal editor theme: these surfaces never enter the page iframe. */
.g7-builder-shell[data-editor-theme=glass],.g7-builder-content-view[data-editor-theme=glass]{
 --e-bg:#101c29;--e-head:#101e2d;--e-panel:#1b2c3e;--e-card:#23374b;--e-field:#142436;--e-ink:#edf3fa;--e-muted:#b4c5d6;--e-line:#4c637a;--e-accent:#89d8ce;--e-accent-ink:#102d2a;--e-tint:#284647;--e-head-ink:#edf3fa;--e-shadow:0 12px 36px #06111e40;--e-radius:13px;--g7-accent:var(--e-accent);color-scheme:dark;
 --e-action-neutral-bg:#263b4e;--e-action-neutral-ink:#edf3fa;--e-action-neutral-line:#4c637a;--e-action-add-bg:#294345;--e-action-add-ink:#c4eee7;--e-action-add-line:#547a7a;--e-action-edit-bg:#294345;--e-action-edit-ink:#c4eee7;--e-action-edit-line:#547a7a;--e-action-move-bg:#263b4e;--e-action-move-ink:#edf3fa;--e-action-move-line:#4c637a;--e-action-preview-bg:#263b4e;--e-action-preview-ink:#edf3fa;--e-action-preview-line:#4c637a;--e-action-history-bg:#263b4e;--e-action-history-ink:#edf3fa;--e-action-history-line:#4c637a;--e-action-danger-bg:#44313b;--e-action-danger-ink:#ffd2d6;--e-action-danger-line:#946877;
 --ib-glass-rest:linear-gradient(135deg,#ffffff12,#ffffff03),#172a3b73;--ib-glass-active:#172a3bf5;--ib-glass-border:#ffffff42;
}
/* Content overlays share a frosted surface; opacity is never applied to text. */
.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-builder-hover,.g7c-sidebar-handle,.g7c-section-controls,.g7e-demo-guide,.g7e-next,.g7e-help-launcher){background:var(--ib-glass-rest)!important;color:#fff!important;border:1px solid var(--ib-glass-border)!important;box-shadow:0 4px 16px #07121e24,inset 0 1px 0 #ffffff1c!important;backdrop-filter:blur(16px) saturate(135%);-webkit-backdrop-filter:blur(16px) saturate(135%);text-shadow:0 1px 3px #06111f8c;filter:none!important;transition:background .18s,border-color .18s,box-shadow .18s}
.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-builder-hover,.g7c-sidebar-handle,.g7c-section-controls,.g7e-demo-guide,.g7e-next,.g7e-help-launcher):is(:hover,:focus-within){background:var(--ib-glass-active)!important;border-color:#a5dcd5a6!important;box-shadow:0 8px 26px #07121e38,inset 0 1px 0 #ffffff21!important}
.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-section-controls) :is(button,.g7c-selection-caption,.g7c-selection-action,.gjs-toolbar-item){background:transparent!important;color:#f4f8fc!important;border-color:#ffffff24!important;box-shadow:none!important;text-shadow:0 1px 3px #06111f8c}
.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-section-controls) button:is(:hover,:focus-visible):not(:disabled){background:#ffffff16!important;border-color:#93ded3a6!important;color:#fff!important}
.g7-builder-shell[data-editor-theme=glass] .g7c-insert-icon{background:#ffffff14!important;color:#c2eee7!important;box-shadow:none!important}
.g7-builder-shell[data-editor-theme=glass] .gjs-toolbar :is(.g7c-selection-delete,[data-selection-action=delete]){color:#ffd2d6!important}
.g7-builder-shell[data-editor-theme=glass] .gjs-toolbar :is(.g7c-selection-delete,[data-selection-action=delete]):is(:hover,:focus-visible){background:#713b4c99!important;border-color:#ef9eab!important}
.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls) button:disabled{color:#bdc8d5!important;opacity:.55!important;cursor:not-allowed}
/* Larger floating panels keep enough density for forms and long labels. */
.g7-builder-shell[data-editor-theme=glass] .g7c-floating-design,.g7-builder-shell[data-editor-theme=glass] .g7c-layout[data-sidebar-mode=hover] .g7c-side{background:#172a3be6!important;color:var(--e-ink)!important;border-color:#ffffff38!important;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%);box-shadow:0 12px 40px #07121e3b!important;transition:background .18s,border-color .18s}
.g7-builder-shell[data-editor-theme=glass] .g7c-floating-design:is(:hover,:focus-within),.g7-builder-shell[data-editor-theme=glass] .g7c-layout[data-sidebar-mode=hover] .g7c-side:is(:hover,:focus-within){background:#172a3bfa!important;border-color:#9ad8d080!important}
.g7-builder-shell[data-editor-theme=glass] .g7c-floating-design :is(.g7c-floating-design-header,.g7c-panel,.g7c-design-header,.g7c-design-breadcrumbs),.g7-builder-shell[data-editor-theme=glass] .g7c-layout[data-sidebar-mode=hover] .g7c-side :is(.g7c-panel,.g7c-tabs,.g7c-design-header,.g7c-design-breadcrumbs){background:transparent!important}
.g7-builder-shell[data-editor-theme=glass] :is(button,input,textarea,select,summary,a):focus-visible{outline:2px solid #9ee4db!important;outline-offset:3px}
/* Six themes, with an even phone layout and normal keyboard order. */
.g7-builder-shell .g7e-theme-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.g7-builder-shell .g7e-theme-choice[data-editor-theme-choice=glass] .g7e-theme-art{background:linear-gradient(135deg,#adcac766,#1b2c3e90),repeating-linear-gradient(40deg,#557c81 0 10px,#789b9e 10px 20px)}
@media(min-width:1200px){.g7-builder-shell .g7e-theme-choices{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:760px){.g7-builder-shell .g7e-theme-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.g7-builder-shell .g7e-theme-choice:last-child{grid-column:auto;display:block}.g7-builder-shell .g7e-theme-choice:last-child small{grid-column:auto}}
@media(hover:none){.g7-builder-shell[data-editor-theme=glass]{--ib-glass-rest:#172a3be6}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-builder-hover,.g7c-sidebar-handle,.g7c-section-controls,.g7c-floating-design,.g7c-side){transition:none!important}}
@media(prefers-reduced-transparency:reduce){.g7-builder-shell[data-editor-theme=glass]{--ib-glass-rest:#172a3b}.g7-builder-shell[data-editor-theme=glass] :is(.g7c-floating-design,.g7c-side){background:#172a3b!important}}
@supports not (backdrop-filter:blur(1px)){.g7-builder-shell[data-editor-theme=glass]{--ib-glass-rest:#172a3bd9}}
@media(forced-colors:active){.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-builder-hover,.g7c-sidebar-handle,.g7c-section-controls){background:Canvas!important;color:CanvasText!important;border:1px solid ButtonText!important;box-shadow:none!important;backdrop-filter:none!important;text-shadow:none!important}.g7-builder-shell[data-editor-theme=glass] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-section-controls) :is(button,.g7c-selection-caption,.g7c-selection-action,.gjs-toolbar-item){color:ButtonText!important;text-shadow:none!important}}

/* Purpose-colour button rules must not paint solid tiles over the glass. */
.g7-builder-shell[data-editor-theme=glass][data-editor-button-colours] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-section-controls) :is(button,.g7c-selection-caption,.g7c-selection-action,.gjs-toolbar-item){background:transparent!important;color:#f4f8fc!important;border-color:#ffffff29!important;box-shadow:none!important}
.g7-builder-shell[data-editor-theme=glass][data-editor-button-colours] :is(.gjs-toolbar,.g7c-boundary-controls,.g7c-section-controls) :is(button,.g7c-selection-action):is(:hover,:focus-visible):not(:disabled){background:#ffffff16!important;border-color:#93ded3a6!important;color:#fff!important}
.g7-builder-shell[data-editor-theme=glass][data-editor-button-colours] .gjs-toolbar :is(.g7c-selection-delete,[data-selection-action=delete]){color:#ffd2d6!important}
.g7-builder-shell[data-editor-theme=glass][data-editor-button-colours] .gjs-toolbar :is(.g7c-selection-delete,[data-selection-action=delete]):is(:hover,:focus-visible){background:#713b4c99!important;border-color:#ef9eab!important}
.g7-builder-shell[data-editor-theme=glass] .g7c-boundary-controls{border-radius:999px;padding:2px}
