.g7-builder-field{padding:20px;border:1px solid #dce3ee;border-radius:12px;background:#fff;margin-bottom:20px;box-shadow:0 2px 8px #23395905;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.g7-builder-field-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.g7-builder-field h3{margin:0;font-size:15px;font-weight:650;line-height:1.4;color:#233959}
.g7-builder-field-help{margin:4px 0 0;color:#667085;font-size:13px;line-height:1.5}
.g7-builder-field-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.g7-builder-field-actions .btn{padding:9px 14px;min-height:40px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;font:500 13px/1.4 system-ui;cursor:pointer;text-decoration:none}
.g7-builder-field-actions .g7-builder-open{background:#2563eb;border-color:#2563eb;color:white;font-weight:600;box-shadow:0 1px 2px #10182812}
.g7-builder-field-actions .g7-builder-open:hover{background:#1d4ed8;border-color:#1d4ed8}
.g7-builder-field-actions .g7-builder-clear{background:#fff;border-color:#d0d5dd;color:#667085}
.g7-builder-field-actions .g7-builder-clear:hover{background:#fff5f3;color:#b42318;border-color:#f0b4af}
.g7-builder-field :is(button,summary):focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.g7-builder-status{margin-left:auto;color:#667085;font-size:12px;display:inline-flex;align-items:center;gap:6px}
.g7-builder-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#98a2b3}
.g7-builder-status-dirty{color:#946200}
.g7-builder-status-dirty::before{background:#d99000}
.g7-builder-field-header .g7-builder-content-status{margin:0;white-space:nowrap;background:#f5f7fb;border:1px solid #e4e7ec;border-radius:20px;padding:4px 10px}
.g7-builder-clear-dialog{width:min(440px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:26px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;color:#344054;box-shadow:0 24px 80px #10182835;font:14px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
.g7-builder-clear-dialog::backdrop{background:#10182866}
.g7-builder-clear-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:16px;background:#fff1ee;border:1px solid #ffdad4;border-radius:12px;color:#b42318}
.g7-builder-clear-icon svg{width:24px;height:24px}
.g7-builder-clear-dialog h2{margin:0 0 10px;background:transparent;color:#182230;font:650 21px/1.3 system-ui}
.g7-builder-clear-dialog p{margin:0 0 12px}
.g7-builder-clear-dialog .g7-builder-clear-hint{font-size:13px;color:#667085}
.g7-builder-clear-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}
.g7-builder-clear-dialog button{padding:10px 15px;min-height:40px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;font:600 13px/1.4 system-ui;cursor:pointer}
.g7-builder-clear-dialog .g7-builder-clear-confirm{background:#b42318;border-color:#b42318;color:white}
.g7-builder-clear-dialog .g7-builder-clear-confirm:hover{background:#912018}
.g7-builder-clear-dialog button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.g7-builder-shell .g7-builder-health[hidden]{display:none!important}
@media(max-width:500px){.g7-builder-field{padding:16px}.g7-builder-status{flex-basis:100%;margin-left:0}}
.g7-builder-message:not(:empty){padding:12px;margin-top:12px;background:#fff3cd;color:#664d03;border-radius:6px}
.g7-builder-report{margin-top:10px;color:#4b5e7a;font-size:13px}
.g7-builder-report summary{cursor:pointer;font-weight:600}
.g7-builder-report ul{max-height:180px;overflow:auto;padding-left:24px;margin:8px 0}
.g7-builder-compatibility{padding:0 18px 10px;background:#fff;border-bottom:1px solid #dce3ee}
.g7-builder-active{overflow:hidden}
.g7-builder-active #accordionSidebar,.g7-builder-active #content>.topbar{display:none!important}
.g7-builder-shell{position:fixed;inset:0;z-index:1100;background:#f5f7fb;display:flex;flex-direction:column}
.g7-builder-shell[hidden],.g7-builder-canvas[hidden]{display:none!important}
.g7-builder-content-view{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:white;color:#233959;box-sizing:border-box;overflow:hidden;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.g7-builder-content-view[open]{display:flex;flex-direction:column}
.g7-builder-content-view-bar{display:flex;align-items:center;flex-shrink:0;gap:12px;padding:12px 20px;border-bottom:1px solid #e4e8f0;background:white;box-shadow:0 2px 10px #15213a08}
.g7-builder-content-view-bar>span{color:#667085;font-size:12px}
.g7-builder-content-view-back{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:8px;margin-left:auto;min-height:42px;padding:9px 16px;border:1px solid #245dcc;border-radius:9px;background:#245dcc;color:white;font:600 14px/1.5 system-ui;white-space:nowrap;cursor:pointer}
.g7-builder-content-view-back svg{width:18px;height:18px;flex-shrink:0}
.g7-builder-content-view-back:hover{background:#1d4ed8}
.g7-builder-content-view-back:focus-visible{outline:3px solid #a9c3ff;outline-offset:3px}
.g7-builder-content-view iframe{display:block;flex:1;width:100%;min-height:0;border:0;background:white}
.g7m-panel{margin:18px 0;border:1px solid #e3def4;border-radius:14px;background:linear-gradient(135deg,#fbf9ff,#f8fbff);overflow:hidden}
.g7m-panel>summary{padding:14px 16px;font:650 14px/1.5 system-ui;color:#584191;cursor:pointer;list-style-position:inside}
.g7m-content{border:0;margin:0;padding:0 14px 16px;min-width:0}
.g7m-summary{font:500 12px/1.6 system-ui;color:#7050a0;margin:0 0 12px}
.g7m-segments,.g7m-tabs{display:flex;gap:3px;padding:4px;border-radius:9px;background:#edeff7;margin:10px 0 14px}
.g7m-button{padding:9px 11px;min-height:36px;border:1px solid #dce1ed;border-radius:8px;background:white;color:#304663;font:500 12px/1.4 system-ui;cursor:pointer}
.g7m-button:hover{border-color:#a48bdb;background:#faf7ff}
.g7m-button:focus-visible{outline:2px solid #7050c5;outline-offset:2px}
.g7m-segments .g7m-button,.g7m-tabs .g7m-button{flex:1;padding:7px 3px;border:0;background:transparent;font-size:11px}
.g7m-button[aria-pressed=true]{background:#fff;border-color:#ad95e2;color:#6f43ba;box-shadow:0 2px 7px #111d3510}
.g7m-effects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px;max-height:285px;overflow:auto;padding:3px}
.g7m-effect{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 5px;min-height:86px;font-size:10px;text-align:center}
.g7m-demo{display:grid;place-items:center;width:30px;height:26px;border-radius:6px;background:#ede6fa;color:#8050bd;font:650 13px/1 system-ui}
.g7m-demo-image{position:relative;width:56px;height:44px;background:transparent;border-radius:0}
.g7m-demo-image .g7m-demo-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center;mask-size:contain;-webkit-mask-size:contain;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.g7m-demo-text{position:relative;max-width:75%;font:700 8px/1.1 system-ui;text-align:center;overflow-wrap:anywhere}
.g7m-effects:has(.g7m-demo-image) .g7m-effect{min-height:102px}
.g7m-content>.g7m-basic{padding:0;margin-top:16px}
.g7m-content>.g7m-advanced{margin-top:12px}
.g7m-effects .g7m-effect[aria-pressed=true]{border-color:#9471df;background:#f7f3ff;box-shadow:0 0 0 1px #9471df}
.g7m-field{display:flex;align-items:center;justify-content:space-between;gap:12px;font:500 11px/1.5 system-ui;color:#53617b;margin:10px 0}
.g7m-field input:not([type=checkbox]),.g7m-field select{box-sizing:border-box;min-width:0;width:130px;padding:8px;border:1px solid #d8dfed;border-radius:7px;background:#fff;color:#233959;font:12px/1.4 system-ui}
.g7m-field input[type=checkbox]{accent-color:#7050c5}
.g7m-launch{display:grid;grid-template-columns:32px minmax(0,1fr)20px;gap:3px 10px;align-items:center;box-sizing:border-box;width:100%;padding:14px;text-align:left;border:1px solid #ded9f2;border-radius:13px;background:#f8f6ff;color:#4c3b80;margin:14px 0;font:600 13px/1.4 system-ui}
.g7m-launch-icon{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#ede7ff;color:#7650cf;font-size:20px}
.g7m-launch-description{grid-column:2;font-size:11px;font-weight:400;color:#837699;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g7m-launch-arrow{grid-column:3;grid-row:1/3;color:#7954ce}
.g7-builder-shell .g7c-panel.g7c-motion-only{display:flex;flex-direction:column;overflow:hidden;padding:14px!important}
.g7-builder-shell .g7c-floating-design:has(.g7c-motion-only){height:min(820px,calc(100vh - 130px))}
.g7m-panel.g7m-workspace{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;border:0;border-radius:0;background:white;overflow:hidden}
.g7m-workspace-header{display:flex;align-items:center;gap:14px;padding:0 0 12px;border-bottom:1px solid #e7eaf2;margin-bottom:10px;flex:none}
.g7m-workspace-header>div{min-width:0}.g7m-workspace-header h3{margin:0!important;font-size:20px!important;line-height:1.4!important;color:#172e50}
.g7m-target{margin:2px 0 0;color:#8590a4;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g7m-workspace .g7m-back{padding:8px 11px;min-height:34px;background:#f3f6fc;border-color:#e1e8f4;color:#426498;white-space:nowrap}
.g7m-workspace .g7m-content{padding:0;margin:0;border:0;min-width:0}
.g7m-workspace .g7m-workspace-main{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow:hidden}
.g7m-scope{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;background:#f7f5fe;border-radius:10px;color:#79668f;font-size:11px;flex:none}
.g7m-workspace .g7m-advanced-toggle{min-height:28px;padding:5px 9px;font-size:11px;border-color:#e0d9f1}
.g7m-workspace .g7m-advanced-toggle[aria-pressed=true]{background:#7654c6;border-color:#7654c6;color:white}
.g7m-workspace .g7m-segments,.g7m-workspace .g7m-tabs{display:flex;gap:3px;flex:none;margin:0;padding:3px;border-radius:10px;background:#f0f3fa}
.g7m-workspace .g7m-segments .g7m-button,.g7m-workspace .g7m-tabs .g7m-button{flex:1;min-width:0;min-height:31px;padding:6px 2px;font-size:11px;border:0;border-radius:7px;white-space:nowrap}
.g7m-device-note{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8590a4;gap:6px;flex:none}
.g7m-device-note .g7m-button{font-size:10px;padding:3px 6px;min-height:24px}
.g7m-effect-browser{display:flex;flex-direction:column;gap:6px;flex:1;min-height:102px;overflow:hidden}
.g7m-workspace .g7m-effects{grid-auto-rows:66px;gap:6px;margin:0;padding:2px;max-height:none;overflow:hidden;flex:1;min-height:0;align-content:start}
.g7m-workspace .g7m-effect,.g7m-workspace .g7m-effects:has(.g7m-demo-image) .g7m-effect{min-height:0;height:66px;padding:6px 3px;gap:4px;border-radius:10px;font-size:10px;line-height:1.2;justify-content:center}
.g7m-workspace [hidden]{display:none!important}
.g7m-workspace .g7m-demo,.g7m-workspace .g7m-demo-image{width:28px;height:26px;margin:0;font-size:13px}
.g7m-none{font-size:20px;color:#98a2b3;line-height:26px}
.g7m-pager{display:flex;align-items:center;justify-content:center;gap:12px;min-height:28px;font-size:11px;color:#7b8499;flex:none}
.g7m-workspace .g7m-page-button{padding:4px 9px;min-height:28px;line-height:1;border-color:#e1e7f2}
.g7m-workspace .g7m-basic{flex:none;padding-top:6px;border-top:1px solid #e7eaf2}
.g7m-workspace .g7m-field.g7m-speed{display:grid;grid-template-columns:1fr auto;gap:5px;margin:0 0 7px;font-size:11px}
.g7m-workspace .g7m-speed input[type=range]{grid-column:1/-1;width:100%;height:18px;padding:0;margin:0;background:transparent;accent-color:#7954ce;border:0}
.g7m-speed-value{color:#7954ce;font-size:11px}.g7m-speed-legend{display:flex;justify-content:space-between;grid-column:1/-1;font-size:9px;color:#9ba4b5}
.g7m-workspace .g7m-field.g7m-switch{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin:5px 0;flex:none}
.g7m-switch input[role=switch]{appearance:none;position:relative;flex:none;width:34px;height:20px;border:1px solid #cbd5e1;border-radius:20px;background:#dfe5ee;margin:0;cursor:pointer}
.g7m-switch input[role=switch]::before{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #18345730;transition:transform .15s}
.g7m-switch input[role=switch]:checked{background:#7954ce;border-color:#7954ce}.g7m-switch input[role=switch]:checked::before{transform:translateX(14px)}
.g7m-start-hint{font-size:10px;color:#94a0b3;margin:0 0 8px}
.g7m-workspace .g7m-playback .g7m-button{font-size:11px;padding:6px 10px;min-height:31px}
.g7m-status-details{margin-top:5px;font-size:10px;color:#929db0}.g7m-status-details>summary{cursor:pointer}.g7m-status-details[open]{max-height:80px;overflow:auto}
.g7m-workspace .g7m-advanced{flex:none;max-height:28vh;overflow:auto;margin:0;padding-top:0;border-color:#e7eaf2}
.g7m-workspace .g7m-advanced>summary{padding:8px 0;font-size:11px}.g7m-workspace .g7m-advanced>.g7m-content{padding:2px 5px 8px}
.g7m-workspace>.g7m-error:empty{display:none}.g7m-workspace>.g7m-error{margin:6px 0 0;font-size:11px;flex:none}
@media(max-width:760px){.g7-builder-shell .g7c-panel.g7c-motion-only{position:fixed;inset:12px;z-index:1450;flex:none;max-height:none;min-height:0;border:1px solid #e0e5ee;border-radius:16px;background:white;box-shadow:0 14px 48px #15213f40}}
.g7m-basic .g7m-field input[type=number]{display:block;width:100%;margin-top:6px;min-height:38px}
.g7-builder-shell .g7st-basic button.g7st-add-text{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;border:1px dashed #c8b7ef;border-radius:10px;background:#f8f5ff;color:#7045c0;font-weight:600}
.g7st-add-text::before{content:'+';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#eee6ff;font-size:18px;line-height:1}
.g7-builder-shell .g7st-basic button.g7st-add-text:hover{background:#efe8ff;border-color:#9974dc;color:#59329f}
.g7m-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}
.g7c-motion-preview-controls{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.g7c-motion-preview-controls[hidden]{display:none!important}
.g7m-primary{background:#7050c5;color:#fff;border-color:#7050c5}
.g7m-primary:hover{background:#6040b5;color:#fff}
.g7m-hint{font:11px/1.65 system-ui;color:#7a8297;margin:10px 0}
.g7m-error{font:12px/1.5 system-ui;color:#a63b55;margin:10px 0;overflow-wrap:anywhere}
.g7m-scroll-diagram{height:86px;border:1px solid #e0d8f2;border-radius:9px;background:linear-gradient(180deg,#f9f6ff,#eee8fc);padding:12px;display:flex;flex-direction:column;justify-content:space-between;font:11px/1.5 system-ui;color:#7050a0}
.g7m-scroll-diagram span{border-top:1px dashed #a88dcc;padding-top:3px}
.g7m-timeline{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.g7m-keyframe{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:10px 8px;border:1px solid #e0d8f2;border-radius:9px;background:white}
.g7m-keyframe>strong{grid-column:1/-1;color:#7050c5;font-size:12px}
.g7m-keyframe label{font:10px/1.5 system-ui;color:#7a8297}
.g7m-keyframe input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #dce1ed;border-radius:5px;padding:5px 2px;font:11px/1.5 system-ui;color:#233959}
.g7-motion-dialog{background:#edf0f7}
@media(max-width:500px){.g7-builder-content-view-bar{padding:10px 12px;gap:8px}.g7-builder-content-view-bar>span{display:none}}
.g7-builder-top{padding:12px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #dce3ee;background:white;flex-wrap:wrap}
.g7-builder-title{color:#233959}
/* Editor settings stay above the workspace in a bounded, keyboard-accessible dialog. */
.g7-builder-settings-layout{padding:22px;border:1px solid #cbd8fa;border-radius:16px;background:linear-gradient(120deg,#f5f8ff,#faf7ff);margin-bottom:18px}
.g7-builder-settings-layout h3{margin:0 0 7px}.g7-builder-layout-copy>p{margin:0 0 18px;color:#65738c;font-size:13px}
.g7-builder-settings .g7-builder-layout-toggle{display:flex;align-items:center;gap:20px;margin:0;cursor:pointer}.g7-builder-layout-toggle>span{flex:1}.g7-builder-layout-toggle strong{display:block;font-size:15px;color:#192d51;margin-bottom:5px}.g7-builder-layout-toggle small{display:block;font-size:13px;font-weight:400;color:#65738c;line-height:1.6}
.g7-builder-settings .g7-builder-layout-toggle input{appearance:none;flex:none;width:48px;height:28px;margin:0;padding:0;border-radius:28px;border:2px solid #c7d0e1;background:#c7d0e1;position:relative;cursor:pointer;transition:background .18s,border-color .18s}.g7-builder-layout-toggle input::after{content:"";position:absolute;width:20px;height:20px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #17294d28;transition:transform .18s}.g7-builder-settings .g7-builder-layout-toggle input:checked{background:#315feb;border-color:#315feb}.g7-builder-layout-toggle input:checked::after{transform:translateX(20px)}.g7-builder-layout-toggle input:focus-visible{outline:3px solid #9fb6ff;outline-offset:4px}.g7-builder-layout-note{margin:14px 0 0;color:#60779d;font-size:12px}
.g7-builder-settings{width:min(720px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;box-sizing:border-box;overflow:hidden;border:1px solid #dce4f0;border-radius:18px;background:#f7f9fc;color:#233959;box-shadow:0 24px 90px #14274640;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.g7-builder-settings[open]{display:flex;flex-direction:column}
.g7-builder-settings [hidden],.g7-builder-settings[hidden]{display:none!important}
.g7-builder-settings::backdrop{background:#14274670;backdrop-filter:blur(3px)}
.g7-builder-settings-header{display:flex;align-items:center;gap:14px;padding:22px 24px;flex:none;border-bottom:1px solid #e4eaf3;background:#fff}
.g7-builder-settings-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #dae6fc;border-radius:13px;background:#eef4ff;color:#3867cf}
.g7-builder-settings-icon svg{width:24px;height:24px}
.g7-builder-settings h2{margin:0;background:transparent;color:#182b49;font:650 21px/1.35 system-ui}
.g7-builder-settings h3{margin:0 0 6px;background:transparent;color:#233959;font:650 15px/1.4 system-ui}
.g7-builder-settings p{margin:7px 0 14px;color:#6a7890;font-size:12px;line-height:1.6}
.g7-builder-settings-header p{margin:4px 0 0;font-size:13px}
.g7-builder-settings-dismiss{display:grid;place-items:center;flex:none;margin-left:auto;width:34px;height:34px;padding:0;border:1px solid #e1e7f0;border-radius:9px;background:#fff;color:#61718b;font:24px/1 system-ui;cursor:pointer}
.g7-builder-settings-dismiss:hover{background:#f1f5fb;color:#233959}
.g7-builder-settings-body{padding:20px 24px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5d0df transparent}
.g7-builder-settings-body:focus{outline:none}
.g7-builder-settings-body:focus-visible{outline:2px solid #93b4f5;outline-offset:-2px}
.g7map-connection{margin-top:18px;padding:18px 20px;border:1px solid #dce6f4;border-radius:13px;background:#fff}
.g7map-connection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.g7map-connection-head h3{margin:0!important}
.g7map-connection-head>span{font-size:11px;color:#607795;background:#eff5ff;border-radius:20px;padding:5px 9px}
.g7map-connection>label{display:block;font-size:12px;font-weight:600;color:#304663;margin:16px 0 8px}
.g7map-key-row{display:flex;gap:8px;margin-top:7px}
.g7map-key-input{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;border:1px solid #cddbed;border-radius:8px;background:#fff;color:#233959;font:14px/1.4 system-ui}
.g7map-key-input:focus{outline:2px solid #2563eb20;border-color:#2563eb}
.g7map-key-input:disabled{background:#f5f7fb;color:#6e7b90}
.g7map-key-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.g7map-key-actions>button:first-child{background:#285eff;color:#fff;border-color:#285eff}
.g7map-key-actions>button:first-child:hover{background:#1c4edb;color:#fff}
.g7map-key-actions>button:disabled{opacity:.55;cursor:default}
.g7-builder-settings .g7map-key-status{font-size:12px;line-height:1.6;color:#416b51;margin:12px 0 0}
.g7-builder-settings .g7map-key-status.g7map-key-error{color:#b13b48}
.g7map-key-guide{margin-top:16px;border-top:1px solid #e4ebf4;padding-top:12px;font-size:12px;line-height:1.65;color:#536580}
.g7map-key-guide>summary{cursor:pointer;font-weight:600;color:#3156ae}
.g7map-key-guide li{margin:7px 0}
@media(max-width:500px){.g7map-connection{padding:15px}.g7map-connection-head{flex-wrap:wrap}.g7map-key-actions>button{flex:1}}
.g7-builder-settings-actions,.g7-builder-settings-styles{padding:18px 20px;border:1px solid #e0e7f1;border-radius:13px;background:#fff}
.g7-builder-settings-actions{margin-bottom:16px}
.g7-builder-settings-actions>p:last-child{margin-bottom:0}
.g7-builder-settings .g7-builder-settings-mode{display:inline-block;margin:3px 0 12px;padding:4px 9px;border-radius:20px;background:#edf4ff;color:#365d9c;font-size:11px;font-weight:500}
.g7-builder-settings-scope{display:flex;gap:4px;padding:4px;border:1px solid #e4eaf3;border-radius:10px;background:#f4f6fa}
.g7-builder-settings .btn{margin:0;min-height:38px;padding:9px 13px;border:1px solid #d5deec;border-radius:8px;background:#fff;color:#365079;font:500 12px/1.4 system-ui;white-space:normal;cursor:pointer;box-shadow:none}
.g7-builder-settings .btn:hover{background:#f3f7ff;border-color:#a8bee7}
.g7-builder-settings .btn:disabled{opacity:.6;cursor:wait}
.g7-builder-settings-scope .btn{flex:1;border-color:transparent;background:transparent}
.g7-builder-settings-scope .btn[aria-pressed=true]{border-color:#d5e1f6;background:#fff;color:#245dcc;box-shadow:0 1px 4px #2339590a}
.g7-builder-settings .g7-builder-css-apply{border-color:#2c61da;background:#2c61da;color:#fff;font-weight:600}
.g7-builder-settings .g7-builder-css-apply:hover{background:#2053c7}
.g7-builder-settings .g7-builder-detect{margin:6px 0 10px;padding:7px 11px;min-height:34px;background:#f1f6ff;border-color:#dbe6fc;color:#315daf}
.g7-builder-settings label{display:block;margin:16px 0 6px;color:#344b6b;font-size:12px;font-weight:600}
.g7-builder-settings :is(input,textarea,select){box-sizing:border-box;max-width:100%;padding:10px 12px;border:1px solid #d3deed;border-radius:8px;background:#fff;color:#233959;font:13px/1.5 system-ui}
.g7-builder-settings .g7-builder-css-files{display:block;width:100%;min-height:102px;font:12px/1.6 Consolas,monospace;resize:vertical}
.g7-builder-settings .g7-builder-bootstrap-version{display:block;width:100%}
.g7-builder-settings .g7-builder-preview-context{margin:18px 0 0;padding:0;border:1px solid #e3e9f2;border-radius:9px;background:#f8faff;overflow:hidden}
.g7-builder-preview-context>summary{padding:12px;color:#456080;font-size:12px;font-weight:600;cursor:pointer}
.g7-builder-preview-context> :not(summary){margin-left:12px;margin-right:12px}
.g7-builder-preview-context input,.g7-builder-preview-context textarea{display:block;width:calc(100% - 24px);margin-bottom:12px;resize:vertical}
.g7-builder-settings-footer{padding:16px 24px;flex:none;border-top:1px solid #e1e8f2;background:#fff}
.g7-builder-settings .g7-builder-settings-save-note{margin:0 0 12px;font-size:11px}
.g7-builder-settings-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.g7-builder-settings-footer-actions .g7-builder-save-defaults{margin-right:auto}
.g7-builder-settings .g7-builder-css-error:empty,.g7-builder-detection-note:empty,.g7-builder-settings-ai:empty{display:none}
.g7-builder-settings .g7-builder-css-error:not(:empty){margin:0 0 12px;padding:9px 12px;border-radius:8px;background:#f0f5fc;color:#435f86;font-size:12px;overflow-wrap:anywhere}
.g7-builder-settings .g7ai-settings{margin-top:16px;padding:18px 20px;border-radius:13px}
.g7-builder-settings :focus-visible{outline:2px solid #3264d4;outline-offset:3px}
@media(max-width:500px){.g7-builder-settings{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);border-radius:14px}.g7-builder-settings-header{padding:16px;gap:10px}.g7-builder-settings h2{font-size:18px}.g7-builder-settings-header p{font-size:12px}.g7-builder-settings-icon{width:38px;height:38px}.g7-builder-settings-body{padding:14px}.g7-builder-settings-actions,.g7-builder-settings-styles,.g7-builder-settings .g7ai-settings{padding:15px}.g7-builder-settings-footer{padding:14px}.g7-builder-settings-footer-actions{display:grid;grid-template-columns:1fr 1fr}.g7-builder-settings-footer-actions .g7-builder-save-defaults{grid-column:1/-1;margin:0}.g7-builder-settings-scope .btn{padding:9px 7px;font-size:11px}}
.g7-builder-css-status:not(:empty){padding:8px 18px;background:#eef3fa;color:#233959;font-size:13px}
.g7-builder-session-status{flex:1;color:#526680;font-size:13px}
.g7-builder-workspace{position:relative;flex:1;min-height:0}
.g7-builder-canvas{position:absolute;inset:0}
.g7-builder-shell .gjs-one-bg{background-color:#253853}
.g7-builder-shell .gjs-two-color{color:#f0f4fa}
.g7-builder-shell .gjs-three-bg{background-color:#316de6}
.g7-builder-shell .gjs-four-color,.g7-builder-shell .gjs-four-color-h:hover{color:#94baff}
.g7-builder-shell .gjs-block{border:1px solid #4a5d77;border-radius:6px;min-height:65px}
.g7-builder-shell .gjs-pn-btn{font-size:15px}
.g7-builder-shell .gjs-pn-views-container,.g7-builder-shell .gjs-pn-views{width:280px}
.g7-builder-shell .gjs-pn-views .gjs-pn-btn{font-size:12px;padding:5px;margin:0 2px}
.g7-builder-shell .gjs-pn-options{right:280px}
.g7-builder-shell .gjs-cv-canvas{width:calc(100% - 280px)}
.g7-builder-shell>.g7-builder-live-message:empty{display:none}
.g7-builder-live-message[data-notice-motion=slide][data-notice-phase=entering]{animation:g7-notice-enter .18s ease-out both}
.g7-builder-live-message[data-notice-motion=slide][data-notice-phase=leaving]{animation:g7-notice-leave .18s ease-in both;pointer-events:none}
@keyframes g7-notice-enter{from{transform:translateX(calc(-100% - 32px));opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes g7-notice-leave{from{transform:translateX(0);opacity:1}to{transform:translateX(calc(-100% - 32px));opacity:0}}
@media(prefers-reduced-motion:reduce){.g7-builder-live-message[data-notice-motion=slide]{animation:none}}
.g7-builder-shell>.g7-builder-live-message:not(:empty){position:fixed;left:24px;bottom:24px;z-index:20;display:grid;grid-template-columns:28px minmax(0,1fr)28px;align-items:start;gap:10px;width:min(460px,calc(100vw - 32px));box-sizing:border-box;margin:0;padding:14px;border:1px solid #ead7af;border-radius:12px;background:#fffdf7;color:#614d29;font:13px/1.5 system-ui;box-shadow:0 8px 30px #1428411f}
.g7-builder-shell>.g7-builder-live-message[data-kind=success]{border-color:#cce5d8;background:#f9fdfb;color:#245a43}
.g7-builder-shell>.g7-builder-live-message[data-kind=info]{border-color:#d8e3f2;background:#fbfcff;color:#324c73}
.g7-builder-shell>.g7-builder-live-message[data-quick]:not(:empty){grid-template-columns:24px minmax(0,1fr);align-items:center;width:max-content;max-width:calc(100vw - 32px);gap:8px;padding:10px 14px;pointer-events:none}
.g7-builder-live-message[data-quick] .g7-builder-notice-icon{width:24px;height:24px}.g7-builder-live-message[data-quick] .g7-builder-notice-close{display:none}
.g7-builder-notice-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#f6ecd5;color:#8b681f}
.g7-builder-live-message[data-kind=success] .g7-builder-notice-icon{background:#e1f1e8;color:#2c7653}
.g7-builder-live-message[data-kind=info] .g7-builder-notice-icon{background:#eaf0fc;color:#486aae}
.g7-builder-notice-icon svg,.g7-builder-notice-close svg{width:19px;height:19px}
.g7-builder-notice-copy{align-self:center;max-height:180px;overflow:auto;overflow-wrap:anywhere}
.g7-builder-shell .g7-builder-notice-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:3px;border:0;border-radius:6px;background:transparent;color:#6b7789;cursor:pointer}
.g7-builder-shell .g7-builder-notice-close:hover{background:#1428410a}
.g7-builder-shell .g7-builder-notice-close:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
@media(max-width:600px){.g7-builder-shell>.g7-builder-live-message:not(:empty){left:16px;bottom:16px}}
.g7-builder-shell .gjs-cv-canvas{background:#e7ecf4}
@media(max-width:700px){.g7-builder-top{gap:6px;padding:8px}.g7-builder-session-status{flex-basis:100%}.g7-builder-top .btn{font-size:12px}.g7-builder-shell .gjs-pn-views-container{width:28%}.g7-builder-shell .gjs-cv-canvas{width:72%}}
.g7-builder-shell{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.g7-builder-shell .g7c-layout{display:grid;grid-template-columns:minmax(0,1fr)360px;grid-template-rows:46px minmax(0,1fr)}
.g7-builder-shell .g7c-tools{grid-column:1;grid-row:1;display:flex;align-items:center;gap:8px;padding:6px 12px;background:#fff;border-bottom:1px solid #dce3ee;overflow:auto;white-space:nowrap}
.g7-builder-shell .g7c-tools label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px}
.g7-builder-shell .g7c-editor{grid-column:1;grid-row:2;min-width:0;min-height:0;position:relative}
.g7-builder-shell .g7c-editor .gjs-cv-canvas{top:0;left:0;width:100%;height:100%}
.g7-builder-shell .g7c-side{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;min-height:0;background:#fff;border-left:1px solid #dce3ee;color:#233959}
.g7-builder-shell .g7c-tabs{display:flex;padding:8px;gap:6px;border-bottom:1px solid #dce3ee}
.g7-builder-shell .g7c-tabs button{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;font-weight:600}
.g7-builder-shell .g7c-tabs>.g7c-button{padding-inline:5px;font-size:12px}
.g7-builder-shell .g7c-tabs>button>svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.g7-builder-shell .g7c-tabs>button>span{white-space:nowrap}
.g7-builder-shell .g7c-tabs button[hidden]{display:none!important}
.g7-builder-shell .g7c-tabs button[aria-selected=true]{background:#233959;color:white;border-color:#233959}
.g7-builder-shell .g7c-panel{overflow:auto;flex:1;min-height:0;padding:18px}
.g7-builder-shell .g7c-panel[hidden]{display:none!important}
.g7-builder-shell .g7c-panel h3{font-size:19px;line-height:1.3;margin:0 0 12px;color:#233959}
.g7-builder-shell .g7c-panel h4{font-size:15px;margin:20px 0 10px;font-weight:650;color:#233959}
.g7-builder-shell .g7c-help{font-size:13px;color:#526680;line-height:1.5;margin:0 0 16px}
.g7-builder-shell .g7c-button{font:inherit;font-size:13px;padding:8px 10px;border:1px solid #bdcadb;border-radius:6px;background:#fff;color:#233959;cursor:pointer;line-height:1.35}
.g7-builder-shell .g7c-button:hover:where(:not(:disabled)){background:#eef3fa;border-color:#7d97ba}
.g7-builder-shell .g7c-button:disabled{opacity:.45;cursor:default}
.g7-builder-shell .g7c-input{font:inherit;font-size:14px;box-sizing:border-box;border:1px solid #bdcadb;border-radius:6px;padding:8px;background:#fff;color:#233959;min-width:0}
.g7-builder-shell .g7c-field{display:block;margin:14px 0;font-size:13px;color:#233959;line-height:1.4}
.g7-builder-shell .g7c-field>label{display:block;margin-bottom:6px;font-weight:600}
.g7-builder-shell .g7c-field>.g7c-input{width:100%;display:block}
.g7-builder-shell .g7c-field>input[type=checkbox]{width:20px;height:20px}
.g7-builder-shell .g7c-field textarea{min-height:70px;resize:vertical}
.g7c-element-attributes{min-width:0;border:0;padding:0;margin:0}.g7c-element-attributes h4{margin:16px 0 8px;font-size:13px;color:#334766}.g7c-data-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}.g7c-data-heading h4{margin:0}.g7c-data-heading .g7c-button{font-size:11px;padding:6px 8px}.g7c-data-attribute{padding:12px;margin:12px 0;border:1px solid #dce3ef;border-radius:12px;background:#f8faff}.g7c-data-attribute label{display:block;font-size:12px;font-weight:500;color:#52647f;margin:0 0 10px}.g7c-data-attribute label>span{display:block;margin-bottom:5px}.g7c-data-attribute .g7c-input{width:100%;box-sizing:border-box}.g7c-data-attribute textarea{min-height:58px;resize:vertical}.g7c-attribute-actions{display:flex;flex-wrap:wrap;gap:6px}.g7c-attribute-actions .g7c-button{font-size:11px;padding:6px 8px}.g7c-attribute-actions .g7c-button:last-child{color:#a83535}.g7c-attribute-error{font-size:12px;color:#b42626;overflow-wrap:anywhere}.g7c-attribute-error:empty{display:none}.g7c-managed-attributes{margin-top:14px;font-size:12px;color:#687993}.g7c-managed-attributes summary{cursor:pointer}.g7c-managed-attributes p{overflow-wrap:anywhere}.g7c-element-attributes input[readonly]{background:#f1f4f8;color:#75839a}
.g7-builder-shell .g7c-parents,.g7-builder-shell .g7c-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.g7-builder-shell .g7c-actions>.g7c-button{flex:1 1 40%}
.g7-builder-shell .g7c-text-tools{margin:10px 0 14px}
.g7-builder-shell .g7c-text-tools>.g7c-help{margin:8px 0}
.g7-builder-shell .g7c-text-toolbar{position:static!important;inset:auto!important;box-shadow:none;border:1px solid #d5deeb;border-radius:8px;background:#f8faff;color:#344054;padding:4px;max-width:100%}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-actionbar{display:flex;flex-wrap:wrap;gap:3px}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-action{display:flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:6px!important;border:0;border-radius:5px;color:#344054;cursor:pointer}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-action svg{width:20px;height:20px}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-action:hover,.g7-builder-shell .g7c-text-toolbar .gjs-rte-active{background:#dbeafe;color:#1d4ed8}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-action:focus-visible{outline:2px solid #2563eb;outline-offset:1px}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-disabled{opacity:.4;cursor:default}
.g7-builder-shell .g7c-presets{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.g7-builder-shell .g7c-preset{border:1px solid #dce3ee;background:white;border-radius:10px;overflow:hidden;padding:0 0 10px;text-align:left;color:#233959;font:600 13px system-ui;line-height:1.4;cursor:pointer}
.g7-builder-shell .g7c-preset-preview{display:block;margin-bottom:10px}
.g7-builder-shell .g7c-preset-preview svg{display:block;width:100%;height:auto}
.g7-builder-shell .g7c-preset:hover{border-color:#648cc0;box-shadow:0 3px 10px #23395915}
.g7-builder-shell .g7c-preset{padding-left:0;text-indent:10px}
.g7-builder-shell .g7c-basic,.g7-builder-shell .g7c-advanced{margin-top:22px;border-top:1px solid #dce3ee;padding-top:14px}
.g7-builder-shell .g7c-basic summary,.g7-builder-shell .g7c-advanced summary{cursor:pointer;font-weight:600;font-size:14px;padding:4px 0}
.g7-builder-shell .g7c-basic-list .gjs-block-label{font-size:13px}
.g7-builder-shell .g7c-tree{list-style:none;padding:0;margin:0}
.g7-builder-shell .g7c-tree .g7c-tree{padding-left:15px;border-left:1px solid #dce3ee;margin-left:8px}
.g7-builder-shell .g7c-tree-item{width:100%;text-align:left;margin:3px 0;box-sizing:border-box}
.g7-builder-shell .g7c-tree-item[aria-pressed=true]{background:#e7effd;border-color:#648cc0}
.g7-builder-shell .g7c-note{padding:10px;background:#fff3cd;border-radius:6px;color:#664d03;font-size:13px;line-height:1.5}
.g7-builder-shell .g7c-slides{list-style:none;padding:0;margin:0}
.g7-builder-shell .g7c-slides li{display:flex;gap:5px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #dce3ee}
.g7-builder-shell .g7c-slides li>.g7c-button:first-child{display:flex;align-items:center;gap:8px;flex-basis:100%}
.g7-builder-shell .g7c-slide-thumb{width:52px;height:38px;object-fit:cover;border-radius:3px}
.g7-builder-shell .g7c-slides .g7c-button{font-size:12px;padding:6px 8px}
.g7-builder-shell button:focus-visible,.g7-builder-shell input:focus-visible,.g7-builder-shell select:focus-visible,.g7-builder-shell textarea:focus-visible,.g7-builder-shell summary:focus-visible{outline:3px solid #4787e6;outline-offset:3px}
@media(max-width:760px){.g7-builder-shell .g7c-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:46px minmax(0,1fr)minmax(180px,40%)}.g7-builder-shell .g7c-side{grid-column:1;grid-row:3;border-left:0;border-top:1px solid #dce3ee}.g7-builder-shell .g7c-panel{padding:12px}.g7-builder-shell .g7c-presets{grid-template-columns:repeat(3,1fr)}}

/* One light editor theme. None of these selectors enter the canvas document. */
.g7-builder-shell{--g7-accent:#2563eb;color:#263244;background:#eef0f4;font-size:14px;line-height:1.4}
.g7-builder-shell *{box-sizing:border-box}
.g7-builder-shell .btn,.g7-builder-shell .g7c-button{min-height:34px;padding:7px 11px;font:500 13px/1.35 system-ui;background:#fff;color:#344054;border:1px solid #d0d5dd;border-radius:6px;cursor:pointer;text-decoration:none;white-space:normal}
.g7-builder-shell .btn:hover:where(:not(:disabled)),.g7-builder-shell .g7c-button:hover:where(:not(:disabled)){background:#f5f7fb;border-color:#94a3b8}
.g7-builder-shell .btn-primary{background:var(--g7-accent);color:white;border-color:var(--g7-accent)}
.g7-builder-shell .btn-primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.g7-builder-shell button:disabled{opacity:.45;cursor:default}
.g7-builder-shell .g7-builder-top{padding:10px 16px;gap:10px;min-height:56px;flex-wrap:nowrap}
.g7-builder-shell .g7-builder-title{font-size:15px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g7-builder-shell .g7-builder-session-status{color:#667085;font-size:12px;min-width:100px}
.g7-builder-shell .g7-builder-health{margin-top:12px;border:1px solid #e4e7ec;border-radius:8px;overflow:hidden;background:#fff;font-size:12px}
.g7-builder-shell .g7-builder-compatibility{padding:0 16px 8px;border:0}
.g7-builder-shell .g7-builder-report{margin:0;font-size:12px}
.g7-builder-shell .g7-builder-css-status:not(:empty){padding:8px 16px;background:#f8fafc;color:#475467}
.g7-builder-shell .g7c-layout{grid-template-columns:minmax(0,1fr)350px;grid-template-rows:46px minmax(0,1fr)}
.g7-builder-shell .g7c-side{border-color:#e4e7ec;color:#263244}
.g7-builder-shell .g7c-tabs{padding:0;gap:0;height:46px;flex-shrink:0;background:white}
.g7-builder-shell .g7c-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:#fff;color:#667085;font-weight:600}
.g7-builder-shell .g7c-tabs button[aria-selected=true]{background:#eff6ff;border-bottom-color:var(--g7-accent);color:#1d4ed8}
.g7-builder-shell .g7c-panel{padding:16px}
.g7-builder-shell .g7c-colour-popup{position:fixed!important;z-index:1200;box-sizing:border-box;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;box-shadow:0 8px 28px #10182826}
.g7-builder-shell .g7c-panel h3{font-size:16px;color:#263244;margin-bottom:8px}
.g7-builder-shell .g7c-panel h4{font-size:13px;color:#344054;margin:0 0 10px}
.g7-builder-shell .g7c-help{font-size:12px;line-height:1.5;margin-bottom:14px;color:#667085}
.g7-builder-shell .g7c-tools{gap:6px;padding:6px 14px;padding-right:178px;border-color:#e4e7ec;overflow:visible}
.g7-builder-shell .g7c-tools label{font-size:12px;color:#667085}
.g7-builder-shell .g7c-devices{display:flex;flex-shrink:0;align-items:center;gap:2px;padding:2px;border:1px solid #dce3ee;border-radius:8px;background:#f8fafc}
.g7-builder-shell .g7c-tools .g7c-device-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:32px;padding:6px;border-color:transparent;background:transparent;border-radius:5px}
.g7-builder-shell .g7c-device-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.g7-builder-shell .g7c-device-button:hover{background:#e8eef8}
.g7-builder-shell .g7c-preview-width{display:flex;flex:none;align-items:center;margin:0 6px;font-size:12px;color:#667085}
.g7-builder-shell .g7c-video-background{margin:16px 0;padding:14px;border:1px solid #dce5ef;border-radius:12px;background:linear-gradient(140deg,#f5f9fc,#fff)}
.g7-builder-shell .g7c-video-background>summary{font-weight:600;color:#263b56;cursor:pointer}
.g7-builder-shell .g7c-video-background>summary+.g7c-help{margin-top:10px}
.g7-builder-shell .g7c-video-background .g7c-video-choose{width:100%;min-height:48px;margin-bottom:10px;border:1px dashed #9eb9ce;background:#edf5fa;color:#28516d}
.g7-builder-shell .g7c-video-background .g7c-video-choose::before{content:"▶";margin-right:8px;font-size:13px}
.g7-builder-shell .g7c-video-filename{font-size:11px;color:#63738c;overflow-wrap:anywhere;margin:0 0 10px}
.g7-builder-shell .g7c-video-cover{display:flex;align-items:center;gap:10px;margin:12px 0 8px}
.g7-builder-shell .g7c-video-cover img{width:64px;height:44px;object-fit:cover;border:1px solid #dce5ef;border-radius:6px}
.g7-builder-shell .g7c-video-advanced{margin:14px 0;padding-top:12px;border-top:1px solid #e0e6f0;font-size:12px;color:#63738c}
.g7-builder-shell .g7c-width-edit{display:flex;align-items:center;gap:5px}
.g7-builder-shell .g7c-tools .g7c-width-readout{min-width:78px;border-color:transparent;background:transparent;color:#344054;font-variant-numeric:tabular-nums;white-space:nowrap}
.g7-builder-shell .g7c-tools .g7c-width-readout:hover{border-color:#dce3ee;background:#f5f7fb}
.g7-builder-shell .g7c-tools :is(.g7c-width-readout,.g7c-width-edit,.g7c-width-input)[hidden]{display:none}
.g7-builder-shell .g7c-width-input{box-sizing:border-box;width:66px;height:32px;padding:5px 8px;border:1px solid #dce3ee;border-radius:6px;background:#fff;color:#344054;font:inherit;font-size:12px;text-align:right;font-variant-numeric:tabular-nums}
.g7-builder-shell .g7c-tools .g7c-button{min-height:30px;padding:5px 9px;font-size:12px}
.g7-builder-shell .g7c-tools .g7c-tool-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:34px;height:32px;padding:6px}
.g7-builder-shell .g7c-tool-icon svg{width:18px;height:18px;pointer-events:none}
.g7-builder-shell .g7c-tool-icon:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
/* Shared draft colour picker; all changes commit through the original input. */
.g7-builder-shell .g7-colour-control{width:100%;min-width:0}
.g7-builder-shell .g7-colour-face{position:relative;height:54px;overflow:hidden;border:1px solid #dce3ee;border-radius:7px;background:#fff;box-shadow:0 1px 2px #18223b04}
.g7-builder-shell .g7-colour-face:hover{border-color:#92aff3;box-shadow:0 0 0 2px #2563eb12}
.g7-builder-shell .g7-colour-face:focus-within{outline:2px solid #2563eb;outline-offset:3px}
.g7-builder-shell .g7-colour-face>input[type=color]{display:block;box-sizing:border-box;appearance:none;width:100%;height:100%!important;min-height:0;margin:0;padding:0!important;border:0;border-radius:6px;cursor:pointer;background:transparent;outline:none}
.g7-builder-shell .g7-colour-face>input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.g7-builder-shell .g7-colour-face>input[type=color]::-webkit-color-swatch{border:0;border-radius:6px}
.g7-builder-shell .g7-colour-face>input[type=color]::-moz-color-swatch{border:0;border-radius:6px}
.g7-builder-shell .g7-colour-drop{position:absolute;left:15px;top:50%;transform:translateY(-50%);display:flex;pointer-events:none;color:var(--g7-swatch-ink,#18223b)}
.g7-colour-drop svg{width:21px;height:21px}
.g7-builder-shell .g7-colour-face-value{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--g7-swatch-ink,#18223b);font:12px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.4px}
.g7-builder-shell .g7-colour-tones{display:flex;height:14px;margin-top:10px;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}
.g7-builder-shell .g7-colour-tone{display:block;flex:1;box-sizing:border-box;min-width:0;min-height:14px;height:14px;margin:0;padding:0;border:0;border-radius:0;appearance:none;cursor:pointer;box-shadow:none}
.g7-builder-shell .g7-colour-tone:hover:not(:disabled){box-shadow:inset 0 0 0 2px #fff9}
.g7-builder-shell .g7-colour-tone:focus-visible{position:relative;outline:2px solid #2563eb;outline-offset:-2px;box-shadow:inset 0 0 0 4px #fff}
.g7-builder-shell .g7-colour-tone:disabled{cursor:default}
.g7-builder-shell .g7-colour-face:has(>input:disabled){opacity:.65}
.g7-builder-shell .g7-builder-colour-groups{grid-template-columns:1fr;gap:20px}
.g7-builder-shell .g7-builder-colour-groups fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.g7-builder-shell .g7-builder-colour-groups legend{font-size:14px;margin-bottom:12px}
.g7-builder-shell .g7-builder-settings .g7-builder-colour-groups label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0;font-size:12px}
.g7-builder-shell .g7-builder-colour-groups label>span{order:-1;color:#344054}
.g7-builder-shell .g7-builder-colour-groups output{text-align:center;font-size:11px;color:#64748b}
.g7-builder-shell .g7-builder-colour-groups .g7-colour-face-value{display:none}
.g7-builder-shell .g7-builder-colour-groups .g7-colour-drop{left:50%;transform:translate(-50%,-50%)}
@media(max-width:500px){.g7-builder-shell .g7-builder-colour-groups fieldset{gap:10px}.g7-builder-shell .g7-colour-face{height:50px}}
.g7-builder-shell .g7-colour-dialog{box-sizing:border-box;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;overflow:auto;border:1px solid #e4e7ed;border-radius:12px;background:#fff;color:#10182f;box-shadow:0 20px 70px #15213f40;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.g7-colour-dialog::backdrop{background:#15213f35;backdrop-filter:blur(2px)}
.g7-builder-shell .g7-colour-dialog header{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;gap:12px}
.g7-builder-shell .g7-colour-dialog h2{margin:0;color:#10182f;font:650 21px/1.3 system-ui}
.g7-builder-shell .g7-colour-dialog button{font:500 14px/1.4 system-ui;cursor:pointer;box-shadow:none;min-height:36px}
.g7-builder-shell .g7-colour-dialog :is(button,input,.g7-colour-area):focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.g7-builder-shell .g7-colour-dialog .g7-colour-dismiss{display:grid;place-items:center;flex:none;width:32px;min-height:32px;padding:6px;border:0;border-radius:8px;background:#fff;color:#18223b}
.g7-builder-shell .g7-colour-dismiss:hover{background:#edf3ff;color:#2563eb}
.g7-colour-dismiss svg,.g7-colour-eyedropper svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.g7-colour-area{position:relative;box-sizing:border-box;height:190px;margin:0 1px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent),var(--g7-colour-hue,#8000ff);touch-action:none;cursor:crosshair;overflow:hidden}
.g7-colour-marker{position:absolute;width:17px;height:17px;box-sizing:border-box;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #0007;pointer-events:none}
.g7-builder-shell .g7-colour-dialog input.g7-colour-hue{display:block;box-sizing:border-box;width:100%;height:20px;min-height:0;margin:0;padding:0;border:0;border-radius:0;appearance:none;background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);cursor:pointer}
.g7-colour-hue::-webkit-slider-thumb{appearance:none;width:24px;height:24px;border:2px solid #fff;border-radius:50%;background:var(--g7-colour-hue,#8000ff);box-shadow:0 1px 5px #16233f50}
.g7-colour-hue::-moz-range-thumb{width:21px;height:21px;border:2px solid #fff;border-radius:50%;background:var(--g7-colour-hue,#8000ff);box-shadow:0 1px 5px #16233f50}
.g7-colour-body{padding:16px 26px 0}
.g7-colour-context{margin:0 0 14px;font:12px/1.5 system-ui;color:#64748b;overflow-wrap:anywhere}
.g7-colour-swatch{width:72%;height:16px;margin:0 auto 24px;overflow:hidden;border:1px solid #e3e6ec;border-radius:20px;background:repeating-conic-gradient(#e4e7ee 0 25%,#fff 0 50%) 0/10px 10px}
.g7-colour-swatch span{display:block;width:100%;height:100%}
.g7-colour-tabs{display:flex;margin:0 -26px 18px;border-bottom:2px solid #edf0f5}
.g7-builder-shell .g7-colour-dialog .g7-colour-tab{flex:1;padding:11px 4px;border:0;border-bottom:3px solid transparent;border-radius:0;background:#fff;color:#5d6680;font-size:16px;letter-spacing:.3px;margin-bottom:-2px}
.g7-builder-shell .g7-colour-tab[aria-selected=true]{border-bottom-color:#2563eb;color:#2563eb}
.g7-builder-shell .g7-colour-tab:hover{background:#f5f8ff;color:#2563eb}
.g7-colour-values{display:flex;align-items:center;gap:10px;min-height:48px}
.g7-colour-values label{display:block;flex:1;min-width:0;margin:0;color:#64748b;font:11px/1.5 system-ui}
.g7-colour-values label>span{display:block;margin-bottom:5px}
.g7-builder-shell .g7-colour-dialog .g7-colour-values input{box-sizing:border-box;width:100%;min-width:0;height:44px;margin:0;padding:8px;border:1px solid #b9cdfb;border-radius:8px;background:#fff;color:#17213a;text-align:center;font:500 16px/1.4 system-ui}
.g7-builder-shell .g7-colour-dialog .g7-colour-values .g7-colour-hex{flex:1;width:0;font-size:20px}
.g7-builder-shell .g7-colour-dialog .g7-colour-eyedropper{display:grid;place-items:center;flex:none;width:36px;padding:7px;border:0;border-radius:8px;background:#fff;color:#2563eb}
.g7-builder-shell .g7-colour-eyedropper:hover{background:#edf3ff}
.g7-builder-shell .g7-colour-eyedropper:disabled{opacity:.5;cursor:wait}
.g7-colour-opacity{display:grid;grid-template-columns:1fr auto;gap:7px;margin:16px 0 0;color:#64748b;font-size:12px}
.g7-colour-opacity input{grid-column:1/-1;width:100%;margin:0;accent-color:#2563eb}
.g7-colour-error{margin:10px 0 0;font-size:12px;color:#b42318}
.g7-colour-error:empty{display:none}
.g7-builder-shell .g7-colour-dialog footer{display:flex;justify-content:space-between;gap:20px;padding:24px 26px}
.g7-builder-shell .g7-colour-dialog :is(.g7-colour-cancel,.g7-colour-apply){min-width:110px;padding:10px 20px;border:1px solid transparent;border-radius:24px;font-size:16px}
.g7-builder-shell .g7-colour-dialog .g7-colour-cancel{background:#eaf1ff;color:#2563eb}
.g7-builder-shell .g7-colour-dialog .g7-colour-cancel:hover{background:#dce8ff;color:#1d4ed8}
.g7-builder-shell .g7-colour-dialog .g7-colour-apply{background:#2563eb;color:#fff}
.g7-builder-shell .g7-colour-dialog .g7-colour-apply:hover:not(:disabled){background:#1d4ed8;color:#fff}
.g7-builder-shell .g7-colour-dialog .g7-colour-apply:disabled{background:#cbd5e1;color:#475569;cursor:default}
.g7-colour-dialog [hidden]{display:none!important}
@media(max-height:650px){.g7-colour-area{height:150px}.g7-builder-shell .g7-colour-dialog header{padding:14px 22px}.g7-colour-body{padding-top:12px}.g7-colour-swatch{margin-bottom:16px}.g7-builder-shell .g7-colour-dialog footer{padding-top:18px;padding-bottom:18px}}
.g7-builder-shell .g7c-tools .g7c-button[aria-pressed=true]{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.g7-builder-shell .g7c-viewport{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.g7-builder-shell .g7c-presets{gap:10px}
.g7-builder-shell .g7c-preset{display:flex;flex-direction:column;border-radius:8px;padding:0;text-indent:0;min-height:112px;line-height:1.35;font-weight:600;border-color:#e4e7ec}
.g7-builder-shell .g7c-preset-preview{margin:0;display:block;width:100%}
.g7-builder-shell .g7c-preset-preview svg{width:100%;height:70px;object-fit:cover}
.g7-builder-shell .g7c-preset-name{display:block;padding:10px 11px;font-size:12px;text-indent:0;flex:1}
.g7-builder-shell .g7c-category .g7c-preset-name{padding-bottom:3px}
.g7-builder-shell .g7c-category-count{display:block;padding:0 11px 11px;color:#667085;font-size:11px;font-weight:400}
.g7-builder-shell .g7c-category-industry-preview{position:relative;overflow:hidden;height:96px;background:#eef2f7;border-radius:7px 7px 0 0}
.g7-builder-shell .g7c-category-industry-preview>img{display:block;width:100%;height:100%;object-fit:cover}
.g7-builder-shell .g7c-category-industry-preview.g7c-preview-loading>img{opacity:0}
.g7-builder-shell .g7c-section-picker .g7c-category-industry-preview{height:160px}
.g7-builder-shell .g7c-catalogue-heading{display:flex;align-items:center;gap:16px;margin:6px 0 14px}
.g7-builder-shell .g7c-catalogue-heading h3{margin:0;font:600 17px/1.4 system-ui;color:#344054}
.g7-builder-shell .g7c-content-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:330px;overflow:auto;margin:14px 0 22px}
.g7-builder-shell .g7c-content-result{display:flex;align-items:center;gap:14px;padding:10px;text-align:left;background:#fff;border:1px solid #dce2eb;border-radius:10px;color:#263244;cursor:pointer;min-height:72px;font:500 13px/1.4 system-ui}
.g7-builder-shell .g7c-content-result[aria-pressed="true"]{border-color:#2563eb;background:#eef5ff;box-shadow:inset 0 0 0 1px #2563eb}
.g7-builder-shell .g7c-content-result img,.g7-builder-shell .g7c-content-symbol{width:54px;height:54px;flex-shrink:0;object-fit:contain;background:#f3f6fa;border-radius:7px}
.g7-builder-shell .g7c-content-symbol{display:grid;place-items:center;font-size:25px;color:#627e9f}
.g7-builder-shell .g7c-content-result:focus-visible{outline:3px solid #91b3f5;outline-offset:2px}
.g7-builder-shell .g7c-content-picker h3{font:600 14px/1.4 system-ui;margin:12px 0}
.g7-builder-shell .g7c-chosen-item{display:flex;gap:8px;align-items:center;border:1px solid #dce2eb;border-radius:8px;padding:8px 10px;margin:6px 0;background:#f8faff}
.g7-builder-shell .g7c-chosen-item>span{flex:1;min-width:0;font-size:13px}
.g7-builder-shell .g7c-content-footer{display:flex;justify-content:space-between;gap:14px;margin-top:20px;padding-top:16px;border-top:1px solid #e0e6ef}
.g7-builder-shell .g7c-content-footer>div{display:flex;gap:8px}
.g7-builder-shell .g7c-content-footer>button{background:#2563eb;border-color:#2563eb;color:white}
.g7-builder-shell .g7c-source-chip{border-radius:8px;background:#f0f5fc;padding:12px;font-weight:600;margin:12px 0}
@media(max-width:600px){.g7-builder-shell .g7c-content-results{grid-template-columns:1fr}}
.g7-builder-shell .g7c-preset:hover{border-color:#93b4ef;box-shadow:0 2px 6px #1018280a}
.g7-builder-shell .g7c-dragging{opacity:.6;outline:2px solid var(--g7-accent)}
.g7-builder-shell .g7c-basic,.g7-builder-shell .g7c-advanced{margin-top:16px;padding-top:12px;border-color:#e4e7ec}
.g7-builder-shell .g7c-basic summary,.g7-builder-shell .g7c-advanced summary{font-size:12px;color:#475467;padding:4px 0}
.g7-builder-shell .gjs-one-bg,.g7-builder-shell .gjs-two-bg{background:#fff}
.g7-builder-shell .gjs-two-color,.g7-builder-shell .gjs-four-color,.g7-builder-shell .gjs-four-color-h:hover{color:#344054}
.g7-builder-shell .gjs-three-bg{background:var(--g7-accent)}
.g7-builder-shell .gjs-blocks-c{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 0}
.g7-builder-shell .gjs-block{width:auto;min-width:0;min-height:54px;margin:0;padding:10px;border:1px solid #e4e7ec;border-radius:6px;box-shadow:none;color:#344054;background:#fff;display:flex;align-items:center;justify-content:center}
.g7-builder-shell .gjs-block:hover{border-color:#93b4ef;background:#f8fafc}
.g7-builder-shell .gjs-block-label{font:500 12px/1.4 system-ui;color:#344054}
.g7-builder-shell .g7c-block-hint{display:flex;flex-direction:column;gap:3px;margin:8px 0 4px;padding:10px 12px;border:1px solid #dbeafe;border-radius:7px;background:#eff6ff;color:#475467;font-size:12px;line-height:1.45}
.g7-builder-shell .g7c-block-hint strong{color:#1d4ed8;font-weight:600}
.g7-builder-shell .g7c-basic-list .gjs-block{position:relative;padding:12px 24px;border-style:dashed;cursor:grab;transition:border-color .15s,background-color .15s,box-shadow .15s}
.g7-builder-shell .g7c-basic-list .gjs-block::after{content:"";position:absolute;top:50%;right:9px;transform:translateY(-50%);width:12px;height:18px;background:radial-gradient(circle,#98a2b3 1.4px,transparent 1.6px) 0 0/6px 6px;pointer-events:none}
.g7-builder-shell .g7c-basic-list .gjs-block:hover{border-color:#7da6ed;background:#f5f9ff;box-shadow:0 2px 5px #1018280a}
.g7-builder-shell .g7c-basic-list .gjs-block:active{cursor:grabbing;background:#eff6ff}
.g7-builder-shell .gjs-title,.g7-builder-shell .gjs-sm-sector-title{background:#f8fafc;border-color:#e4e7ec;color:#344054;font:600 12px/1.4 system-ui}
.g7-builder-shell .gjs-field{background:#fff;border:1px solid #d0d5dd;color:#344054}
.g7-builder-shell .gjs-field input,.g7-builder-shell .gjs-field select{color:#344054;background:#fff}
.g7-builder-shell .gjs-field select{color-scheme:light;font:400 13px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
.g7-builder-shell .gjs-field select option{background:#fff;color:#344054;border:0;border-radius:0;box-shadow:none;padding:5px 8px}
.g7-builder-shell .gjs-field select option:checked{background:#eaf2ff;color:#1d4ed8}
.g7-builder-shell .gjs-sm-label,.g7-builder-shell .gjs-sm-property{color:#344054}
.g7-builder-shell .gjs-sm-property__background-image [data-open-assets]{display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:100%;min-height:60px;padding:14px;border:1px dashed #9eb9e6;border-radius:9px;background:#eff6ff;color:#2458a4;box-shadow:none;font:600 13px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .gjs-sm-property__background-image [data-open-assets]::before{content:"";flex:none;width:23px;height:23px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E")}
.g7-builder-shell .gjs-sm-property__background-image [data-open-assets]:hover{background:#e4efff;border-color:#5a8bd4;color:#1d4ed8}
.g7-builder-shell .gjs-sm-property__background-image [data-open-assets]:focus-visible{outline:3px solid #91b3f5;outline-offset:2px}
.g7-builder-shell .gjs-sm-property__background-image .gjs-sm-preview-file{border:1px solid #dbe3ef;border-radius:8px;margin-top:10px;background:#f3f6fa}
.g7-builder-shell .g7c-tree,.g7-builder-shell .g7c-tree .g7c-tree{margin:0;padding:0;border:0;list-style:none}
.g7-builder-shell .g7c-tree-row{display:flex;align-items:center;border-radius:5px;min-height:32px;gap:2px}
.g7-builder-shell .g7c-tree-row:hover{background:#f5f7fb}
.g7-builder-shell .g7c-tree-toggle{flex:0 0 22px;padding:0;border:0;background:transparent;min-height:28px;font-size:13px;color:#667085;cursor:pointer}
.g7-builder-shell .g7c-tree-item{min-height:32px;min-width:0;flex:1;width:auto;border:0;border-radius:4px;margin:0;padding:6px;display:block;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;background:transparent;color:#475467}
.g7-builder-shell .g7c-tree-item[aria-pressed=true]{background:#eff6ff;color:#1d4ed8}
.g7-builder-shell .g7c-tree-icon{color:#98a2b3;margin-right:7px;display:inline-block;width:14px;text-align:center}
.g7-builder-shell .g7c-parents{gap:5px;align-items:center;margin-bottom:14px;font-size:12px;line-height:1.5}
.g7-builder-shell .g7c-parents .g7c-button{padding:2px 0;min-height:22px;font-size:12px;border:0;color:#2563eb;background:transparent}
.g7-builder-shell .g7c-crumb-separator{color:#98a2b3}
.g7-builder-shell .g7c-crumb-current{color:#475467}
.g7-builder-shell .g7c-design-group{padding:12px 0;border-top:1px solid #e4e7ec}
.g7-builder-shell .g7c-field{margin:10px 0;font-size:12px;color:#344054}
.g7-builder-shell .g7c-field>label{margin-bottom:5px;font-weight:500}
.g7-builder-shell .g7c-input{font-size:13px;padding:7px 9px;border-color:#d0d5dd;min-height:34px;border-radius:5px}
.g7-builder-shell .g7c-field textarea{min-height:60px}
.g7-builder-shell .g7c-value-note{display:block;margin-top:5px;color:#667085;font-size:11px;line-height:1.5;font-weight:400}
.g7-builder-shell .g7c-field .g7c-button{font-size:11px;min-height:24px;padding:2px 0;border:0;color:#2563eb;background:transparent;display:block;margin-top:4px}
.g7-builder-shell .g7c-dimension{display:grid;grid-template-columns:minmax(0,1fr)72px;gap:0 6px}
.g7-builder-shell .g7c-dimension>label,.g7-builder-shell .g7c-dimension>small,.g7-builder-shell .g7c-dimension>button{grid-column:1/-1}
.g7-builder-shell .g7c-image-preview{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.g7-builder-shell .g7c-image-preview img{width:70px;height:54px;object-fit:contain;border-radius:6px;border:1px solid #e4e7ec;background:#f8fafc}
.g7-builder-shell .g7c-note{background:#f8fafc;color:#475467;border:1px solid #e4e7ec;font-size:12px;padding:12px}
.g7-builder-shell .g7c-actions{gap:6px}
.g7-builder-shell .g7c-actions .g7c-button{font-size:12px;padding:6px 8px;min-height:30px}
.g7-builder-shell .g7c-design{background:#f8fafc}
.g7-builder-shell .g7c-design-empty{padding:22px 18px;border:1px solid #dce5f2;border-radius:14px;background:#fff;box-shadow:0 3px 12px #1d355708}
.g7-builder-shell .g7c-design-empty-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:16px;border-radius:12px;background:#edf4ff;color:#2563eb}
.g7-builder-shell .g7c-design-empty-icon svg{width:26px;height:26px}
.g7-builder-shell .g7c-design-empty h3{margin:0 0 12px;font:650 18px/1.4 system-ui;letter-spacing:-.3px;color:#1d2939}
.g7-builder-shell .g7c-design-empty-lead{margin:0 0 8px;font:500 14px/1.6 system-ui;color:#344054}
.g7-builder-shell .g7c-design-empty .g7c-help{margin:0;font-size:13px;line-height:1.6}
.g7-builder-shell .g7c-design-empty-divider{height:1px;margin:20px 0;background:#edf0f5}
.g7-builder-shell .g7c-design-empty-action{width:100%;margin-top:14px;padding:10px 14px;border-color:#bfd2ff;border-radius:8px;background:#edf4ff;color:#1d4ed8;font-weight:600}
.g7-builder-shell .g7c-design-empty-action:hover{background:#e0ebff;border-color:#8dafff}
.g7-builder-shell .g7c-design-empty-action:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.g7-builder-shell .g7c-design>h3{font:650 18px/1.4 system-ui;letter-spacing:-.3px;color:#1d2939;margin:2px 0 8px}
.g7-builder-shell .g7c-design>.g7c-parents{margin-bottom:16px;gap:6px}
.g7-builder-shell .g7c-design .g7c-crumb-current{display:inline-flex;padding:3px 9px;border:1px solid #dbe6f5;border-radius:6px;background:#edf4ff;color:#315584;font-size:11px;font-weight:600}
.g7-builder-shell .g7c-design-group{padding:16px;margin:14px 0;border:1px solid #e1e7ef;border-radius:12px;background:#fff;box-shadow:0 2px 4px #10182803}
.g7-builder-shell .g7c-design-group>h4{font:650 12px/1.4 system-ui;color:#344054;letter-spacing:.4px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #edf0f5}
.g7-builder-shell .g7c-design .g7c-field{margin:14px 0}
.g7-builder-shell .g7c-design-group>.g7c-field:last-child{margin-bottom:0}
.g7-builder-shell .g7c-design .g7c-field>label{display:block;margin-bottom:6px;font:500 12px/1.5 system-ui;color:#475467}
.g7-builder-shell .g7c-design .g7c-input{border:1px solid #d5dde8;border-radius:8px;min-height:38px;padding:9px 11px;font:400 13px/1.4 system-ui;color:#263b56;box-shadow:0 1px 2px #10182804;transition:border-color .15s,box-shadow .15s;color-scheme:light}
.g7-builder-shell .g7c-design .g7c-input:hover{border-color:#a9bcd6}
.g7-builder-shell .g7c-design .g7c-input:focus{outline:0;border-color:#6e9bea;box-shadow:0 0 0 3px #2563eb14}
.g7-builder-shell .g7c-design select.g7c-input{appearance:none;padding-right:32px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center}
.g7-builder-shell .g7c-design input[type=checkbox].g7c-input{appearance:auto;width:18px;height:18px;min-height:0;padding:0;accent-color:#2563eb}
.g7-builder-shell .g7c-design input[type=color].g7c-input{padding:4px;height:38px;cursor:pointer}
.g7-builder-shell .g7c-design .g7c-actions{gap:8px;margin:14px 0 18px}
.g7-builder-shell .g7c-design .g7c-actions>.g7c-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 10px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;color:#344054;font:500 12px/1.4 system-ui;box-shadow:0 1px 2px #10182804}
.g7-builder-shell .g7c-design .g7c-actions>.g7c-button:hover:not(:disabled){border-color:#aac3eb;background:#edf4ff;color:#1d4ed8}
.g7-builder-shell .g7c-design .g7c-actions>.g7c-button:disabled{opacity:1;color:#a1aab8;border-color:#e7ebf1;background:#f3f5f8;box-shadow:none;cursor:default}
.g7-builder-shell .g7c-section-actions>.g7c-button::before{content:"";width:15px;height:15px;flex:none;background:currentColor;mask:center/contain no-repeat var(--g7-action-icon)}
.g7-builder-shell .g7c-section-actions>.g7c-button:nth-child(1){--g7-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5m-6 6 6-6 6 6'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-section-actions>.g7c-button:nth-child(2){--g7-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14m-6-6 6 6 6-6'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-section-actions>.g7c-button:nth-child(3){--g7-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V4H4v12h4'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-section-actions>.g7c-button:nth-child(4){color:#b54747;--g7-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7m4-7v7'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-design .g7c-section-actions>.g7c-button:nth-child(4):hover:not(:disabled){background:#fff1f0;color:#b42318;border-color:#f2c6c2}
.g7-builder-shell .g7c-design .g7c-actions>.g7c-button:focus-visible{outline:3px solid #91b3f5;outline-offset:2px}
.g7-builder-shell .gjs-cv-canvas{background:#eef0f4}
.g7-builder-shell .gjs-frame{background:#fff}
.g7-builder-shell .gjs-badge{display:none!important}
/* The native empty toolbar is positioned on hover before it has actions. */
.g7-builder-shell .gjs-toolbar:empty{display:none!important}
.g7-builder-shell .gjs-toolbar{background:#fff;color:#344054;border:1px solid #2563eb;border-radius:8px 8px 0 0;padding:3px;box-shadow:0 -2px 8px #1018280d;font:12px/1.4 system-ui}
.g7-builder-shell .gjs-toolbar.g7c-selection-inset{border-radius:0 0 8px 0;box-shadow:0 3px 8px #1018280d}
.g7-builder-shell .gjs-toolbar-items{display:flex;align-items:center;gap:2px}
.g7-builder-shell .g7c-selection-caption{display:flex;align-items:center;gap:7px;align-self:stretch;max-width:160px;padding:0 12px 0 9px;margin-right:3px;border-right:1px solid #dbe7fb;background:#eff6ff;color:#1d4ed8;border-radius:5px 0 0 0;font:600 12px/1.4 system-ui}
.g7-builder-shell .g7c-selection-caption svg{width:16px;height:16px;flex:none}
.g7-builder-shell .g7c-selection-caption .g7c-selection-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g7-builder-shell .gjs-toolbar-item{padding:0;min-width:0;width:auto;flex:none;display:block;border-radius:5px}
.g7-builder-shell .g7c-selection-action{display:flex;align-items:center;justify-content:center;gap:6px;min-width:36px;min-height:36px;padding:8px 10px;background:#fff;color:#344054;border:0;border-radius:5px;font:500 12px/1.3 system-ui;cursor:pointer;white-space:nowrap}
.g7-builder-shell .g7c-selection-action svg{width:17px;height:17px;display:block;flex:none}
.g7-builder-shell .g7c-selection-action:hover{background:#eff6ff;color:#1d4ed8}
.g7-builder-shell .g7c-selection-action[data-selection-action=drag]{cursor:grab}
.g7-builder-shell .g7c-selection-action[data-selection-action=drag]:active{cursor:grabbing}
.g7-builder-shell .g7c-selection-action[data-selection-action=delete]{color:#b42318}
.g7-builder-shell .g7c-selection-action[data-selection-action=delete]:hover{background:#fff1f0;color:#912018}
.g7-builder-shell .g7c-selection-disabled{cursor:not-allowed}
.g7-builder-shell .g7c-selection-compact .g7c-selection-action-label{display:none}
.g7-builder-shell .g7c-selection-compact .g7c-selection-action{padding:9px;min-width:38px;min-height:38px}
.g7-builder-shell .g7c-selection-compact .g7c-selection-caption{max-width:106px;padding:0 8px;gap:5px}
.g7-builder-shell .g7c-selection-compact .g7c-selection-caption svg{display:none}
.g7-builder-shell .g7c-selection-action[data-selection-action=change-image]{background:#eff6ff;color:#1d4ed8}
.g7-builder-shell .g7c-selection-action[data-selection-action=change-image]:hover{background:#dbeafe}
.g7-builder-shell .g7c-selection-compact [data-selection-action=change-image] .g7c-selection-action-label{display:inline}
.g7-builder-shell .g7c-selection-compact.g7c-selection-has-image .g7c-selection-caption{max-width:70px}
.g7-builder-shell .gjs-highlighter{outline:1px dashed #94a3b8;outline-offset:1px}
.g7-builder-shell .gjs-highlighter-sel{outline:2px solid #2563eb;outline-offset:0;border-radius:0}
.g7-builder-shell :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.g7-builder-content-status{display:inline-block;margin:0 10px;padding:3px 7px;border-radius:4px;background:#f0f4f8;color:#475467;font-size:12px}
.g7-builder-field .g7-builder-undo-clear[hidden]{display:none!important}
@media(max-width:1050px){.g7-builder-shell .g7-builder-top{flex-wrap:wrap}.g7-builder-shell .g7c-tools{padding-right:12px}}
@media(max-width:760px){.g7-builder-shell .g7c-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:46px minmax(0,1fr)minmax(200px,42%)}.g7-builder-shell .g7c-side{grid-column:1;grid-row:3}.g7-builder-shell .g7c-tools{overflow:auto}.g7-builder-shell .g7c-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.g7-builder-shell .g7-builder-top{gap:6px;padding:8px}.g7-builder-shell .g7-builder-title{max-width:150px}}

.g7-builder-shell .g7-block-icon{font:600 17px/1 system-ui;color:#8092ac;display:block;margin-right:9px}
.g7-builder-shell .g7c-insertion-layer{position:absolute;inset:0;z-index:20;overflow:hidden;pointer-events:none}
.g7-builder-shell[data-choosing-sticker-area] .g7c-insertion-layer{display:none!important}
.g7-builder-shell[data-choosing-sticker-area] .gjs-toolbar{display:none!important}
.g7-builder-shell .g7c-insertion-line{position:absolute;height:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.g7-builder-shell .g7c-insertion-line::before{content:'';position:absolute;inset:auto 12px;height:1px;transform:translateY(var(--g7c-guide-offset,0px));background:linear-gradient(90deg,transparent,#c7d7f4 20%,#c7d7f4 80%,transparent)}
.g7-builder-shell .g7c-insertion-line[hidden]{display:none}
.g7-builder-shell .g7c-insert-section{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;flex:none;height:36px;padding:5px 12px 5px 6px;border:1px solid #b9cef5;border-radius:20px;background:#fff;color:#1d4ed8;font:600 12px/1.4 system-ui;box-shadow:0 2px 6px #1018280d,0 0 0 4px #ffffffd9;cursor:pointer;pointer-events:auto;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
.g7-builder-shell .g7c-insert-icon{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#eff6ff;font-size:0}
.g7-builder-shell .g7c-insert-icon:before,.g7-builder-shell .g7c-insert-icon:after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:1px;background:currentColor}
.g7-builder-shell .g7c-insert-icon:before{width:12px;height:2px}
.g7-builder-shell .g7c-insert-icon:after{width:2px;height:12px}
.g7-builder-shell .g7c-insert-section:hover,.g7-builder-shell .g7c-insert-section:focus-visible{background:#eff6ff;border-color:#2563eb;box-shadow:0 2px 8px #2563eb20,0 0 0 4px #ffffffd9}
.g7-builder-shell .g7c-insert-section:hover .g7c-insert-icon,.g7-builder-shell .g7c-insert-section:focus-visible .g7c-insert-icon{background:#2563eb;color:#fff}
.g7-builder-shell .g7c-insertion-compact .g7c-insert-section{width:36px;padding:5px}
.g7-builder-shell .g7c-insertion-compact .g7c-insert-label{display:none}
.g7-builder-shell .g7c-boundary-controls{position:relative;display:flex;align-items:center;gap:8px;flex:none}
.g7-builder-shell .g7c-section-space{display:flex;align-items:center;gap:5px;height:34px;padding:5px 9px;border:1px solid #b9cef5;border-radius:18px;background:#fff;color:#315a93;box-shadow:0 2px 6px #10182812,0 0 0 3px #ffffffd9;font:600 11px/1.3 system-ui;cursor:ns-resize;pointer-events:auto;touch-action:none;user-select:none;white-space:nowrap}
.g7-builder-shell .g7c-section-space[hidden],.g7-builder-shell .g7c-spacing-mode[hidden]{display:none}
.g7-builder-shell .g7c-space-icon{display:flex;flex:none;width:16px;height:16px;color:#4875c1}.g7-builder-shell .g7c-space-icon svg{width:100%;height:100%}
.g7-builder-shell .g7c-space-value{font-variant-numeric:tabular-nums;color:#64748b}
.g7-builder-shell .g7c-section-space:hover,.g7-builder-shell .g7c-section-space:focus-visible,.g7-builder-shell .g7c-section-space.g7c-space-dragging{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:0 2px 10px #2563eb26,0 0 0 3px #ffffffd9}
.g7-builder-shell .g7c-space-dragging .g7c-space-value{color:#1d4ed8}
.g7-builder-shell .g7c-spacing-mode{height:34px;padding:5px 12px;border:1px solid #b9cef5;border-radius:18px;background:#fff;color:#315a93;box-shadow:0 2px 6px #10182812,0 0 0 3px #ffffffd9;font:600 11px/1.3 system-ui;pointer-events:auto;cursor:pointer;white-space:nowrap}
.g7-builder-shell .g7c-spacing-mode:hover,.g7-builder-shell .g7c-spacing-mode[aria-expanded=true]{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}
.g7-builder-shell .g7c-spacing-panel{position:fixed;inset:auto;margin:0;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:auto;padding:20px;border:1px solid #dbe4f5;border-radius:20px;background:#fff;color:#1e293b;box-shadow:0 16px 48px #14274626,0 2px 8px #14274612;font:13px/1.5 system-ui;z-index:60}
.g7-builder-shell .g7c-spacing-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}
.g7-builder-shell .g7c-spacing-panel h3{margin:0;color:#172d50;background:transparent;font:700 17px/1.4 system-ui}
.g7-builder-shell .g7c-spacing-close{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#f1f5fc;color:#475569;font:22px/1 system-ui;cursor:pointer;flex:none}
.g7-builder-shell .g7c-spacing-close:hover{background:#e2eafa;color:#1d4ed8}
.g7-builder-shell .g7c-spacing-intro{margin:5px 0 16px;color:#64748b;font-size:12px}
.g7-builder-shell .g7c-spacing-choices{display:flex;gap:4px;padding:4px;border-radius:12px;background:#f0f4fb}
.g7-builder-shell .g7c-spacing-choices button{flex:1;min-width:0;margin:0;padding:8px 4px;border:1px solid transparent;border-radius:9px;box-shadow:none;background:transparent;color:#52627c;font:600 12px/1.3 system-ui;cursor:pointer}
.g7-builder-shell .g7c-spacing-choices button:hover{background:#e4ecfb;color:#1d4ed8}
.g7-builder-shell .g7c-spacing-choices button[aria-pressed=true]{border-color:#d6e2ff;background:#fff;color:#245de3;box-shadow:0 2px 5px #1427460d}
.g7-builder-shell .g7c-spacing-diagram{margin:16px 0 10px;padding:14px 35px;border:1px solid #e6ecf7;border-radius:12px;background:#f8faff}
.g7-builder-shell .g7c-spacing-block{position:relative;height:30px;border:1px solid #cfdbef;border-radius:6px;background:#fff;overflow:hidden}
.g7-builder-shell .g7c-spacing-block:before{content:'';position:absolute;inset:12px 25%;border-radius:2px;background:#cbd7ed}
.g7-builder-shell .g7c-spacing-block:after{content:'';position:absolute;left:0;right:0;height:9px;background:#c8d9ff}
.g7-builder-shell .g7c-spacing-block:first-child:after{bottom:0;display:none}.g7-builder-shell .g7c-spacing-block:last-child:after{top:0;display:none}
.g7-builder-shell [data-space=below] .g7c-spacing-block:first-child:after,.g7-builder-shell [data-space=above] .g7c-spacing-block:last-child:after{display:block}
.g7-builder-shell .g7c-spacing-gap{height:8px;margin:0 6px;border-radius:3px}
.g7-builder-shell [data-space=between] .g7c-spacing-gap{height:16px;background:repeating-linear-gradient(135deg,#dce8ff,#dce8ff 4px,#eff5ff 4px,#eff5ff 8px)}
.g7-builder-shell .g7c-spacing-help{margin:0 0 16px;color:#64748b;font-size:12px;min-height:36px}
.g7-builder-shell .g7c-spacing-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;color:#334155;font-weight:600}
.g7-builder-shell .g7c-spacing-amount{padding:3px 10px;border-radius:8px;background:#edf3ff;color:#245de3;font-variant-numeric:tabular-nums}
.g7-builder-shell .g7c-spacing-slider{display:block;width:100%;height:28px;margin:0;padding:0;accent-color:#2563eb;cursor:pointer}
.g7-builder-shell .g7c-spacing-caption{display:flex;justify-content:space-between;color:#64748b;font-size:11px}
.g7-builder-shell .g7c-spacing-done{display:block;width:100%;margin:18px 0 0;padding:9px;border:1px solid #2563eb;border-radius:11px;background:#2563eb;color:#fff;box-shadow:0 3px 8px #2563eb20;font:600 13px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-spacing-done:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.g7-builder-shell .g7c-spacing-panel :is(button,input):focus-visible,.g7-builder-shell .g7c-spacing-mode:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.g7-builder-shell .g7c-insertion-compact .g7c-boundary-controls{gap:6px}.g7-builder-shell .g7c-insertion-compact .g7c-section-space{padding:5px 7px;gap:4px}.g7-builder-shell .g7c-insertion-compact .g7c-space-edge{display:none}.g7-builder-shell .g7c-insertion-compact .g7c-spacing-mode{width:68px}
.g7-builder-shell .g7c-spacing-narrow .g7c-section-space{display:none}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-insert-section{transition:none}}
.g7-builder-shell .g7c-section-picker{width:min(740px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#263244;box-shadow:0 20px 80px #11254d40;font:14px/1.5 system-ui;overflow:auto}
.g7-builder-shell .g7c-section-picker::backdrop{background:#14274680}
.g7-builder-shell .g7c-section-picker header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
.g7-builder-shell .g7c-section-picker h2{margin:0;background:transparent;color:#263244;font:600 21px/1.4 system-ui}
.g7-builder-shell .g7c-section-picker .g7c-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.g7-builder-shell .g7c-section-picker .g7c-preset-preview svg{height:auto}
.g7-builder-shell .g7c-section-picker .g7c-preset-name{font-size:13px;padding:12px}
.g7-builder-shell .g7c-preset-description{display:block;padding:0 12px 14px;font-size:12px;line-height:1.5;color:#526079;text-align:left}
.g7-builder-shell .g7c-section-picker.g7c-picker-previews{width:min(1120px,calc(100vw - 32px))}
.g7-builder-shell .g7c-picker-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}
.g7-builder-shell .g7c-picker-layout:has(.g7c-hover-preview[hidden]){grid-template-columns:minmax(0,1fr)}
.g7-builder-shell .g7c-catalogue-body{min-width:0}
.g7-builder-shell .g7c-picker-previews .g7c-presets:not(.g7c-categories){grid-template-columns:repeat(2,minmax(0,1fr))}
.g7-builder-shell .g7c-hover-preview{position:sticky;top:0;min-width:0;border:1px solid #dfe6f1;border-radius:14px;padding:18px;background:#f8faff}
.g7-builder-shell .g7c-hover-preview[hidden],.g7-builder-shell .g7c-live-viewport[hidden]{display:none!important}
.g7-builder-shell .g7c-hover-preview h3{font:650 17px/1.4 system-ui;color:#233959;margin:0 0 8px;overflow-wrap:anywhere}
.g7-builder-shell .g7c-hover-preview .g7c-help{font-size:12px;color:#667085;margin:0 0 14px}
.g7-builder-shell .g7c-live-viewport{display:block;position:relative;width:100%;aspect-ratio:1100/780;overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:9px;box-sizing:border-box}
.g7-builder-shell .g7c-live-preview{position:absolute;inset:0;width:1100px;height:780px;max-width:none;border:0;transform-origin:top left;pointer-events:none;background:#fff}
.g7-builder-shell .g7c-picker-previews .g7c-custom-thumbnail{border:0;border-radius:7px 7px 0 0;aspect-ratio:auto;height:130px;min-height:0;flex:none;background:#f4f7fc}
.g7-builder-shell .g7c-picker-previews .g7c-section-card{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:start}
.g7-builder-shell .g7c-picker-previews .g7c-section-card>.g7c-preset{grid-column:1/-1;height:100%}
.g7-builder-shell .g7c-picker-previews .g7c-layout-preview{justify-self:start;align-self:center;margin:0;padding:5px 9px;border:0;background:transparent;color:#315fa5;font:500 12px/1.4 system-ui;border-radius:6px}
.g7-builder-shell .g7c-layout-preview:hover{background:#eaf2ff;color:#1d4ed8}
.g7-builder-shell .g7c-picker-previews .g7c-library-edit{grid-column:2;align-self:center;margin:0}
.g7-builder-shell .g7c-hover-preview:focus-visible,.g7-builder-shell .g7c-layout-preview:focus-visible{outline:3px solid #91b3f5;outline-offset:2px}
@media(max-width:900px){.g7-builder-shell .g7c-picker-layout{grid-template-columns:minmax(0,1fr)}.g7-builder-shell .g7c-hover-preview{position:static;grid-row:1;padding:14px}.g7-builder-shell .g7c-hover-preview:has(.g7c-live-viewport[hidden]){display:none}.g7-builder-shell .g7c-live-viewport:not(.g7c-custom-thumbnail){max-height:250px}}
@media(max-width:600px){.g7-builder-shell .g7c-section-picker{padding:16px}.g7-builder-shell .g7c-section-picker .g7c-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
.g7-builder-shell .gjs-block__media{margin:0;display:block}
.g7-builder-shell .g7c-templates-open{width:100%;margin-bottom:22px;border-color:#93b4ef;color:#1d4ed8;background:#eff6ff;min-height:42px}
.g7-builder-shell .g7c-template-picker{width:min(1120px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #d0d5dd;border-radius:14px;background:#fff;color:#263244;box-shadow:0 20px 80px #11254d40;font:14px/1.5 system-ui;overflow:auto}
.g7-builder-shell .g7c-template-picker::backdrop{background:#14274680}
.g7-builder-shell .g7c-template-header-actions{display:flex;align-items:center;gap:10px}
.g7-builder-shell .g7c-template-help-trigger{display:flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #d8ceff;border-radius:10px;background:#f5f1ff;color:#6843c2;font:600 13px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-template-help-trigger:hover{background:#ede6ff;color:#513099;border-color:#bba7f3}
.g7-builder-shell .g7c-template-help-spark{display:grid;place-items:center;color:#7b52d9}
.g7-builder-shell .g7c-template-help-spark svg{width:20px;height:20px;fill:currentColor}
.g7-builder-shell .g7c-template-picker .g7c-template-helper{max-width:720px;margin:12px auto 8px;padding:30px;border:1px solid #e0dcf3;border-radius:20px;background:linear-gradient(145deg,#faf8ff,#fff 60%);box-shadow:0 12px 32px #43356b0a}
.g7-builder-shell .g7c-template-helper-hero{position:relative;padding-right:62px}
.g7-builder-shell .g7c-template-helper-hero>.g7c-template-help-spark{position:absolute;right:0;top:0;width:48px;height:48px;border-radius:15px;background:linear-gradient(140deg,#e9deff,#e9eeff)}
.g7-builder-shell .g7c-template-helper-hero>.g7c-template-help-spark svg{width:28px;height:28px}
.g7-builder-shell .g7c-template-helper-eyebrow{margin:0 0 10px;color:#7956bb;font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase}
.g7-builder-shell .g7c-template-helper h3{margin:0 0 10px;font:700 28px/1.25 system-ui;color:#202a46;letter-spacing:-.6px}
.g7-builder-shell .g7c-template-helper-hero>p:last-child{margin:0;color:#62718b;line-height:1.7;font-size:13px}
.g7-builder-shell .g7c-template-helper-form{display:grid;gap:18px;margin-top:26px}
.g7-builder-shell .g7c-template-helper-form label{display:grid;gap:8px;color:#283951;font-size:13px;font-weight:600}
.g7-builder-shell .g7c-template-helper-form textarea{box-sizing:border-box;width:100%;min-height:90px;resize:vertical;border:1px solid #ccd7e9;border-radius:11px;padding:12px 14px;color:#263a58;background:#fff;font:400 13px/1.65 system-ui}
.g7-builder-shell .g7c-template-helper-form textarea::placeholder{color:#8a97ad}
.g7-builder-shell .g7c-template-helper-form textarea:focus{outline:2px solid #c8b9ff;outline-offset:2px;border-color:#8c6ad9}
.g7-builder-shell .g7c-template-helper-goals{display:flex;flex-wrap:wrap;gap:7px;margin-top:-6px}
.g7-builder-shell .g7c-template-helper-goals button{padding:7px 10px;border:1px solid #e0d7f5;border-radius:20px;background:#faf7ff;color:#7753ba;font:500 11px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-template-helper-goals button:hover:not(:disabled){background:#eee7ff;border-color:#bba5ef;color:#513099}
.g7-builder-shell .g7c-template-helper-note{margin:0;color:#7a87a0;font-size:12px;line-height:1.6}
.g7-builder-shell .g7c-template-helper-status{display:flex;align-items:center;gap:10px;color:#6d4daa;font-size:13px;line-height:1.6;min-height:0}
.g7-builder-shell .g7c-template-helper-status:empty{display:none}
.g7-builder-shell .g7c-template-helper[aria-busy=true] .g7c-template-helper-status::before{content:'';flex:none;width:17px;height:17px;border:2px solid #e5dafa;border-top-color:#7b52d9;border-radius:50%;animation:g7-template-match-spin 1s linear infinite}
.g7-builder-shell .g7c-template-helper-actions{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e7e9f2;padding-top:20px}
.g7-builder-shell .g7c-template-helper-actions button{padding:11px 17px;border-radius:10px;font:600 13px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-template-helper-actions .g7c-template-primary{border:1px solid #7450d8;background:linear-gradient(110deg,#7450d8,#5063e8);color:#fff;box-shadow:0 4px 12px #7552d82b}
.g7-builder-shell .g7c-template-helper-actions .g7c-template-primary:hover:not(:disabled){background:#6040c7;color:#fff;border-color:#6040c7}
.g7-builder-shell .g7c-template-helper button:disabled{opacity:.6;cursor:default}
.g7-builder-shell .g7c-template-recommendation{display:flex;align-items:center;gap:12px;padding:16px 18px;margin:0 0 16px;border:1px solid #e0d8f7;border-radius:12px;background:linear-gradient(120deg,#f6f1ff,#f4f8ff);color:#394567}
.g7-builder-shell .g7c-template-recommendation>div{flex:1;min-width:0}
.g7-builder-shell .g7c-template-recommendation strong{font-size:14px}
.g7-builder-shell .g7c-template-recommendation p{font-size:12px;line-height:1.6;margin:5px 0 0;color:#697797}
.g7-builder-shell .g7c-template-recommendation button{flex:none;border:1px solid #d4c9ef;background:#fff;color:#6843ad;padding:9px 12px;border-radius:9px;font:500 12px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-template-match-badge{margin-bottom:8px;padding:3px 7px;border-radius:5px;background:#eae3ff;color:#6842b3;font-size:10px;font-weight:650}
.g7-builder-shell .g7c-template-row-reason{margin-top:8px;color:#65748d;font-size:12px;line-height:1.5}
.g7-builder-shell .g7c-template-variants .g7c-template-row.g7c-template-recommended-row{min-height:min-content}
.g7-builder-shell .g7c-template-variants .g7c-template-grid.g7c-template-recommended-grid{grid-auto-rows:min-content}
.g7-builder-shell .g7c-template-match-reason{padding:14px 16px;margin:16px 0;border:1px solid #e0d8f7;border-radius:10px;background:#f7f3ff;color:#6948a4;font-size:12px}
.g7-builder-shell .g7c-template-match-reason p{margin:5px 0 0;color:#62708b;line-height:1.6}
.g7-builder-shell .g7c-template-picker [hidden]{display:none!important}
.g7-builder-shell .g7c-template-help-trigger:focus-visible,.g7-builder-shell .g7c-template-helper button:focus-visible{outline:2px solid #9374e3;outline-offset:3px}
@keyframes g7-template-match-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-template-helper[aria-busy=true] .g7c-template-helper-status::before{animation:none}}
@media(max-width:600px){.g7-builder-shell .g7c-template-header-actions{gap:6px}.g7-builder-shell .g7c-template-help-trigger{font-size:11px;padding:8px}.g7-builder-shell .g7c-template-picker .g7c-template-helper{padding:20px 16px;margin-top:8px}.g7-builder-shell .g7c-template-helper h3{font-size:23px}.g7-builder-shell .g7c-template-helper-hero{padding-right:0}.g7-builder-shell .g7c-template-helper-hero>.g7c-template-help-spark{position:static;margin-bottom:14px}.g7-builder-shell .g7c-template-recommendation{flex-wrap:wrap}.g7-builder-shell .g7c-template-recommendation>div{flex-basis:100%}.g7-builder-shell .g7c-template-helper-actions button{padding:10px;font-size:12px}}
@media(max-width:600px){.g7-builder-shell .g7c-template-picker .g7c-template-chrome header{display:grid;grid-template-columns:minmax(0,1fr) auto}.g7-builder-shell .g7c-template-header-actions{display:contents}.g7-builder-shell .g7c-template-header-actions>.g7c-template-help-trigger{grid-column:1/-1;grid-row:2;justify-content:center}.g7-builder-shell .g7c-template-header-actions>button:last-child{grid-column:2;grid-row:1}}
.g7-builder-shell .g7c-template-picker header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.g7-builder-shell .g7c-template-picker h2{margin:0;background:transparent;color:#263244;font:600 24px/1.4 system-ui}
.g7-builder-shell .g7c-template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}
.g7-builder-shell .g7c-template-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;min-width:0;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#344054;overflow:hidden;cursor:pointer;font:13px/1.45 system-ui}
.g7-builder-shell .g7c-template-card:hover{border-color:#2563eb;background:#f8faff}
.g7-builder-shell .g7c-template-card[aria-pressed=true]{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb;background:#eff6ff}
.g7-builder-shell .g7c-template-preview{height:145px;display:flex;justify-content:center;padding:10px;background:#f1f5f9;border-bottom:1px solid #e4e7ec}
.g7-builder-shell .g7c-template-preview svg{height:100%;width:auto;max-width:100%;border:1px solid #dce2eb;background:#fff;box-shadow:0 2px 4px #10182812}
.g7-builder-shell .g7c-template-name{padding:10px 10px 4px;font-weight:600;line-height:1.4}
.g7-builder-shell .g7c-template-description{padding:0 10px 12px;font-size:11px;color:#667085}
.g7-builder-shell .g7c-template-review{padding:18px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:9px}
.g7-builder-shell .g7c-template-review h3{font:600 18px/1.4 system-ui;margin:0 0 5px;color:#263244}
.g7-builder-shell .g7c-template-outline{display:flex;flex-wrap:wrap;gap:8px 24px;margin:10px 0 10px 18px;padding:0;font-size:12px;color:#475467}
.g7-builder-shell .g7c-template-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.g7-builder-shell .g7c-template-primary{background:#2563eb;color:#fff;border-color:#2563eb}
.g7-builder-shell .g7c-template-danger{background:#b42318;color:#fff;border-color:#b42318}
.g7-builder-shell .g7c-template-warning{color:#912018;font-size:13px}
.g7-builder-shell .g7c-template-actions button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:900px){.g7-builder-shell .g7c-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.g7-builder-shell .g7c-template-picker{padding:16px;width:calc(100vw - 16px)}.g7-builder-shell .g7c-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g7-builder-shell .g7c-template-description{display:none}.g7-builder-shell .g7c-template-preview{height:110px}}
.g7-builder-media-dialog{width:min(1160px,calc(100vw - 32px));height:min(850px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;border:1px solid #d0d5dd;border-radius:10px;background:#f5f7fb;color:#24324a;box-shadow:0 20px 80px #11254d40;font:14px/1.5 system-ui}
.g7-builder-media-dialog[open]{display:flex;flex-direction:column}
.g7-builder-media-dialog::backdrop{background:#14274680}
.g7-builder-media-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 20px;border-bottom:1px solid #e1e7f0;background:#fff;flex:none}
.g7-builder-media-dialog h2{margin:0;background:transparent;color:#24324a;font:600 18px/1.4 system-ui}
.g7-builder-media-dialog button{padding:7px 13px;border:1px solid #d0d5dd;border-radius:6px;background:#fff;color:#344054;font:500 13px/1.4 system-ui;cursor:pointer}
.g7-builder-media-dialog button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.g7-builder-media-frame{width:100%;flex:1;min-height:0;border:0;background:#f5f7fb}
.g7-builder-media-loading,.g7-builder-media-error{padding:12px 20px;font-size:13px;color:#475467}
.g7-builder-media-error{display:flex;align-items:center;gap:14px;border-top:1px solid #e1e7f0;background:#fff4f1}
.g7-builder-media-dialog [hidden]{display:none!important}
.g7-builder-source-dialog{width:min(1100px,calc(100vw - 32px));height:min(820px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#24324a;box-shadow:0 20px 80px #11254d40;font:14px/1.5 system-ui}
.g7-builder-source-dialog[open]{display:flex;flex-direction:column}
.g7-builder-source-dialog::backdrop{background:#14274680}
.g7-builder-source-dialog header,.g7-builder-source-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;flex:none}
.g7-builder-source-dialog header{border-bottom:1px solid #e1e7f0}
.g7-builder-source-dialog h2{margin:0;background:transparent;color:#24324a;font:600 20px/1.4 system-ui}
.g7-builder-source-dialog p{margin:5px 0 0;color:#667085;font:13px/1.5 system-ui}
.g7-builder-source-dialog>label{margin:12px 20px 6px;font-weight:600}
.g7-source-editor{display:flex;flex:1;min-height:160px;min-width:0;margin:0 20px;overflow:hidden;border:1px solid #343434;border-radius:8px;background:#1e1e1e;color:#d4d4d4;color-scheme:dark}
.g7-source-surface{position:relative;flex:1;min-width:0;overflow:hidden}
.g7-source-gutter{width:54px;flex:none;overflow:hidden;background:#1e1e1e;border-right:1px solid #303030;text-align:right;color:#858585;user-select:none}
.g7-source-gutter pre,.g7-source-highlight,.g7-source-highlight code,.g7-builder-source-dialog textarea{font:14px/22px Consolas,"SFMono-Regular",Menlo,monospace;font-variant-ligatures:none;letter-spacing:0;tab-size:2;white-space:pre;text-transform:none;text-align:left}
.g7-source-gutter pre{margin:0;padding:16px 12px;background:transparent;color:inherit;border:0;border-radius:0;text-align:right;overflow:visible}
.g7-source-highlight{position:absolute;inset:0;pointer-events:none;overflow:hidden;margin:0;padding:16px;border:0;border-radius:0;background:transparent;color:inherit}
.g7-source-highlight code{display:block;min-width:max-content;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit}
.g7-builder-source-dialog textarea{position:absolute;inset:0;box-sizing:border-box;min-height:0;width:100%;height:100%;margin:0;resize:none;padding:16px;border:0;border-radius:0;background:transparent;color:transparent;caret-color:#fff;overflow:auto;outline:none}
.g7-builder-source-dialog textarea[readonly]{caret-color:transparent}
.g7-builder-source-dialog textarea::selection{background:#264f7880;color:transparent}
.g7-source-surface:focus-within{box-shadow:inset 0 0 0 2px #007acc}
.g7-source-tag{color:#569cd6}.g7-source-attribute{color:#9cdcfe}.g7-source-string{color:#ce9178}.g7-source-comment{color:#6a9955}.g7-source-entity{color:#dcdcaa}.g7-source-punctuation{color:#808080}
.g7-source-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 20px;padding:8px 0;color:#667085;font-size:12px}
.g7-builder-source-dialog .g7-source-tools button{padding:4px 9px;font-size:12px}
.g7-builder-source-dialog footer{border-top:1px solid #e1e7f0;margin-top:12px;font-size:13px;color:#667085;flex-wrap:wrap}
.g7-builder-source-dialog footer>span{flex:1}
.g7-builder-source-dialog button{padding:9px 14px;border:1px solid #d0d5dd;border-radius:6px;background:#fff;color:#344054;font:500 13px/1.4 system-ui;cursor:pointer;white-space:nowrap}
.g7-builder-source-dialog .g7-builder-source-apply{background:#2563eb;border-color:#2563eb;color:#fff}
.g7-builder-source-dialog button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.g7-builder-source-dialog button:disabled{opacity:.5;cursor:not-allowed}
.g7-builder-source-dialog .g7-builder-source-error{padding:0 20px;color:#b42318}
.g7-builder-source-dialog [hidden]{display:none!important}
@media(max-width:600px){.g7-builder-source-dialog{width:calc(100vw - 12px);height:calc(100dvh - 16px)}.g7-builder-source-dialog header,.g7-builder-source-dialog footer{padding:12px}.g7-source-editor,.g7-source-tools{margin-left:12px;margin-right:12px}.g7-source-gutter{width:42px}.g7-source-position{font-size:11px}}
@media(forced-colors:active){.g7-source-highlight{display:none}.g7-builder-source-dialog textarea{color:CanvasText;caret-color:CanvasText;background:Canvas}.g7-builder-source-dialog textarea::selection{color:HighlightText;background:Highlight}}
@media(max-width:600px){.g7-builder-media-dialog{width:calc(100vw - 12px);height:calc(100dvh - 16px)}.g7-builder-media-dialog>header{padding:10px 13px}}
.g7c-ai{color:#223654;font:14px/1.55 system-ui;min-width:0}
.g7-builder-cms-availability,.g7c-cms-availability{margin:16px 0 0;padding:16px;border:1px solid #dce5f1;border-radius:10px;background:#f6f9fd;color:#526680;font:13px/1.6 system-ui}
.g7-builder-cms-availability strong,.g7c-cms-availability strong{color:#243959;font-weight:650}
.g7-builder-cms-availability p,.g7c-cms-availability p{margin:5px 0 0}
.g7ai-settings{padding:20px;border:1px solid #e1daf5;border-radius:12px;background:linear-gradient(130deg,#faf7ff,#f7fbff);margin:20px 0 0;font:13px/1.6 system-ui;color:#4d5e7b}
.g7ai-settings-head{display:flex;align-items:center;gap:10px}
.g7ai-settings-head h3{font:650 18px/1.4 system-ui;color:#3b315d;margin:0}
.g7ai-settings-head span{font-size:10px;letter-spacing:.4px;border:1px solid #d6cbee;border-radius:20px;color:#71549e;padding:3px 9px}
.g7ai-settings-intro{margin:8px 0 14px}
.g7ai-key-modes,.g7ai-key-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.g7-builder-shell .g7ai-key-modes [aria-pressed=true]{color:#6a42aa;border-color:#bba5df;background:#f2ebfd}
.g7ai-environment{max-width:760px}
.g7ai-environment pre{overflow:auto;padding:14px;border:1px solid #dce0ed;border-radius:8px;background:white;color:#493c70;font:12px/1.7 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.g7ai-environment>a{font-size:12px;color:#7052b1}
.g7ai-site-key{max-width:650px}
.g7-builder-shell .g7ai-key-input{width:100%;padding:11px 13px;border:1px solid #cec7df;border-radius:8px;font:14px/1.5 system-ui;background:white;color:#334155}
.g7-builder-shell .g7ai-save-key{background:#7653c1;border-color:#7653c1;color:white}
.g7-builder-shell .g7ai-save-key:hover{background:#6743b1;color:white}
.g7ai-key-status{font-size:12px;color:#675286;margin:12px 0 0}
.g7ai-settings [hidden]{display:none!important}
/* Shared writing defaults and per-request Text Polish preferences. */
.g7-builder-shell .g7ai-writing{box-sizing:border-box;padding:18px;margin:0 0 20px;border:1px solid #dedaf4;border-radius:14px;background:linear-gradient(125deg,#faf8ff,#f4f8ff);color:#3b4e6c;font:13px/1.5 system-ui}
.g7-builder-settings .g7ai-writing{margin:20px 0 0}
.g7ai-writing-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.g7-builder-shell .g7ai-writing-head h3{margin:0;font:650 15px/1.4 system-ui;color:#253654}
.g7ai-writing-badge{padding:4px 8px;border:1px solid #e1d8f8;border-radius:20px;background:#fff;color:#7051ad;font-size:10px}
.g7ai-writing-setup{margin:0 0 14px;padding:12px;border:1px solid #e4daf8;border-radius:10px;background:#fff}
.g7ai-writing-setup strong{color:#554090;font-weight:650}
.g7ai-writing-setup p{margin:4px 0 0;color:#687694;font-size:12px}
.g7-builder-shell .g7ai-writing-fields{display:grid;grid-template-columns:minmax(0,1.3fr)minmax(0,1fr);gap:12px;margin:0;padding:0;border:0;min-width:0}
.g7ai-writing-fields label{display:block;margin:0;min-width:0;font:600 12px/1.5 system-ui;color:#485c7a}
.g7-builder-shell .g7ai-writing-fields :is(input,select){display:block;box-sizing:border-box;width:100%;min-width:0;min-height:42px;margin:6px 0 0;padding:9px 11px;border:1px solid #cbd6e9;border-radius:9px;background:#fff;color:#263b5d;font:400 13px/1.5 system-ui}
.g7ai-writing-fields :is(input,select):focus-visible{outline:2px solid #9675e1;outline-offset:2px}
.g7ai-writing-fields:disabled{opacity:.65}
.g7ai-writing-hint,.g7ai-writing-status{margin:10px 0 0;font:400 11px/1.6 system-ui;color:#72829a}
.g7ai-writing-status{color:#69518e;overflow-wrap:anywhere}
.g7ai-writing-status:empty{display:none}
.g7ai-writing-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px}
.g7-builder-shell .g7ai-writing-actions .g7c-button{padding:7px 10px;border:1px solid #dcd3f2;border-radius:8px;background:#fff;color:#674ca5;font:500 11px/1.5 system-ui}
.g7-builder-shell .g7ai-writing-actions .g7c-button:hover:not(:disabled){background:#eee7fc;border-color:#baa3e6;color:#4d3388}
.g7-builder-shell .g7ai-writing-actions .g7c-button:focus-visible{outline:2px solid #9675e1;outline-offset:2px}
.g7ai-writing [hidden]{display:none!important}
@media(max-width:600px){.g7-builder-shell .g7ai-writing{padding:14px}.g7-builder-shell .g7ai-writing-fields{grid-template-columns:minmax(0,1fr)}.g7ai-writing-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.g7ai-writing-actions .g7c-button:last-child{grid-column:1/-1}.g7ai-writing-head{align-items:flex-start}}
.g7-builder-shell .g7c-tabs .g7ai-tab{display:flex;align-items:center;justify-content:center;gap:6px;color:#7851ba}
.g7ai-tab svg{width:15px;height:15px;fill:currentColor}
.g7-builder-shell .g7c-tabs .g7ai-tab[aria-selected=true]{background:#f4efff;color:#7751c4;border-bottom-color:#8b61cf}
.g7ai-intro{position:relative;margin:-8px -8px 24px;padding:24px 20px;border:1px solid #e1dcfb;border-radius:18px;background:radial-gradient(ellipse at top right,#dbe8ff,transparent 65%),linear-gradient(135deg,#f8f3ff,#f6faff);overflow:hidden}
.g7-builder-shell .g7ai-back{margin:0 0 20px;padding:7px 10px;border-color:#ddd4f3;border-radius:8px;color:#62419c;background:#fff;font-size:12px}
.g7ai-tools{display:grid;gap:12px;margin:0 0 20px}
.g7st-saved-status{padding:12px;margin:12px 0;border:1px solid #cce7dc;border-radius:10px;background:#f1faf6;color:#226548;font:500 12px/1.6 system-ui}
.g7st-saved-status:empty{display:none}
.g7st-view-saved,.g7st-save-retry{width:100%;margin-bottom:10px!important}
.g7st-place-help{padding-top:16px;border-top:1px solid #e4ddef;color:#6d6582;font:12px/1.6 system-ui}
.g7st-library .g7st-saved-card{display:flex;flex-direction:column}
.g7st-library .g7st-saved-card>.g7st-choice{height:auto;flex:1}
.g7st-library .g7st-card .g7st-remove{position:relative;align-self:flex-start;margin:0 10px 10px;padding:5px 9px;color:#ad3541;border-color:#e8cdd1;font-size:11px}
.g7st-remove-confirm{padding:10px;font:12px/1.5 system-ui;color:#53475b;background:#fff8f8;border-top:1px solid #ecd9df}
.g7st-remove-confirm p{margin:0 0 8px}
.g7st-library .g7st-remove-confirm button{margin:3px;padding:5px 8px;font-size:11px}
.g7-builder-shell .g7ai-tool{display:flex;align-items:center;gap:12px;width:100%;min-width:0;margin:0;padding:15px 12px;border:1px solid #e0d8f2;border-radius:12px;background:#fff;text-align:left;white-space:normal;box-shadow:0 2px 8px #56368a05}
.g7-builder-shell .g7ai-tool:hover{border-color:#b39ada;background:#faf7ff}
.g7-builder-shell .g7ai-tool:focus-visible{outline:2px solid #8255d2;outline-offset:3px}
.g7ai-tool-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;background:#f1ebff;color:#7851ba}
.g7ai-tool-icon svg{width:23px;height:23px}
.g7ai-tool-copy{flex:1;min-width:0}
.g7ai-tool-copy strong{display:block;font:650 13px/1.5 system-ui;color:#293754}
.g7ai-tool-copy small{display:block;margin-top:4px;font:400 12px/1.6 system-ui;color:#737b91}
.g7ai-tool-arrow{flex:none;color:#7851ba;font:20px/1 system-ui}
.g7ai-selection-guide{padding:20px 16px;margin:0 0 16px;border:1px solid #dcd3f4;border-radius:12px;background:#faf7ff;color:#43516b;font:13px/1.7 system-ui}
.g7ai-selection-guide>strong{display:block;font:650 15px/1.5 system-ui;color:#3f2e65}
.g7ai-selection-guide>p{margin:10px 0 0}
.g7ai-selection-arrow{display:grid;place-items:center;width:36px;height:36px;margin-bottom:12px;border-radius:10px;background:#eee5ff;color:#7851ba;font:24px/1 system-ui}
.g7ai-selection-arrow{animation:g7ai-point-left 1.6s ease-in-out infinite}
@keyframes g7ai-point-left{0%,100%{transform:translateX(0)}45%,55%{transform:translateX(-7px)}}
@media(prefers-reduced-motion:reduce){.g7ai-selection-arrow{animation:none}}
.g7ai-selected-excerpt{padding:12px;border-left:3px solid #a584dd;background:#fff;border-radius:4px;overflow-wrap:anywhere}
.g7-builder-shell .g7c-ai-create-section{box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;padding:16px;margin:0 0 18px;text-align:left;white-space:normal;border:1px solid #ded5f8;border-radius:14px;background:linear-gradient(120deg,#faf6ff,#eef3ff);color:#4d3686;box-shadow:0 4px 14px #674ac50a;cursor:pointer;font:13px/1.5 system-ui}.g7-builder-shell .g7c-ai-create-section:hover{border-color:#ae96e4;background:linear-gradient(120deg,#f5edff,#e8efff)}.g7c-ai-section-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:white;box-shadow:0 3px 10px #7851ca12}.g7c-ai-section-icon svg{width:26px;height:26px;fill:#8052d4}.g7c-ai-create-section strong,.g7c-ai-create-section small{display:block}.g7c-ai-create-section strong{font-size:14px;font-weight:650}.g7c-ai-create-section small{margin-top:3px;font-size:12px;color:#7b7195}.g7c-ai-section-arrow{margin-left:auto;font-size:22px}.g7c-ai-create-section:focus-visible{outline:3px solid #9975df;outline-offset:3px}
.g7-builder-shell .g7ai-section-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #ddd3f3;border-radius:20px;background:#fff;color:#324565;box-shadow:0 24px 80px #16244040;font:14px/1.6 system-ui}.g7ai-section-dialog::backdrop{background:#14274680}.g7ai-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.g7ai-section-dialog .g7ai-intro{margin:0 0 18px}.g7ai-section-dialog .g7ai-prompt{min-height:140px;resize:vertical}.g7ai-section-dialog .g7ai-chat-log{max-height:35dvh}.g7ai-section-dialog.g7ai-chatting>.g7ai-followup{margin-top:0}.g7ai-section-dialog .g7ai-status{overflow-wrap:anywhere}
.g7ai-sparkle{display:flex;width:46px;height:46px;align-items:center;justify-content:center;color:#7352d6;background:#fff;border-radius:14px;margin-bottom:20px;box-shadow:0 6px 20px #7756d629}
.g7ai-sparkle svg,.g7ai-orbit-star svg{width:28px;height:28px;fill:currentColor}
.g7ai-eyebrow{display:block;color:#7256ad;font-size:10px;font-weight:700;letter-spacing:1px;line-height:1.6}
.g7ai-intro h2{font:700 24px/1.2 system-ui;letter-spacing:-.7px;margin:10px 0;color:#213154}
.g7ai-intro p{font-size:13px;color:#5b6883;margin:0}
.g7ai-modes{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#eef1f8;border-radius:10px;margin-bottom:20px}
.g7ai-modes .g7c-button{font:600 12px/1.4 system-ui;white-space:normal;border:0;background:transparent;padding:10px 6px;margin:0;color:#62718b;border-radius:7px}
.g7ai-modes .g7c-button[aria-pressed=true]{background:white;color:#6141bd;box-shadow:0 2px 6px #26325214}
.g7ai-label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:#324565;margin:0 0 12px}
.g7ai-label select,.g7ai-prompt{box-sizing:border-box;max-width:100%;width:100%;border:1px solid #ccd6e6;border-radius:10px;background:white;color:#223654;font:400 13px/1.65 system-ui;padding:12px}
.g7ai-prompt{resize:vertical;min-height:130px}
.g7ai-prompt:focus{border-color:#8c6fda;box-shadow:0 0 0 3px #8054d612;outline:0}
.g7ai-examples{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 16px}
.g7ai-examples .g7c-button{font:400 11px/1.4 system-ui;background:#f7f5fc;border:1px solid #e5dff1;border-radius:20px;color:#6a5591;padding:6px 10px;margin:0}
.g7ai-note,.g7ai-target{font-size:11px;line-height:1.6;color:#78849a;margin:12px 0 16px}
.g7ai-actions{display:flex;gap:8px}
.g7-builder-shell .g7ai-actions .g7ai-generate{flex:1;font-weight:600;color:white;border:0;border-radius:10px;background:linear-gradient(110deg,#7851ca,#416bee);box-shadow:0 5px 16px #694ac82b;padding:13px 12px;margin:0}
.g7-builder-shell .g7ai-actions .g7ai-generate:hover,.g7-builder-shell .g7ai-review-dialog .g7ai-primary:hover{background:linear-gradient(110deg,#7045c5,#335ee5);color:white}
.g7-builder-shell .g7ai-actions .g7ai-generate:disabled{opacity:.65}
.g7ai-cancel{margin:0!important}
.g7ai-status{font-size:12px;line-height:1.6;color:#6d5b8c;margin:12px 0;overflow-wrap:anywhere;min-height:0}
.g7ai-error-details{margin-top:10px;padding:10px 12px;border:1px solid #e5d7eb;border-radius:10px;background:#fbf8fc;color:#68416e;overflow-wrap:anywhere}.g7ai-error-details summary{cursor:pointer;font-size:12px;font-weight:600}.g7ai-error-details pre{margin:8px 0 0;padding:0;border:0;background:transparent;color:inherit;font:11px/1.6 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}
.g7ai-loading{position:relative;padding:24px 18px;background:linear-gradient(135deg,#faf6ff,#f2f7ff);border:1px solid #e4ddf6;border-radius:16px;text-align:center;margin-top:18px;overflow:hidden}
.g7ai-loading:before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,#ffffffb3 45%,transparent 70%);transform:translateX(-100%);animation:g7ai-shimmer 3s ease-in-out infinite;pointer-events:none}
.g7ai-loading>strong{position:relative;font:600 14px/1.4 system-ui;color:#493a79}
.g7ai-loading-detail{position:relative;font-size:12px;color:#7a6e95;margin:8px 0 20px}
.g7ai-orbit{position:relative;width:76px;height:76px;margin:0 auto 18px;border:1px solid #bda5e657;border-radius:50%;animation:g7ai-glow 2.4s ease-in-out infinite}
.g7ai-orbit-ring{position:absolute;inset:-6px;display:block;width:88px;height:88px;overflow:visible;fill:none;pointer-events:none;animation:g7ai-ring-turn 1.2s linear infinite;transform-origin:center;filter:drop-shadow(0 0 5px #8854d633)}
.g7ai-ring-track{stroke:#dcd1f4;stroke-width:3}
.g7ai-ring-arc{stroke:#8050d4;stroke-width:4;stroke-linecap:round;stroke-dasharray:78 167}
.g7ai-orbit-star{position:absolute;inset:16px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#fff,#ede7ff);color:#8653cf;box-shadow:0 4px 20px #8653cf26;animation:g7ai-float 2s ease-in-out infinite}
.g7ai-orbit i{position:absolute;inset:-3px;animation:g7ai-orbit 4s linear infinite;border-radius:50%}
.g7ai-orbit i:after{content:'';display:block;width:6px;height:6px;margin:8px;background:#a478dd;border-radius:50%;box-shadow:0 0 8px #b08ee4}
.g7ai-orbit i:nth-of-type(2){animation-delay:-1.3s;animation-duration:5s}
.g7ai-orbit i:nth-of-type(3){animation-delay:-2.6s;animation-direction:reverse}
.g7ai-progress{position:relative;width:min(240px,100%);height:5px;margin:0 auto 24px;background:#e7e2f5;border-radius:8px;overflow:hidden}
.g7ai-progress>span{display:block;width:40%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b293ef,#8153d4,#587ff0);transform:translateX(-110%);animation:g7ai-progress 1.8s ease-in-out infinite}
.g7ai-loading ol{position:relative;list-style:none;counter-reset:steps;display:flex;justify-content:space-between;gap:8px;margin:0 0 18px;padding:0;text-align:center;color:#96a0b5;font-size:10px}
.g7ai-loading li{flex:1;counter-increment:steps}
.g7ai-loading li:before{content:counter(steps);display:grid;place-items:center;width:22px;height:22px;border:1px solid #d7dcea;border-radius:50%;margin:0 auto 7px;background:#f8faff;color:#8996ae}
.g7ai-loading li.is-active{color:#7451ba}
.g7ai-loading li.is-active:before{background:#7b56c5;border-color:#7b56c5;color:white;box-shadow:0 0 0 4px #7b56c512;animation:g7ai-step-pulse 1.8s ease-out infinite}
.g7ai-elapsed{position:relative;font-size:10px;color:#9086a4}
.g7ai-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 32px));box-sizing:border-box;margin:0;z-index:25;pointer-events:none;background:linear-gradient(135deg,#faf6fffa,#f2f7fffa);box-shadow:0 20px 70px #60539222,0 0 0 8px #ece7ff33;backdrop-filter:blur(14px)}
.g7ai-stage[hidden]{display:none!important}
.g7ai-result{margin-top:12px}
.g7ai-ready{font-size:11px;font-weight:600;color:#287356;letter-spacing:.3px}
.g7ai-result .g7ai-review{width:100%;border-radius:8px;color:#355b4f;border-color:#bdcfc8;background:white;margin:8px 0 0}
.g7-builder-shell .g7c-ai-text-action{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:0 0 14px;padding:14px;border:1px solid #ded4f6;border-radius:12px;background:linear-gradient(115deg,#f7f2ff,#f0f5ff);color:#574194;box-shadow:0 3px 12px #7158ab0a}
.g7c-ai-text-action strong,.g7c-ai-text-action small{display:block;font:600 13px/1.5 system-ui}.g7c-ai-text-action small{font-size:11px;font-weight:400;color:#7984a0;margin-top:2px}.g7c-ai-text-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:white;color:#8b61d5;box-shadow:0 2px 8px #7553a514}.g7c-ai-text-icon svg{width:23px;height:23px;fill:currentColor}.g7-builder-shell .g7c-ai-text-action:hover{border-color:#a88cde;background:#f1eaff}
.g7ai-copy-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #e2daf3;border-radius:20px;background:linear-gradient(150deg,#fbf8ff 0%,white 38%);color:#223654;font:14px/1.6 system-ui;box-shadow:0 24px 80px #16244040}
.g7ai-copy-dialog::backdrop{background:#18274799;backdrop-filter:blur(4px)}.g7ai-copy-dialog header{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px}.g7ai-copy-dialog header>div{flex:1;min-width:0}.g7ai-copy-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:14px;background:linear-gradient(130deg,#eee1ff,#e5edff);color:#8456d3}.g7ai-copy-icon svg{width:28px;height:28px;fill:currentColor}.g7ai-copy-dialog h2{font:700 24px/1.25 system-ui;letter-spacing:-.4px;margin:5px 0 8px}.g7ai-copy-intro{margin:0;color:#748098;font-size:12px}.g7ai-copy-dialog .g7ai-eyebrow{font-size:10px;letter-spacing:1px;color:#8b6aac}.g7ai-copy-dialog .g7c-button{margin:0;border-radius:9px;padding:9px 14px;font:500 12px/1.4 system-ui}.g7ai-copy-dialog .g7ai-copy-close{padding:7px 10px;flex:none}
.g7ai-copy-comparison{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:22px}.g7ai-copy-comparison.has-suggestion{grid-template-columns:repeat(2,minmax(0,1fr))}.g7ai-copy-comparison section{min-width:0;padding:16px;border-radius:12px;border:1px solid #e1e7ef;background:#f7f9fc}.g7ai-copy-comparison .g7ai-copy-after{border-color:#c8e4d7;background:#f4fbf7}.g7ai-copy-comparison h3{font:600 11px/1.4 system-ui;color:#7e8ca4;margin:0 0 10px;text-transform:uppercase;letter-spacing:.65px}.g7ai-copy-after h3{color:#3c8863}.g7ai-copy-words{white-space:pre-line;overflow-wrap:anywhere;max-height:200px;overflow:auto;font:400 14px/1.7 system-ui;color:#3b4e6c}
.g7ai-copy-dialog .g7ai-label{display:block;margin:0 0 12px;font:600 13px/1.5 system-ui;color:#435879}.g7ai-copy-prompt{display:block;box-sizing:border-box;width:100%;resize:vertical;min-height:94px;max-height:200px;margin-top:8px;padding:12px 14px;border:1px solid #ccd6e6;border-radius:11px;background:white;color:#223654;font:400 14px/1.6 system-ui}.g7ai-copy-prompt:focus{outline:2px solid #af94e2;outline-offset:2px}.g7ai-copy-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.g7ai-copy-dialog .g7ai-copy-suggestions button{padding:7px 11px;border-radius:18px;border-color:#e4dcf4;background:#faf7ff;color:#705499;font-size:11px}.g7ai-copy-dialog .g7ai-copy-suggestions button:hover{border-color:#b29bde;background:#f2eaff}.g7ai-copy-dialog .g7ai-note{font:400 11px/1.6 system-ui;color:#8490a7;margin:10px 0}.g7ai-copy-status{font-size:12px;color:#745593;overflow-wrap:anywhere;margin:12px 0}.g7ai-copy-status:empty{display:none}.g7ai-copy-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:18px;border-top:1px solid #e7ebf2}.g7ai-copy-dialog footer>.g7ai-note{max-width:260px;margin:0}.g7ai-copy-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.g7-builder-shell .g7ai-copy-dialog .g7ai-primary{border:0;background:linear-gradient(110deg,#7851ca,#416bee);color:white;box-shadow:0 3px 10px #6848b52b;padding:11px 18px}.g7ai-copy-dialog button:focus-visible,.g7c-ai-text-action:focus-visible{outline:3px solid #9173d9;outline-offset:3px}
.g7ai-copy-working{display:flex;align-items:center;gap:14px;margin-top:18px;padding:16px;border:1px solid #e6dbfb;border-radius:12px;background:linear-gradient(120deg,#f8f2ff,#f0f6ff);color:#7755ac}.g7ai-copy-working strong,.g7ai-copy-working>span>span{display:block}.g7ai-copy-working strong{font-size:13px}.g7ai-copy-working>span>span{font-size:11px;color:#8b7ca4;margin-top:3px}.g7ai-copy-spinner{display:grid;place-items:center;flex:none;width:36px;height:36px;border:2px solid #ddd0f8;border-top-color:#8a59d4;border-radius:50%;animation:g7ai-copy-spin 1.7s linear infinite}.g7ai-copy-spinner svg{width:22px;height:22px;fill:#9465d8;animation:g7ai-copy-spin 3.4s linear infinite reverse}@keyframes g7ai-copy-spin{to{transform:rotate(360deg)}}.g7ai-copy-dialog [hidden]{display:none!important}
@media(max-width:600px){.g7ai-copy-dialog{padding:20px}.g7ai-copy-dialog header{gap:10px}.g7ai-copy-icon{width:34px;height:34px;border-radius:10px}.g7ai-copy-dialog h2{font-size:20px}.g7ai-copy-comparison.has-suggestion{grid-template-columns:minmax(0,1fr)}.g7ai-copy-words{max-height:160px}.g7ai-copy-dialog footer{display:block}.g7ai-copy-actions{margin-top:12px}.g7ai-copy-actions button{flex:1}.g7ai-copy-dialog footer>.g7ai-note{max-width:none}}
@media(prefers-reduced-motion:reduce){:root:not(.g7-editor-motion-enabled) .g7ai-copy-spinner,:root:not(.g7-editor-motion-enabled) .g7ai-copy-spinner svg{animation:none}}
.g7ai-ready-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:32px;border:1px solid #d5e7dc;border-radius:20px;background:linear-gradient(140deg,#f4fbf7,#f9fcff);color:#223654;font:14px/1.6 system-ui;box-shadow:0 24px 80px #16244040}
.g7ai-ready-dialog::backdrop{background:#18274799;backdrop-filter:blur(4px)}
.g7ai-ready-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:18px;border:1px solid #d7e8de;border-radius:16px;background:#fff;color:#287356}
.g7ai-ready-icon svg{width:28px;height:28px}
.g7ai-ready-dialog h2{font:700 26px/1.25 system-ui;letter-spacing:-.5px;margin:8px 0 16px}
.g7ai-ready-summary{margin:0;color:#52647c;white-space:pre-line;overflow-wrap:anywhere}
.g7ai-ready-dialog .g7ai-note{font-size:12px;color:#69788f;margin:18px 0 0}
.g7ai-ready-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}
.g7ai-ready-dialog .g7c-button{margin:0;padding:10px 16px;border-radius:8px;font:500 13px/1.4 system-ui}
.g7-builder-shell .g7ai-ready-dialog .g7ai-primary{background:linear-gradient(110deg,#7851ca,#416bee);border:0;color:white;box-shadow:0 3px 10px #6848b52b}
.g7ai-ready-dialog button:focus-visible{outline:3px solid #9173d9;outline-offset:3px}
@media(max-width:600px){.g7ai-ready-dialog{padding:24px}.g7ai-ready-dialog h2{font-size:23px}.g7ai-ready-dialog footer .g7c-button{flex:1}}
.g7ai-review-dialog{box-sizing:border-box;width:min(1040px,calc(100vw - 32px));height:min(820px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid #dee4ef;border-radius:18px;background:#fff;color:#223654;font:14px/1.5 system-ui;box-shadow:0 24px 80px #16244040}
.g7ai-review-dialog[open]{display:flex;flex-direction:column}
.g7ai-section-review{width:min(1240px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px))}
.g7ai-section-review[open]{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto minmax(0,1fr) auto}
.g7ai-section-review>header{grid-column:1/-1;grid-row:1}
.g7ai-section-review>.g7ai-preview{grid-column:1;grid-row:2;width:100%;height:100%;min-width:0;min-height:0}
.g7ai-section-options{grid-column:2;grid-row:2;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;border-left:1px solid #e7ebf2;background:#fafbfe}
.g7ai-section-review>.g7ai-section-options .g7ai-refine{max-height:none;overflow:visible;padding:20px 18px;border-top:0}
.g7ai-section-options .g7ai-media-choices{max-height:none;padding:16px 18px}
.g7ai-section-options .g7ai-media-choice{flex-wrap:wrap;gap:8px}
.g7-builder-shell .g7ai-section-options .g7c-save-section{margin:16px 14px}
.g7ai-section-review>footer{grid-column:1/-1;grid-row:3}
@media(max-width:760px){.g7ai-section-review[open]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(180px,1fr) minmax(0,180px) auto}.g7ai-section-options{grid-column:1;grid-row:3;border-left:0;border-top:1px solid #e7ebf2}.g7ai-section-review>footer{grid-row:4}}
.g7ai-review-dialog::backdrop{background:#18274799;backdrop-filter:blur(4px)}
.g7ai-review-dialog>header{display:flex;gap:24px;justify-content:space-between;align-items:flex-start;padding:24px 28px;border-bottom:1px solid #e8ebf3;background:linear-gradient(120deg,#faf6ff,#f5f9ff)}
.g7ai-review-dialog h2{font:700 24px/1.25 system-ui;margin:6px 0;letter-spacing:-.5px}
.g7ai-review-dialog header p{font-size:13px;color:#69788f;margin:8px 0 0;max-width:680px}
.g7ai-preview{flex:1;width:100%;min-height:200px;border:0;background:white}
.g7ai-review-dialog footer{display:flex;align-items:center;gap:10px;padding:18px 28px;border-top:1px solid #e7ebf2;background:#fafbfe;flex-wrap:wrap}
.g7ai-review-dialog footer p{flex:1;min-width:160px;font-size:12px;color:#7d879c;margin:0}
.g7ai-media-toggle{display:flex;align-items:center;gap:9px;font-size:12px;color:#536482;margin:16px 0 0}.g7ai-media-toggle input{accent-color:#8054cf;width:16px;height:16px;margin:0;flex-shrink:0}
.g7ai-followup{padding:18px;margin:16px 0;border:1px solid #e1daf3;border-radius:14px;background:linear-gradient(135deg,#faf7ff,#f5f8fe)}.g7ai-followup h3{font:600 17px/1.4 system-ui;color:#493a79;margin:6px 0 8px}.g7ai-followup>p{font-size:12px;color:#69758c;line-height:1.6}.g7ai-question{min-width:0;margin:18px 0;padding:0;border:0}.g7ai-question legend{font-size:13px;font-weight:600;color:#324565;padding:0}.g7ai-question-help{font-size:11px;line-height:1.5;color:#78849a;margin:6px 0 10px}.g7ai-choices{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.g7-builder-shell .g7ai-choice{border:1px solid #dcd4ee;border-radius:18px;background:white;color:#685487;padding:7px 10px;margin:0;font:400 11px/1.4 system-ui}.g7-builder-shell .g7ai-choice[aria-pressed="true"]{background:#eee7fc;border-color:#9c7cdb;color:#6042a0;box-shadow:0 0 0 2px #8054cf0d}.g7ai-question textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #d3d9e7;border-radius:9px;padding:10px;color:#223654;background:white;font:12px/1.6 system-ui}.g7ai-question-actions{display:flex;gap:8px;flex-wrap:wrap}.g7-builder-shell .g7ai-question-actions .g7ai-primary{background:linear-gradient(110deg,#7851ca,#416bee);color:white;border:0}
.g7ai-refine{flex-shrink:0;padding:16px 28px;background:#fafbfe;border-top:1px solid #e7ebf2;max-height:40%;overflow:auto}.g7ai-refine .g7ai-label{margin:0 0 10px}.g7ai-refine-prompt{box-sizing:border-box;width:100%;resize:vertical;max-height:120px;min-height:58px;border:1px solid #ccd6e6;border-radius:10px;background:white;color:#223654;font:400 12px/1.55 system-ui;padding:10px 12px}.g7ai-refine-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.g7ai-refine-actions .g7c-button{padding:8px 12px;font-size:12px}.g7-builder-shell .g7ai-refine-actions .g7ai-primary{background:linear-gradient(110deg,#7851ca,#416bee);border:0;color:white}.g7-builder-shell .g7ai-refine-actions .g7ai-refine-suggestion{padding:6px 9px;border-radius:18px;border-color:#e3def0;background:white;color:#76628f;font-size:11px}.g7ai-refine-status{color:#795087;font-size:12px;line-height:1.5;margin:8px 0 0}.g7ai-refine-status:empty{display:none}.g7ai-refine .g7ai-followup{margin:14px 0 0}.g7ai-media-choices{flex-shrink:0;max-height:160px;overflow:auto;padding:12px 28px;border-top:1px solid #e7ebf2;background:#f8f7fc}.g7ai-media-choices summary{cursor:pointer;color:#67548d;font-size:12px;font-weight:600}.g7ai-media-choice{display:flex;align-items:center;gap:14px;justify-content:space-between;font-size:12px;color:#536482;padding:8px 0}.g7ai-media-choice span{flex:1;min-width:0}.g7ai-media-choice select{max-width:150px;padding:7px;border:1px solid #ccd6e6;border-radius:8px;background:white;color:#324565;font-size:12px}.g7ai-refine textarea:focus,.g7ai-question textarea:focus,.g7ai-media-choice select:focus{outline:2px solid #ad94e1;outline-offset:2px}
.g7ai-review-dialog .g7c-button{margin:0;padding:10px 16px;border-radius:8px;font:500 13px/1.4 system-ui;white-space:nowrap}
.g7ai-followup{overflow-wrap:anywhere}.g7-builder-shell .g7ai-choices .g7ai-choice{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.g7ai-media-choice span{overflow-wrap:anywhere}
.g7c-ai.g7ai-chatting>.g7ai-intro,.g7c-ai.g7ai-chatting>.g7ai-modes,.g7c-ai.g7ai-chatting>.g7ai-label,.g7c-ai.g7ai-chatting>.g7ai-examples,.g7c-ai.g7ai-chatting>.g7ai-media-toggle,.g7c-ai.g7ai-chatting>.g7ai-note,.g7c-ai.g7ai-chatting>.g7ai-target,.g7c-ai.g7ai-chatting>.g7ai-actions>.g7ai-generate{display:none}
.g7ai-chatting>.g7ai-followup{padding:0;overflow:hidden;background:#fafbff;margin:8px 0 16px;border-color:#ded7ef;box-shadow:0 8px 24px #44336b08}
.g7ai-chat-header{display:flex;align-items:center;gap:10px;padding:15px 14px;border-bottom:1px solid #e7e3f1;background:linear-gradient(115deg,#f5efff,#f1f6ff)}
.g7ai-chat-avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:11px;background:white;color:#8054cf;box-shadow:0 2px 8px #7756d615}.g7ai-chat-avatar svg{width:23px;height:23px;fill:currentColor}
.g7ai-chat-header>div{flex:1;min-width:0}.g7ai-chat-header strong{display:block;font:600 13px/1.5 system-ui;color:#493a79}.g7ai-chat-subtitle{display:block;color:#7e7894;font:11px/1.5 system-ui}.g7ai-chat-progress{font:600 10px/1.4 system-ui;color:#765caa;white-space:nowrap}
.g7ai-chat-log{max-height:340px;overflow:auto;overscroll-behavior:contain;padding:16px 12px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scrollbar-color:#d9d2e9 transparent}
.g7ai-chat-message{display:flex;min-width:0;flex-shrink:0}.g7ai-chat-message.is-user{justify-content:flex-end}.g7ai-chat-bubble{box-sizing:border-box;max-width:92%;min-width:0;padding:11px 13px;border:1px solid #e6e8f1;border-radius:13px 13px 13px 3px;background:white;color:#3c4b68;animation:g7ai-chat-arrive .18s ease-out}.is-user>.g7ai-chat-bubble{background:#eee8fc;border-color:#e2d8f6;border-radius:13px 13px 3px 13px;color:#514071}.g7ai-chat-author{display:block;margin-bottom:4px;color:#827295;font:600 10px/1.4 system-ui}.g7ai-chat-bubble>p{margin:0;white-space:pre-wrap;font:12px/1.65 system-ui;overflow-wrap:anywhere}.g7ai-chat-bubble>.g7ai-question-help{font-size:11px;margin-top:7px;color:#81899c}
.g7-builder-shell .g7ai-chat-edit{display:block;margin:6px 0 0 auto;padding:2px 0;background:none;border:0;color:#795da8;font:500 10px/1.5 system-ui;text-decoration:underline;text-underline-offset:2px}
.g7ai-chat-composer{padding:0 14px;background:white;border-top:1px solid #e7e8f1}.g7ai-chat-composer:empty{display:none}.g7ai-chat-composer .g7ai-question{position:relative;margin:14px 0}.g7ai-chat-composer legend{font-size:11px;color:#7c7790}.g7ai-chat-composer .g7ai-choices{margin:8px 0 12px}.g7ai-chat-composer textarea{font-size:12px;min-height:65px;max-height:130px}
.g7-builder-shell .g7ai-chat-send{display:block;margin:8px 0 0 auto;padding:7px 13px;border:0;border-radius:8px;color:white;background:#7751c4;font:500 11px/1.5 system-ui}.g7ai-chat-keyboard{display:block;font:10px/1.5 system-ui;color:#9692a5;margin:7px 0 0}.g7ai-chatting>.g7ai-followup>.g7ai-question-actions{padding:12px 14px 0;border-top:1px solid #e7e8f1;background:white}.g7ai-chatting>.g7ai-followup>.g7ai-question-actions>.g7c-button{min-width:0;max-width:100%;white-space:normal;margin:0;padding:8px 11px;font-size:11px}.g7ai-chatting>.g7ai-followup>.g7ai-chat-note{margin:0;padding:10px 14px 14px;background:white;color:#8c849a;font:10px/1.6 system-ui}
.g7ai-refine.g7ai-chatting{max-height:52%}.g7ai-refine.g7ai-chatting>.g7ai-label,.g7ai-refine.g7ai-chatting>.g7ai-refine-actions>button:not([data-ai-cancel]){display:none}.g7ai-review-followup .g7ai-chat-log{max-height:210px}
@keyframes g7ai-chat-arrive{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.g7ai-chat-bubble{animation:none}}
.g7c-ai.g7ai-chatting[aria-busy="false"]>.g7ai-actions{display:none}
@media(max-width:760px){.g7-builder-shell .g7c-layout.g7ai-chat-layout{grid-template-rows:46px minmax(64px,12%) minmax(0,1fr)}.g7c-ai.g7ai-chatting .g7ai-chat-log{max-height:130px}.g7c-ai.g7ai-chatting .g7ai-chat-keyboard{display:none}.g7c-ai.g7ai-chatting .g7ai-chat-header{padding:12px}.g7c-ai.g7ai-chatting .g7ai-chat-composer .g7ai-choices{margin:6px 0 9px}}
.g7-builder-shell .g7ai-review-dialog .g7ai-primary{background:linear-gradient(110deg,#7851ca,#416bee);border:0;color:white;box-shadow:0 3px 10px #6848b52b}
.g7ai-review-error{color:#b42318;font-size:12px;padding:0 28px;margin:8px 0}
.g7c-ai [hidden],.g7ai-review-dialog [hidden]{display:none!important}
.g7c-ai button:disabled,.g7ai-review-dialog button:disabled{opacity:.5;cursor:default}
.g7c-ai button:focus-visible,.g7ai-review-dialog button:focus-visible{outline:3px solid #9173d9;outline-offset:3px}
@keyframes g7ai-orbit{to{transform:rotate(360deg)}}
@keyframes g7ai-ring-turn{from{transform:rotate(-90deg)}to{transform:rotate(270deg)}}
@keyframes g7ai-glow{50%{box-shadow:0 0 24px #a78bdc26}}
@keyframes g7ai-shimmer{to{transform:translateX(100%)}}
@keyframes g7ai-float{50%{transform:translateY(-4px) rotate(-6deg) scale(1.06)}}
@keyframes g7ai-progress{to{transform:translateX(350%)}}
@keyframes g7ai-step-pulse{0%{box-shadow:0 0 0 3px #7b56c533}75%,100%{box-shadow:0 0 0 9px #7b56c500}}
@media(prefers-reduced-motion:reduce){:root:not(.g7-editor-motion-enabled) .g7ai-orbit,:root:not(.g7-editor-motion-enabled) .g7ai-orbit i,:root:not(.g7-editor-motion-enabled) .g7ai-orbit-ring,:root:not(.g7-editor-motion-enabled) .g7ai-orbit-star,:root:not(.g7-editor-motion-enabled) .g7ai-loading:before,:root:not(.g7-editor-motion-enabled) .g7ai-progress>span,:root:not(.g7-editor-motion-enabled) .g7ai-loading li.is-active:before{animation:none}:root:not(.g7-editor-motion-enabled) .g7ai-progress>span{transform:translateX(75%)}}
@media(max-width:600px){.g7ai-review-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:12px}.g7ai-review-dialog>header,.g7ai-review-dialog footer,.g7ai-refine,.g7ai-media-choices{padding:12px 16px}.g7ai-review-dialog h2{font-size:20px}.g7ai-review-dialog footer p{flex-basis:100%;margin:0}.g7ai-review-dialog>header p{margin-bottom:0}.g7ai-preview{min-height:120px}.g7ai-media-choice{align-items:flex-start}}

/* Section library and favourites stay outside the page canvas. */
.g7c-library-shortcuts,.g7c-library-tabs,.g7c-library-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.g7c-library-shortcuts>button{flex:1}.g7c-library-tabs{padding:10px;background:#f4f7fc;border:1px solid #e1e7f1;border-radius:12px}
.g7c-section-card{position:relative;min-width:0}.g7c-section-card>.g7c-preset{width:100%;height:100%}.g7c-section-card .g7c-preset-name{padding-right:38px}
.g7c-favourite{position:absolute;right:10px;top:10px;width:36px;height:36px;display:grid;place-items:center;padding:0!important;font-size:24px!important;line-height:1!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 8px #1732551a;color:#50688e!important}
.g7c-favourite[aria-pressed="true"]{color:#a86a00!important;background:#fff7df!important;border-color:#e6cd83!important}.g7c-favourite:focus-visible{outline:3px solid #2c60e8;outline-offset:2px}
.g7c-library-edit{position:absolute;right:10px;bottom:10px;padding:3px 8px!important;font-size:12px!important}.g7c-custom-icon{font:700 32px monospace;color:#5a79ac}.g7c-custom-copy{font-size:12px;color:#617494}.g7c-section-card .g7c-preset-preview:has(.g7c-custom-icon){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.g7c-library-form{display:grid;gap:8px}.g7c-library-form label{font-weight:600}.g7c-library-form input,.g7c-library-form textarea{width:100%;padding:12px;border:1px solid #ccd7e9;border-radius:8px;background:white;color:#183457;box-sizing:border-box}.g7c-library-form textarea{font:13px/1.6 ui-monospace,Consolas,monospace;resize:vertical}.g7c-library-form input:focus,.g7c-library-form textarea:focus{outline:2px solid #80a8ff;outline-offset:2px}.g7c-library-preview{width:100%;height:240px;border:1px solid #dce4f0;border-radius:12px;background:white;box-sizing:border-box}.g7c-library-preview[hidden]{display:none}.g7c-library-status{color:#72530d;white-space:pre-wrap}.g7c-library-empty{padding:28px;text-align:center;background:#f6f8fc;border:1px dashed #ccd7e9;border-radius:12px;color:#5b6e8a}.g7c-library-remove{justify-self:start;color:#b32f2f!important}.g7c-catalogue-heading:has(.g7c-primary){flex-wrap:wrap}

.g7-builder-shell .g7c-section-card{display:flex;flex-direction:column}.g7-builder-shell .g7c-section-card>.g7c-preset{height:auto;flex:1}.g7-builder-shell .g7c-library-edit{position:static;align-self:flex-end;margin:5px 0 0}.g7-builder-shell .g7c-primary{background:#2563eb;border-color:#2563eb;color:white}.g7-builder-shell .g7c-primary:hover{background:#1d4ed8;color:white}
.g7st-library{position:fixed;inset:90px auto auto 7%;width:min(860px,86vw);max-height:calc(100vh - 120px);padding:24px;border:1px solid #dce3ef;border-radius:20px;background:#fff;box-shadow:0 24px 100px #14213c35;z-index:2147483500;color:#17243c;overflow:auto}
.g7st-library header{display:flex;align-items:center;justify-content:space-between;gap:16px}.g7st-library h2{font:700 24px/1.2 inherit;margin:0}.g7st-status,.g7st-inside{color:#7653c4;font-size:13px}.g7st-library-controls{display:flex;gap:10px;margin:18px 0}.g7st-library-controls input{flex:1;min-width:120px}.g7st-library-controls input,.g7st-library-controls select{padding:10px 12px;border:1px solid #d5deed;border-radius:9px;background:#fff;color:#273858}
.g7st-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.g7st-card{position:relative;border:1px solid #e1e5f0;border-radius:14px;background:#fff;overflow:hidden}.g7st-choice{display:flex!important;flex-direction:column;align-items:stretch;width:100%;height:100%;text-align:left!important;border:0!important;border-radius:0!important;padding:12px!important;gap:6px;cursor:grab!important}.g7st-choice:active{cursor:grabbing!important}.g7st-choice strong{font-size:13px}.g7st-choice small{font-size:11px;color:#7c8aa2}.g7st-card:hover,.g7st-card:focus-within{border-color:#a68bdd;box-shadow:0 5px 18px #7653c412}.g7st-thumbnail{height:112px;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#f7f4fd,#edf4f7);border-radius:9px}.g7st-thumbnail .g7-sticker{margin:0}.g7st-card>.g7c-favourite{position:absolute;right:5px;top:5px;width:28px;height:28px;padding:0!important;background:white;border-radius:50%}
.g7st-controls{padding:16px;margin-top:14px;border:1px solid #dfd5f4;border-radius:16px;background:linear-gradient(145deg,#faf7ff,#fff);min-width:0}.g7st-controls h4{font-size:14px;color:#273858;margin:18px 0 12px}.g7st-controls h4:first-child{margin-top:0}.g7st-field{display:flex;flex-direction:column;gap:6px;margin:12px 0;color:#506687;font-size:12px}.g7st-field input:not([type=checkbox]),.g7st-field select,.g7st-field textarea{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #d4ddef;border-radius:9px;padding:9px 11px;background:#fff;color:#233958;font:inherit}.g7st-field input[type=color]{height:42px;padding:5px!important}.g7st-field input[type=checkbox]{align-self:flex-start}.g7st-field textarea{min-height:76px;resize:vertical}.g7st-overridden>span{color:#7653c4}.g7st-overridden small{font-size:10px}.g7st-anchors{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px;border-radius:12px;background:#eee8f8;margin:12px 0}.g7st-anchors button{font-size:18px!important;min-height:38px}.g7st-anchors [aria-pressed=true]{background:#7653c4!important;color:#fff!important;border-color:#7653c4!important}.g7st-nudges,.g7st-actions,.g7st-palettes{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.g7st-actions>*{flex:1 1 42%}.g7st-palettes>*{font-size:11px!important;flex:1 1 42%}.g7st-error{color:#b42626;font-size:12px}.g7st-warnings:empty{display:none}.g7st-warnings{padding:10px 12px;border:1px solid #efddb8;border-radius:10px;background:#fff9ee;color:#7f5c1c;font-size:12px}.g7st-warnings p{margin:4px 0;line-height:1.5}.g7st-add-action{width:100%;margin-top:12px!important;background:#f4efff!important;color:#7653c4!important}.g7st-controls :focus-visible,.g7st-library :focus-visible{outline:3px solid #9e84db;outline-offset:2px}
@media(max-width:700px){.g7st-library{inset:60px 10px auto;width:calc(100vw - 20px);max-height:calc(100vh - 80px);padding:16px;box-sizing:border-box}.g7st-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g7st-library-controls{flex-wrap:wrap}.g7st-library-controls input{flex-basis:100%}}
.g7st-library{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}.g7st-library h2{font-family:inherit;font-size:24px;font-weight:700;line-height:1.2}.g7st-library .g7c-button{font:inherit;color:#273858;background:#fff;border:1px solid #d5deed;border-radius:9px;padding:8px 12px;cursor:pointer}.g7st-library .g7c-button:hover{background:#f6f1ff;border-color:#a68bdd}.g7st-library .g7st-choice{background:white}.g7st-library .g7c-help{font-size:13px;line-height:1.5;color:#687a96}

.g7st-thumbnail .g7-sticker{font-family:Arial,Helvetica,sans-serif}
.g7c-add>.g7st-library{position:static;inset:auto;box-sizing:border-box;width:100%;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible;font-family:inherit;font-size:13px}
.g7st-library.g7st-popup{position:fixed;inset:40px 0 auto;margin:0 auto;box-sizing:border-box;width:min(1000px,calc(100vw - 40px));max-height:calc(100dvh - 80px);padding:24px;border:1px solid #dce3ef;border-radius:20px;box-shadow:0 24px 100px #14213c35;overflow:auto}
.g7st-library.g7st-popup .g7st-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.g7st-library.g7st-popup .g7st-library-controls{grid-template-columns:minmax(0,1fr) auto auto}
.g7st-library.g7st-popup .g7st-library-controls input{grid-column:auto}
.g7st-library.g7st-popup .g7st-choice{padding:14px!important}
.g7st-library.g7st-popup .g7st-choice strong{font-size:13px}
.g7st-library.g7st-popup .g7st-choice small{display:block}
.g7st-library.g7st-popup .g7st-thumbnail{height:112px}
@media(max-width:700px){.g7st-library.g7st-popup{inset:12px 0 auto;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px}.g7st-library.g7st-popup .g7st-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.g7st-library.g7st-popup .g7st-library-controls{grid-template-columns:minmax(0,1fr) auto}.g7st-library.g7st-popup .g7st-library-controls input{grid-column:1/-1}}
.g7c-add>[hidden]{display:none!important}
.g7st-library header{flex-wrap:wrap;gap:10px}.g7c-add>.g7st-library h2{font-size:20px}.g7st-library .g7st-library-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:16px 0}.g7st-library-controls input{grid-column:1/-1;box-sizing:border-box;width:100%;min-width:0}.g7st-library-controls select{min-width:0;max-width:100%;font-size:12px}.g7st-library-controls .g7c-button{font-size:11px;padding:8px}
.g7st-library .g7st-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.g7st-library .g7st-choice{padding:8px!important}.g7st-library .g7st-choice strong{font-size:11px}.g7st-library .g7st-choice small{display:none}.g7st-library .g7st-thumbnail{height:90px}.g7st-library .g7st-thumbnail .g7-sticker{max-width:92%}
.g7st-ai{margin:16px 0;border:1px solid #ded4ff;border-radius:16px;background:linear-gradient(130deg,#f8f3ff,#edf4ff);overflow:hidden}.g7st-ai>summary{display:grid;grid-template-columns:38px minmax(0,1fr);gap:2px 10px;padding:16px;cursor:pointer;list-style:none;color:#453082}.g7st-ai>summary::-webkit-details-marker{display:none}.g7st-ai>summary>span:last-child{grid-column:2;font-size:12px;color:#6c6591}.g7st-ai-icon{grid-row:1/3;width:36px;height:36px;background:white;border-radius:12px;display:grid;place-items:center;box-shadow:0 3px 14px #7653c41a}.g7st-ai-icon svg,.g7st-ai-orb svg{width:24px;height:24px;fill:#7953cb}.g7st-ai-body{border:0;margin:0;padding:0 14px 16px;min-width:0}.g7st-ai-body .g7st-field textarea{min-height:100px}.g7st-ai-body .g7ai-generate{width:100%;box-sizing:border-box;border:0;background:linear-gradient(110deg,#7953cb,#4168ef);color:white;font-weight:600;padding:12px;border-radius:10px}.g7st-ai-body .g7ai-generate:hover{background:linear-gradient(110deg,#6742bc,#3057dc);color:white}.g7st-ai-body button:disabled{opacity:.5;cursor:wait}.g7st-ai-open>.g7st-library-controls,.g7st-ai-open>.g7st-grid{display:none}.g7st-ai-loading{padding:22px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;color:#5b409c}.g7st-ai-orb{width:60px;height:60px;position:relative;display:grid;place-items:center}.g7st-ai-orb:before{content:'';position:absolute;inset:0;border:3px solid #e1d8fa;border-top-color:#7953cb;border-right-color:#a890e8;border-radius:50%;animation:g7st-ai-spin 1s linear infinite}.g7st-ai-loading small{color:#7b7199;font-size:12px}.g7st-ai-review{margin-top:16px;border-top:1px solid #ddd6ef;padding-top:16px}.g7st-library .g7st-ai-preview{height:210px;background:radial-gradient(circle at 50% 45%,white,#ede7fb);overflow:hidden}.g7st-ai-edits{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.g7st-ai-edits>.g7st-field:has(input:not([type=color])){grid-column:1/-1}.g7st-ai-body .g7st-error{margin:12px 0;overflow-wrap:anywhere}.g7st-ai [hidden]{display:none!important}@keyframes g7st-ai-spin{to{transform:rotate(360deg)}}
.g7st-advanced,.g7m-advanced{border-top:1px solid #dfd7ee;margin-top:16px;padding-top:4px}.g7st-advanced>summary,.g7m-advanced>summary{padding:12px 0;color:#69518f;font-weight:600;font-size:12px;cursor:pointer}.g7st-basic>.g7st-actions{display:grid;grid-template-columns:1fr 1fr}.g7st-basic>.g7st-actions button:last-child{grid-column:1/-1}.g7st-field input[type=range]{padding:0;background:transparent;accent-color:#7953cb}.g7st-field small{color:#7a8297}.g7m-advanced .g7m-content{padding:0 14px 16px}.g7m-playback{display:flex;gap:7px}.g7m-playback>*{flex:1}.g7m-basic .g7m-field{display:block;font-size:12px}.g7m-basic .g7m-field select{display:block;width:100%;margin-top:6px;min-height:38px}.g7m-live-status{padding:9px 11px;background:#f1edf9;border-radius:8px;color:#665184}.g7m-panel>.g7m-error{margin:0 14px 10px}

.g7ai-motion-choice{padding:12px;margin:12px 0;border:1px solid #e4ddf6;border-radius:12px;background:#faf7ff;text-align:left}.g7ai-motion-choice .g7ai-note{margin:0 0 8px}.g7ai-motion-choice button{color:#6545ba;border-color:#d9cdf1;background:#fff}.g7ai-motion-choice[hidden]{display:none!important}
.g7st-ai-kinds{display:flex;gap:4px;padding:4px;border-radius:11px;background:#e8e1f4;margin-bottom:14px}.g7st-ai-kinds .g7c-button{flex:1;border:0;background:transparent;color:#716387;font-size:12px}.g7st-ai-kinds .g7c-button[aria-pressed=true]{background:#fff;color:#653dbc;box-shadow:0 2px 6px #3f246219}.g7st-ai-preview .g7-sticker-face>img{width:100%;height:100%;object-fit:contain;grid-area:1/1}
.g7-builder-shell .g7c-add-home>h3{margin:0 0 7px;font-size:18px}.g7-builder-shell .g7c-add-home>.g7c-help{margin:0 0 18px}.g7-builder-shell .g7c-add-choice{display:grid;grid-template-columns:42px minmax(0,1fr) 16px;align-items:center;gap:12px;width:100%;box-sizing:border-box;min-height:90px;padding:15px 14px;margin:0 0 12px;border:1px solid #e1d9f3;border-radius:14px;background:linear-gradient(125deg,#faf7ff,#f5f8ff);color:#243657;text-align:left;box-shadow:0 2px 7px #26365004;font:inherit;cursor:pointer}.g7-builder-shell .g7c-add-choice:hover{background:linear-gradient(125deg,#f4eeff,#eef4ff);border-color:#b69adf;box-shadow:0 5px 16px #6744aa0c}.g7-builder-shell .g7c-add-choice:focus-visible{outline:3px solid #ab8de0;outline-offset:2px}.g7-builder-shell .g7c-add-choice-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e7def7;border-radius:12px;background:#fff;color:#7953cb}.g7-builder-shell .g7c-add-choice-icon svg{width:24px;height:24px}.g7-builder-shell .g7c-add-choice-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.g7-builder-shell .g7c-add-choice-copy strong{font-size:14px;line-height:1.3;font-weight:600}.g7-builder-shell .g7c-add-choice-copy small{font-size:12px;line-height:1.5;color:#6b7d9b}.g7-builder-shell .g7c-add-choice-arrow{color:#7953cb;font-size:19px;line-height:1;text-align:center}.g7-builder-shell .g7c-add-stage-header{display:flex;flex-direction:column;align-items:flex-start;gap:17px;margin-bottom:8px}.g7-builder-shell .g7c-add-stage-header h3{margin:0;font-size:18px}.g7-builder-shell .g7c-add-back{font-size:12px;padding:7px 10px;color:#526789}.g7-builder-shell .g7c-add-stage>.g7c-help{margin:0 0 17px}.g7-builder-shell .g7c-add>[hidden]{display:none!important}.g7-builder-shell .g7c-add-stage[hidden]{display:none!important}
.g7-builder-shell .g7c-save-section{margin:16px 0;border:1px solid #dfd4f3;border-radius:12px;background:#faf7ff;color:#354363}.g7-builder-shell .g7c-save-section>summary{padding:13px 15px;color:#6d48ba;font-weight:600;font-size:13px;cursor:pointer}.g7-builder-shell .g7c-save-section-form{margin:0;padding:0 15px 12px;border:0;min-width:0}.g7-builder-shell .g7c-save-section-form label{display:block;font-size:12px;margin:12px 0 6px}.g7-builder-shell .g7c-save-section-form input{display:block;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #cfd8ea;border-radius:9px;background:#fff;color:#233858;font:inherit;margin-bottom:12px}.g7-builder-shell .g7c-save-section-form .g7c-primary{border-color:#7653c4;background:#7653c4;color:#fff}.g7-builder-shell .g7c-save-section-form .g7c-help,.g7-builder-shell .g7c-save-section-form .g7c-library-status{font-size:12px;line-height:1.6;margin:5px 0 10px}.g7-builder-shell .g7c-library-delete{font-size:12px;line-height:1.5;align-self:stretch}.g7-builder-shell .g7c-library-delete>button{float:right;font-size:12px;color:#935363}.g7-builder-shell .g7c-library-delete-actions{display:flex;flex-wrap:wrap;gap:6px}.g7-builder-shell .g7c-library-delete .g7c-library-remove{color:#a62c41;border-color:#e7c9d0}.g7-builder-shell .g7c-library-delete p{margin:6px 0;overflow-wrap:anywhere}

.g7st-range-value{float:right;color:#6b4eb4;font-weight:600;font-variant-numeric:tabular-nums}
.g7-builder-shell .g7-control-range{display:block;min-width:0}
.g7-builder-shell .g7c-panel{overflow-anchor:none}
.g7-builder-shell .g7-control-range-caption{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%;margin-bottom:2px;min-width:0}
.g7-builder-shell .g7-control-range-value{flex-shrink:0;color:#6843b8;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.g7-builder-shell .g7-control-range input[type=range]{display:block;width:100%;box-sizing:border-box;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;accent-color:#7953cb;cursor:pointer;touch-action:pan-y}
.g7-builder-shell .g7-control-range input[type=range]:disabled{cursor:default;opacity:.45}
.g7-builder-shell .g7-control-range input[type=range]:focus-visible{outline:2px solid #9e84db;outline-offset:2px;border-radius:5px}
.g7-builder-shell .g7m-keyframe{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;padding:12px}
.g7-builder-shell .g7m-keyframe .g7-control-range-value{font-size:11px}

.g7-builder-shell .g7c-save-section-check{display:flex;align-items:center;gap:10px;padding:15px;color:#6d48ba;font-weight:600;font-size:13px;cursor:pointer}.g7-builder-shell .g7c-save-section-check input{width:18px;height:18px;margin:0;accent-color:#7653c4;flex-shrink:0}.g7-builder-shell .g7c-save-section-choice .g7c-save-section-form:disabled{opacity:.6}

.g7-builder-shell .g7c-size-slider{grid-column:1/-1;margin-top:3px;min-width:0}.g7-builder-shell .g7c-size-slider input[type=range]{display:block;width:100%;box-sizing:border-box;padding:0;accent-color:#7953cb;cursor:pointer}.g7-builder-shell .g7c-size-slider input:disabled{opacity:.4;cursor:default}
.g7-builder-shell .g7c-size-slider-value{display:block;margin:0 0 1px auto!important;padding:0!important;border:0!important;min-height:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#6843b8!important;font:500 11px/16px system-ui!important;font-variant-numeric:tabular-nums!important;text-align:right}
.g7-builder-shell button.g7c-size-slider-value:hover{text-decoration:underline}
.g7-builder-shell .g7c-size-slider>output.g7c-size-slider-value{display:none}
.g7-builder-shell .g7c-compact-slider>input[hidden]{display:none!important}
.g7-builder-shell .g7c-compact-slider>input:not([hidden]){min-height:28px;padding:4px 7px}
.g7-builder-shell .g7c-design .g7c-field.g7c-compact-slider{margin-top:8px;margin-bottom:8px}
.g7-builder-shell .g7c-design .g7c-compact-slider>.g7-control-range-caption{display:flex;margin-bottom:2px}
.g7-builder-shell .g7c-compact-slider>.g7-control-range-caption>label{margin:0;font:500 12px/1.5 system-ui;color:#475467}
.g7-builder-shell .g7c-compact-slider>button{min-height:24px;padding-top:2px;padding-bottom:2px;margin-top:2px}
.g7-builder-shell .g7-control-range.g7m-field,.g7-builder-shell .g7-control-range.g7st-field{margin:7px 0}
.g7-builder-shell :is(.g7-control-range,.g7c-size-slider,.g7st-field) input[type=range]{appearance:none;-webkit-appearance:none;min-height:24px;height:24px;background:transparent;padding:0;border:0;cursor:pointer}
.g7-builder-shell :is(.g7-control-range,.g7c-size-slider,.g7st-field) input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:linear-gradient(to right,#7953cb var(--g7-range-progress,0%),#e3dfee var(--g7-range-progress,0%))}
.g7-builder-shell :is(.g7-control-range,.g7c-size-slider,.g7st-field) input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;margin-top:-4px;border:0;border-radius:50%;background:#7953cb;box-shadow:0 1px 3px #50358926}
.g7-builder-shell :is(.g7-control-range,.g7c-size-slider,.g7st-field) input[type=range]::-moz-range-track{height:3px;border-radius:4px;background:#e3dfee}
.g7-builder-shell :is(.g7-control-range,.g7c-size-slider,.g7st-field) input[type=range]::-moz-range-progress{height:3px;border-radius:4px;background:#7953cb}
.g7-builder-shell :is(.g7-control-range,.g7c-size-slider,.g7st-field) input[type=range]::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#7953cb}
.g7-builder-shell .g7c-advanced-styles .g7c-size-slider{margin-top:1px}
.g7-builder-shell .gjs-field-integer .gjs-input-holder{display:block;padding-right:60px}.g7-builder-shell .gjs-field-integer .gjs-field-units{right:12px;width:48px;display:flex;align-items:center}.g7-builder-shell .gjs-field-integer select.gjs-input-unit{appearance:auto;width:100%;height:30px;padding:2px;border:1px solid #bfd0ee;border-radius:5px;background:#f1f6ff;color:#2453a1;cursor:pointer;font-size:11px}.g7-builder-shell .gjs-field-integer select.gjs-input-unit:focus-visible{outline:2px solid #8db4ff;outline-offset:1px}
/* Keep related Advanced values together without the native grey composite box. */
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite{padding:0;border:1px solid #e0e6f0;border-radius:12px;background:#f8fafc;box-shadow:none}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-sm-properties{padding:12px;gap:12px;align-items:flex-start}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-sm-properties>.gjs-sm-property{box-sizing:border-box;min-width:0;width:calc(50% - 6px);padding:0;margin:0}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-sm-properties>.gjs-sm-property--full{width:100%}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-sm-label{margin:0 0 6px;font:500 11px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;color:#536482}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-field-integer{display:grid;grid-template-columns:minmax(0,1fr) 44px 12px;align-items:center;min-height:36px;border:1px solid #dce3ee;border-radius:8px;background:#fff;transition:border-color .15s,box-shadow .15s}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-field-integer:hover{border-color:#a9bcd6}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-field-integer:focus-within{border-color:#6e9bea;box-shadow:0 0 0 3px #2563eb14}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-input-holder{min-width:0;padding:0}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-input-holder>input{box-sizing:border-box;width:100%;min-width:0;min-height:34px;margin:0;padding:7px 8px;border:0;border-radius:8px;background:transparent;font:400 13px/1.4 system-ui;color:#263b56}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-field-units{position:static;width:auto;height:auto;border-left:1px solid #edf0f5}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite select.gjs-input-unit{height:30px;min-height:0;margin:0;padding:3px 2px 3px 5px;border:0;border-radius:4px;background:transparent;color:#63738c;font:400 11px/1.4 system-ui}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-field.gjs-sm-composite .gjs-field-arrows{position:static;width:12px;height:24px;border:0}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-property__border-radius .gjs-sm-number .gjs-sm-icon{display:flex;align-items:center;gap:6px}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-property__border-radius .gjs-sm-number .gjs-sm-icon::before{content:"";box-sizing:border-box;flex:none;width:11px;height:11px;border-top:2px solid #8b73c4;border-left:2px solid #8b73c4;border-top-left-radius:5px}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-property__border-top-right-radius .gjs-sm-icon::before{transform:rotate(90deg)}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-property__border-bottom-left-radius .gjs-sm-icon::before{transform:rotate(-90deg)}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-property__border-bottom-right-radius .gjs-sm-icon::before{transform:rotate(180deg)}
.g7-builder-shell .g7c-sidebar-modes{display:flex;align-items:center;gap:2px;flex-shrink:0;padding:3px;border:1px solid #e0e6f0;border-radius:9px;background:#f5f7fb}
.g7-builder-shell .g7c-sidebar-icon{display:flex;align-items:center;justify-content:center;width:27px;color:#687b99}
.g7-builder-shell .g7c-sidebar-icon svg{width:19px;height:19px}
.g7-builder-shell .g7c-sidebar-caption{max-width:96px;padding:0 6px 0 2px;color:var(--e-ink,#233959);font:600 11px/1.2 system-ui;white-space:normal}
@media(max-width:360px){.g7-builder-shell .g7c-sidebar-caption{max-width:58px}}
.g7-builder-shell .g7c-sidebar-modes .g7c-button{min-height:28px;padding:4px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#667085;font-size:12px;white-space:nowrap}
.g7-builder-shell .g7c-sidebar-modes .g7c-button[aria-pressed=true]{background:#fff;border-color:#dce5f5;color:#245dcc;box-shadow:0 1px 3px #25385312}
.g7-builder-shell .g7c-sidebar-mode-symbol{display:none;width:20px;height:20px;pointer-events:none}
.g7-builder-shell[data-mode-header=icons] .g7c-sidebar-modes :is(.g7c-sidebar-icon,.g7c-sidebar-mode-label){display:none}
.g7-builder-shell[data-mode-header=icons] .g7c-sidebar-modes .g7c-sidebar-mode-symbol{display:block}
.g7-builder-shell[data-mode-header=icons] .g7c-sidebar-modes .g7c-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;padding:4px}
.g7-builder-shell .g7c-layout[data-sidebar-mode] .g7c-tools{min-width:0;overflow:hidden}
.g7-builder-shell .g7c-sidebar-rail{display:none}
.g7-builder-shell .g7c-layout[data-sidebar-mode=hide]{grid-template-columns:minmax(0,1fr);grid-template-rows:46px minmax(0,1fr)}
.g7-builder-shell .g7c-layout[data-sidebar-mode=hide] .g7c-side{display:none}
.g7-builder-shell .g7c-layout[data-sidebar-mode=hover]{grid-template-columns:minmax(0,1fr)44px;grid-template-rows:46px minmax(0,1fr)}
/* Keep canvas overlays below the revealed sidebar, including native toolbar tools. */
.g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-editor{isolation:isolate}
.g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-side{grid-area:auto;position:absolute;inset:46px 44px 0 auto;width:350px;max-width:calc(100% - 44px);z-index:30;border:1px solid #dce5f1;border-radius:12px 0 0 12px;box-shadow:-8px 0 30px #2238591a;visibility:hidden;opacity:0;transform:translateX(12px);transition:opacity .16s ease,transform .16s ease,visibility .16s}
.g7-builder-shell .g7c-layout[data-sidebar-mode=hover][data-sidebar-open=true] .g7c-side{visibility:visible;opacity:1;transform:none}
.g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-sidebar-rail{display:flex;grid-column:2;grid-row:1/3;align-items:flex-start;justify-content:center;padding-top:12px;background:#f8faff;border-left:1px solid #e0e7f1;z-index:31}
.g7-builder-shell .g7c-sidebar-handle{display:flex;align-items:center;gap:6px;writing-mode:vertical-rl;min-height:112px;padding:10px 7px;border-radius:9px;background:white;box-shadow:0 2px 7px #2238590b;color:#315fa5;font-size:12px}
.g7-builder-shell .g7c-sidebar-handle svg{width:18px;height:18px;flex-shrink:0}
.g7-builder-shell [data-sidebar-open=true] .g7c-sidebar-handle svg{transform:rotate(180deg)}
@media(max-width:760px){.g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-side{top:46px;width:350px}.g7-builder-shell .g7c-layout[data-sidebar-mode=hover].g7ai-chat-layout,.g7-builder-shell .g7c-layout[data-sidebar-mode=hide].g7ai-chat-layout{grid-template-rows:46px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-side{transition:none}}
.g7-builder-shell .g7f-fields-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.g7-builder-shell .g7f-fields-heading h4{margin:0}.g7-builder-shell .g7f-field-count{padding:3px 8px;border-radius:20px;background:#edf2fa;color:#59708f;font-size:11px;font-variant-numeric:tabular-nums}
.g7-builder-shell .g7f-field-editor,.g7-builder-shell .g7f-messages{margin:10px 0;border:1px solid #dce4ef;border-radius:10px;background:white;overflow:hidden}.g7-builder-shell .g7f-field-editor>summary,.g7-builder-shell .g7f-messages>summary{padding:12px;font-size:13px;font-weight:600;color:#344b6a;cursor:pointer}.g7-builder-shell .g7f-field-editor>summary small{display:block;margin:4px 0 0 14px;font-size:11px;font-weight:400;color:#76859b}.g7-builder-shell .g7f-field-settings{padding:0 12px 12px;border-top:1px solid #eaf0f7}.g7-builder-shell .g7f-field-actions{display:flex;gap:6px;flex-wrap:wrap}.g7-builder-shell .g7f-field-actions .g7c-button{flex:1;padding:6px;font-size:11px}.g7-builder-shell .g7f-field-actions .g7c-button:last-child{color:#b44848}.g7-builder-shell .g7f-add-field{display:flex;align-items:center;gap:8px;margin:14px 0 20px}.g7-builder-shell .g7f-add-field select{flex:1;width:0}.g7-builder-shell .g7f-add-field button{white-space:nowrap;background:#edf4ff;border-color:#c9dafa;color:#275cb1}.g7-builder-shell .g7f-control-error{color:#b33d36;font-size:12px;line-height:1.5}.g7-builder-shell .g7f-control-error:empty{display:none}.g7-builder-shell .g7f-submissions-link{display:inline-block;color:#315fa5;font-size:12px;text-decoration:none;border-bottom:1px solid #cbd9ef}
.g7ps-dialog{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;width:min(850px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dce3ef;border-radius:20px;box-shadow:0 25px 90px #10264c40;color:#20334e;background:#fff}.g7ps-dialog::backdrop{background:#14254280;backdrop-filter:blur(3px)}.g7ps-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:26px 30px;border-bottom:1px solid #e5eaf3;background:linear-gradient(115deg,#f5f2ff,#f3f8ff)}.g7ps-heading h2{font-size:25px;margin:6px 0 8px;font-weight:700}.g7ps-heading p{margin:0;color:#667995;font-size:14px}.g7ps-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#7450c7}.g7ps-body{padding:24px 30px;overflow:auto;max-height:calc(100dvh - 260px);min-height:220px}.g7ps-list-heading,.g7ps-card,.g7ps-card-actions,.g7ps-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.g7ps-list-heading{margin-bottom:20px}.g7ps-card{padding:20px;border:1px solid #dfe6f2;border-radius:12px;margin-bottom:12px}.g7ps-card h3{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}.g7ps-card p{font-size:12px;color:#667995;margin:0}.g7ps-button,.g7ps-close,.g7ps-primary{padding:10px 15px;border:1px solid #ccd7e9;border-radius:8px;background:#fff;color:#284266;font-size:13px;cursor:pointer;white-space:nowrap}.g7ps-primary{background:#6653d9;border-color:#6653d9;color:#fff;font-weight:600}.g7ps-button:hover,.g7ps-close:hover{background:#f2f6ff}.g7ps-primary:hover{background:#5846c7}.g7ps-dialog button:focus-visible,.g7ps-dialog input:focus-visible,.g7ps-dialog select:focus-visible,.g7ps-dialog textarea:focus-visible{outline:3px solid #b8caff;outline-offset:2px}.g7ps-dialog button:disabled{opacity:.5;cursor:default}.g7ps-toggle{display:flex;gap:7px;align-items:center;font-size:12px;margin:0;white-space:nowrap}.g7ps-toggle input{width:17px;height:17px;accent-color:#6653d9}.g7ps-field{display:grid;gap:8px;margin:18px 0;font-size:13px;font-weight:600}.g7ps-field input,.g7ps-field select,.g7ps-field textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #cbd7eb;border-radius:8px;background:#fff;color:#284266;font-size:14px;font-weight:400}.g7ps-field textarea.g7ps-code{background:#18243b;color:#dce6f7;border-color:#18243b;font:13px/1.7 Consolas,monospace;tab-size:2;resize:vertical;white-space:pre}.g7ps-note{font-size:12px;line-height:1.7;color:#667995}.g7ps-error{color:#b43645;font-size:13px;line-height:1.6}.g7ps-error:empty{display:none}.g7ps-empty{text-align:center;padding:36px 24px;color:#667995}.g7ps-empty h3{font-size:20px;color:#20334e}.g7ps-empty p{max-width:370px;margin:12px auto;line-height:1.7;font-size:14px}.g7ps-symbol{display:inline-block;padding:14px 18px;border-radius:12px;color:#7450c7;background:#f1ebff;font:700 22px Consolas,monospace}.g7ps-footer{padding:18px 30px;border-top:1px solid #e5eaf3;background:#f8faff;font-size:12px;line-height:1.7;color:#667995}.g7ps-advanced{padding:14px 16px;background:#f7f9fd;border:1px solid #e0e7f2;border-radius:9px}.g7ps-advanced summary{cursor:pointer;font-size:13px;color:#365174}.g7ps-edit-actions{justify-content:flex-end;margin-top:22px}@media(max-width:650px){.g7ps-heading,.g7ps-body,.g7ps-footer{padding:20px}.g7ps-card{align-items:start;flex-direction:column}.g7ps-card-actions{flex-wrap:wrap;width:100%}.g7ps-heading h2{font-size:22px}.g7ps-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}}

.g7map-controls{margin:18px 0;padding:16px;border:1px solid #ded9ef;border-radius:16px;background:#faf9ff}
.g7map-style-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 18px}
.g7map-style-choice{display:flex;align-items:center;gap:9px;min-height:54px;padding:9px;border:1px solid #dce3ee;border-radius:10px;background:#fff;color:#324565;font:12px/1.4 system-ui;cursor:pointer;text-align:left}
.g7map-style-choice[aria-pressed=true]{border-color:#8a64dd;background:#f4efff;box-shadow:0 0 0 1px #8a64dd}
.g7map-style-choice:focus-visible{outline:2px solid #8058c9;outline-offset:3px}
.g7map-swatch{display:block;flex:none;width:35px;height:32px;border-radius:7px;background:linear-gradient(125deg,transparent 38%,#c9dce9 38%,#c9dce9 62%,transparent 62%),repeating-linear-gradient(10deg,#f2f4f6 0,#f2f4f6 9px,#fff 9px,#fff 12px)}
[data-map-theme=futuristic] .g7map-swatch{background:linear-gradient(125deg,transparent 38%,#263c52 38%,#263c52 62%,transparent 62%),repeating-linear-gradient(10deg,#111c32 0,#111c32 9px,#438d9c 9px,#438d9c 12px)}
[data-map-theme=funky] .g7map-swatch{background:linear-gradient(125deg,transparent 38%,#c6b8f4 38%,#c6b8f4 62%,transparent 62%),repeating-linear-gradient(10deg,#fff2de 0,#fff2de 9px,#f5b8c9 9px,#f5b8c9 12px)}
[data-map-theme=plain] .g7map-swatch{background:linear-gradient(125deg,transparent 38%,#c3dcf1 38%,#c3dcf1 62%,transparent 62%),repeating-linear-gradient(10deg,#e7eee4 0,#e7eee4 9px,#fff 9px,#fff 12px)}
.g7map-state{font:12px/1.6 system-ui;color:#7050a0;overflow-wrap:anywhere}.g7map-state:empty{display:none}
.g7map-search-results{display:flex;flex-direction:column;gap:7px;margin:12px 0}.g7map-search-result{text-align:left;white-space:normal!important;line-height:1.5!important}
.g7map-search-label{display:block;color:#304766;font:12px/1.5 system-ui}.g7map-search-label>.g7c-input{display:block;box-sizing:border-box;width:100%;margin:8px 0 10px}
.g7map-attribution{align-self:flex-end;color:#5e5e5e;font:400 12px/1.5 system-ui;white-space:nowrap}.g7map-attribution[hidden]{display:none}
.g7map-controls [hidden]{display:none!important}
.g7map-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px;font-size:13px;color:#233959}
.g7map-count{padding:4px 9px;border-radius:20px;background:#edf2ff;color:#4966a0;font-size:11px;font-weight:600}
.g7map-selected-locations{display:grid;gap:9px}
.g7map-empty{margin:0 0 8px;padding:18px 14px;border:1px dashed #cbd7ec;border-radius:12px;background:#fff;color:#6a7b94;font-size:12px;line-height:1.6}
.g7map-controls .g7map-add-location{display:block;width:100%;margin-top:12px;border:1px dashed #b7c9f3;background:#eff4ff;color:#245ad0;font-weight:600}
.g7map-controls .g7map-add-location:disabled{background:#f2f4f7;color:#7a869b;border-color:#dce3ee}
.g7map-selected-location{padding:0;border:1px solid #dce5f2;border-radius:12px;background:#fff;overflow:hidden}
.g7map-controls .g7map-location-heading{display:flex;align-items:center;gap:10px;padding:12px;list-style:none;cursor:pointer;color:#233959}
.g7map-location-heading::-webkit-details-marker{display:none}
.g7map-location-number{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:10px;background:#edf2ff;color:#315fcb;font-size:12px;font-weight:700}
.g7map-location-copy{display:grid;gap:3px;min-width:0;flex:1;overflow-wrap:anywhere}
.g7map-location-copy>strong{font-size:12px;line-height:1.5}
.g7map-location-copy>span{font-size:11px;line-height:1.5;color:#7c8aa2}
.g7map-location-edit{font-size:11px;color:#3567d8}
.g7map-selected-location[open]>.g7map-location-heading{background:#f4f7ff;border-bottom:1px solid #e3eaf7}
.g7map-location-fields{padding:12px}
.g7map-location-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.g7map-location-actions .g7c-button{min-height:34px;padding:8px 10px;font-size:11px}
.g7map-controls .g7map-remove-location{color:#b42318;background:#fff8f7;border-color:#f4d2ce}
.g7map-search-area{padding:14px;margin-top:12px;border:1px solid #d6e1ff;border-radius:12px;background:#f3f6ff}
.g7map-search-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#233959}
.g7map-search-heading .g7c-button{font-size:11px;min-height:30px;padding:6px 8px}
.g7map-already-added{display:block;font-size:11px;color:#708097;margin-top:4px}
.g7map-advanced{margin-top:18px;padding-top:12px;border-top:1px solid #e0d9ef}.g7map-advanced>summary{cursor:pointer;color:#674b9d;font-size:12px;margin-bottom:12px}

/* CMS choices: content first, display second; all guidance stays in the admin. */
.g7-builder-shell .g7c-cms-controls{padding:18px;border-color:#dce5f1;border-radius:16px}
.g7-builder-shell .g7c-cms-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.g7-builder-shell .g7c-cms-heading h4{margin:0 0 3px;font:650 16px/1.4 system-ui;color:#223653}
.g7-builder-shell .g7c-cms-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #d8e5fb;border-radius:12px;background:#eef5ff;color:#3568c6;font:22px/1 system-ui}
.g7-builder-shell .g7c-cms-live{display:inline-flex;align-items:center;gap:6px;color:#60758d;font:11px/1.5 system-ui}
.g7-builder-shell .g7c-cms-live::before{content:'';width:5px;height:5px;border-radius:50%;background:#369173}
.g7-builder-shell .g7c-cms-step{margin:20px 0 12px;font:650 12px/1.5 system-ui;color:#243b5b}
.g7-builder-shell .g7c-cms-source-summary{margin:12px 0 20px;padding:14px;border:1px solid #dce6f6;border-radius:12px;background:#f5f8ff;overflow-wrap:anywhere}
.g7-builder-shell .g7c-cms-source-summary>strong{display:block;font:600 13px/1.5 system-ui;color:#233e66}
.g7-builder-shell .g7c-cms-source-summary>p{margin:6px 0 12px;font:12px/1.6 system-ui;color:#61728c}
.g7-builder-shell .g7c-cms-choose{display:block;width:100%;padding:10px 12px;min-height:40px;border-color:#386ada;background:#386ada;color:white;font-weight:600;border-radius:9px}
.g7-builder-shell .g7c-cms-choose:hover{border-color:#2858c4;background:#2858c4;color:white}
.g7-builder-shell .g7c-cms-display{border-top:1px solid #e9edf4}
.g7-builder-shell .g7c-cms-controls .g7c-field:has(>input[type=checkbox]){display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:10px 0;border-bottom:1px solid #edf0f5}
.g7-builder-shell .g7c-cms-controls .g7c-field:has(>input[type=checkbox])>label{margin:0;cursor:pointer}
.g7-builder-shell .g7c-cms-controls .g7c-field>input[type=checkbox]{flex:none;width:18px;height:18px;accent-color:#386ada;cursor:pointer}
.g7-builder-shell .g7c-cms-more{margin:16px 0 0;border:1px solid #e5eaf2;border-radius:10px;background:#fafbfe;padding:12px}
.g7-builder-shell .g7c-cms-more>summary{font:500 12px/1.5 system-ui;color:#486183;cursor:pointer}
.g7-builder-shell .g7c-cms-refresh{width:100%;margin-top:16px;background:#fff;color:#486183;font-size:11px}
.g7-builder-shell .g7c-content-picker{width:min(1000px,calc(100vw - 32px));padding:26px;border-radius:18px;font:13px/1.5 system-ui}
.g7-builder-shell .g7c-content-heading{min-width:0}
.g7-builder-shell .g7c-content-eyebrow{display:block;margin-bottom:5px;color:#647c9b;font:600 10px/1.4 system-ui;letter-spacing:1px;text-transform:uppercase}
.g7-builder-shell .g7c-content-picker .g7c-content-intro{margin:12px 0 22px;max-width:740px;color:#64748b;font:13px/1.7 system-ui}
.g7-builder-shell .g7c-content-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}
.g7-builder-shell .g7c-content-browse{min-width:0}
.g7-builder-shell .g7c-content-search-label{display:block;font:600 12px/1.5 system-ui;color:#344862}
.g7-builder-shell .g7c-content-search-label>.g7c-input{display:block;box-sizing:border-box;width:100%;margin-top:7px;min-height:42px;border-radius:10px}
.g7-builder-shell .g7c-content-status{min-height:20px;margin:12px 0 8px;font:11px/1.7 system-ui;color:#708198}
.g7-builder-shell .g7c-content-results{max-height:350px;margin:0;padding:2px 4px 4px 2px;gap:9px;scrollbar-width:thin}
.g7-builder-shell .g7c-content-result{gap:10px;min-height:84px;border-radius:11px;padding:12px;transition:border-color .15s,background .15s}
.g7-builder-shell .g7c-content-result:hover{border-color:#abc1e8;background:#f8faff}
.g7-builder-shell .g7c-content-result[aria-pressed=true]{border-color:#5581d9;background:#eff5ff}
.g7-builder-shell .g7c-content-result img,.g7-builder-shell .g7c-content-symbol{width:48px;height:48px;border-radius:8px}
.g7-builder-shell .g7c-content-result-copy{display:block;flex:1;min-width:0;overflow-wrap:anywhere}
.g7-builder-shell .g7c-content-result-copy strong{display:block;font:600 12px/1.5 system-ui;color:#283f60}
.g7-builder-shell .g7c-content-result-copy small{display:block;margin-top:4px;font:11px/1.4 system-ui;color:#8090a6}
.g7-builder-shell .g7c-content-check{display:grid;place-items:center;flex:none;width:22px;height:22px;border:1px solid #d6e1f2;border-radius:50%;background:#f6f9ff;color:#6684b2;font:500 16px/1 system-ui}
.g7-builder-shell .g7c-content-result[aria-pressed=true] .g7c-content-check{background:#386ada;border-color:#386ada;color:#fff;font-size:12px}
.g7-builder-shell .g7c-content-pages{display:flex;gap:8px;margin-top:14px}
.g7-builder-shell .g7c-content-choice{padding:16px;border:1px solid #e1e8f3;border-radius:14px;background:#f7f9fd;min-width:0}
.g7-builder-shell .g7c-content-choice h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;font-size:13px;color:#2c4260}
.g7-builder-shell .g7c-content-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;box-sizing:border-box;border-radius:7px;background:#e6eefb;color:#386ada;font:600 11px/1 system-ui}
.g7-builder-shell .g7c-content-choice>.g7c-help{margin:0 0 14px;font-size:11px;line-height:1.65}
.g7-builder-shell .g7c-content-selected{max-height:325px;overflow:auto;scrollbar-width:thin}
.g7-builder-shell .g7c-content-selection-empty{padding:20px 8px;text-align:center;border:1px dashed #d4dfef;border-radius:10px;background:#fff;color:#72849b}
.g7-builder-shell .g7c-content-empty-icon{display:grid;place-items:center;width:34px;height:34px;margin:0 auto 10px;border-radius:10px;background:#eff4fc;color:#86a0c7;font:22px/1 system-ui}
.g7-builder-shell .g7c-content-selection-empty>strong{display:block;font:500 12px/1.5 system-ui;color:#405777}
.g7-builder-shell .g7c-content-selection-empty>p{margin:7px 0 0;font:11px/1.6 system-ui}
.g7-builder-shell .g7c-content-no-results{grid-column:1/-1;margin:0;padding:26px 18px;border:1px dashed #d4dfef;border-radius:10px;background:#f8faff;font:12px/1.7 system-ui;color:#60738f}
.g7-builder-shell .g7c-chosen-item{display:grid;grid-template-columns:20px minmax(0,1fr);gap:7px;padding:10px;margin:0 0 8px;border-color:#e1e7f1;background:#fff;border-radius:10px}
.g7-builder-shell .g7c-chosen-item>.g7c-chosen-position{flex:none;color:#8294ac;font:11px/1.5 system-ui}
.g7-builder-shell .g7c-chosen-item>.g7c-chosen-name{font:500 12px/1.5 system-ui;color:#344c6e;overflow-wrap:anywhere}
.g7-builder-shell .g7c-chosen-actions{grid-column:2;display:flex;gap:5px}
.g7-builder-shell .g7c-chosen-actions .g7c-button{min-width:28px;min-height:28px;padding:3px 6px;font-size:14px;border-color:#e1e7f1;color:#68809f;border-radius:6px}
.g7-builder-shell .g7c-content-footer{position:sticky;bottom:-26px;align-items:center;margin-top:22px;padding:16px 0 0;background:#fff;box-shadow:0 -8px 16px #ffffffed}
.g7-builder-shell .g7c-content-confirm{margin:0;font:12px/1.6 system-ui;color:#647994}
.g7-builder-shell .g7c-content-footer>button{min-height:42px;padding:10px 18px;border-radius:10px;font-weight:600;background:#386ada;border-color:#386ada}
.g7-builder-shell .g7c-content-footer>button:disabled{background:#e7edf6;border-color:#e7edf6;color:#8697af;opacity:1;cursor:default}
/* Filled actions keep their own palette over the neutral button hover rule. */
.g7-builder-shell .g7c-content-footer>button:is(:hover,:active,:focus-visible):not(:disabled){background:#2858c4;border-color:#2858c4;color:#fff}
.g7-builder-shell :is(.g7c-template-primary,.g7c-primary):is(:hover,:active,:focus-visible):not(:disabled){background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.g7-builder-shell .g7c-template-danger:is(:hover,:active,:focus-visible):not(:disabled){background:#912018;border-color:#912018;color:#fff}
.g7-builder-shell .g7c-save-section-form .g7c-primary:is(:hover,:active,:focus-visible):not(:disabled){background:#6542ae;border-color:#6542ae;color:#fff}
.g7-builder-shell .g7c-video-controls .g7c-player-video-choose:is(:hover,:active,:focus-visible):not(:disabled){background:#6341b9;border-color:#6341b9;color:#fff}
@media(max-width:800px){.g7-builder-shell .g7c-content-body{grid-template-columns:1fr}.g7-builder-shell .g7c-content-selected{max-height:180px}.g7-builder-shell .g7c-content-choice{padding:14px}.g7-builder-shell .g7c-content-picker{padding:18px}.g7-builder-shell .g7c-content-footer{bottom:-18px}}
@media(max-width:600px){.g7-builder-shell .g7c-content-results{max-height:250px}.g7-builder-shell .g7c-content-footer{gap:12px}.g7-builder-shell .g7c-content-footer>button{padding:10px 12px}}

.g7-builder-shell .g7c-cms-controls .g7c-field>label.g7-control-range-caption{display:flex;align-items:center;justify-content:space-between;gap:12px}

/* Keep sidebar visibility beside its pane, with the other tools scrolling separately. */
.g7-builder-shell .g7c-toolbar-actions{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.g7-builder-shell .g7c-toolbar-actions::-webkit-scrollbar{display:none}
.g7-builder-shell .g7c-toolbar-actions>*{flex-shrink:0}
.g7-builder-shell .g7c-tools>.g7c-sidebar-modes{margin-left:auto}

/* Consistent editor actions and compact, contextual navigation. */
.g7-builder-shell .g7-builder-top{gap:8px;padding:10px 16px;box-shadow:0 1px 8px #23395905}
.g7-builder-shell .g7-builder-top .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;margin:0;padding:9px 12px;border:1px solid #dce4f0;border-radius:9px;background:#fff;color:#425a7d;font:500 12px/1.4 system-ui;box-shadow:0 1px 2px #17243c05;cursor:pointer}
.g7-builder-shell .g7-builder-top .btn svg{width:16px;height:16px;flex:none}
.g7-builder-shell .g7-builder-top .btn:hover,.g7-builder-shell .g7-builder-top .btn[aria-expanded=true]{background:#eff5ff;border-color:#a9c2ed;color:#245dcc}
.g7-builder-shell .g7-builder-top .g7-builder-close{border-color:#2b62de;background:#2b62de;color:#fff;font-weight:600}
.g7-builder-shell .g7-builder-top .g7-builder-close:hover{background:#2254c7;border-color:#2254c7;color:#fff}
.g7-builder-shell .g7-builder-top .btn:focus-visible{outline:2px solid #3264d4;outline-offset:3px}
.g7-builder-settings-colours{margin-bottom:16px;padding:18px 20px;border:1px solid #e0e7f1;border-radius:13px;background:#fff}
.g7-builder-settings .g7-builder-colours-enable{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px}
.g7-builder-colours-enable input{accent-color:#3264d4}
.g7-builder-colour-groups{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.g7-builder-colour-groups fieldset{margin:0;padding:0;min-width:0;border:0}
.g7-builder-colour-groups legend{margin:0 0 7px;padding:0;float:none;width:auto;font:600 12px/1.4 system-ui;color:#344b6b}
.g7-builder-settings .g7-builder-colour-groups label{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:7px;margin:6px 0;font-size:11px;font-weight:500}
.g7-builder-settings .g7-builder-colour-groups input{width:34px;height:30px;padding:3px;border-radius:7px;cursor:pointer}
.g7-builder-colour-groups output{color:#7b8799;font:10px Consolas,monospace}
.g7-builder-colour-groups fieldset:disabled{opacity:.5}
.g7-builder-shell .g7c-tree-edit{flex:none;padding:5px 9px;border:1px solid #dce6f6;border-radius:6px;background:#f5f8ff;color:#4266a2;font:500 11px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-tree-edit:hover{background:#e9f1ff;color:#245dcc}
.g7c-section-naming{padding:12px 14px;border:1px solid #e1e8f3;border-radius:10px;background:#fff;margin:12px 0 18px}
.g7c-section-naming .g7c-field{margin:0!important}
.g7-builder-shell .g7c-device-responsive{width:auto;font-size:11px;padding:6px 8px}
.g7c-responsive-handle{position:absolute;z-index:15;width:14px;display:grid;place-items:center;cursor:ew-resize;touch-action:none;background:#edf3ff99;border-left:1px solid #b6ccf1;border-right:1px solid #b6ccf1}
.g7c-responsive-handle[hidden]{display:none!important}
.g7c-responsive-handle>span{width:4px;height:44px;border:1px solid #b1c7ed;border-radius:8px;background:#fff;box-shadow:0 1px 5px #23395918}
.g7c-responsive-handle:is(:hover,:focus-visible,.is-dragging){background:#dce9ff;outline:2px solid #4b7ad3;outline-offset:-2px}
.g7c-editor:has(.g7c-responsive-handle:not([hidden])) .gjs-frame-wrapper{transition:none!important}
.g7-builder-shell .g7c-template-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.g7-builder-shell .g7c-template-body .g7c-template-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:10px}
.g7-builder-shell .g7c-template-body .g7c-template-review{position:sticky;top:0;margin:0;padding:18px;border:1px solid #dce5f4;border-radius:13px;background:#f8faff}
.g7-builder-shell .g7c-template-body .g7c-template-preview{height:110px}
.g7-builder-shell .g7c-template-body .g7c-template-description{font-size:11px}
.g7-builder-shell .g7c-template-body .g7c-template-outline{display:none}
.g7c-template-preview-label{margin:16px 0 8px;font-size:12px;font-weight:600;color:#456080}
.g7c-template-live{height:min(48vh,480px);overflow:hidden;position:relative;border:1px solid #dce5f4;border-radius:8px;background:white}
.g7c-template-live iframe{display:block;position:absolute;left:0;top:0;width:1100px;max-width:none;border:0;transform-origin:0 0;background:white}
.g7st-upload-area{margin:12px 0;padding:12px;border:1px solid #dfd7f8;border-radius:10px;background:#f8f5ff}
.g7st-upload-area .g7st-upload{width:100%;border-color:#c9b9ed;color:#6c43ae;background:white;font-weight:600}
.g7st-upload-area p{margin:8px 0 0!important;font-size:11px}
@media(max-width:900px){.g7-builder-shell .g7c-template-body{grid-template-columns:1fr}.g7-builder-shell .g7c-template-body .g7c-template-review{position:static}.g7-builder-shell .g7c-template-body .g7c-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.g7c-template-live{height:360px}}
@media(max-width:500px){.g7-builder-colour-groups{grid-template-columns:1fr;gap:14px}.g7-builder-settings-colours{padding:15px}.g7-builder-shell .g7c-template-body .g7c-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g7-builder-shell .g7-builder-top{padding:8px;gap:6px}.g7-builder-shell .g7-builder-top .btn{gap:5px;font-size:11px;padding:8px}.g7-builder-shell .g7-builder-top .btn svg{width:14px;height:14px}}

/* Administrator setup help shares the editor modal treatment. */
.g7-builder-setup-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid #dce4f2;border-radius:18px;background:#fff;color:#173457;box-shadow:0 24px 70px #132c5540;overflow:auto;font-family:inherit;font-size:14px;line-height:1.6}.g7-builder-setup-dialog::backdrop{background:#10233b80;backdrop-filter:blur(3px)}.g7-builder-setup-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.g7-builder-setup-dialog h2{margin:0;font-size:21px;color:#10233b}.g7-builder-setup-dialog button{padding:8px 16px;border:1px solid #ccd8eb;border-radius:9px;background:#f7f9fd;color:#173457;cursor:pointer}.g7-builder-setup-dialog button:focus-visible{outline:3px solid #80aaff;outline-offset:3px}.g7-builder-setup-dialog ol{padding-left:24px}.g7-builder-setup-dialog li{margin:12px 0}.g7-builder-setup-dialog code{font-size:12px;overflow-wrap:anywhere;background:#f1f5fb;padding:2px 4px;border-radius:4px}

/* Full-width viewport toolbar: keep sidebar visibility at the page's right edge. */
.g7-builder-shell .g7c-layout .g7c-tools{grid-column:1/-1;padding-right:12px}
.g7-builder-shell .g7c-tools .g7c-device-responsive{width:auto;min-width:112px;gap:6px;padding:5px 9px;font-size:12px;white-space:nowrap;flex:none}
.g7-builder-shell .g7c-device-responsive svg{width:18px;height:18px;flex:none}
.g7-builder-shell .g7c-toolbar-actions :is(.g7c-toolbar-label,.g7c-preview-caption){display:none}
.g7-builder-shell[data-mode-header=labels] .g7c-toolbar-actions :is(.g7c-toolbar-label,.g7c-preview-caption){display:inline}
.g7-builder-shell[data-mode-header=labels] .g7c-tools :is(.g7c-device-button,.g7c-tool-icon){width:auto;gap:6px;white-space:nowrap;padding:5px 8px}
.g7-builder-shell .g7c-preview-caption{padding:0 6px;font-size:12px;font-weight:600}
.g7-builder-shell[data-mode-history-labels=labels] .g7c-toolbar-actions .g7c-history-button .g7c-toolbar-label{display:inline}
.g7-builder-shell[data-mode-history-labels=labels] .g7c-tools .g7c-history-button{width:auto;gap:6px;white-space:nowrap;padding:5px 8px}
@media(max-width:760px){
 .g7-builder-shell[data-mode-header=labels] .g7c-toolbar-actions{gap:4px}
 .g7-builder-shell[data-mode-header=labels] .g7c-toolbar-actions .g7c-preview-caption,.g7-builder-shell[data-mode-header=labels] .g7c-toolbar-actions :is(.g7c-device-button,.g7c-tool-icon)>svg{display:none}
 .g7-builder-shell[data-mode-header=labels] .g7c-tools :is(.g7c-device-button,.g7c-tool-icon){padding:5px 7px}
}
.g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-sidebar-rail{grid-row:2}
@media(min-width:761px){.g7-builder-shell .g7c-layout[data-sidebar-mode=show] .g7c-side{grid-row:2}}

@media(max-width:600px){
 .g7-builder-shell .g7c-layout[data-sidebar-mode]{grid-template-rows:82px minmax(0,1fr) minmax(200px,42%)}
 .g7-builder-shell .g7c-layout[data-sidebar-mode=show].g7ai-chat-layout{grid-template-rows:82px minmax(64px,12%) minmax(0,1fr)}
 .g7-builder-shell .g7c-layout[data-sidebar-mode=hide],.g7-builder-shell .g7c-layout[data-sidebar-mode=hover]{grid-template-rows:82px minmax(0,1fr)}
 .g7-builder-shell .g7c-layout .g7c-tools{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:32px 32px;gap:6px;padding:6px 12px}
 .g7-builder-shell .g7c-tools>.g7c-sidebar-modes{grid-row:1;justify-self:end;margin:0}
 .g7-builder-shell .g7c-tools>.g7c-toolbar-actions{grid-row:2;width:100%;height:32px}
 .g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-side{top:82px}
}
/* Two-level page template catalogue: photographic categories, then styled examples. */
.g7-builder-shell .g7c-template-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:8px 0 20px;padding:12px 0;border-bottom:1px solid #e2e8f2}
.g7-builder-shell .g7c-template-navigation h3,.g7-builder-shell .g7c-template-navigation p{margin:0}
.g7-builder-shell .g7c-template-navigation h3{font-size:19px}
.g7-builder-shell .g7c-template-back{border:1px solid #d7deeb;background:#fff;border-radius:9px;padding:9px 13px;color:#28466b}
.g7-builder-shell .g7c-template-body.g7c-template-categories{grid-template-columns:minmax(0,1fr)}
.g7-builder-shell .g7c-template-categories .g7c-template-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.g7-builder-shell .g7c-template-review[hidden]{display:none}
.g7-builder-shell .g7c-template-body .g7c-template-photo{height:180px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:hidden;background:var(--g7t-card-soft);position:relative;padding:0}
.g7-builder-shell .g7c-template-photo img{display:block;width:100%;height:96px;object-fit:cover;margin:0;flex:0 0 96px}
.g7-builder-shell .g7c-template-photo-title{display:block;font-size:14px;line-height:1.15;font-weight:700;color:var(--g7t-card-ink);padding:12px 14px;letter-spacing:-.02em;border-top:3px solid var(--g7t-card-accent)}
.g7-builder-shell .g7c-template-card{border-radius:12px;overflow:hidden;text-align:left;transition:box-shadow .15s,border-color .15s;display:flex;flex-direction:column}
.g7-builder-shell .g7c-template-card:hover{border-color:#93acf0;box-shadow:0 6px 20px rgba(25,51,95,.08)}
.g7-builder-shell .g7c-template-card:focus-visible{outline:3px solid #285eff;outline-offset:3px}
.g7-builder-shell .g7c-template-style{display:block;margin:12px 14px 0;font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:600;color:#5e598a}
.g7-builder-shell .g7c-template-card .g7c-template-name{padding:5px 14px 0}
.g7-builder-shell .g7c-template-card .g7c-template-description{padding:6px 14px 16px;line-height:1.45}
.g7-builder-shell .g7c-template-review>.g7c-template-style{margin:0 0 10px}
@media(max-width:1100px){.g7-builder-shell .g7c-template-categories .g7c-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.g7-builder-shell .g7c-template-categories .g7c-template-grid,.g7-builder-shell .g7c-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g7-builder-shell .g7c-template-navigation h3{flex:1}.g7-builder-shell .g7c-template-photo-title{font-size:12px;padding:10px}.g7-builder-shell .g7c-template-body .g7c-template-photo{height:156px}.g7-builder-shell .g7c-template-photo img{height:84px;flex-basis:84px}}

.g7-builder-shell .g7c-template-chrome{position:sticky;top:-24px;z-index:4;background:#fff;margin:-24px -24px 0;padding:24px 24px 0;border-radius:14px 14px 0 0}
.g7-builder-shell .g7c-template-body:not(.g7c-template-categories) .g7c-template-review{top:170px;scroll-margin-top:210px}
@media(max-width:600px){.g7-builder-shell .g7c-template-chrome{top:-16px;margin:-16px -16px 0;padding:16px 16px 0}.g7-builder-shell .g7c-template-body:not(.g7c-template-categories) .g7c-template-review{scroll-margin-top:220px}}

@media(max-width:600px){.g7-builder-shell .g7c-template-body:not(.g7c-template-categories) .g7c-template-description{display:block}}

/* Page types retain their original schematic cards; versions show real layouts. */
.g7-builder-shell .g7c-template-categories .g7c-template-preview{height:145px;padding:10px;background:#f1f5f9}
.g7-builder-shell .g7c-template-categories .g7c-template-name{padding:12px 12px 4px}
.g7-builder-shell .g7c-template-categories .g7c-template-description{padding:0 12px 14px}
/* Page-type overview: a compact introduction and distinct, readable category cards. */
.g7-builder-shell .g7c-template-picker[open][data-template-view=categories]{height:fit-content;max-height:94dvh}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-chrome{padding-bottom:8px}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-navigation{justify-content:space-between;flex-wrap:nowrap;gap:20px;margin:20px 0 8px;padding:20px 22px;border:1px solid #e4e7f2;border-radius:14px;background:linear-gradient(115deg,#f6f4ff,#f6faff)}
.g7-builder-shell .g7c-template-category-intro{min-width:0}
.g7-builder-shell .g7c-template-category-total{display:block;margin-bottom:5px;color:#7560a5;font-size:11px;font-weight:600;letter-spacing:.3px}
.g7-builder-shell .g7c-template-category-intro h3{font-size:19px;font-weight:600;color:#233752;line-height:1.4;margin:0 0 4px}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] [data-template-browse-all]{flex:none;border-color:#d0c5eb;background:#fff;color:#6348a1;border-radius:9px;padding:10px 14px;font:600 12px/1.5 system-ui}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] [data-template-browse-all]:hover{background:#eee9fa;border-color:#a995d1;color:#503488}
.g7-builder-shell .g7c-template-body.g7c-template-categories{flex:0 1 auto;padding:3px}
.g7-builder-shell .g7c-template-categories .g7c-template-grid{gap:14px;padding:0;margin:0}
.g7-builder-shell .g7c-template-categories .g7c-template-card{--g7-category-accent:#4357a3;--g7-category-tint:#eef1fc;border-color:#e0e5ee;border-radius:13px;transition:border-color .15s,box-shadow .15s;background:#fff}
.g7-builder-shell .g7c-template-categories .g7c-template-card:nth-child(5n+2){--g7-category-accent:#745092;--g7-category-tint:#f4eefa}
.g7-builder-shell .g7c-template-categories .g7c-template-card:nth-child(5n+3){--g7-category-accent:#28686a;--g7-category-tint:#eaf5f3}
.g7-builder-shell .g7c-template-categories .g7c-template-card:nth-child(5n+4){--g7-category-accent:#8a572f;--g7-category-tint:#faf2e8}
.g7-builder-shell .g7c-template-categories .g7c-template-card:nth-child(5n+5){--g7-category-accent:#8d4764;--g7-category-tint:#f9edf3}
.g7-builder-shell .g7c-template-categories .g7c-template-card:hover{border-color:var(--g7-category-accent);box-shadow:0 5px 18px #20395912;background:#fff}
.g7-builder-shell .g7c-template-categories .g7c-template-card:focus-visible{outline:3px solid #b9a6e3;outline-offset:2px}
.g7-builder-shell .g7c-template-categories .g7c-template-preview{position:relative;isolation:isolate;align-items:center;height:124px;padding:12px;border-bottom:1px solid #e8ecf3;background:var(--g7-category-tint);overflow:hidden}
.g7-builder-shell .g7c-template-categories .g7c-template-preview:before{content:'';position:absolute;z-index:-1;right:-12px;top:-48px;width:150px;height:150px;border:22px solid #ffffff75;border-radius:50%}
.g7-builder-shell .g7c-template-categories .g7c-template-preview>svg{height:100%;border-radius:3px;box-shadow:0 5px 12px #20395918;transform:rotate(-3deg);transition:transform .15s}
.g7-builder-shell .g7c-template-categories .g7c-template-card:nth-child(even) .g7c-template-preview>svg{transform:rotate(3deg)}
.g7-builder-shell .g7c-template-categories .g7c-template-card:hover .g7c-template-preview>svg{transform:rotate(0)}
.g7-builder-shell .g7c-template-categories .g7c-template-industry-preview{padding:0;height:148px;background:#eef2f7}
.g7-builder-shell .g7c-template-industry-preview>img{display:block;width:100%;height:100%;object-fit:cover}
.g7-builder-shell .g7c-template-industry-preview.g7c-preview-loading>img{opacity:0}
.g7-builder-shell .g7c-template-category-copy{flex:1;padding:14px 15px 12px}
.g7-builder-shell .g7c-template-categories .g7c-template-name{display:block;padding:0;color:#263c59;font-size:14px;font-weight:600}
.g7-builder-shell .g7c-template-categories .g7c-template-description{display:block;padding:6px 0 0;color:#6b7890;font-size:11px;line-height:1.6}
.g7-builder-shell .g7c-template-category-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 15px 14px;font-size:11px}
.g7-builder-shell .g7c-template-category-count{padding:4px 8px;border-radius:6px;background:var(--g7-category-tint);color:var(--g7-category-accent);font-weight:600;white-space:nowrap}
.g7-builder-shell .g7c-template-category-arrow{color:#64748b;white-space:nowrap}
.g7c-template-entry-tabs{display:inline-flex;gap:4px;margin-top:14px;padding:4px;border:1px solid #e1def0;border-radius:12px;background:#ffffffb8}
.g7-builder-shell .g7c-template-entry-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:1px solid transparent;border-radius:8px;background:transparent;color:#66728c;font:600 12px/1.5 system-ui}
.g7c-template-entry-tabs svg{width:18px;height:18px;flex:none}
.g7-builder-shell .g7c-template-entry-tabs button[aria-selected=true]{background:#fff;border-color:#d6cdf1;color:#684bb0;box-shadow:0 2px 7px #59409412}
.g7-builder-shell .g7c-template-entry-tabs button:hover{background:#f0eafb;color:#594098}
.g7-builder-shell .g7c-template-entry-tabs button:focus-visible{outline:3px solid #b9a6e3;outline-offset:2px}
.g7-builder-shell .g7c-template-categories .g7c-template-style-card .g7c-template-preview{background:linear-gradient(135deg,#eef1f8,#f7f5fc)}
.g7c-style-window{display:block;width:100%;max-width:240px;height:102px;overflow:hidden;border:1px solid #d3d9e8;border-radius:7px;background:var(--g7-style-background);color:var(--g7-style-ink);box-shadow:0 5px 12px #20395914;transform:rotate(-2deg);transition:transform .15s}
.g7c-template-style-card:nth-child(even) .g7c-style-window{transform:rotate(2deg)}
.g7c-template-style-card:hover .g7c-style-window{transform:none}
.g7c-style-window-bar{display:flex;align-items:center;gap:3px;height:13px;padding:0 6px;border-bottom:1px solid #aab4c333;background:#ffffff30}
.g7c-style-window-bar i{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.35}
.g7c-style-window-body{display:flex;align-items:center;gap:10px;height:88px;padding:8px 12px;box-sizing:border-box}
.g7c-style-words{display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:1;min-width:0}
.g7c-style-kicker{font:700 5px/1.2 system-ui;letter-spacing:.8px;color:var(--g7-style-ink);opacity:.7;white-space:nowrap}
.g7c-style-headline{font:700 20px/.97 var(--g7-style-font);text-align:left;letter-spacing:-.6px}
.g7c-style-line{width:65%;height:2px;background:currentColor;opacity:.3}
.g7c-style-button{width:30px;height:8px;border-radius:3px;background:var(--g7-style-accent)}
.g7c-style-art{position:relative;flex:0 0 35%;height:67px;overflow:hidden;border-radius:28px 7px 7px;background:linear-gradient(145deg,var(--g7-style-accent),var(--g7-style-background))}
.g7c-style-art>span{position:absolute;width:50px;height:50px;border:10px solid #ffffff5c;border-radius:50%;right:-15px;bottom:-16px}
.g7c-template-style-card[data-template-style=art-deco] .g7c-style-art{border:3px double var(--g7-style-accent);border-radius:40px 40px 0 0}
.g7c-template-style-card:is([data-template-style=swiss],[data-template-style=industrial],[data-template-style=bold]) .g7c-style-art{border-radius:0}
.g7c-template-style-card:is([data-template-style=playful],[data-template-style=quirky]) .g7c-style-art{border-radius:50% 50% 8px 50%;transform:rotate(-8deg)}
.g7c-template-style-card[data-template-style=minimal] .g7c-style-art{opacity:.45;border-radius:4px}
@media(max-width:600px){.g7c-template-entry-tabs{display:flex}.g7-builder-shell .g7c-template-entry-tabs button{flex:1;padding:8px 9px;gap:5px}.g7c-style-window-body{padding:8px;gap:5px}.g7c-style-headline{font-size:15px}.g7c-style-kicker{font-size:4px;letter-spacing:.3px}.g7c-style-art{height:62px;flex-basis:31%}}
@media(prefers-reduced-motion:reduce){.g7c-style-window{transition:none}}
@media(max-width:600px){.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-navigation{flex-direction:column;align-items:stretch;gap:12px;padding:15px;margin-top:14px}.g7-builder-shell .g7c-template-category-intro h3{font-size:17px}.g7-builder-shell .g7c-template-category-copy{padding:12px}.g7-builder-shell .g7c-template-category-footer{padding:0 12px 12px}.g7-builder-shell .g7c-template-category-arrow{display:none}}
.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:minmax(260px,340px) minmax(0,1fr)}
.g7-builder-shell .g7c-template-variants .g7c-template-grid{grid-template-columns:1fr;max-height:min(66dvh,720px);overflow:auto;padding:3px;scrollbar-gutter:stable;overscroll-behavior:contain}
.g7-builder-shell .g7c-template-variants .g7c-template-row{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:150px;align-items:stretch;flex-direction:initial}
.g7-builder-shell .g7c-template-body .g7c-template-snapshot{position:relative;display:block;width:112px;height:150px;padding:0;overflow:hidden;pointer-events:none;background:#f1f5f9;border-bottom:0;border-right:1px solid #e4e7ec}
.g7-builder-shell .g7c-template-snapshot iframe{display:block;position:absolute;left:0;top:0;width:1100px;max-width:none;border:0;transform-origin:0 0;background:#fff;pointer-events:none}
.g7-builder-shell .g7c-template-categories .g7c-template-style-card .g7c-template-snapshot{width:100%;height:148px;padding:0;border-right:0;border-bottom:1px solid #e8ecf3;background:#f1f5f9}
@media(max-width:600px){.g7-builder-shell .g7c-template-categories .g7c-template-style-card .g7c-template-snapshot{height:100px}}
.g7-builder-shell .g7c-template-row-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:14px;min-width:0}
.g7-builder-shell .g7c-template-card .g7c-template-row-copy .g7c-template-name{padding:0;font-size:14px;line-height:1.4}
.g7-builder-shell .g7c-template-card .g7c-template-row-copy .g7c-template-description{display:block;padding:6px 0 0;font-size:12px}
.g7-builder-shell .g7c-template-row-action{display:block;margin-top:14px;font-size:11px;color:#4566aa}
.g7-builder-shell .g7c-template-list{min-width:0}
.g7-builder-shell .g7c-template-variants .g7c-template-list{display:flex;flex-direction:column;max-height:min(74dvh,820px)}
.g7-builder-shell .g7c-template-variants .g7c-template-grid{min-height:180px;flex:1;max-height:none}
.g7-builder-shell .g7c-template-filters{flex:none;margin-bottom:12px;padding:14px;background:#f7f9fd;border:1px solid #e1e7f1;border-radius:12px}
.g7-builder-shell .g7c-template-filters[hidden]{display:none}
.g7-builder-shell .g7c-template-filters .g7c-template-search,.g7-builder-shell .g7c-section-filters .g7c-template-search{width:100%;height:38px;box-sizing:border-box;border:1px solid #ccd7e7;border-radius:8px;padding:8px 11px;background:#fff;color:#243a5a;font-size:13px}
.g7-builder-shell .g7c-section-filters{margin:0 0 22px;padding:14px;border:1px solid #e1e7f1;border-radius:12px;background:#f7f9fd}
.g7-builder-shell .g7c-section-filters .g7c-template-tags{margin-top:12px}
.g7-builder-shell .g7c-section-filters>.g7c-help{font-size:11px;margin:10px 0 0}
.g7-builder-shell .g7c-section-search{margin:16px 0;padding:16px 18px;border:1px solid #dde5f4;border-radius:14px;background:linear-gradient(120deg,#f5f7ff,#f8fafc)}
.g7-builder-shell .g7c-section-search>label{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:#243a5a}
.g7-builder-shell .g7c-section-search-field{display:flex;gap:10px;align-items:center}
.g7-builder-shell .g7c-section-search input{flex:1;min-width:0;width:100%;height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid #cbd7ed;border-radius:9px;background:#fff;color:#243a5a;font:14px/1.4 system-ui}
.g7-builder-shell .g7c-section-search input:focus{outline:2px solid #3268ef;outline-offset:2px;border-color:#3268ef}
.g7-builder-shell .g7c-section-search>.g7c-help{margin:9px 0 0;font-size:12px}
.g7-builder-shell .g7c-section-result-category{display:block;padding:0 12px 10px;color:#636e89;font-size:11px;font-weight:500;text-align:left}
.g7-builder-shell .g7c-section-search-more{display:block;margin:18px auto 0}
.g7-builder-shell .g7c-section-search[hidden],.g7-builder-shell .g7c-section-search-field>[hidden],.g7-builder-shell .g7c-section-search-more[hidden]{display:none!important}
.g7-builder-shell .g7c-section-search-empty{padding:28px 20px;text-align:center;border:1px dashed #cbd7ed;border-radius:14px;background:#f8faff}
@media(max-width:600px){.g7-builder-shell .g7c-section-search{padding:12px}.g7-builder-shell .g7c-section-search-field{flex-wrap:wrap}.g7-builder-shell .g7c-section-search-field>.g7c-button{padding:8px 10px}}
.g7-builder-shell .g7c-template-filters>.g7c-help{font-size:11px;margin:6px 0 12px}
.g7-builder-shell .g7c-template-filter-group+.g7c-template-filter-group{margin-top:12px}
.g7-builder-shell .g7c-template-filter-label{display:block;margin-bottom:6px;font-size:11px;font-weight:650;color:#53627b}
.g7-builder-shell .g7c-template-tags{display:flex;flex-wrap:wrap;gap:5px;padding:2px}
.g7-builder-shell .g7c-template-tags[aria-label="Page type"]{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px}
.g7-builder-shell .g7c-template-tag{flex:none;border:1px solid #d7dfed;border-radius:20px;padding:5px 9px;background:#fff;color:#425775;font-size:11px;line-height:1.3;white-space:nowrap;cursor:pointer}
.g7-builder-shell .g7c-template-tag:hover:not(:disabled){border-color:#879fea;background:#eef3ff}
.g7-builder-shell .g7c-template-tag[aria-pressed="true"]{background:#e8eeff;border-color:#4669db;color:#2348b1;box-shadow:inset 0 0 0 1px #4669db;font-weight:600}
.g7-builder-shell .g7c-template-tag:disabled{opacity:.4;cursor:default}
.g7-builder-shell .g7c-template-tag:focus-visible,.g7-builder-shell .g7c-template-search:focus-visible{outline:2px solid #285eff;outline-offset:2px}
.g7-builder-shell .g7c-template-results{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #e1e7f1;font-size:11px;color:#65728b}
.g7-builder-shell .g7c-template-results button{border:0;padding:4px 0;background:none;color:#3156b8;font-size:11px;cursor:pointer}
.g7-builder-shell .g7c-template-results button:disabled{color:#94a0b3;cursor:default}
.g7-builder-shell .g7c-template-empty{margin:0;padding:22px 16px;border:1px dashed #cbd6e8;border-radius:10px;background:#fafbfe;font-size:13px;line-height:1.6;color:#63728b}
@media(max-width:760px){.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:1fr}.g7-builder-shell .g7c-template-variants .g7c-template-grid{max-height:340px}.g7-builder-shell .g7c-template-variants .g7c-template-review{position:static}}
@media(max-width:760px){.g7-builder-shell .g7c-template-variants .g7c-template-list{max-height:none}.g7-builder-shell .g7c-template-tags{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px}.g7-builder-shell .g7c-template-filters{padding:12px}.g7-builder-shell .g7c-template-filter-group+.g7c-template-filter-group{margin-top:8px}}
@media(max-width:600px){.g7-builder-shell .g7c-template-categories .g7c-template-preview{height:110px}.g7-builder-shell .g7c-template-categories .g7c-template-description{display:block}}

/* Keep video setup together, ahead of general section styling. */
/* Template browsing keeps filters compact and the layout list visible. */
.g7-builder-shell .g7c-template-picker[open]{display:flex;flex-direction:column;width:calc(100vw - 24px);max-width:none;height:min(94dvh,1100px);max-height:94dvh;box-sizing:border-box;overflow:hidden}
.g7-builder-shell .g7c-template-picker .g7c-template-chrome{flex:none;position:relative;top:auto;margin:0;padding:0 0 16px;border-radius:0;z-index:5}
.g7-builder-shell .g7c-template-chrome>.g7c-help{margin:4px 0 0}
.g7-builder-shell .g7c-template-navigation{margin:8px 0 12px;padding:10px 0;gap:10px 16px}
.g7-builder-shell .g7c-template-body{flex:1;min-height:0;overflow:auto}
.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:minmax(360px,.46fr) minmax(0,.54fr);gap:22px;overflow:hidden}
.g7-builder-shell .g7c-template-variants .g7c-template-list{min-height:0;max-height:none;height:100%}
.g7-builder-shell .g7c-template-variants .g7c-template-grid{min-height:0;height:100%;max-height:none;margin:0;padding:3px 8px 3px 3px;align-content:start;gap:10px}
.g7-builder-shell .g7c-template-variants .g7c-template-row{grid-template-columns:156px minmax(0,1fr);min-height:140px;position:relative}
.g7-builder-shell .g7c-template-variants .g7c-template-snapshot{width:156px;height:140px}
.g7-builder-shell .g7c-template-variants .g7c-template-row-copy{padding:12px 16px}
.g7-builder-shell .g7c-template-card .g7c-template-row-copy .g7c-template-name{font-size:16px}
.g7-builder-shell .g7c-template-row-meta{font-size:11px;color:#64748b;margin-top:8px;line-height:1.5}
.g7-builder-shell .g7c-template-row-action{margin-top:10px;font-size:12px;font-weight:600}
.g7-builder-shell .g7c-template-row[aria-pressed=true]{border-color:#3968eb;background:#f3f6ff;box-shadow:inset 0 0 0 1px #3968eb}
.g7-builder-shell .g7c-template-body.g7c-template-variants .g7c-template-review{position:relative;top:auto;min-height:0;height:100%;box-sizing:border-box;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.g7-builder-shell .g7c-template-review .g7c-template-live{height:clamp(360px,54dvh,680px)}
.g7-builder-shell .g7c-template-return{display:none}
.g7-builder-shell .g7c-template-filters{margin:0;padding:0;border:0;border-radius:0;background:#fff}
.g7-builder-shell .g7c-template-filter-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.g7-builder-shell .g7c-template-filters .g7c-template-search{flex:1;width:auto;min-width:180px;height:42px;padding:10px 13px;background:#f8fafc}
.g7-builder-shell .g7c-template-filter-groups{display:flex;gap:8px;align-items:center}
.g7-builder-shell .g7c-template-filters .g7c-template-filter-group{position:relative;margin:0}
.g7-builder-shell .g7c-template-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;border:1px solid #d5deeb;border-radius:8px;background:#fff;color:#324b6c;padding:9px 12px;font-size:12px;white-space:nowrap;cursor:pointer}
.g7-builder-shell .g7c-template-filter-toggle:hover,.g7-builder-shell .g7c-template-filter-toggle[aria-expanded=true]{background:#f1f5ff;border-color:#85a0ed}
.g7-builder-shell .g7c-template-filter-name::after{content:':'}
.g7-builder-shell .g7c-template-filter-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g7-builder-shell .g7c-template-filter-selected{background:#edf2ff;border-color:#9fb5f2;color:#2449aa}
.g7-builder-shell .g7c-template-filter-toggle:focus-visible,.g7-builder-shell .g7c-template-return:focus-visible{outline:2px solid #285eff;outline-offset:3px}
.g7-builder-shell .g7c-template-filter-options{position:absolute;top:calc(100% + 8px);right:0;width:320px;max-width:calc(100vw - 64px);max-height:min(42dvh,340px);overflow:auto;box-sizing:border-box;border:1px solid #dce4f0;border-radius:12px;background:#fff;padding:16px;box-shadow:0 12px 36px #14274624;z-index:8}
.g7-builder-shell .g7c-template-filter-options[hidden],.g7-builder-shell .g7c-template-results[hidden]{display:none}
.g7-builder-shell .g7c-template-filter-options .g7c-template-tags{flex-wrap:wrap;overflow:visible;gap:7px;padding:0}
.g7-builder-shell .g7c-template-filter-options .g7c-template-tag{font-size:12px;padding:7px 11px}
.g7-builder-shell .g7c-template-filter-options .g7c-template-filter-label{margin-bottom:12px}
.g7-builder-shell .g7c-template-result-count{font-size:12px;color:#64748b;white-space:nowrap}
.g7-builder-shell .g7c-template-sort-label{display:flex;align-items:center;gap:8px;margin:0;color:#66728c;font-size:11px;white-space:nowrap}
.g7-builder-shell .g7c-template-sort{height:42px;max-width:170px;border:1px solid #d5deeb;border-radius:8px;padding:7px 10px;background:#fff;color:#324b6c;font:500 12px system-ui;cursor:pointer}
.g7-builder-shell .g7c-template-sort:focus-visible{outline:2px solid #285eff;outline-offset:3px}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filters{padding:14px 16px;border:1px solid #e1e7f1;border-radius:12px;background:#f8fafc;margin-bottom:14px}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-search{grid-column:1/-1;width:100%;min-width:0;background:#fff}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-groups{min-width:0;flex-wrap:wrap}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-options{left:0;right:auto}
@media(max-width:600px){.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-chrome>.g7c-help,.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-category-total{display:none}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-entry-tabs{margin-top:10px}}
.g7-builder-shell .g7c-template-discovery-empty{grid-column:1/-1;padding:35px 20px;border:1px dashed #cfd7e8;border-radius:12px;text-align:center;background:#f8fafc}
@media(max-width:900px){.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-toolbar{grid-template-columns:minmax(0,1fr) auto}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-groups{grid-column:1/-1}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-result-count{white-space:normal;text-align:right}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-options{max-width:calc(100vw - 80px)}}
@media(max-width:600px){.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filters{padding:12px}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-toggle{max-width:none;min-height:42px}.g7-builder-shell .g7c-template-sort-label{gap:5px}.g7-builder-shell .g7c-template-sort{max-width:142px}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-navigation{padding:12px;margin-top:12px;gap:8px}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-category-intro>.g7c-help{display:none}}
.g7-builder-shell .g7c-template-results{margin:10px 0 0;padding:0;border:0;font-size:12px}
.g7-builder-shell .g7c-template-active-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g7-builder-shell .g7c-template-results button{flex:none;font-size:12px}
@media(max-width:1100px){.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:minmax(320px,.45fr) minmax(0,.55fr);gap:16px}.g7-builder-shell .g7c-template-variants .g7c-template-row{grid-template-columns:128px minmax(0,1fr)}.g7-builder-shell .g7c-template-variants .g7c-template-snapshot{width:128px}.g7-builder-shell .g7c-template-row-copy{padding:12px}}
@media(max-width:900px){.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:1fr}.g7-builder-shell .g7c-template-picker[data-template-view=browse] .g7c-template-variants .g7c-template-review,.g7-builder-shell .g7c-template-picker[data-template-view=preview] .g7c-template-variants .g7c-template-list{display:none}.g7-builder-shell .g7c-template-return{display:inline-flex;border:1px solid #d7deeb;border-radius:8px;padding:8px 12px;background:#fff;color:#28466b;margin:0 0 16px;cursor:pointer}.g7-builder-shell .g7c-template-picker[data-template-view=preview] .g7c-template-filters{display:none}.g7-builder-shell .g7c-template-variants .g7c-template-row{grid-template-columns:156px minmax(0,1fr)}.g7-builder-shell .g7c-template-variants .g7c-template-snapshot{width:156px}.g7-builder-shell .g7c-template-filter-toolbar{gap:8px}.g7-builder-shell .g7c-template-filter-groups{position:relative;flex:1}.g7-builder-shell .g7c-template-filters .g7c-template-filter-group{position:static}.g7-builder-shell .g7c-template-filter-options{left:0;right:auto;width:min(440px,calc(100vw - 64px))}}
@media(max-width:600px){.g7-builder-shell .g7c-template-picker[open]{width:calc(100vw - 16px);height:96dvh;max-height:96dvh;padding:16px}.g7-builder-shell .g7c-template-navigation>.g7c-help{display:none}.g7-builder-shell .g7c-template-navigation h3{font-size:16px}.g7-builder-shell .g7c-template-navigation{gap:8px;margin-bottom:10px}.g7-builder-shell .g7c-template-picker h2{font-size:22px}.g7-builder-shell .g7c-template-filters .g7c-template-search{flex-basis:100%;min-width:0}.g7-builder-shell .g7c-template-filter-groups{flex-basis:100%;gap:6px}.g7-builder-shell .g7c-template-filter-toggle{font-size:11px;gap:6px;padding:8px;min-height:38px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.g7-builder-shell .g7c-template-result-count{font-size:11px}.g7-builder-shell .g7c-template-chrome{padding-bottom:12px}.g7-builder-shell .g7c-template-variants .g7c-template-row{grid-template-columns:120px minmax(0,1fr);min-height:132px}.g7-builder-shell .g7c-template-variants .g7c-template-snapshot{width:120px;height:132px}.g7-builder-shell .g7c-template-variants .g7c-template-row-copy{padding:10px 12px}.g7-builder-shell .g7c-template-card .g7c-template-row-copy .g7c-template-name{font-size:14px}.g7-builder-shell .g7c-template-body.g7c-template-variants .g7c-template-review{padding:14px}.g7-builder-shell .g7c-template-active-summary{white-space:normal;line-height:1.5}.g7-builder-shell .g7c-template-review .g7c-template-live{height:420px}}
@font-face{font-family:G7FAFree;font-weight:900;font-style:normal;font-display:block;src:url('vendor/fontawesome/webfonts/fa-solid-900.woff2') format('woff2')}
/* Template details stay left; preview actions remain below the full-height canvas. */
.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:minmax(340px,.36fr) minmax(0,.64fr);gap:20px}
.g7-builder-shell .g7c-template-variants .g7c-template-list{display:flex;flex-direction:column;gap:14px;overflow:auto;overscroll-behavior:contain;padding-right:4px;box-sizing:border-box}
.g7-builder-shell .g7c-template-list>.g7c-template-navigation{flex:none;margin:0;padding:0 0 10px;gap:8px 12px}
.g7-builder-shell .g7c-template-list>.g7c-template-navigation>.g7c-help{display:none}
.g7-builder-shell .g7c-template-list>.g7c-template-filters,.g7-builder-shell .g7c-template-list>.g7c-template-recommendation{flex:none}
.g7-builder-shell .g7c-template-list .g7c-template-filter-toolbar{gap:9px}
.g7-builder-shell .g7c-template-list .g7c-template-search{flex-basis:100%;min-width:0;width:100%}
.g7-builder-shell .g7c-template-list .g7c-template-filter-groups{position:relative;flex-wrap:wrap;gap:6px;flex:1}
.g7-builder-shell .g7c-template-list .g7c-template-filter-group{position:static}
.g7-builder-shell .g7c-template-list .g7c-template-filter-toggle{padding:8px 10px;min-height:38px;gap:8px;font-size:11px}
.g7-builder-shell .g7c-template-list .g7c-template-filter-options{left:0;right:auto;width:100%;max-width:100%}
.g7-builder-shell .g7c-template-list .g7c-template-result-count{font-size:11px}
.g7-builder-shell .g7c-template-details{flex:none;padding:14px;border:1px solid #e1e7f2;border-radius:12px;background:#f8faff}
.g7-builder-shell .g7c-template-details[hidden]{display:none}
.g7-builder-shell .g7c-template-details .g7c-template-style{margin:0 0 6px;font-size:10px;letter-spacing:.05em;color:#5363a5}
.g7-builder-shell .g7c-template-details h3{margin:0 0 7px;color:#203653;font:650 17px/1.35 system-ui}
.g7-builder-shell .g7c-template-details>.g7c-help{margin:0;font-size:12px;line-height:1.5}
.g7-builder-shell .g7c-template-details .g7c-template-features{margin:9px 0;color:#596984;font-size:11px;line-height:1.5}
.g7-builder-shell .g7c-template-instructions{font-size:11px;color:#536882}
.g7-builder-shell .g7c-template-instructions summary{cursor:pointer;font-weight:600;padding:3px 0}
.g7-builder-shell .g7c-template-instructions .g7c-template-outline{display:block;margin:10px 0 0;padding-left:18px;line-height:1.7}
.g7-builder-shell .g7c-template-variants .g7c-template-grid{flex:1;min-height:170px;height:auto;overflow:auto}
.g7-builder-shell .g7c-template-variants .g7c-template-row{grid-template-columns:124px minmax(0,1fr);min-height:128px}
.g7-builder-shell .g7c-template-variants .g7c-template-snapshot{width:124px;height:128px}
.g7-builder-shell .g7c-template-card .g7c-template-row-copy .g7c-template-name{font-size:14px}
.g7-builder-shell .g7c-template-body.g7c-template-variants .g7c-template-review{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;scrollbar-gutter:auto;background:#f1f4f9;box-shadow:0 6px 22px #182c4c08}
.g7-builder-shell .g7c-template-body.g7c-template-variants .g7c-template-review[hidden]{display:none}
.g7-builder-shell .g7c-template-review .g7c-template-live{flex:1;min-height:0;width:100%;height:auto;border:0;border-radius:0}
.g7-builder-shell .g7c-template-preview-footer{flex:none;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 16px;border-top:1px solid #dce4f1;background:#fff}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-actions{display:flex;flex:1;gap:9px;margin:0}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-playback{display:flex;align-items:center;gap:7px}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-footer-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 12px;border:1px solid #d4ddee;border-radius:10px;background:#f8faff;color:#2e476b;font:600 12px/1.35 system-ui;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-footer-action:hover{background:#edf3ff;border-color:#98b2e9;color:#234784}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-primary{background:#285cf0;border-color:#285cf0;color:#fff;box-shadow:0 4px 10px #285cf026}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-primary:hover{background:#1e4bd2;border-color:#1e4bd2;color:#fff}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-danger{background:#b42318;border-color:#b42318;color:#fff}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-danger:hover{background:#912018;border-color:#912018;color:#fff}
.g7-builder-shell .g7c-template-preview-footer button:focus-visible{outline:2px solid #285cf0;outline-offset:3px}
.g7-builder-shell .g7c-template-preview-footer button:disabled{background:#f3f5f8;border-color:#e1e6ee;color:#7c8798;opacity:1;cursor:not-allowed;box-shadow:none}
.g7-builder-shell .g7c-template-action-icon{display:inline-flex;flex:none;width:17px;height:17px}
.g7-builder-shell .g7c-template-action-icon svg{width:100%;height:100%}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-warning{flex-basis:100%;margin:0;font-size:12px;line-height:1.5}
.g7-builder-shell .g7c-template-review.g7c-template-review-empty{justify-content:center;align-items:center;text-align:center;padding:24px}
@media(max-width:900px){.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:1fr}.g7-builder-shell .g7c-template-picker[data-template-view=browse] .g7c-template-variants .g7c-template-review,.g7-builder-shell .g7c-template-picker[data-template-view=preview] .g7c-template-variants .g7c-template-list{display:none}.g7-builder-shell .g7c-template-preview-footer .g7c-template-return{display:inline-flex;flex-basis:100%;margin:0}.g7-builder-shell .g7c-template-preview-footer .g7c-template-actions{flex-basis:100%}.g7-builder-shell .g7c-template-preview-footer .g7c-template-playback{width:100%;justify-content:flex-end}.g7-builder-shell .g7c-template-variants .g7c-template-grid{min-height:170px;max-height:none}.g7-builder-shell .g7c-template-preview-footer{padding:11px 12px;gap:9px}.g7-builder-shell .g7c-template-preview-footer .g7c-template-actions>.g7c-template-footer-action{flex:1;padding:9px 8px}.g7-builder-shell .g7c-template-preview-footer .g7c-template-playback>.g7c-template-footer-action{min-height:36px;padding:7px 10px;font-size:11px}}
/* Everyday design settings come before effects, additions and management. */
.g7-builder-shell .g7c-design-heading{display:grid;grid-template-columns:minmax(0,1fr)auto;align-items:center;gap:8px 12px;padding:0 0 14px;margin:0 0 16px;border-bottom:1px solid #e2e8f1}
.g7-builder-shell .g7c-design-heading h3{margin:0;font:650 17px/1.4 system-ui;letter-spacing:-.25px;color:#1d2939;overflow-wrap:anywhere}
.g7-builder-shell .g7c-design-kind{margin:0 0 4px;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#748298}
.g7-builder-shell .g7c-design .g7c-rename-section{border:0;border-radius:7px;padding:7px 9px;background:#eef3ff;color:#3156ae;font-size:11px;font-weight:600;cursor:pointer}
.g7-builder-shell .g7c-design .g7c-rename-section:hover{background:#e2eaff}
.g7-builder-shell .g7c-design-heading .g7c-section-naming{grid-column:1/-1;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.g7-builder-shell .g7c-section-naming[hidden],.g7-builder-shell .g7c-parents[hidden]{display:none!important}
.g7-builder-shell .g7c-design .g7c-design-heading .g7c-field{margin:6px 0 0}
.g7-builder-shell .g7c-design-disclosure{padding:0 14px;margin:10px 0;border:1px solid #dfe6f0;border-radius:10px;box-shadow:none}
.g7-builder-shell .g7c-design-disclosure>summary,.g7-builder-shell .g7c-design-subgroup>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;color:#263a56;font-size:13px;font-weight:600;padding:13px 0}
.g7-builder-shell .g7c-design-disclosure>summary::-webkit-details-marker,.g7-builder-shell .g7c-design-subgroup>summary::-webkit-details-marker{display:none}
.g7-builder-shell .g7c-design-disclosure>summary::after,.g7-builder-shell .g7c-design-subgroup>summary::after{content:'';width:6px;height:6px;border-right:1.5px solid #75849a;border-bottom:1.5px solid #75849a;transform:rotate(45deg);margin:0 3px 3px}
.g7-builder-shell .g7c-design-disclosure[open]>summary::after,.g7-builder-shell .g7c-design-subgroup[open]>summary::after{transform:rotate(225deg);margin-top:5px}
.g7-builder-shell .g7c-design-disclosure[open]>summary{border-bottom:1px solid #edf0f5;margin-bottom:12px}
.g7-builder-shell .g7c-design .g7c-design-disclosure>.g7c-field{margin:12px 0}
.g7-builder-shell .g7c-design .g7c-design-disclosure>.g7c-field:last-child{margin-bottom:16px}
.g7-builder-shell .g7c-design-subgroup{margin:0;border-top:1px solid #edf0f5}
.g7-builder-shell .g7c-design-subgroup>summary{font-size:12px;font-weight:500;color:#536580;padding:12px 0}
.g7-builder-shell .g7c-design .g7c-design-subgroup .g7c-field{margin:10px 0 14px}
.g7-builder-shell .g7c-design :is(.g7c-design-additions,.g7c-design-manage){padding:14px;border:1px solid #e1e7f0;border-radius:10px;background:#fff;margin:14px 0}
.g7-builder-shell .g7c-design :is(.g7c-design-additions,.g7c-design-manage)>h4{margin:0 0 10px;font-size:11px;font-weight:600;color:#65758d;letter-spacing:.02em}
.g7-builder-shell .g7c-design-add-buttons{display:flex;gap:8px}
.g7-builder-shell .g7c-design-add-buttons>.g7c-button{flex:1;min-width:0;min-height:38px;margin:0!important;padding:8px 7px;border:1px solid #dce4ef;border-radius:7px;background:#f8fafc!important;color:#385272!important;font-size:11px;box-shadow:none}
.g7-builder-shell .g7c-design-add-buttons>.g7c-button:hover{background:#eef3ff!important;border-color:#a8bdec;color:#3156ae!important}
.g7-builder-shell .g7c-design-manage .g7c-actions{margin:0;gap:6px}
.g7-builder-shell .g7c-design-manage .g7c-actions>.g7c-button{min-height:34px;font-size:11px;padding:7px;box-shadow:none}
.g7-builder-shell .g7c-design-manage .g7c-save-section{margin:10px 0 0;background:#f8fafc;border-color:#e1e7f0;border-radius:7px}
.g7-builder-shell .g7c-design-manage .g7c-save-section>summary{color:#385272;font-size:12px}
.g7-builder-shell .g7c-design :is(.g7m-panel,.g7c-video-background){margin:10px 0;border:1px solid #dfe6f0;border-radius:10px;background:#fff}
.g7-builder-shell .g7c-design :is(.g7m-panel,.g7c-video-background)>summary{padding:12px 14px;font-size:13px;font-weight:600;color:#263a56}
.g7-builder-shell .g7c-design .g7c-video-background{padding:0}
.g7-builder-shell .g7c-design .g7c-video-background[open]{padding:0 14px 14px}
.g7-builder-shell .g7c-design .g7c-video-background[open]>summary{margin:0 -14px}
.g7-builder-shell .g7c-design :is(.g7m-panel,.g7c-video-background)>summary{display:flex;align-items:center;justify-content:space-between;list-style:none}
.g7-builder-shell .g7c-design :is(.g7m-panel,.g7c-video-background)>summary::-webkit-details-marker{display:none}
.g7-builder-shell .g7c-design :is(.g7m-panel,.g7c-video-background)>summary::after{content:'';width:6px;height:6px;border-right:1.5px solid #75849a;border-bottom:1.5px solid #75849a;transform:rotate(45deg);margin:0 3px 3px}
.g7-builder-shell .g7c-design :is(.g7m-panel,.g7c-video-background)[open]>summary::after{transform:rotate(225deg);margin-top:5px}
.g7-builder-shell .g7c-design-disclosure>summary:focus-visible,.g7-builder-shell .g7c-design-subgroup>summary:focus-visible,.g7-builder-shell .g7c-rename-section:focus-visible{outline:2px solid #285eff;outline-offset:3px;border-radius:5px}
/* Contextual selection actions and a movable, native Design panel. */
.g7-builder-shell .gjs-toolbar{box-sizing:border-box;padding:8px;border:1px solid #becce2;border-top:3px solid #2563eb;border-radius:16px;background:#fff;color:#27364e;box-shadow:0 0 0 3px #ffffffd9,0 10px 28px #12244430,0 2px 6px #12244426}
.g7-builder-shell .gjs-toolbar.g7c-selection-inset{border-radius:16px;box-shadow:0 0 0 3px #ffffffd9,0 10px 28px #12244430,0 2px 6px #12244426}
.g7-builder-shell .gjs-toolbar-items{gap:6px 5px;flex-wrap:wrap;align-items:center}
.g7-builder-shell .g7c-selection-caption{min-height:38px;box-sizing:border-box;align-self:center;padding:7px 11px;margin:0 3px 0 0;border:1px solid #dbe7fb;border-radius:10px;background:#edf3ff;color:#1e4daf;box-shadow:none;font-weight:650}
.g7-builder-shell .g7c-selection-action{box-sizing:border-box;min-height:40px;min-width:40px;padding:9px 12px;border:1px solid #cbd5e3;border-radius:11px;background:#f8fafc;color:#33445f;box-shadow:0 1px 2px #1224440d;font:600 12px/1.4 system-ui}
.g7-builder-shell .g7c-selection-action svg{width:18px;height:18px;stroke-width:1.8}
.g7-builder-shell .g7c-selection-action:hover:not(:disabled){background:#eaf1ff;border-color:#8eabe3;color:#1746ac;box-shadow:0 2px 5px #12244414}
.g7-builder-shell .g7c-selection-action:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.g7-builder-shell .g7c-selection-action[data-selection-action=text]{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 2px 4px #2563eb26}
.g7-builder-shell .g7c-selection-action[data-selection-action=text]:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.g7-builder-shell .g7c-selection-action[data-selection-action=ai]{background:#f2edff;border-color:#d6c7f6;color:#6133b4}
.g7-builder-shell .g7c-selection-action[data-selection-action=ai]:hover:not(:disabled){background:#e8dcff;border-color:#b69be9;color:#4b2492}
.g7-builder-shell .g7c-selection-action[data-selection-action=delete]{background:#fff5f4;border-color:#f2cdc9;color:#b42318}
.g7-builder-shell .g7c-selection-action[data-selection-action=delete]:hover:not(:disabled){background:#ffe5e2;border-color:#e3aaa4;color:#912018}
.g7-builder-shell .g7c-selection-action[data-selection-action=settings] .g7c-selection-action-label{display:none}
.g7-builder-shell .g7c-selection-action:is([data-selection-action=parent],[data-selection-action=drag],[data-selection-action=duplicate],[data-selection-action=delete]) .g7c-selection-action-label{display:none}
.g7-builder-shell .g7c-selection-action[hidden]{display:none!important}
.g7-builder-shell .g7c-selection-action:disabled{color:#98a2b3;border-color:#e1e6ef;background:#f5f7fa;box-shadow:none;cursor:not-allowed}
.g7-builder-shell .g7c-selection-compact .g7c-selection-action{min-width:40px;min-height:40px;padding:10px}
.g7-builder-shell .g7c-selection-compact [data-selection-action=text] .g7c-selection-action-label{display:inline}
.g7-builder-shell .g7c-selection-action[data-selection-action=ai] .g7c-selection-action-label{display:inline}
.g7-builder-shell .g7c-selection-compact [data-selection-action=ai] .g7c-selection-action-label{display:none}
.g7-builder-shell .g7c-design{background:#fff}
.g7-builder-shell .g7c-design-heading{position:sticky;top:-16px;z-index:10;padding:19px 18px 17px;margin:-18px -18px 18px;border-top:6px solid #2563eb;border-bottom:1px solid #e2e7f0;background:#fff;box-shadow:0 5px 12px #18213a0a;gap:10px}
.g7-builder-shell .g7c-design-heading h3{font:650 20px/1.35 system-ui;color:#18213a}
.g7-builder-shell .g7c-design-kind{font-size:10px;color:#8491a8}
.g7-builder-shell .g7c-design-header-actions{display:flex;align-items:center;gap:4px;grid-column:2;grid-row:1}
.g7-builder-shell .g7c-design-header-actions>button:not(.g7c-rename-section){display:grid;place-items:center;width:28px;min-width:28px;height:30px;padding:4px;border:0;border-radius:7px;background:#fff;color:#344054;font:500 19px/1 system-ui;cursor:pointer}
.g7-builder-shell .g7c-design-header-actions>button:not(.g7c-rename-section):hover{background:#edf3ff;color:#2563eb}
.g7-builder-shell .g7c-design-header-actions svg{width:18px;height:18px;stroke-linecap:round;stroke-linejoin:round}
.g7-builder-shell .g7c-design-header-actions>button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.g7-builder-shell .g7c-design-help{grid-column:1/-1;margin:0;padding:12px;border-radius:8px;background:#f2f6ff;color:#536580;font:12px/1.6 system-ui}
.g7-builder-shell .g7c-design-help[hidden]{display:none}
.g7-builder-shell .g7c-design-disclosure{padding:0 0 14px;border:0;border-bottom:1px solid #e2e7f0;border-radius:0;background:#fff;margin:0 0 14px}
.g7-builder-shell .g7c-design-disclosure>summary{font-weight:500;color:#53617a;font-size:14px;padding:12px 0}
.g7-builder-shell .g7c-design-disclosure[open]>summary{border:0;margin:0 0 5px}
.g7-builder-shell .g7c-design .g7c-field>label{font-size:12px;font-weight:500;color:#53617a}
.g7-builder-shell .g7c-design .g7c-input:not([type=color]):not([type=checkbox]):not([type=range]){min-height:42px;padding:10px 12px;border:1px solid #d7e1f2;border-radius:8px;background:#fff;font-size:14px;color:#26324a}
.g7-builder-shell .g7c-design .g7c-input:focus{border-color:#91b3ff;outline:2px solid #2563eb15;outline-offset:0}
.g7-builder-shell .g7c-text-toolbar{padding:8px 0;border:0;border-top:1px solid #e2e7f0;border-bottom:1px solid #e2e7f0;border-radius:0;background:#fff}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-actionbar{gap:7px}
.g7-builder-shell .g7c-text-toolbar .gjs-rte-action{width:36px;min-height:38px;border-radius:8px;font-size:18px}
.g7-builder-shell .g7c-text-tools>.g7c-button{width:100%;border-radius:24px;background:#edf3ff;color:#2563eb;border-color:#dce7ff;font-weight:500}
.g7-builder-shell .g7c-design .g7c-field:has([data-control="text-size-px"]) button.g7c-size-slider-value{box-sizing:border-box;width:64px;min-height:40px!important;padding:8px!important;border:1px solid #bdd0fa!important;border-radius:8px!important;background:#fff!important;color:#26324a!important;font:500 14px/22px system-ui!important;text-align:center}
.g7-builder-shell .g7c-design .g7c-field:has([data-control="text-size-px"]) input[type=range]::-webkit-slider-runnable-track{height:4px;background:linear-gradient(to right,#2563eb var(--g7-range-progress,0%),#d7e6ff var(--g7-range-progress,0%))}
.g7-builder-shell .g7c-design .g7c-field:has([data-control="text-size-px"]) input[type=range]::-webkit-slider-thumb{width:16px;height:16px;margin-top:-6px;background:#2563eb;border:3px solid #fff;box-shadow:0 1px 6px #17233f30}
.g7-builder-shell .g7c-design .g7c-field:has([data-control="text-size-px"]) input[type=range]::-moz-range-progress{background:#2563eb}
.g7-builder-shell .g7c-design .g7c-field:has([data-control="text-size-px"]) input[type=range]::-moz-range-thumb{background:#2563eb;border:3px solid #fff}
.g7-builder-shell .g7c-floating-design{position:fixed;z-index:1200;display:flex;flex-direction:column;box-sizing:border-box;width:360px;max-width:calc(100vw - 24px);overflow:hidden;background:#fff;border:1px solid #e0e5ee;border-radius:10px;box-shadow:0 14px 48px #15213f40}
.g7-builder-shell .g7c-floating-design[hidden],.g7-builder-shell .g7c-floating-placeholder[hidden]{display:none!important}
.g7-builder-shell .g7c-floating-design .g7c-design{flex:1;min-height:0;width:100%;padding:18px;overflow:auto}
.g7-builder-shell .g7c-floating-design .g7c-design-heading{top:-18px;cursor:move;touch-action:none}
.g7-builder-shell .g7c-floating-placeholder{padding:24px 18px;font-size:14px;color:#26324a}
.g7-builder-shell .g7c-floating-placeholder .g7c-help{margin:10px 0 18px;color:#748298}
@media(max-width:760px){.g7-builder-shell .g7c-design-heading{margin:-12px -12px 14px;padding:14px 12px}.g7-builder-shell .g7c-design-heading h3{font-size:18px}.g7-builder-shell .g7c-selection-caption{max-width:86px}.g7-builder-shell .g7c-selection-action{min-height:36px;min-width:36px}}
@media(max-width:600px){.g7-builder-shell .g7c-template-filters .g7c-template-filter-group{flex:1;min-width:0}.g7-builder-shell .g7c-template-filter-toggle{display:block;width:100%;max-width:none;min-height:52px;text-align:left;padding:6px 9px}.g7-builder-shell .g7c-template-filter-name{display:block;font-size:10px;color:#64748b}.g7-builder-shell .g7c-template-filter-name::after{content:none}.g7-builder-shell .g7c-template-filter-value{display:block;font-size:12px;margin-top:3px}}
@font-face{font-family:G7FAFree;font-weight:400;font-style:normal;font-display:block;src:url('vendor/fontawesome/webfonts/fa-regular-400.woff2') format('woff2')}
@font-face{font-family:G7FABrands;font-weight:400;font-style:normal;font-display:block;src:url('vendor/fontawesome/webfonts/fa-brands-400.woff2') format('woff2')}
.g7-builder-shell .g7i-picker{width:min(880px,calc(100vw - 36px));max-height:calc(100dvh - 40px);box-sizing:border-box;padding:24px;overflow:auto;border:1px solid #e1e6ef;border-radius:16px;color:#263a59;background:#fff;box-shadow:0 25px 90px #172c493d}
.g7-builder-shell .g7i-picker::backdrop{background:#24365080}
.g7-builder-shell .g7i-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.g7-builder-shell .g7i-picker h2{margin:0;font:650 23px/1.3 system-ui}
.g7-builder-shell .g7i-picker button{border:1px solid #d4ddec;border-radius:9px;padding:9px 12px;background:#fff;color:#344d73;cursor:pointer}
.g7-builder-shell .g7i-picker button:hover{border-color:#8eaae8;background:#f5f8ff}
.g7-builder-shell .g7i-picker button:focus-visible,.g7-builder-shell .g7i-search:focus-visible{outline:3px solid #8baaff;outline-offset:2px}
.g7-builder-shell .g7i-search{display:block;width:100%;box-sizing:border-box;height:42px;padding:9px 13px;border:1px solid #d4ddec;border-radius:9px;background:#fafbfe;color:#263a59;margin:18px 0 12px}
.g7-builder-shell .g7i-tabs{display:flex;gap:8px}
.g7-builder-shell .g7i-tabs button{padding:7px 16px;border-radius:22px;font-size:12px}
.g7-builder-shell .g7i-picker button[aria-pressed=true]{border-color:#4667dc;background:#edf2ff;color:#2449b3}
.g7-builder-shell .g7i-count{font-size:12px;color:#6c7c96;margin:12px 0}
.g7-builder-shell .g7i-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;max-height:48dvh;overflow:auto;padding:3px;overscroll-behavior:contain}
.g7-builder-shell .g7i-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:92px;padding:14px 8px;text-align:center}
.g7-builder-shell .g7i-glyph{font-family:G7FAFree;font-size:28px;font-style:normal;font-weight:900;line-height:1.2}
.g7-builder-shell .g7i-glyph[data-style=regular]{font-weight:400}
.g7-builder-shell .g7i-glyph[data-style=brands]{font-family:G7FABrands;font-weight:400}
.g7-builder-shell .g7i-name{font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.g7-builder-shell .g7i-credit{font-size:11px;color:#8491a5;margin:15px 0 0}
.g7-builder-shell .g7i-picker>button{margin-top:12px}
.g7-builder-shell .g7i-picker>button[hidden]{display:none}
.g7-builder-shell .g7-builder-fontawesome-option{display:flex;align-items:center;gap:8px;cursor:pointer}
.g7-builder-shell .g7-builder-fontawesome-option input{width:17px;height:17px;flex:none;margin:0;accent-color:#4968db}
@media(max-width:600px){.g7-builder-shell .g7i-picker{padding:16px}.g7-builder-shell .g7i-picker h2{font-size:20px}.g7-builder-shell .g7i-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.g7-builder-shell .g7i-grid button{min-height:84px}.g7-builder-shell .g7i-search{font-size:12px}}

.g7-builder-shell .g7c-video-controls{border-color:#ddd8fa;overflow:hidden;box-shadow:0 3px 12px #5d45ad08}
.g7-builder-shell .g7c-video-heading{display:flex;align-items:center;gap:12px;margin:-16px -16px 0;padding:16px;background:linear-gradient(120deg,#f4f1ff,#f3f7ff);border-bottom:1px solid #e8e3fa}
.g7-builder-shell .g7c-video-heading h4{margin:0 0 4px;font:650 16px/1.3 system-ui;color:#26334e;letter-spacing:-.2px}
.g7-builder-shell .g7c-video-heading p{margin:0;font:400 12px/1.5 system-ui;color:#64718a}
.g7-builder-shell .g7c-video-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;background:#fff;border:1px solid #e0d9fa;border-radius:11px;color:#7451d3}
.g7-builder-shell .g7c-video-icon svg{width:24px;height:24px}
.g7-builder-shell .g7c-video-part{padding-top:16px}
.g7-builder-shell .g7c-video-part+.g7c-video-part{border-top:1px solid #edf0f5;margin-top:16px}
.g7-builder-shell .g7c-video-part h5{font:650 13px/1.4 system-ui;color:#334766;margin:0 0 12px}
.g7-builder-shell .g7c-video-advanced{margin-top:18px;border:1px solid #e2e5f2;border-radius:11px;background:#fbfcff;padding:0 12px}
.g7-builder-shell .g7c-video-advanced>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:13px 0;color:#334766;font:600 13px/1.4 system-ui}
.g7-builder-shell .g7c-video-advanced>summary::-webkit-details-marker{display:none}.g7-builder-shell .g7c-video-advanced>summary::after{content:'';width:7px;height:7px;flex-shrink:0;border-right:1.5px solid #7583a1;border-bottom:1.5px solid #7583a1;transform:rotate(45deg);margin-right:3px;margin-top:-4px}
.g7-builder-shell .g7c-video-advanced[open]>summary{border-bottom:1px solid #e9edf6}.g7-builder-shell .g7c-video-advanced[open]>summary::after{transform:rotate(225deg);margin-top:4px}.g7-builder-shell .g7c-video-advanced[open]{padding-bottom:12px}.g7-builder-shell .g7c-video-advanced>summary:focus-visible{outline:3px solid #c8baf6;outline-offset:3px;border-radius:5px}.g7-builder-shell .g7c-video-advanced>.g7c-field{margin-top:12px}
.g7-builder-shell .g7c-video-controls .g7c-field{margin-bottom:12px}
.g7-builder-shell .g7c-video-controls .g7c-field:last-child{margin-bottom:0}
.g7-builder-shell .g7c-video-controls .g7c-field>.g7c-help{margin:6px 0 0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.g7-builder-shell .g7c-video-controls .g7c-player-video-choose{display:block;width:100%;min-height:40px;border:1px solid #7050cf;border-radius:9px;background:#7553cf;color:#fff;font-weight:600;box-shadow:0 2px 5px #6c4ab320}
.g7-builder-shell .g7c-video-controls .g7c-player-video-choose:hover{background:#6341bb;border-color:#6341bb}
.g7-builder-shell .g7c-video-or{margin:10px 0;color:#8390a5;font-size:11px;text-align:center}
.g7-builder-shell .g7c-video-controls .g7c-video-toggle{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:2px 14px;align-items:center;margin:0;padding:10px 0;border-bottom:1px solid #f0f2f6}
.g7-builder-shell .g7c-video-controls .g7c-video-toggle>label{grid-column:1;grid-row:1;margin:0;cursor:pointer}
.g7-builder-shell .g7c-video-toggle>.g7c-help{grid-column:1;grid-row:2}
.g7-builder-shell .g7c-video-controls .g7c-video-toggle>input[type=checkbox]{grid-column:2;grid-row:1 / span 2;appearance:none;position:relative;display:block;width:36px;height:22px;min-height:22px;margin:0;padding:0;border:1px solid #c4cdd9;border-radius:20px;background:#d8dfe9;box-shadow:none;cursor:pointer}
.g7-builder-shell .g7c-video-toggle>input[type=checkbox]::after{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #24334f26;transition:transform .15s}
.g7-builder-shell .g7c-video-controls .g7c-video-toggle>input[type=checkbox]:checked{background:#7553cf;border-color:#7553cf}
.g7-builder-shell .g7c-video-toggle>input[type=checkbox]:checked::after{transform:translateX(14px)}
.g7-builder-shell .g7c-video-controls .g7c-video-toggle>input[type=checkbox]:focus-visible{outline:3px solid #bdaaf5;outline-offset:3px}
.g7-builder-shell .g7c-video-controls input[type=number]{max-width:140px}
.g7-builder-shell .g7c-video-toggle+.g7c-field:not(.g7c-video-toggle){margin-top:14px}
.g7-builder-shell .g7c-video-preview-note{margin:16px 0 0;padding:11px 12px;background:#f5f3fb;border-radius:9px;font:400 11px/1.6 system-ui;color:#655b89}
.g7-builder-shell .g7c-video-error{font-size:12px;line-height:1.5;color:#b42318;overflow-wrap:anywhere;margin:8px 0 0}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-video-toggle>input[type=checkbox]::after{transition:none}}
.g7-builder-shell .g7c-start-layer{position:fixed;inset:0;z-index:24;display:flex;overflow:auto;overscroll-behavior:contain;pointer-events:auto;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:32px 24px;border:0;background:transparent}
.g7-builder-shell .g7c-start-layer::backdrop{background:rgba(38,48,67,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.g7-builder-shell .g7c-start-layer[hidden]{display:none!important}
.g7-builder-shell .g7c-start-card{position:relative;flex:0 0 auto;width:min(680px,100%);box-sizing:border-box;margin:auto;padding:32px;border:1px solid #e0e5f3;border-radius:24px;background:radial-gradient(ellipse at 100% 0,#ede9fe88,transparent 55%),#fff;color:#202c48;box-shadow:0 24px 70px #324d8512,0 4px 12px #324d8508;pointer-events:auto;font:400 14px/1.55 system-ui,sans-serif}
.g7-builder-shell .g7c-start-header{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:16px;align-items:center;margin-bottom:26px}
.g7-builder-shell .g7c-start-eyebrow{display:block;margin-bottom:12px;color:#6851bf;font-size:11px;font-weight:600;letter-spacing:.035em}
.g7-builder-shell .g7c-start-title{margin:0 0 12px;font:650 clamp(24px,2.7vw,32px)/1.15 system-ui,sans-serif;letter-spacing:-.035em;color:#1d2946}
.g7-builder-shell .g7c-start-intro{margin:0;color:#63708a;font:400 14px/1.65 system-ui,sans-serif}
.g7-builder-shell .g7c-start-art svg{display:block;width:100%;height:auto;filter:drop-shadow(0 8px 10px #6f58bb12)}
.g7-builder-shell .g7c-start-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.g7-builder-shell .g7c-start-choices .g7c-add-choice{grid-template-columns:minmax(0,1fr) 20px;gap:12px;margin:0;padding:20px;min-height:180px;border-radius:16px;transition:box-shadow .15s,border-color .15s;background:#fff;border-color:#dfe5f2;color:#243657}
.g7-builder-shell .g7c-start-choices .g7c-add-choice-icon{grid-column:1;background:#f3f1ff;border-color:#e8e2ff;width:44px;height:44px}
.g7-builder-shell .g7c-start-choices .g7c-add-choice-copy{grid-column:1;gap:7px}
.g7-builder-shell .g7c-start-choices .g7c-add-choice-copy strong{font:650 16px/1.35 system-ui,sans-serif}
.g7-builder-shell .g7c-start-choices .g7c-add-choice-copy small{font:400 12px/1.55 system-ui,sans-serif;color:#63708a}
.g7-builder-shell .g7c-start-choices .g7c-add-choice-arrow{grid-column:2;grid-row:2;align-self:start;padding-top:3px}
.g7-builder-shell .g7c-start-choices .g7c-start-template{background:linear-gradient(135deg,#455ee9,#6650d7);border-color:#5362e4;color:#fff;box-shadow:0 6px 16px #5862dd25}
.g7-builder-shell .g7c-start-template .g7c-add-choice-icon{background:#ffffff1c;border-color:#ffffff40;color:#fff}
.g7-builder-shell .g7c-start-template .g7c-add-choice-copy small,.g7-builder-shell .g7c-start-template .g7c-add-choice-arrow{color:#eef0ff}
.g7-builder-shell .g7c-start-choices .g7c-start-template:hover{background:linear-gradient(135deg,#354ed9,#5740c7);border-color:#4352d4;color:#fff;box-shadow:0 8px 22px #5862dd38}
.g7-builder-shell .g7c-start-choices .g7c-start-section:hover{background:#faf9ff;border-color:#b6a7e7;color:#243657;box-shadow:0 6px 16px #6757a912}
.g7-builder-shell .g7c-start-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;counter-reset:start-step;list-style:none;margin:28px 0 0;padding:22px 0 0;border-top:1px solid #e9edf5}
.g7-builder-shell .g7c-start-guide li{position:relative;counter-increment:start-step;padding-top:29px;min-width:0}
.g7-builder-shell .g7c-start-guide li::before{content:counter(start-step);position:absolute;top:0;left:0;display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#eef1fc;color:#5665a9;font:600 11px/1 system-ui}
.g7-builder-shell .g7c-start-guide strong{display:block;font:600 12px/1.45 system-ui,sans-serif;margin-bottom:5px}
.g7-builder-shell .g7c-start-guide span{display:block;color:#748098;font:400 11px/1.6 system-ui,sans-serif}
.g7-builder-shell .g7c-start-skip{display:block;margin:24px auto 0;padding:7px 10px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:#66718a;font:500 12px/1.5 system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.g7-builder-shell .g7c-start-skip:hover{background:#f0f2fb;color:#344ccc}
.g7-builder-shell .g7c-start-skip:focus-visible{outline:3px solid #8baaff;outline-offset:2px;color:#344ccc}
@media(max-width:1000px){.g7-builder-shell .g7c-start-layer{padding:24px 16px}.g7-builder-shell .g7c-start-card{padding:24px}.g7-builder-shell .g7c-start-header{grid-template-columns:minmax(0,1fr) 100px}}
@media(max-width:760px){.g7-builder-shell .g7c-start-layer{padding:20px 12px}.g7-builder-shell .g7c-start-card{padding:20px;border-radius:18px}.g7-builder-shell .g7c-start-header{display:block;margin-bottom:18px}.g7-builder-shell .g7c-start-art{display:none}.g7-builder-shell .g7c-start-eyebrow{font-size:10px;margin-bottom:8px}.g7-builder-shell .g7c-start-intro{font-size:12px}.g7-builder-shell .g7c-start-choices{grid-template-columns:1fr;gap:10px}.g7-builder-shell .g7c-start-choices .g7c-add-choice{grid-template-columns:36px minmax(0,1fr) 16px;gap:12px;min-height:0;padding:16px}.g7-builder-shell .g7c-start-choices .g7c-add-choice-icon{grid-column:1;width:36px;height:36px}.g7-builder-shell .g7c-start-choices .g7c-add-choice-copy{grid-column:2;gap:4px}.g7-builder-shell .g7c-start-choices .g7c-add-choice-copy strong{font-size:14px}.g7-builder-shell .g7c-start-choices .g7c-add-choice-arrow{grid-column:3;grid-row:1;align-self:center}.g7-builder-shell .g7c-start-guide{grid-template-columns:1fr;gap:14px;margin-top:20px;padding-top:18px}.g7-builder-shell .g7c-start-guide li{padding:0 0 0 32px}.g7-builder-shell .g7c-start-guide strong{margin-bottom:2px}.g7-builder-shell .g7c-start-guide span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-start-choices .g7c-add-choice{transition:none}}
.g7-builder-shell .g7c-preview-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f0f4fa;pointer-events:none;box-sizing:border-box}
.g7-builder-shell .g7c-preview-placeholder>svg{display:block;width:100%;height:100%;flex:none}
.g7-builder-shell .g7c-template-snapshot>.g7c-preview-placeholder,.g7-builder-shell .g7c-template-live>.g7c-preview-placeholder{padding:12px}
.g7-builder-shell .g7c-template-snapshot>.g7c-preview-placeholder>svg,.g7-builder-shell .g7c-template-live>.g7c-preview-placeholder>svg{width:auto;max-width:90%;height:100%;background:#fff;border:1px solid #dae3f0;box-shadow:0 3px 10px #30476a0c}
.g7-builder-shell .g7c-template-live>.g7c-preview-placeholder{padding:28px}
.g7-builder-shell .g7c-preview-loading>.g7c-preview-placeholder::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,#ffffff9c 49%,transparent 68%);transform:translateX(-100%);animation:g7-preview-shimmer 1.8s ease-in-out infinite}
.g7-builder-shell .g7c-preview-loading>iframe{opacity:0}
.g7-builder-shell .g7c-live-viewport>iframe,.g7-builder-shell .g7c-template-snapshot>iframe,.g7-builder-shell .g7c-template-live>iframe{transition:opacity .16s ease-out}
.g7-builder-shell .g7c-preview-unavailable{position:absolute;inset:0;display:grid;place-items:center;background:#f0f4fa;color:#64748b;font:400 12px/1.5 system-ui;text-align:center;padding:12px;box-sizing:border-box}
@keyframes g7-preview-shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-preview-loading>.g7c-preview-placeholder::after{animation:none;display:none}.g7-builder-shell .g7c-live-viewport>iframe,.g7-builder-shell .g7c-template-snapshot>iframe,.g7-builder-shell .g7c-template-live>iframe{transition:none}}
.g7-builder-shell .g7i-picker.g7i-sidebar{width:100%;max-height:none;padding:0;overflow:visible;border:0;border-radius:0;box-shadow:none;background:transparent;color:#263a59}
.g7-builder-shell .g7i-sidebar header{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:0 0 12px}
.g7-builder-shell .g7i-sidebar header h3{font:650 19px/1.35 system-ui;margin:0}
.g7-builder-shell .g7i-sidebar header .g7c-help{margin:0;font-size:12px;line-height:1.6;color:#6b7890}
.g7-builder-shell .g7i-sidebar .g7c-add-back{font-size:12px;padding:7px 10px}
.g7-builder-shell .g7i-controls{position:sticky;top:-18px;z-index:2;background:#fff;padding:8px 0 4px;margin-bottom:10px;border-bottom:1px solid #e7ecf5}
.g7-builder-shell .g7i-placement{padding:14px;border:1px solid #cfdcf9;border-radius:12px;background:linear-gradient(135deg,#f1f5ff,#f8f6ff)}
.g7-builder-shell .g7i-placement>strong{display:block;font:600 13px/1.5 system-ui;color:#284789;overflow-wrap:anywhere}
.g7-builder-shell .g7i-placement>p{margin:6px 0 12px;font:400 12px/1.55 system-ui;color:#66758f}
.g7-builder-shell .g7i-placement.g7i-needs-target{border-color:#f1dbad;background:#fffbf2}
.g7-builder-shell .g7i-needs-target>strong{color:#80581d}
.g7-builder-shell .g7i-target-actions{display:flex;gap:7px;flex-wrap:wrap}
.g7-builder-shell .g7i-sidebar .g7i-target-actions button{padding:6px 9px;font:500 11px/1.4 system-ui;background:#fff}
.g7-builder-shell .g7i-sidebar [hidden]{display:none!important}
.g7-builder-shell .g7i-sidebar .g7i-search{margin:12px 0 10px;font-size:12px}
.g7-builder-shell .g7i-sidebar .g7i-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.g7-builder-shell .g7i-sidebar .g7i-tabs button{padding:7px 8px;font:500 11px/1.4 system-ui;border-radius:8px}
.g7-builder-shell .g7i-sidebar .g7i-count{margin:10px 0;font-size:11px}
.g7-builder-shell .g7i-sidebar .g7i-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:none;overflow:visible;padding:3px;margin:0}
.g7-builder-shell .g7i-sidebar .g7i-grid button{min-width:0;min-height:84px;padding:12px 5px;gap:9px;border-radius:11px}
.g7-builder-shell .g7i-sidebar .g7i-grid button:disabled{opacity:.5;cursor:default;background:#f8fafc;border-color:#e1e6ef;color:#718096}
.g7-builder-shell .g7i-sidebar .g7i-grid button[aria-pressed=true]{border-color:#4667dc;background:#edf2ff;color:#2449b3;box-shadow:0 0 0 1px #4667dc}
.g7-builder-shell .g7i-sidebar .g7i-edit-actions{display:grid;grid-template-columns:1fr;gap:7px;padding:14px 0 0}
.g7-builder-shell .g7i-sidebar .g7i-edit-actions button{font-size:12px}
.g7-builder-shell .g7i-sidebar .g7i-edit-actions button:first-child{background:#315fea;border-color:#315fea;color:#fff}
.g7-builder-shell .g7i-sidebar .g7i-edit-actions button:first-child:hover{background:#244dd2;border-color:#244dd2;color:#fff}
@media(max-width:760px),(max-height:650px){.g7-builder-shell .g7i-controls{position:static}}
/* Quick section content stays in the sidebar and leaves layout controls behind. */
.g7-builder-shell .g7c-selection-action[data-selection-action=content]{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 2px 4px #2563eb26}
.g7-builder-shell .g7c-selection-action[data-selection-action=content]:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.g7-builder-shell .g7c-selection-compact [data-selection-action=content] .g7c-selection-action-label{display:inline}
.g7-builder-shell .g7c-design.g7c-content-only{background:#f7f9fd}
.g7-builder-shell .g7c-content-heading{margin:-16px -16px 16px;padding:16px;background:#fff;border-bottom:1px solid #dee6f3}
.g7-builder-shell .g7c-content-back{padding:6px 10px;font:500 11px/1.5 system-ui;margin-bottom:14px;background:#fff}
.g7-builder-shell .g7c-content-section-name{margin:0 0 6px;font:600 10px/1.5 system-ui;letter-spacing:.04em;color:#536ba3;overflow-wrap:anywhere}
.g7-builder-shell .g7c-content-heading h3{margin:0 0 8px;font:650 19px/1.35 system-ui;color:#233450}
.g7-builder-shell .g7c-content-heading .g7c-help{margin:0;font:400 12px/1.6 system-ui;color:#687b95}
.g7-builder-shell .g7c-content-fields{min-width:0;border:0;margin:0;padding:0;display:grid;gap:12px}
.g7-builder-shell .g7c-content-card,.g7-builder-shell .g7c-content-fields>.g7c-design-group{margin:0;padding:15px;border:1px solid #dce4f1;border-radius:13px;background:#fff;box-shadow:0 2px 5px #182c4c04}
.g7-builder-shell .g7c-content-card h4{margin:0 0 13px;font:600 13px/1.5 system-ui;color:#304260}
.g7-builder-shell .g7c-content-card .g7c-field{margin:12px 0 0}
.g7-builder-shell .g7c-content-card .g7c-field>label{font:500 11px/1.5 system-ui;color:#657691}
.g7-builder-shell .g7c-content-card textarea{min-height:72px;resize:vertical;font:400 13px/1.65 system-ui;background:#fcfdff}
.g7-builder-shell .g7c-content-card textarea:focus,.g7-builder-shell .g7c-content-card input:focus{border-color:#779cf6;outline:3px solid #e3ecff;outline-offset:0;background:#fff}
.g7-builder-shell .g7c-content-image>img{display:block;width:100%;height:140px;object-fit:contain;border:1px solid #e5eaf3;border-radius:9px;background:#f2f5fa;margin-bottom:10px}
.g7-builder-shell .g7c-content-image-change{width:100%;padding:9px 12px;color:#2355ba;border-color:#c6d7fa;background:#edf3ff;font-weight:600}
.g7-builder-shell .g7c-content-image-change:hover{color:#1746ac;border-color:#8eabe3;background:#e1ebff}
.g7-builder-shell .g7c-content-save-hint{margin:16px 0 0;font:400 11px/1.7 system-ui;color:#72829a}
.g7-builder-shell .g7c-content-error{font:400 12px/1.6 system-ui;color:#b42318}
.g7-builder-shell .g7c-content-error:empty{display:none}
/* Industry group headings in the section and template pickers. */
.g7-builder-shell .g7c-category-group{grid-column:1/-1;margin:18px 0 0;padding-top:16px;border-top:1px solid #e4e7ec;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#475467}
.g7-builder-shell .g7c-category-browser{margin-top:18px}
.g7-builder-shell .g7c-section-picker>header{position:sticky;top:-24px;z-index:6;margin:-24px -24px 16px;padding:18px 24px;background:#fff;border-bottom:1px solid #e6eaf3;box-shadow:0 3px 10px #26345405}
.g7-builder-shell .g7c-section-picker{box-sizing:border-box}
@media(max-width:600px){.g7-builder-shell .g7c-section-picker>header{top:-16px;margin:-16px -16px 16px;padding:16px}}
.g7-builder-shell .g7c-section-picker>.g7c-section-search{padding:12px 16px}
.g7-builder-shell .g7c-section-picker>.g7c-section-search>.g7c-help{display:none}
.g7-builder-shell .g7c-section-purpose-browse{margin-top:8px;color:#68768e;font:12px/1.5 system-ui}
.g7-builder-shell .g7c-section-purpose-browse>summary{cursor:pointer}
.g7-builder-shell .g7c-section-picker>.g7c-library-tabs{padding:0;border:0;background:transparent;gap:8px;margin:12px 0}
.g7-builder-shell .g7c-category-browse-tabs{display:flex;gap:4px;width:fit-content;max-width:100%;padding:4px;border:1px solid #e3e7f1;border-radius:12px;background:#f1f3f9}
.g7-builder-shell .g7c-category-browse-tabs button{border:0;border-radius:8px;padding:9px 18px;background:transparent;color:#62708b;font:600 13px/1.3 system-ui;cursor:pointer}
.g7-builder-shell .g7c-category-browse-tabs button[aria-pressed=true]{background:#fff;color:#4c50cd;box-shadow:0 2px 5px #26345412}
.g7-builder-shell .g7c-category-browse-tools{display:flex;align-items:center;gap:12px;margin:16px 0}
.g7-builder-shell .g7c-category-browse-tools input{min-width:0;flex:1;max-width:380px;height:38px;padding:8px 12px;border:1px solid #dce2ef;border-radius:9px;background:#fff;color:#283852;font:13px system-ui;box-sizing:border-box}
.g7-builder-shell .g7c-category-browse-count{margin-left:auto;color:#748098;font:12px/1.4 system-ui;white-space:nowrap}
.g7-builder-shell .g7c-category-browser .g7c-categories{display:grid;grid-template-columns:1fr;gap:10px}
.g7-builder-shell .g7c-section-picker .g7c-category-browser .g7c-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.g7-builder-shell .g7c-category-browser .g7c-category{display:grid;grid-template-columns:86px minmax(0,1fr) 12px;align-items:center;gap:12px;min-height:115px;padding:12px;border:1px solid #e0e5ef;border-radius:12px;background:#fff;text-align:left;box-shadow:0 2px 4px #26345403;transition:border-color .15s,box-shadow .15s,background .15s}
.g7-builder-shell .g7c-category-browser .g7c-category:hover{border-color:#a6a4ee;background:#fcfcff;box-shadow:0 4px 14px #4c50cd0d}
.g7-builder-shell .g7c-category-browser .g7c-category:focus-visible,.g7-builder-shell .g7c-category-browser :is(input,button):focus-visible{outline:3px solid #a9b9fc;outline-offset:2px}
.g7-builder-shell .g7c-category-browser .g7c-category .g7c-preset-preview{display:flex;align-items:center;justify-content:center;position:relative;width:86px;height:76px;min-height:0;aspect-ratio:auto;border:0;border-radius:9px;overflow:hidden;background:#f1f3fb}
.g7-builder-shell .g7c-category-browser .g7c-preset-preview svg{display:block;width:100%;height:auto;max-height:100%}
.g7-builder-shell .g7c-category-browser .g7c-category-industry-preview>img{width:100%;height:100%;object-fit:cover}
.g7-builder-shell .g7c-category-copy{display:block;min-width:0}
.g7-builder-shell .g7c-category-browser .g7c-category .g7c-preset-name{display:block;padding:0;margin:0 0 5px;color:#25334e;font:650 13px/1.35 system-ui}
.g7-builder-shell .g7c-category-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#748098;font:11px/1.45 system-ui}
.g7-builder-shell .g7c-category-browser .g7c-category-count{display:block;padding:0;margin-top:7px;color:#5c60cc;font:550 11px/1.4 system-ui}
.g7-builder-shell .g7c-category-arrow{align-self:center;color:#9297b4;font:24px/1 system-ui}
.g7-builder-shell .g7c-category-feature .g7c-preset-preview{color:#6962d8;background:#f0edff}
.g7-builder-shell .g7c-category-browser .g7c-category-feature .g7c-preset-preview svg{width:32px;height:32px}
.g7-builder-shell .g7c-category-more{display:block;margin:16px auto 0;padding:10px 18px;border:1px solid #dfe4f1;border-radius:9px;background:#f8f9fe;color:#555ac3;font:600 12px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-category-more[hidden]{display:none}
.g7-builder-shell .g7c-section-style-label{display:block;color:#62708b;font:12px/1.5 system-ui;margin-top:12px}
.g7-builder-shell .g7c-section-style-select{display:block;width:100%;height:38px;margin-top:4px;padding:6px 10px;border:1px solid #ccd7e7;border-radius:8px;background:#fff;color:#243a5a;font:13px system-ui}
@media(max-width:1000px){.g7-builder-shell .g7c-section-picker .g7c-category-browser .g7c-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.g7-builder-shell .g7c-section-picker .g7c-category-browser .g7c-categories{grid-template-columns:1fr}.g7-builder-shell .g7c-category-browse-tabs{width:100%;box-sizing:border-box}.g7-builder-shell .g7c-category-browse-tabs button{flex:1;padding:9px 10px}.g7-builder-shell .g7c-category-browse-count{font-size:10px}.g7-builder-shell .g7c-category-browser .g7c-category{min-height:100px}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-category-browser .g7c-category{transition:none}}
/* Interactive image: mode switch, hotspot list and icon picker in the Design panel. */
.g7-builder-shell .g7c-interactive-head{display:grid;gap:10px;margin:0 0 14px;padding:14px;border:1px solid #dce5f5;border-radius:12px;background:#f8fafd}
.g7-builder-shell .g7c-interactive-head .g7c-help{margin:0;font-size:12px;line-height:1.55}
.g7-builder-shell .g7c-segmented{display:flex;gap:3px;padding:3px;border-radius:10px;background:#e7edf7}
.g7-builder-shell .g7c-segmented .g7c-button{flex:1;min-height:34px;border:0;background:transparent;color:#4b5f80;font-weight:600}
.g7-builder-shell .g7c-segmented .g7c-button[aria-pressed=true]{background:#fff;color:#1d4ed8;box-shadow:0 1px 4px #1e3a6b1f}
.g7-builder-shell .g7c-hotspots{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:0 0 10px;padding:0;list-style:none}
.g7-builder-shell .g7c-hotspot-row{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid transparent;border-radius:9px}
.g7-builder-shell .g7c-hotspot-row.is-selected{border-color:#bfd2f7;background:#eff5ff}
.g7-builder-shell .g7c-hotspot-name{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:34px;padding:4px 8px;border:0;background:transparent;color:#183457;font-weight:600;text-align:left}
.g7-builder-shell .g7c-hotspot-name img{flex:0 0 20px;width:20px;height:20px;object-fit:contain}
.g7-builder-shell .g7c-hotspot-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g7-builder-shell .g7c-hotspot-name small{flex:none;color:#8a5a00;font-weight:600}
.g7-builder-shell .g7c-hotspot-tool{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;color:#5b6e8a}
.g7-builder-shell .g7c-hotspot-tool svg{width:16px;height:16px}
.g7-builder-shell .g7c-hotspot-tool:hover:not(:disabled){background:#e4ecf9;color:#1d4ed8}
.g7-builder-shell .g7c-hotspot-tool.is-danger:hover:not(:disabled){background:#fde8e8;color:#b42318}
.g7-builder-shell .g7c-hotspot-tool[aria-pressed=true]{color:#8a5a00}
.g7-builder-shell .g7c-hotspot-tool:disabled{opacity:.35}
.g7-builder-shell .g7c-icon-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:4px;margin:6px 0 8px}
.g7-builder-shell .g7c-icon-picker .g7c-button{display:flex;align-items:center;justify-content:center;height:38px;padding:0;border-radius:8px}
.g7-builder-shell .g7c-icon-picker .g7c-button img{width:22px;height:22px;object-fit:contain}
.g7-builder-shell .g7c-icon-picker .g7c-button[aria-pressed=true]{border-color:#2563eb;box-shadow:0 0 0 2px #bfd2f7;background:#eff5ff}
.g7-builder-shell .g7c-ii-label{display:block;margin:12px 0 4px;font-size:12px;font-weight:600;color:#354363}
.g7-builder-shell .g7c-ii-action{margin:4px 6px 4px 0}

/* Built-in catalogue cards retain cached screenshots while scrolling. */
.g7-builder-shell .g7c-static-preview{position:relative;overflow:hidden}
.g7-builder-shell .g7c-static-preview>.g7c-preview-image{position:absolute;inset:0 auto auto 0;display:block;width:100%;height:auto;max-width:none;margin:0;border:0;box-shadow:none;transform:none;pointer-events:none}
.g7-builder-shell .g7c-fitted-section-preview{aspect-ratio:auto;background:#f1f4f9}
.g7-builder-shell .g7c-hover-preview>.g7c-fitted-section-preview{overflow:hidden;overscroll-behavior:contain;scrollbar-width:thin}
.g7-builder-shell .g7c-hover-preview>.g7c-fitted-section-preview[data-preview-overflow=scroll]{overflow-y:auto}
.g7-builder-shell .g7c-section-preview-crop{position:absolute;display:block;top:var(--g7-section-preview-top,0px);left:0;width:100%;overflow:hidden}
.g7-builder-shell .g7c-section-preview-crop>.g7c-preview-image{position:absolute;display:block;top:0;left:0;width:100%;height:auto;max-width:none;pointer-events:none}
.g7-builder-shell .g7c-preview-loading>.g7c-section-preview-crop{opacity:0}
.g7-builder-shell .g7c-fitted-section-preview>.g7c-preview-image{top:var(--g7-section-preview-top,0px)}
.g7-builder-shell .g7c-picker-previews .g7c-section-card{display:flex;flex-direction:column;gap:0;border:1px solid #e1e6f0;border-radius:12px;overflow:hidden;background:#fff;align-self:start;box-shadow:0 2px 6px #28345404}
.g7-builder-shell .g7c-picker-previews .g7c-section-card>.g7c-preset{display:block;width:100%;height:auto;min-width:0;margin:0;border:0;border-radius:0;background:#fff;text-align:left;box-shadow:none}
.g7-builder-shell .g7c-picker-previews .g7c-section-card>.g7c-preset:hover{background:#fafaff}
.g7-builder-shell .g7c-picker-previews .g7c-section-card:focus-within{outline:2px solid #9eacf2;outline-offset:2px}
.g7-builder-shell .g7c-picker-previews .g7c-section-card .g7c-custom-thumbnail{border-radius:0;border-bottom:1px solid #e9edf5;box-sizing:border-box}
.g7-builder-shell .g7c-picker-previews .g7c-section-card .g7c-preset-name{padding:13px 14px 6px;font:650 13px/1.4 system-ui;color:#273550}
.g7-builder-shell .g7c-picker-previews .g7c-section-card .g7c-preset-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:0;margin:0 14px 14px;font:12px/1.5 system-ui;color:#738098}
.g7-builder-shell .g7c-layout-actions{display:flex;align-self:stretch;align-items:center;flex-wrap:wrap;gap:6px;padding:9px 12px;border-top:1px solid #eef0f7;background:#fcfcff}
.g7-builder-shell .g7c-picker-previews .g7c-layout-actions .g7c-layout-preview,.g7-builder-shell .g7c-layout-actions .g7c-layout-add{margin:0;padding:6px 10px;border:1px solid #dce2f1;border-radius:7px;background:#fff;color:#4c57ab;font:600 11px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-layout-actions .g7c-layout-add{border-color:transparent;background:#eef0ff;color:#514cc6}
.g7-builder-shell .g7c-layout-actions .g7c-favourite{position:static;flex:none;margin-left:auto;width:30px;height:30px;padding:0;border:0;border-radius:7px!important;background:transparent!important;box-shadow:none;font-size:20px!important}
.g7-builder-shell .g7c-layout-actions .g7c-favourite:hover{background:#eeeffb}
.g7-builder-shell .g7c-picker-previews .g7c-layout-actions .g7c-library-edit{position:static;right:auto;bottom:auto;margin:0}
@media(max-width:560px){.g7-builder-shell .g7c-picker-previews .g7c-presets:not(.g7c-categories){grid-template-columns:minmax(0,1fr)}}
.g7-builder-shell .g7c-section-purposes{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:8px;margin:12px 0 0}
.g7-builder-shell .g7c-section-purposes button{display:flex;align-items:center;gap:9px;min-width:0;min-height:42px;padding:10px;border:1px solid var(--e-line,#d6e1f4);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#465b80);font:550 11px/1.4 system-ui;cursor:pointer;text-align:left}.g7c-section-purposes button>span:first-child{flex:none;color:var(--e-accent,#269e99)}.g7c-section-purposes svg{display:block;width:19px;height:19px}.g7c-section-purpose-browse>.g7c-help{margin:7px 0 0;font-size:11px;line-height:1.5}.g7c-section-purposes button:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:2px}
@media(max-width:600px){.g7-builder-shell .g7c-section-purposes{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.g7-builder-shell .g7c-section-purposes button{gap:7px;min-height:48px;padding:8px;font-size:10px}.g7c-section-purposes svg{width:17px;height:17px}}
.g7-builder-shell .g7c-section-purposes button:hover,.g7-builder-shell .g7c-section-purposes button[aria-pressed=true]{border-color:var(--e-accent,#abc2ff);background:var(--e-tint,#edf3ff);color:var(--e-ink,#1d4ed8)}

.ff-manage summary{cursor:pointer;font-weight:600;padding:12px 0}.ff-manage-item{border:1px solid #dce4ed;border-radius:10px;padding:8px 12px;margin:12px 0;background:#fff}.ff-manage-item>summary{display:flex;align-items:center;gap:12px;list-style:none}.ff-manage-item>summary img{width:64px;height:46px;object-fit:cover;border-radius:6px}.ff-manage-item .g7c-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}

/* Football authoring controls and isolated design-state preview. */
.gw-player-list{display:grid;grid-template-columns:1fr;gap:6px;max-height:280px;overflow:auto;padding:3px;margin:14px 0}.gw-player-pick{display:flex!important;align-items:center;gap:10px;text-align:left!important;min-height:44px}.gw-player-pick img{width:24px;height:24px;object-fit:contain}.gw-player-pick[aria-pressed=true]{background:#edf3ff!important;border-color:#3767ed!important;color:#174bb7!important}.gw-editor-fold{padding:12px 0}.gw-editor-fold>summary{cursor:pointer;font-weight:600;padding:8px 0}.gw-state-overlay{position:fixed;inset:0;z-index:2147483600;background:rgba(11,24,31,.6);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:24px}.gw-state-dialog{background:#fff;border-radius:18px;width:min(1200px,100%);height:min(920px,92vh);padding:20px;display:flex;flex-direction:column;box-shadow:0 24px 90px #10232d66}.gw-state-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#10232d}.gw-state-dialog iframe{flex:1;min-height:0;width:100%;border:1px solid #dbe2de;border-radius:10px;background:#f4f5ef}.gw-state-dialog>.g7c-help{margin:12px 0}.gw-table-editor .g7c-actions{flex-wrap:wrap}

.gw-state-dialog{border:0;margin:auto}.gw-state-dialog::backdrop{background:rgba(11,24,31,.58);backdrop-filter:blur(5px)}

/* Manual market planner lists. */
.ws-manager>summary{font-weight:700;color:#273a55}.ws-manager .ff-manage-item{margin-top:12px}.ws-manager .g7c-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.ws-manager .g7c-actions button{font-size:11px}.ws-manager summary>span{line-height:1.5}

/* Elm & Thread authoring tools. */
.et-quick-row{display:grid;grid-template-columns:52px 1fr;gap:9px;padding:12px 0;border-bottom:1px solid #e1e5ed}.et-quick-row>img{width:48px;height:58px;object-fit:cover;border-radius:5px;grid-row:span 2}.et-quick-row .g7c-field{min-width:0;margin:0}.et-quick-row input{width:100%;box-sizing:border-box}.et-preview-dialog{width:min(1100px,calc(100vw - 40px));max-height:90vh;padding:20px;border:1px solid #d6dccb;border-radius:16px;background:#fff;color:#243047;box-shadow:0 30px 90px #17203850}.et-preview-dialog::backdrop{background:#17203880;backdrop-filter:blur(3px)}.et-preview-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.et-preview-dialog iframe{width:100%;height:68vh;border:1px solid #d6dccb;border-radius:8px}

.et-preview-dialog{font:14px Arial,sans-serif}.et-preview-bar>strong{font-size:18px}.et-preview-bar>.g7c-button{padding:10px 16px;background:#fff;color:#344154;border:1px solid #d5ddeb;border-radius:8px;font:600 13px Arial;cursor:pointer}.et-preview-bar>.g7c-button:hover{background:#f0f3f8}.et-preview-dialog>.g7c-help{font:13px/1.5 Arial;color:#61718a;margin:0 0 15px}

/* Newspaper authoring controls; never included in saved content. */
.bg-page-row{border:1px solid #d6dfef;border-radius:10px;margin:12px 0;padding:12px;background:#fff}.bg-page-row>summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:600}.bg-page-thumb{width:90px;min-width:90px;height:92px;padding:7px;background:#faf7ef;border:1px solid #ddd5c5;color:#262720;overflow:hidden;text-align:center;font-family:Georgia}.bg-page-thumb strong{display:block;font-size:10px;border-bottom:2px solid}.bg-page-thumb span{display:block;font-size:7px;margin:4px}.bg-page-thumb img{width:100%;height:45px;object-fit:cover}.bg-widths{display:grid;height:76px;border:1px solid #d4dbef;border-radius:10px;margin:15px 6px;background:#f3f5fb}.bg-width-cell{position:relative;display:grid;place-items:center;min-width:0;border-right:1px dashed #adb9db}.bg-width-handle{position:absolute;right:-13px;z-index:2;width:26px;height:44px;border-radius:8px;border:1px solid #aab7e4;background:#fff;color:#4254cb;cursor:ew-resize;touch-action:none;box-shadow:0 3px 8px #26357420}.bg-width-label{font-size:12px}.bg-overflow-warning{padding:12px;border-radius:8px;background:#fff3d6;color:#75490a;font-size:12px;line-height:1.5}.bg-overflow-warning[hidden]{display:none}

/* Comic authoring overlays are outside the canvas models and saved content. */
.cm-page-row,.cm-panel-row,.cm-layer-row{border:1px solid #d5def0;border-radius:10px;padding:12px;margin:10px 0;background:#fff}.cm-page-row>summary,.cm-panel-row>summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:600}.cm-page-thumb{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:4px;gap:1px;width:94px;min-width:94px;padding:4px;background:#fffaf0;border:1px solid #c9c5b6}.cm-page-thumb img{width:100%;height:100%;object-fit:cover;min-height:0}.cm-panel-row>summary img{width:64px;height:46px;object-fit:cover;border-radius:4px}.cm-canvas-tools{position:fixed;inset:0;pointer-events:none;z-index:10020}.cm-canvas-tools[hidden],.cm-canvas-handle[hidden],.cm-snap-guide[hidden]{display:none}.cm-canvas-handle{position:fixed;pointer-events:auto;border:2px solid #fff;border-radius:7px;padding:6px 9px;background:#2156df;color:white;font:bold 11px Arial;box-shadow:0 3px 10px #0a224a50;touch-action:none;cursor:move;min-height:28px}.cm-handle-size{cursor:nwse-resize}.cm-handle-tail{background:#9d610c;border-radius:30px}.cm-canvas-handle:focus-visible{outline:3px solid #ffe183;outline-offset:2px}.cm-canvas-note{position:fixed;background:#172e45;color:#fff;padding:4px 8px;border-radius:4px;font:11px Arial}.cm-canvas-note:empty{display:none}.cm-snap-guide{position:fixed;border:1px dashed #fff9;pointer-events:none;background-image:linear-gradient(to right,transparent 49%,#fff9 50%,transparent 51%),linear-gradient(to bottom,transparent 49%,#fff9 50%,transparent 51%);background-size:10% 10%;z-index:-1}.cm-edit-warning:not(:empty){padding:10px;border:1px solid #edcf87;border-radius:7px;background:#fff5d9;color:#724811;font-size:12px;line-height:1.5}.cm-editor textarea{min-height:85px}

/* Wiki authoring folds keep ordinary fields, images and links easy to scan. */
.wk-editor{border:1px solid #d5e3d9!important;border-radius:10px;background:#f8fbf8!important}.wk-editor>summary{color:#245641}.wk-sub-editor{border:1px solid #dce5de;background:#fff;border-radius:8px;padding:12px;margin:12px 0}.wk-sub-editor>summary{font-weight:600;cursor:pointer}.wk-editor textarea{min-height:100px}

/* Useful features: fast, task-based entry points into the existing section chooser. */
.g7-builder-shell .g7c-feature-search{display:block;width:100%;box-sizing:border-box;min-height:44px;padding:11px 13px;border:1px solid #d9e2ef;border-radius:12px;background:#fff;color:#243657;font:inherit;margin:14px 0 9px}
.g7-builder-shell .g7c-feature-list{display:grid;gap:12px}
.g7-builder-shell .g7c-feature-card{display:block;width:100%;padding:0;overflow:hidden;border:1px solid #dce5f0;border-radius:16px;background:#fff;color:#203351;text-align:left;font:inherit;cursor:pointer;box-shadow:0 3px 12px #25365706;transition:border-color .15s,box-shadow .15s}
.g7-builder-shell .g7c-feature-card:hover{border-color:#8eabef;box-shadow:0 6px 18px #2449a515;background:#fff;color:#203351}
.g7-builder-shell .g7c-feature-card:focus-visible,.g7-builder-shell .g7c-feature-search:focus-visible{outline:3px solid #8eabef;outline-offset:3px}
.g7-builder-shell .g7c-feature-art{display:block;height:112px;overflow:hidden;position:relative;background:#f0f4fa;border-bottom:1px solid #e3eaf4}
.g7-builder-shell .g7c-feature-art img{width:100%;height:auto;min-height:112px;object-fit:cover;object-position:top;display:block}
.g7-builder-shell .g7c-feature-art>svg{height:100%;width:100%}
.g7-builder-shell .g7c-feature-copy{display:flex;flex-direction:column;gap:7px;padding:15px 16px}
.g7-builder-shell .g7c-feature-copy strong{font-size:15px;line-height:1.35}
.g7-builder-shell .g7c-feature-copy small{font-size:12px;line-height:1.6;color:#62738d}
.g7-builder-shell .g7c-feature-link{color:#345bd0;font-size:12px;font-weight:600;margin-top:3px}
.g7c-feature-shortcuts{padding:14px 16px;border:1px solid #dfe5f2;background:#f7f9ff;border-radius:12px;margin:16px 0}
.g7c-feature-shortcuts summary{cursor:pointer;font-weight:600;color:#263f74}
.g7c-feature-shortcut-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}

/* Compact feature tools separate neutral starters from designed examples. */
.g7-builder-shell .g7c-feature-list{gap:8px}
.g7-builder-shell .g7c-feature-card{display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:11px;min-height:70px;padding:12px;border-radius:12px}
.g7-builder-shell .g7c-feature-copy{padding:0;gap:4px}
.g7-builder-shell .g7c-feature-copy strong{font-size:13px}
.g7-builder-shell .g7c-feature-copy small{font-size:11px;line-height:1.3}
.g7-builder-shell .g7c-feature-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eef3ff;color:#4665bb}
.g7-builder-shell .g7c-feature-icon svg{width:23px;height:23px}
.g7-builder-shell .g7c-feature-arrow{color:#627bb9}
.g7c-feature-options{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:26px;border:1px solid #dce5f2;border-radius:22px;box-shadow:0 24px 80px #18284330;background:#fff;color:#203351;overflow:auto}
.g7c-feature-options::backdrop{background:#23314a65;backdrop-filter:blur(3px)}
.g7c-feature-options>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.g7c-feature-options h2{margin:0;font:650 22px/1.25 system-ui,sans-serif}
.g7c-feature-options-choices{margin-top:20px}
.g7c-feature-options [data-feature-action="starter"]{border-color:#b3c6f6;background:linear-gradient(120deg,#f0f5ff,#fafbff)}
@media(max-width:500px){.g7c-feature-options{padding:20px}.g7c-feature-options h2{font-size:19px}}

/* Structure movement stays local; drag targets show the precise destination. */
.g7-builder-shell .g7c-tree-moves{display:flex;gap:2px;flex:none;padding-right:3px}
.g7-builder-shell .g7c-tree-move{display:grid;place-items:center;width:25px;height:27px;padding:3px;border:1px solid #dce5f2;border-radius:6px;background:#fff;color:#416bc3;cursor:pointer}
.g7-builder-shell .g7c-tree-move svg{width:15px;height:15px}
.g7-builder-shell .g7c-tree-move:hover:not(:disabled){background:#eaf1ff;border-color:#96b2ec;color:#2458bf}
.g7-builder-shell .g7c-tree-move:disabled{opacity:.3;cursor:default}
.g7-builder-shell .g7c-tree-move:focus-visible{outline:2px solid #527fe1;outline-offset:2px}
.g7-builder-shell .g7c-tree-row{position:relative}
.g7-builder-shell .g7c-tree-row[data-tree-drop="before"]{box-shadow:inset 0 3px #3c77ee}
.g7-builder-shell .g7c-tree-row[data-tree-drop="after"]{box-shadow:inset 0 -3px #3c77ee}
.g7-builder-shell .g7c-tree-row[data-tree-drop="inside"]{background:#e9f1ff;outline:2px solid #6f9bed;outline-offset:-2px}
.g7-builder-shell .g7c-tree-row.g7c-dragging{opacity:.45}

.g7-builder-shell .gjs-toolbar-item.g7c-core-move{display:none!important}
.g7-builder-shell .gjs-toolbar-item[hidden]{display:none!important}
.g7-builder-shell .g7ai-tier-choices{min-width:0;margin:16px 0;padding:14px;border:1px solid var(--e-line,#cbd5e3);border-radius:12px;background:var(--e-panel,#edf3fa);color:var(--e-ink,#243959)}
.g7-builder-shell .g7ai-tier-choices legend{padding:0 6px;color:var(--e-ink,#243959);font:600 12px/1.4 system-ui}
.g7-builder-shell .g7ai-tier-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.g7-builder-shell .g7ai-tier-buttons button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px;min-width:0;min-height:64px;border:1px solid var(--e-line,#cbd5e3);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#243959);text-align:left;font:13px/1.4 system-ui}
.g7-builder-shell .g7ai-tier-buttons button[aria-pressed=true]{background:var(--e-tint,#eaf1ff)!important;color:var(--e-ink,#243959)!important;border-color:var(--e-accent,#2563eb)!important;box-shadow:inset 0 0 0 1px var(--e-accent,#2563eb)}
.g7-builder-shell .g7ai-tier-buttons small{color:var(--e-muted,#61728d);font:11px/1.5 system-ui}
.g7-builder-shell .g7ai-tier-note{margin:10px 0 0;color:var(--e-muted,#61728d);font:11px/1.6 system-ui}
.g7-builder-shell [aria-busy=true] .g7ai-tier-buttons button{opacity:.6;cursor:wait}
.g7-builder-shell .g7ai-tier-buttons button:focus-visible{outline:3px solid var(--e-accent,#2563eb);outline-offset:3px}
.g7-builder-shell .g7ai-model-settings{background:var(--e-card,#f8fafd);color:var(--e-ink,#243959);border:1px solid var(--e-line,#cbd5e3);border-radius:14px;padding:20px;margin-top:18px}
.g7-builder-shell .g7ai-model-row{margin:16px 0;padding:14px;min-width:0;border:1px solid var(--e-line,#cbd5e3);border-radius:12px;background:var(--e-panel,#edf3fa)}
.g7-builder-shell .g7ai-model-row legend{color:var(--e-ink,#243959);font-weight:650;padding:0 6px}
.g7-builder-shell .g7ai-model-settings :is(input,select){display:block;box-sizing:border-box;width:100%;min-width:0;padding:10px;margin-top:6px;border:1px solid var(--e-line,#cbd5e3);border-radius:9px;font:13px/1.5 system-ui;background:var(--e-field,#fff);color:var(--e-ink,#243959)}
.g7-builder-shell .g7ai-model-settings .g7ai-label{display:block;margin:12px 0;color:var(--e-ink,#243959)}
.g7-builder-shell .g7ai-model-settings h3{color:var(--e-ink,#243959)}
.g7-builder-shell .g7c-selection-action[data-selection-action="move-up"] .g7c-selection-action-label,.g7-builder-shell .g7c-selection-action[data-selection-action="move-down"] .g7c-selection-action-label{display:none}

/* Template Finder retains a conversation while the catalogue stays separate. */
.g7-builder-shell .g7c-template-picker .g7c-template-helper.g7c-template-chat{max-width:850px;padding:24px;background:#fafbff}
.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero h3{font-size:23px}
.g7-builder-shell .g7c-template-chat .g7c-template-helper-form{gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #e1e7f4}
.g7-builder-shell .g7c-template-chat textarea{min-height:76px;resize:vertical}
.g7-builder-shell .g7c-finder-transcript{display:flex;flex-direction:column;gap:16px;max-height:min(48vh,520px);overflow-y:auto;padding:20px 4px 4px;overscroll-behavior:contain;scrollbar-width:thin}
.g7-builder-shell .g7c-finder-message{max-width:94%;padding:16px 18px;border:1px solid #e1e7f3;border-radius:18px;background:#fff;color:#263754;box-sizing:border-box;overflow-wrap:anywhere}
.g7-builder-shell .g7c-finder-message p{margin:5px 0 0;white-space:pre-wrap;font-size:13px;line-height:1.65}
.g7-builder-shell .g7c-finder-speaker{font-size:10px;font-weight:700;color:#7184a5}
.g7-builder-shell .g7c-finder-user{align-self:flex-end;max-width:80%;background:#ecedff;border-color:#d9dcfa;border-bottom-right-radius:5px}
.g7-builder-shell .g7c-finder-assistant{align-self:flex-start;border-bottom-left-radius:5px;width:100%}
.g7-builder-shell .g7c-finder-results{display:grid;gap:8px;margin:14px 0}
.g7-builder-shell .g7c-finder-result{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:center;padding:9px;width:100%;text-align:left;border:1px solid #e0e6f0;border-radius:12px;background:#fff;color:#253956;cursor:pointer;font:inherit}
.g7-builder-shell .g7c-finder-result:hover{border-color:#9bb6ed;background:#f6f9ff;color:#253956}
.g7-builder-shell .g7c-finder-result:focus-visible{outline:3px solid #9bb6ed;outline-offset:2px}
.g7-builder-shell .g7c-finder-result-image{display:block;position:relative;width:88px;height:66px;overflow:hidden;border-radius:7px;background:#eef2f8}
.g7-builder-shell .g7c-finder-result-image img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.g7-builder-shell .g7c-finder-result-image svg{width:100%;height:auto}
.g7-builder-shell .g7c-finder-result-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.g7-builder-shell .g7c-finder-result-copy strong{font-size:12px;line-height:1.35}
.g7-builder-shell .g7c-finder-result-copy small{font-size:10px;color:#70819c}
.g7-builder-shell .g7c-finder-result-copy>span{font-size:11px;line-height:1.45;color:#62738c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.g7-builder-shell .g7c-finder-hover{position:fixed;z-index:100;width:330px;padding:10px;border:1px solid #dce4f2;border-radius:15px;background:#fff;box-shadow:0 14px 44px #233b6030;pointer-events:none}
.g7-builder-shell .g7c-finder-hover[hidden]{display:none!important}
.g7-builder-shell .g7c-finder-hover-art{position:relative;height:330px;overflow:hidden;border-radius:9px;background:#f0f4fa}
.g7-builder-shell .g7c-finder-hover-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.g7-builder-shell .g7c-finder-hover>strong{display:block;font-size:12px;padding:9px 3px 2px;color:#263754}
.g7-builder-shell .g7c-finder-thinking>span{display:inline-block;color:#7c60ce;letter-spacing:5px;animation:g7-finder-thinking 1s ease-in-out infinite alternate}
@keyframes g7-finder-thinking{from{opacity:.35}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-finder-thinking>span{animation:none}}
@media(max-width:900px){.g7-builder-shell .g7c-template-picker .g7c-template-helper.g7c-template-chat{padding:16px;margin:0;max-width:none}.g7-builder-shell .g7c-finder-transcript{max-height:42vh}.g7-builder-shell .g7c-finder-message{max-width:100%;padding:12px}.g7-builder-shell .g7c-finder-user{max-width:90%}.g7-builder-shell .g7c-finder-result{grid-template-columns:68px minmax(0,1fr);gap:9px}.g7-builder-shell .g7c-finder-result-image{width:68px;height:58px}.g7-builder-shell .g7c-finder-hover{display:none!important}}

.g7-builder-shell .g7c-template-picker .g7c-template-helper.g7c-template-chat{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;box-sizing:border-box;overflow:hidden}
.g7-builder-shell .g7c-template-helper.g7c-template-chat[hidden]{display:none!important}
.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero,.g7-builder-shell .g7c-template-chat .g7c-template-helper-form{flex:none}
.g7-builder-shell .g7c-template-chat .g7c-finder-transcript{flex:1;min-height:100px;max-height:none}
@media(max-width:900px){.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero>.g7c-template-help-spark,.g7-builder-shell .g7c-template-chat .g7c-template-helper-eyebrow,.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero>p:last-child{display:none}.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero{padding:0}.g7-builder-shell .g7c-template-chat .g7c-template-helper-form{margin-top:10px;padding-top:10px}.g7-builder-shell .g7c-template-chat .g7c-template-helper-goals{gap:5px}.g7-builder-shell .g7c-template-chat .g7c-template-helper-goals button{font-size:10px;padding:6px 8px}}

/* Section controls belong to the section boundary, with a clear selection label. */
.g7-builder-shell .gjs-toolbar.g7c-selection-section{border-radius:12px;padding:8px 10px;background:#fff;box-shadow:0 3px 16px #12244424}
.g7-builder-shell .g7c-selection-section .gjs-toolbar-items{width:100%;justify-content:flex-start}
.g7-builder-shell .g7c-selection-section .g7c-selection-caption{margin-right:auto;max-width:42%;display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:8px;row-gap:2px;text-align:left;background:#eff5ff;border:0}
.g7-builder-shell .g7c-selection-section .g7c-selection-caption::before{content:attr(data-selection-kind);grid-column:2;font:600 10px/1.2 system-ui;letter-spacing:.04em;color:#5b6d8b}
.g7-builder-shell .g7c-selection-section .g7c-selection-caption>svg{grid-column:1;grid-row:1/3}
.g7-builder-shell .g7c-selection-section .g7c-selection-caption .g7c-selection-name{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.g7-builder-shell .g7c-selection-section .g7c-selection-caption{max-width:100%;flex-basis:100%}.g7-builder-shell .g7c-selection-section .g7c-selection-action{min-height:34px;min-width:34px;padding:7px}}

/* Page Planner assembles native section previews in the canvas before acceptance. */
.g7-builder-shell .g7ai-stage.g7ai-composing{width:calc(100% - 24px);height:calc(100% - 24px);pointer-events:auto;display:flex;flex-direction:column;gap:12px;padding:20px;background:#eef2f9;overflow:hidden}
.g7-builder-shell .g7ai-composing>.g7ai-orbit,.g7-builder-shell .g7ai-composing>ol,.g7-builder-shell .g7ai-composing>.g7ai-progress,.g7-builder-shell .g7ai-composing>.g7ai-elapsed{display:none}
.g7-builder-shell .g7ai-compose-preview{width:100%;min-height:0;flex:1;border:1px solid #cfd8e8;border-radius:14px;background:#fff;box-shadow:0 12px 40px #263d6320}
.g7-builder-shell .g7ai-page-outline{padding:14px 18px;margin:14px 0;border:1px solid #e0e6f1;border-radius:12px;background:#f7f9fe}
.g7-builder-shell .g7ai-page-outline summary{cursor:pointer;color:#274c83;font-weight:600}
.g7-builder-shell .g7ai-page-outline-item{display:flex;gap:14px;align-items:center;border-top:1px solid #e0e6f1;padding:12px 0}
.g7-builder-shell .g7ai-page-outline-item img{width:88px;height:58px;object-fit:cover;border-radius:7px}
.g7-builder-shell .g7ai-page-outline-item p{margin:4px 0;color:#61728d;font-size:12px}
.g7-builder-shell .g7ai-responsive-review{padding:14px 18px;margin:14px 0;border:1px solid var(--e-line,#dce4ef);border-radius:12px;background:var(--e-card,#f7f9fe);color:var(--e-ink,#223654)}
.g7-builder-shell .g7ai-responsive-review>summary{cursor:pointer;font-weight:600;color:var(--e-ink,#274c83)}
.g7-builder-shell .g7ai-responsive-review p{font-size:13px;line-height:1.6;color:var(--e-muted,#61728d);margin:8px 0}
.g7-builder-shell .g7ai-responsive-item{padding:12px 0;border-top:1px solid var(--e-line,#dce4ef)}
.g7-builder-shell .g7ai-decoration-review{padding:14px 18px;margin:14px 0;border:1px solid var(--e-line,#dce4ef);border-radius:12px;background:var(--e-card,#f7f9fe);color:var(--e-ink,#223654)}
.g7-builder-shell .g7ai-decoration-review>summary{cursor:pointer;font-weight:600;color:var(--e-ink,#274c83)}
.g7-builder-shell .g7ai-decoration-review p{font-size:13px;line-height:1.6;color:var(--e-muted,#61728d);margin:8px 0}
.g7-builder-shell .g7ai-decoration-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid var(--e-line,#dce4ef)}
.g7-builder-shell .g7ai-decoration-item>div{flex:1;min-width:0;overflow-wrap:anywhere}
.g7-builder-shell .g7ai-decoration-item>button{flex:none}

.g7-builder-shell .g7ai-review-dialog.g7ai-page-review{display:flex;flex-direction:column;height:calc(100vh - 32px);max-height:calc(100vh - 32px);overflow:hidden}
.g7-builder-shell .g7ai-page-review>.g7ai-preview{flex:1;min-height:200px;height:auto}
.g7-builder-shell .g7ai-page-review>header,.g7-builder-shell .g7ai-page-review>footer{flex-shrink:0}
.g7-builder-shell .g7ai-composed-options{padding:12px 24px;border-top:1px solid #dde5f2;max-height:40vh;overflow:auto;background:#f7f9fd}
.g7-builder-shell .g7ai-composed-options>summary{cursor:pointer;font-weight:600;color:#315181}
@media(max-width:760px){.g7-builder-shell .g7ai-review-dialog.g7ai-page-review{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.g7-builder-shell .g7ai-composed-options{padding:10px 14px}}

.g7-builder-shell .g7c-section-design-info{margin-top:12px;padding:12px;border:1px solid #e0e5ef;border-radius:10px;background:#f7f9fe;font-size:12px}
.g7-builder-shell .g7c-section-design-info summary{color:#315181;font-weight:600;cursor:pointer}
.g7-builder-shell .g7c-section-design-info p{margin:8px 0 0}

/* A clear Blocks lane within Add, separate from complete page/section browsing. */
.g7-builder-shell .g7c-add-browse-tabs{position:sticky;top:0;z-index:5;display:flex;gap:4px;padding:5px;margin:0 0 18px;border:1px solid var(--e-line,#cbd5e3);border-radius:12px;background:var(--e-bg,#eaf0f8)}
.g7-builder-shell .g7c-add-browse-tabs button{flex:1;min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--e-muted,#5a6c85);font:650 13px system-ui;cursor:pointer}
.g7-builder-shell .g7c-add-browse-tabs button[aria-pressed=true]{background:var(--e-card,#fff)!important;color:var(--e-accent,#255eb8)!important;border-color:var(--e-line,#cbd5e3);box-shadow:0 2px 5px #10203012}
.g7-builder-shell .g7c-add-options{box-sizing:border-box;width:min(780px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:18px;border:1px solid var(--e-line,#cbd5e3);border-radius:14px;background:var(--e-panel,#fff);color:var(--e-ink,#243657);overflow:auto}
.g7c-add-options::backdrop{background:#080f2099}
.g7c-add-options>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.g7c-add-options>header h2{margin:0;font:650 20px/1.3 system-ui,sans-serif}
.g7c-add-options>.g7c-add-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.g7c-add-options>.g7c-add-home>h3{display:none}.g7c-add-options>.g7c-add-home>.g7c-help{grid-column:1/-1;margin:0 0 4px}.g7-builder-shell .g7c-add-options .g7c-add-choice{margin:0;height:100%;min-height:84px}
@media(max-width:600px){.g7c-add-options>.g7c-add-home{grid-template-columns:1fr}.g7-builder-shell .g7c-add-options{padding:14px}.g7c-add-options>header h2{font-size:18px}}
.g7-builder-shell .g7c-add-blocks>h3{font:700 18px/1.3 system-ui;margin:0 0 8px;color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-add-blocks>.g7c-help{margin:0 0 15px}
.g7-builder-shell .g7c-block-search{width:100%;box-sizing:border-box;min-height:42px;padding:10px 12px;border:1px solid var(--e-line,#cbd5e3);border-radius:10px;font:13px system-ui}
.g7-builder-shell .g7c-block-filters{display:flex;gap:4px;flex-wrap:wrap;margin:12px 0}
.g7-builder-shell .g7c-block-filters button{flex:1;min-height:32px;padding:6px 7px;border:1px solid var(--e-line,#cbd5e3);border-radius:7px;background:var(--e-field,#fff);color:var(--e-muted,#5a6c85);font:600 11px system-ui;cursor:pointer}
.g7-builder-shell .g7c-block-target{padding:10px 12px;margin:0 0 9px;border-radius:9px;background:var(--e-tint,#e1ebfb);color:var(--e-muted,#5a6c85);font:11px/1.5 system-ui;overflow-wrap:anywhere}
.g7-builder-shell .g7c-block-target strong{color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-block-count{margin:0;color:var(--e-muted,#5a6c85);font:11px/1.5 system-ui}
.g7-builder-shell .g7c-block-grid :is(.gjs-blocks-c,.gjs-block-categories){background:transparent;color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-block-grid .gjs-blocks-c{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px 0}
.g7-builder-shell .g7c-block-grid .gjs-block{min-width:0;min-height:88px;box-sizing:border-box;border:1px solid var(--e-line,#cbd5e3);border-radius:12px;padding:13px 10px;background:var(--e-card,#fff);color:var(--e-ink,#233959);cursor:pointer;gap:8px;transition:border-color .15s,box-shadow .15s,transform .15s}
.g7-builder-shell .g7c-block-grid .gjs-block svg{display:block;width:27px;height:27px;color:var(--e-accent,#255eb8);margin:auto}
.g7-builder-shell .g7c-block-grid .gjs-block__media{margin:0}
.g7-builder-shell .g7c-block-grid .gjs-block-label{font:600 12px/1.35 system-ui;color:inherit;white-space:normal}
.g7-builder-shell .g7c-block-grid .gjs-block::after{display:none}
.g7-builder-shell .g7c-block-grid .gjs-block:hover{border-color:var(--e-accent,#255eb8);background:var(--e-tint,#e1ebfb);box-shadow:0 4px 12px #10203012;transform:translateY(-1px)}
.g7-builder-shell .g7c-block-grid .gjs-block:focus-visible{outline:3px solid var(--e-accent,#255eb8);outline-offset:2px}
.g7-builder-shell .g7c-block-grid .gjs-block:active{cursor:grabbing}
.g7-builder-shell .g7c-block-empty{padding:24px 14px;text-align:center;border:1px dashed var(--e-line,#cbd5e3);border-radius:12px;color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-block-empty button{padding:9px 12px;border:1px solid var(--e-line,#cbd5e3);border-radius:8px;cursor:pointer}
.g7-builder-shell :is(.g7c-add-blocks,.g7c-block-grid .gjs-block,.g7c-block-empty)[hidden]{display:none!important}
.g7-builder-shell .g7c-block-grid .gjs-block[aria-disabled=true]{opacity:.45;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-block-grid .gjs-block{transition:none}}

.g7-builder-shell .g7c-block-grid .gjs-block svg{fill:none!important;stroke:currentColor}

.g7-builder-shell .g7c-block-grid :is(.gjs-blocks-no-cat,.gjs-blocks,.gjs-block-category){background:transparent!important;color:var(--e-ink,#233959)}
@media(max-width:760px){.g7-builder-shell .g7c-layout:has(.g7c-add[data-add-stage=blocks]:not([hidden])){grid-template-rows:46px minmax(60px,1fr)minmax(310px,58%)}}
@media(max-width:600px){
 .g7-builder-shell .g7c-add[data-add-stage=blocks]{padding:10px}
 .g7-builder-shell .g7c-add-browse-tabs{margin-bottom:10px}
 .g7-builder-shell .g7c-add-blocks>h3{display:none}
 .g7-builder-shell .g7c-add-blocks>.g7c-help{font-size:11px;line-height:1.4;margin-bottom:8px}
 .g7-builder-shell .g7c-block-search{min-height:36px;font-size:12px;padding:8px 10px}
 .g7-builder-shell .g7c-block-filters{margin:8px 0}
 .g7-builder-shell .g7c-block-target{padding:6px 9px;margin-bottom:5px;font-size:10px}
 .g7-builder-shell .g7c-block-count{font-size:10px}
 .g7-builder-shell .g7c-block-grid .gjs-block{min-height:76px;padding:10px 8px}
 .g7-builder-shell .g7c-block-grid .gjs-block svg{width:24px;height:24px}
}

.g7-builder-shell .g7c-block-grid .gjs-one-bg:not(.gjs-block){background:transparent!important}

/* Read-only content preview uses the same device controls as the editor. */
.g7-builder-content-view-bar{flex-wrap:wrap}
.g7-builder-content-view-tools{display:flex;align-items:center;gap:12px;flex:1 1 520px;min-width:0;flex-wrap:wrap}
.g7-builder-content-view-viewport{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:12px;box-sizing:border-box;background:var(--e-bg,#edf3fa)}
.g7-builder-content-view-viewport iframe{flex:1;width:100%;min-height:0;max-width:none;margin-inline:auto;box-shadow:0 3px 16px #0002}
.g7-builder-content-view .g7c-devices{display:flex;align-items:center;flex-wrap:wrap;gap:4px;box-sizing:border-box;max-width:100%;min-width:0;padding:4px;border:1px solid var(--e-line,#dce3ee);border-radius:10px;background:var(--e-panel,#f8fafc)}
.g7-builder-content-view .g7c-preview-caption{padding:0 8px;font:600 11px/1.4 system-ui,sans-serif;color:var(--e-muted,#52657d);white-space:nowrap}
.g7-builder-content-view .g7c-device-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:6px;width:auto;min-width:0;min-height:36px;padding:8px 10px;border:1px solid transparent;background:transparent;color:var(--e-ink,#233959);border-radius:7px;font:500 12px/1.4 system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.g7-builder-content-view .g7c-device-button svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.g7-builder-content-view .g7c-device-button .g7c-toolbar-label{font:inherit}
.g7-builder-content-view .g7c-device-button:hover,.g7-builder-content-view .g7c-device-button[aria-pressed=true]{background:var(--e-tint,#dbe7fa);color:var(--e-accent,#255eb8);border-color:var(--e-accent,#255eb8)}
.g7-builder-content-view .g7c-device-button:focus-visible,.g7-builder-content-view-sizing input:focus-visible{outline:3px solid var(--e-accent,#255eb8);outline-offset:2px}
.g7-builder-content-view-sizing{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--e-muted,#52657d)}
.g7-builder-content-view-sizing[hidden]{display:none}
.g7-builder-content-view-sizing input{width:130px;min-width:0;margin:0;accent-color:var(--e-accent,#255eb8)}
.g7-builder-content-view-width{min-width:55px;font-size:12px;color:var(--e-muted,#52657d);font-variant-numeric:tabular-nums}
@media(max-width:1100px){.g7-builder-content-view-tools{order:3;flex-basis:100%}}
@media(max-width:600px){.g7-builder-content-view-bar{gap:10px;padding:12px}.g7-builder-content-view-bar>strong{font-size:13px}.g7-builder-content-view-bar>span{font-size:11px}.g7-builder-content-view-back{padding:9px 12px;font-size:12px}.g7-builder-content-view .g7c-devices{width:100%}.g7-builder-content-view .g7c-preview-caption{flex-basis:100%;padding:4px 6px}.g7-builder-content-view .g7c-device-button{flex:1 1 auto;padding:8px}.g7-builder-content-view-sizing{flex:1;min-width:0}.g7-builder-content-view-sizing input{width:100%;min-width:0}.g7-builder-content-view-viewport{padding:12px}}

.g7-builder-content-view-bar :is(.g7-builder-content-view-sizing,.g7-builder-content-view-width){color:var(--e-head-ink,#edf5ff)}

.g7-builder-shell .g7c-text-alignment{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--e-line,#dce3ee);border-radius:10px;background:var(--e-bg,#edf3fa)}
.g7-builder-shell .g7c-text-alignment .g7c-alignment-button{display:inline-flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:38px;margin:0;padding:7px;border:1px solid transparent;border-radius:7px;cursor:pointer;font:600 12px system-ui}
.g7-builder-shell .g7c-alignment-button svg{width:20px;height:20px;flex:none}

.g7-builder-shell .g7c-design-search{grid-column:1/-1;margin-top:10px;padding:10px;border:1px solid var(--e-line,#dce3ee);border-radius:10px;background:var(--e-card,#f8fafd)}
.g7-builder-shell .g7c-design-search[hidden]{display:none}
.g7-builder-shell .g7c-design-search>input{box-sizing:border-box;width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--e-line,#dce3ee);border-radius:7px;font:13px system-ui}
.g7-builder-shell .g7c-setting-search-status{margin:8px 0 0;color:var(--e-muted,#52657d);font:12px/1.5 system-ui}
.g7-builder-shell .g7c-setting-search-results{list-style:none;padding:0;margin:8px 0 0;max-height:220px;overflow:auto;display:grid;gap:4px}
.g7-builder-shell .g7c-setting-search-results button{display:block;box-sizing:border-box;width:100%;text-align:left;padding:9px 10px;border:1px solid var(--e-line,#dce3ee);border-radius:7px;cursor:pointer}
.g7-builder-shell .g7c-setting-search-results strong,.g7-builder-shell .g7c-setting-search-results small{display:block;font:600 12px/1.4 system-ui;color:var(--e-ink,#203044)}
.g7-builder-shell .g7c-setting-search-results small{font-weight:400;font-size:11px;color:var(--e-muted,#52657d);margin-top:3px}
.g7-builder-shell .g7c-setting-found{outline:2px solid var(--e-accent,#255eb8);outline-offset:3px;border-radius:7px}

.g7-builder-shell .g7-colour-dialog footer.g7-colour-can-clear{gap:8px}
.g7-builder-shell .g7-colour-dialog .g7-colour-can-clear button{flex:1;min-width:0;padding:10px 8px;border:1px solid #b9cdfb;border-radius:24px;font-size:15px}
.g7-builder-shell .g7-colour-dialog .g7-colour-none{background:#f4f7fc;color:#334155}
.g7-builder-shell .g7c-selection-action[data-selection-action=colours] .g7c-selection-action-label{display:none}
.g7-builder-shell .g7c-selection-action:is([data-selection-action=text-alignment],[data-selection-action=block-alignment]) .g7c-selection-action-label{display:none}
.g7-builder-shell .g7c-alignment-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:16px;border:1px solid var(--e-line,#cbd5e3);border-radius:16px;background:var(--e-panel,#fff);color:var(--e-ink,#243959);box-shadow:var(--e-shadow,0 12px 36px #15213f35);font:13px/1.5 system-ui;z-index:1300}
.g7-builder-shell .g7c-alignment-popover:not([open]){display:none}
.g7-builder-shell .g7c-alignment-popover header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0;margin:0 0 14px}
.g7-builder-shell .g7c-alignment-popover h3{font:650 16px/1.4 system-ui;color:var(--e-ink,#243959);margin:0}
.g7-builder-shell .g7c-alignment-close{display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:6px;border:0;border-radius:8px}
.g7c-alignment-popover svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.g7c-quick-align-buttons{display:flex;gap:7px}
.g7-builder-shell .g7c-quick-align-buttons button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:64px;padding:9px 4px;border:1px solid var(--e-line,#cbd5e3);border-radius:10px;background:var(--e-field,#f8fafc);color:var(--e-ink,#243959);font:500 11px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7c-quick-align-buttons button:hover{border-color:var(--e-accent,#2563eb)}
.g7-builder-shell .g7c-quick-align-buttons button[aria-pressed=true]{background:var(--e-tint,#eaf1ff);border-color:var(--e-accent,#2563eb);color:var(--e-accent,#2563eb);box-shadow:0 0 0 1px var(--e-accent,#2563eb)}
.g7-builder-shell .g7c-alignment-popover button:focus-visible{outline:3px solid var(--e-accent,#2563eb);outline-offset:2px}
.g7c-quick-align-help{margin:12px 0 0;color:var(--e-muted,#61728d);font:12px/1.55 system-ui}
.g7-builder-shell .g7-colour-block-dialog{width:min(400px,calc(100vw - 24px))}
.g7-builder-shell .g7-colour-targets{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 20px 16px}
.g7-builder-shell .g7-colour-dialog .g7-colour-target{display:grid;grid-template-columns:30px minmax(0,1fr);gap:2px 9px;align-items:center;text-align:left;padding:12px 10px;border:1px solid var(--e-line,#d0d9e6);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#243959);min-width:0}
.g7-builder-shell .g7-colour-dialog .g7-colour-target[aria-pressed=true]{background:var(--e-tint,#eaf1ff);border-color:var(--e-accent,#2563eb);box-shadow:0 0 0 1px var(--e-accent,#2563eb)}
.g7-colour-target-swatch{position:relative;grid-row:1/3;display:block;width:28px;height:28px;border:1px solid #8995a080;border-radius:8px;overflow:hidden;background:repeating-conic-gradient(#d4d9e0 0 25%,#fff 0 50%) 0/8px 8px}
.g7-colour-target-swatch::after{content:"";position:absolute;inset:0;background:var(--g7-target-colour,transparent)}
.g7-colour-target-name{font-size:12px;font-weight:650;line-height:1.4}
.g7-colour-target-value{font:11px/1.4 system-ui;color:var(--e-muted,#61728d)}
.g7-colour-block-preview{padding:16px 20px;border-top:1px solid var(--e-line,#d0d9e6);border-bottom:1px solid var(--e-line,#d0d9e6);font:600 17px/1.6 system-ui;text-align:center;overflow-wrap:anywhere}
.g7-builder-shell .g7-colour-block-dialog .g7-colour-area{height:150px}
.g7-builder-shell .g7-colour-block-dialog .g7-colour-body{padding-top:12px}
.g7-builder-shell .g7-colour-block-dialog .g7-colour-swatch{margin-bottom:16px}
.g7-builder-shell .g7-colour-block-dialog footer{padding-top:16px;padding-bottom:16px}
.g7-builder-shell .g7-colour-block-dialog footer button{font-size:13px}
.g7-builder-shell[data-editor-theme] .g7-colour-block-dialog .g7-colour-apply{background:var(--e-accent);color:var(--e-accent-ink);border-color:var(--e-accent)}
.g7-builder-shell[data-editor-theme] .g7-colour-block-dialog .g7-colour-apply:hover:not(:disabled){background:var(--e-accent);color:var(--e-accent-ink);filter:brightness(1.08)}
.g7-builder-shell[data-editor-theme] .g7-colour-block-dialog :is(.g7-colour-dismiss,.g7-colour-eyedropper,.g7-colour-tab,.g7-colour-cancel,.g7-colour-none){background:var(--e-field);color:var(--e-ink);border-color:var(--e-line)}
.g7-builder-shell[data-editor-theme] .g7-colour-block-dialog .g7-colour-tab[aria-selected=true]{background:var(--e-tint);color:var(--e-accent);border-bottom-color:var(--e-accent)}
@media(max-width:380px){.g7-builder-shell .g7-colour-targets{padding-left:12px;padding-right:12px;gap:8px}.g7-builder-shell .g7-colour-dialog .g7-colour-target{grid-template-columns:22px minmax(0,1fr);padding:10px 8px;gap:2px 7px}.g7-colour-target-swatch{width:20px;height:26px}.g7-colour-target-name{font-size:11px}}

/* Unsplash is an additional source in the existing image picker. */
.g7-builder-media-dialog .g7u-tabs{display:flex;gap:8px;padding:12px 18px;border-bottom:1px solid #cad5e5;flex:none}
.g7u-tabs button,.g7u-panel button{border:1px solid #cad5e5;border-radius:9px;padding:10px 14px;font:600 13px system-ui;cursor:pointer}
.g7u-tabs [aria-selected=true]{background:#e1eefb;border-color:#3978b9}
.g7u-panel{overflow:auto;padding:18px;min-height:0;flex:1}
.g7u-panel[hidden]{display:none}
.g7u-search{display:flex;gap:12px;align-items:end}.g7u-search label{display:grid;gap:7px;flex:1;font:600 13px system-ui}
.g7u-search input,.g7u-search select{min-height:42px;min-width:0;padding:9px 12px;border:1px solid #cad5e5;border-radius:8px;font:14px system-ui}
.g7u-search input{width:100%;box-sizing:border-box}
.g7u-status{font:13px/1.6 system-ui}
.g7u-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0}
.g7u-card{min-width:0}.g7u-card>button{display:block;width:100%;padding:0;overflow:hidden;background:transparent}
.g7u-card img{display:block;width:100%;height:150px;object-fit:cover}
.g7u-credit{display:block;font:12px/1.6 system-ui;margin:7px 0}.g7u-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.g7u-preview{border-top:1px solid #cad5e5;padding-top:18px;margin-top:18px}.g7u-preview>img{display:block;max-width:100%;width:auto;height:auto;max-height:350px;margin:auto}.g7u-preview .g7u-use{background:#245dcc;color:white}
.g7u-panel :is(button,input,select,a):focus-visible,.g7u-tabs button:focus-visible{outline:3px solid #50c7bd;outline-offset:3px}
@media(max-width:760px){.g7u-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g7u-search{flex-wrap:wrap}.g7u-search label{flex-basis:100%}.g7u-search select{flex:1}.g7u-card img{height:120px}.g7u-panel{padding:12px}}

.g7u-panel [hidden]{display:none!important}
.g7u-search{position:sticky;top:0;z-index:3;padding-bottom:12px;background:var(--e-panel,#f5f7fb)}

.g7ai-photo-slot{display:grid;gap:8px;margin:12px 0;padding:12px;border:1px solid #cad5e5;border-radius:10px;min-width:0}.g7ai-photo-slot p{margin:0}.g7ai-photo-slot label{display:grid;gap:6px}.g7ai-photo-slot input{box-sizing:border-box;width:100%;min-width:0;padding:8px;border:1px solid #cad5e5;border-radius:7px;font:13px system-ui}.g7ai-photo-slot button{justify-self:start}.g7-builder-shell[data-editor-theme] .g7ai-photo-slot{border-color:var(--e-line);background:var(--e-card);color:var(--e-ink)}


/* Keep every draft photo choice inside the bounded adjustments scroller. */
.g7-builder-shell .g7ai-composed-options{flex:0 1 auto;min-height:0;max-height:45dvh;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}
.g7-builder-shell .g7ai-composed-options>summary{position:sticky;top:-12px;z-index:2;padding:8px 0;background:var(--e-panel,#f7f9fd)}
.g7-builder-shell .g7ai-photo-search{min-width:0;padding:12px 0;color:var(--e-ink,#223654)}
.g7-builder-shell .g7ai-photo-search>summary{cursor:pointer;font-weight:650;color:var(--e-accent,#315181)}
.g7ai-photo-proposal{display:flex;align-items:center;gap:12px;min-width:0}
.g7ai-photo-proposal img{width:128px;height:90px;object-fit:cover;border-radius:8px;flex-shrink:0}
.g7ai-photo-proposal>div{min-width:0;display:grid;gap:8px}
.g7ai-photo-proposal a{color:var(--e-accent,#315181);text-decoration:underline}
.g7ai-photo-proposal[hidden]{display:none!important}
@media(max-width:600px){.g7-builder-shell .g7ai-composed-options{max-height:45dvh;padding:10px 14px}.g7ai-photo-proposal{align-items:flex-start;flex-wrap:wrap}.g7ai-photo-proposal img{width:100px;height:75px}}


/* Page Planner type choices use readable buttons, not a hidden select menu. */
.g7-builder-shell .g7ai-page-types{min-width:0;margin:16px 0;padding:0;border:0}
.g7-builder-shell .g7ai-page-types legend{padding:0;margin-bottom:10px;font-weight:650;color:var(--e-ink,#223654)}
.g7-builder-shell .g7ai-page-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.g7-builder-shell .g7ai-page-type-grid .g7c-button{min-width:0;min-height:64px;margin:0;padding:10px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;white-space:normal;border-radius:10px;border:1px solid var(--e-line,#d5dfea);background:var(--e-field,#fff);color:var(--e-ink,#223654)}
.g7-builder-shell .g7ai-page-type-grid strong{font:650 13px/1.35 system-ui}
.g7-builder-shell .g7ai-page-type-grid span{font:400 11px/1.4 system-ui;color:var(--e-muted,#64748b)}
.g7-builder-shell .g7ai-page-type-grid button[aria-pressed=true]{background:var(--e-tint,#eaf1fc)!important;border-color:var(--e-accent,#245dcc)!important;color:var(--e-accent,#245dcc)!important;box-shadow:inset 0 0 0 1px var(--e-accent,#245dcc)}
.g7-builder-shell .g7ai-page-type-grid button[aria-pressed=true] span{color:var(--e-ink,#223654)}
.g7-builder-shell .g7ai-page-type-grid button:hover{border-color:var(--e-accent,#245dcc)}

/* Reset actions are quiet, clearly clickable controls rather than tiny links. */
.g7-builder-shell .g7c-button.g7c-reset-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;max-width:100%;min-height:36px;padding:8px 12px;margin-top:8px;border:1px solid var(--e-line,#cbd5e3)!important;border-radius:10px;background:var(--e-field,#f8fafc)!important;color:var(--e-muted,#52657d)!important;box-shadow:0 1px 2px #0000000a;font:550 12px/1.4 system-ui;text-align:left;white-space:normal;cursor:pointer}
.g7-builder-shell .g7c-field>.g7c-reset-button{display:flex;grid-column:1/-1;width:fit-content;margin:9px 0 0 auto}
.g7c-reset-icon{display:flex;align-items:center;flex:none;color:var(--e-accent,#2563eb)}
.g7c-reset-icon svg{display:block;width:16px;height:16px}
.g7c-reset-label{min-width:0;overflow-wrap:anywhere}
.g7-builder-shell .g7c-button.g7c-reset-button:hover:not(:disabled){background:var(--e-tint,#eaf1ff)!important;border-color:var(--e-accent,#2563eb)!important;color:var(--e-ink,#243959)!important;box-shadow:0 2px 6px #00000014}
.g7-builder-shell .g7c-button.g7c-reset-button:focus-visible{outline:3px solid var(--e-accent,#2563eb);outline-offset:2px}
.g7-builder-shell .g7c-button.g7c-reset-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
@media(pointer:coarse){.g7-builder-shell .g7c-button.g7c-reset-button{min-height:40px}}

/* Selected-sticker settings use the editor palette, never a fixed white card. */
.g7-builder-shell .g7st-controls{padding:18px;margin-top:14px;border:1px solid var(--e-line,#d8dfea);border-radius:18px;background:var(--e-card,#f8fafd);color:var(--e-ink,#243959);box-shadow:0 3px 12px #0000000a}
.g7st-controls-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--e-line,#d8dfea)}
.g7st-controls-badge{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--e-tint,#eaf1ff);color:var(--e-accent,#2563eb)}
.g7st-controls-badge svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.g7st-controls-heading{min-width:0;flex:1}
.g7st-controls-eyebrow{display:block;margin-bottom:4px;color:var(--e-muted,#61728d);font:600 10px/1.4 system-ui;text-transform:uppercase;letter-spacing:.08em}
.g7-builder-shell .g7st-controls .g7st-controls-header h4{margin:0;color:var(--e-ink,#243959);font:650 15px/1.4 system-ui;overflow-wrap:anywhere}
.g7-builder-shell .g7st-controls .g7st-inside{margin:5px 0 0;color:var(--e-muted,#61728d)!important;font:12px/1.5 system-ui;overflow-wrap:anywhere}
.g7-builder-shell .g7st-controls .g7st-field{margin:16px 0;color:var(--e-ink,#243959);font:12px/1.5 system-ui;gap:7px}
.g7-builder-shell .g7st-controls .g7st-field>span:not(.g7-control-range-caption){font-weight:550}
.g7-builder-shell .g7st-controls .g7st-overridden>span{color:var(--e-accent,#2563eb)}
.g7-builder-shell .g7st-controls .g7st-field :is(select,textarea,input:not([type=range]):not([type=color]):not([type=checkbox])){min-height:42px;border-color:var(--e-line,#cbd5e3);background:var(--e-field,#fff);color:var(--e-ink,#243959);padding:10px 12px;border-radius:10px;font-size:13px}
.g7-builder-shell .g7st-controls :is(.g7st-field small,.g7c-help){color:var(--e-muted,#61728d)!important;font-size:12px;line-height:1.65}
.g7-builder-shell .g7st-controls :is(.g7-control-range-value,.g7st-range-value){color:var(--e-accent,#2563eb)!important;font-weight:650}
.g7st-control-icon{display:inline-flex;align-items:center;flex:none}
.g7st-control-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.g7-builder-shell .g7st-controls .g7st-add-text::before{content:none;display:none}
.g7-builder-shell .g7st-controls button.g7st-add-text{min-height:44px;padding:11px 14px;margin:18px 0 0;border:1px solid var(--e-accent,#2563eb)!important;border-radius:12px;background:var(--e-tint,#eaf1ff)!important;color:var(--e-ink,#243959)!important;font:600 13px/1.5 system-ui}
.g7-builder-shell .g7st-controls .g7st-add-text .g7st-control-icon{color:var(--e-accent,#2563eb)}
.g7-builder-shell .g7st-controls .g7st-basic>.g7st-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--e-line,#d8dfea)}
.g7-builder-shell .g7st-controls .g7st-actions>.g7c-button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:42px;padding:10px;border-radius:10px;white-space:normal;font:550 12px/1.5 system-ui;border:1px solid var(--e-line,#cbd5e3)}
.g7st-basic>.g7st-actions :is(.g7st-choose-area,.g7st-browse-action){grid-column:1/-1}
.g7st-area-picker{margin:16px 0}
.g7-builder-shell .g7st-controls .g7st-area-picker>button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:10px;border:1px solid var(--e-accent,#269e99);border-radius:10px;background:var(--e-tint,#e5f3f0);color:var(--e-ink,#233959);font:600 12px/1.5 system-ui}
.g7st-area-picker>.g7c-help{margin:8px 0 0}
.g7-builder-shell[data-mode-sticker-area=page] .g7st-area-list,.g7-builder-shell[data-mode-sticker-area=list] .g7st-area-picker{display:none!important}
.g7-builder-shell .g7st-controls .g7st-actions>.g7st-delete-action{background:var(--e-field,#fff)!important;color:#b83b42!important;border-color:var(--e-line,#cbd5e3)!important}
.g7-builder-shell[data-editor-theme=midnight] .g7st-controls .g7st-actions>.g7st-delete-action{color:#ffb6b1!important}
.g7-builder-shell .g7st-controls :is(.g7st-actions>.g7c-button,.g7st-add-text):hover:not(:disabled){background:var(--e-tint,#eaf1ff)!important;border-color:var(--e-accent,#2563eb)!important}
.g7-builder-shell .g7st-controls .g7st-actions>.g7st-delete-action:hover:not(:disabled){background:var(--e-field,#fff)!important;border-color:currentColor!important}
.g7-builder-shell .g7st-controls .g7st-placement-help{margin:14px 0 0;padding:12px;border-radius:10px;background:var(--e-panel,#edf3fa);font-size:12px}
.g7-builder-shell .g7st-controls .g7st-advanced{border:1px solid var(--e-line,#d8dfea);border-radius:12px;margin-top:18px;padding:0;background:var(--e-panel,#edf3fa);overflow:hidden}
.g7-builder-shell .g7st-controls .g7st-advanced>summary{display:flex;align-items:center;gap:10px;list-style:none;margin:0;padding:13px 12px;color:var(--e-ink,#243959);font:600 12px/1.5 system-ui}
.g7st-controls .g7st-advanced>summary::-webkit-details-marker{display:none}
.g7st-controls .g7st-advanced>summary::after{content:"";width:7px;height:7px;margin-left:auto;flex:none;border-right:1.5px solid var(--e-muted,#61728d);border-bottom:1.5px solid var(--e-muted,#61728d);transform:rotate(45deg)}
.g7st-controls .g7st-advanced[open]>summary::after{transform:rotate(225deg)}
.g7-builder-shell .g7st-controls .g7st-advanced[open]>summary{border-bottom:1px solid var(--e-line,#d8dfea)}
.g7st-controls .g7st-advanced-body{padding:0 12px 14px}
.g7-builder-shell .g7st-controls .g7st-anchors{background:var(--e-field,#fff)}
.g7-builder-shell .g7st-controls .g7st-anchors [aria-pressed=true]{background:var(--e-tint,#eaf1ff)!important;color:var(--e-accent,#2563eb)!important;border-color:var(--e-accent,#2563eb)!important}
.g7-builder-shell .g7st-controls :focus-visible{outline:3px solid var(--e-accent,#2563eb);outline-offset:3px}
.g7-builder-shell .g7st-controls button:disabled{opacity:.5;cursor:not-allowed}
.g7-builder-shell[data-editor-theme=midnight] .g7st-controls .g7st-warnings{background:#3c3021;border-color:#7c633e;color:#f1d6a1}
.g7-builder-shell .g7st-controls .g7st-field input[type=range]::-webkit-slider-runnable-track{height:4px;background:linear-gradient(to right,var(--e-accent,#2563eb) var(--g7-range-progress,0%),var(--e-line,#d8dfea) var(--g7-range-progress,0%))}
.g7-builder-shell .g7st-controls .g7st-field input[type=range]::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5px;background:var(--e-accent,#2563eb);border:2px solid var(--e-card,#f8fafd)}
.g7-builder-shell .g7st-controls .g7st-field input[type=range]::-moz-range-track{height:4px;background:var(--e-line,#d8dfea)}
.g7-builder-shell .g7st-controls .g7st-field input[type=range]::-moz-range-progress{height:4px;background:var(--e-accent,#2563eb)}
.g7-builder-shell .g7st-controls .g7st-field input[type=range]::-moz-range-thumb{width:12px;height:12px;background:var(--e-accent,#2563eb);border:2px solid var(--e-card,#f8fafd)}
.g7-builder-shell .g7c-insertion-line.g7c-guide-obscured::before{display:none}
.g7-builder-shell .g7c-template-filter-options :is(.g7c-template-tag,.g7c-template-filter-empty)[hidden]{display:none!important}
.g7-builder-shell .g7c-template-filter-empty{margin:0;color:var(--e-muted,#61728d);font:12px/1.6 system-ui}
@media(min-width:1101px){.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:clamp(360px,32vw,480px) minmax(0,1fr)}}

/* Native video selection shares the existing search, uploads and playback controls. */
.g7-builder-shell .g7c-selection-compact [data-selection-action=select-video] .g7c-selection-action-label{display:inline}
.g7-builder-shell .g7c-video-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--e-line,#cbd5e3);border-radius:20px;background:var(--e-panel,#fff);color:var(--e-ink,#243959);box-shadow:var(--e-shadow,0 20px 70px #15213f40);font:14px/1.5 system-ui;overflow:hidden}
.g7-builder-shell .g7c-video-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}
.g7-builder-shell .g7c-video-dialog:not([open]){display:none}
.g7c-video-dialog::backdrop{background:#0b162d99;backdrop-filter:blur(3px)}
.g7c-video-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 16px}
.g7-builder-shell .g7c-video-dialog h2{margin:0 0 6px;color:var(--e-ink,#243959);font:650 24px/1.3 system-ui;letter-spacing:-.4px}
.g7c-video-dialog-header p{margin:0;color:var(--e-muted,#61728d);font-size:13px}
.g7c-video-current{margin:0 24px 16px;padding:11px 14px;border:1px solid var(--e-line,#cbd5e3);border-radius:10px;background:var(--e-tint,#eaf1ff);color:var(--e-ink,#243959);font-size:12px;overflow-wrap:anywhere}
.g7c-video-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 20px;scrollbar-gutter:stable}
.g7-builder-shell .g7c-video-dialog .g7c-video-controls{margin:0;padding:16px;border-radius:14px}
.g7c-video-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;border-top:1px solid var(--e-line,#cbd5e3);background:var(--e-panel,#edf3fa)}
.g7c-video-dialog-footer .g7c-help{margin:0;max-width:460px;font-size:12px}
.g7-builder-shell .g7c-video-dialog button{min-height:42px;border-radius:10px;font:550 13px/1.4 system-ui}
.g7-builder-shell .g7c-video-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.g7-builder-shell .g7c-video-sources button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;min-height:132px;padding:14px;border:1px solid var(--e-line,#cbd5e3);background:var(--e-field,#fff);color:var(--e-ink,#243959);text-align:left}
.g7c-video-sources strong{font-weight:650}
.g7c-video-sources button>span:last-child{font:12px/1.5 system-ui;color:var(--e-muted,#61728d)}
.g7c-video-source-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--e-tint,#eaf1ff);color:var(--e-accent,#2563eb)}
.g7c-video-source-icon svg{width:22px;height:22px}
.g7-builder-shell .g7c-video-sources button[aria-pressed=true]{border-color:var(--e-accent,#2563eb)!important;background:var(--e-tint,#eaf1ff)!important;color:var(--e-ink,#243959)!important;box-shadow:inset 0 0 0 1px var(--e-accent,#2563eb)}
.g7-builder-shell .g7c-video-controls{background:var(--e-card,#f8fafd);border-color:var(--e-line,#cbd5e3);color:var(--e-ink,#243959)}
.g7-builder-shell .g7c-video-heading{background:var(--e-tint,#eaf1ff);border-color:var(--e-line,#cbd5e3)}
.g7-builder-shell .g7c-video-controls :is(h4,h5,.g7c-video-advanced>summary){color:var(--e-ink,#243959)}
.g7-builder-shell .g7c-video-controls :is(.g7c-video-heading p,.g7c-video-or,.g7c-video-preview-note){color:var(--e-muted,#61728d)}
.g7-builder-shell .g7c-video-controls .g7c-video-icon{background:var(--e-field,#fff);border-color:var(--e-line,#cbd5e3);color:var(--e-accent,#2563eb)}
.g7-builder-shell .g7c-video-controls :is(.g7c-video-part+.g7c-video-part,.g7c-video-toggle,.g7c-video-advanced[open]>summary){border-color:var(--e-line,#cbd5e3)}
.g7-builder-shell .g7c-video-controls :is(.g7c-video-advanced,.g7c-video-preview-note){background:var(--e-panel,#edf3fa);border-color:var(--e-line,#cbd5e3)}
.g7-builder-shell .g7c-video-controls .g7c-video-toggle>input[type=checkbox]:checked{background:var(--e-accent,#2563eb);border-color:var(--e-accent,#2563eb)}
.g7-builder-shell .g7c-video-dialog :is(.g7c-player-video-choose,.g7yt-lookup,.g7c-video-use-link,.g7c-video-dialog-footer button){background:var(--e-accent,#2563eb)!important;color:var(--e-accent-ink,#fff)!important;border-color:var(--e-accent,#2563eb)!important}
.g7-builder-shell .g7c-video-dialog .g7c-video-use-link{padding:10px 16px}
.g7-builder-shell .g7c-video-dialog :is(button,input,select,summary):focus-visible{outline:3px solid var(--e-accent,#2563eb);outline-offset:3px}
.g7-builder-shell .g7c-video-dialog button:hover:not(:disabled){filter:brightness(1.08)}
.g7-builder-shell[data-editor-theme=midnight] .g7c-video-controls .g7c-video-error{color:#ffb6b1}
@media(max-width:540px){.g7c-video-dialog-header{padding:18px 16px 14px}.g7c-video-current{margin-right:16px;margin-left:16px}.g7c-video-dialog-body{padding:0 16px 16px}.g7c-video-dialog-footer{padding:14px 16px;gap:12px}.g7-builder-shell .g7c-video-sources{grid-template-columns:1fr;gap:8px}.g7-builder-shell .g7c-video-sources button{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;row-gap:2px;min-height:68px;padding:12px}.g7c-video-sources .g7c-video-source-icon{grid-row:1/3}.g7c-video-sources button>span:last-child{grid-column:2}}

/* Unavailable quick actions do not occupy space in the canvas toolbar. */
.g7-builder-shell .gjs-toolbar .g7c-selection-action:is(:disabled,[aria-disabled="true"]),.g7-builder-shell .gjs-toolbar .gjs-toolbar-item:is(.g7c-selection-disabled,[aria-disabled="true"]),.g7-builder-shell .gjs-toolbar .gjs-toolbar-item:has(.g7c-selection-action:is(:disabled,[aria-disabled="true"])){display:none!important}

.g7-builder-shell .g7ai-credits-dialog{width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);background:var(--e-panel,#edf3fa);color:var(--e-ink,#17243c);border:1px solid var(--e-line,#d7e0ee);border-radius:20px}
.g7-builder-shell .g7ai-credits-body{padding:20px;overflow:auto;min-height:0}
.g7-builder-shell .g7ai-credits-dialog>p{padding:0 20px}
.g7-builder-shell .g7ai-credit-balance{display:grid;gap:8px;padding:20px;border:1px solid var(--e-line,#d7e0ee);border-radius:14px;background:var(--e-card,#fff)}
.g7-builder-shell .g7ai-credit-balance strong{font-size:28px;color:var(--e-accent,#4bc4be)}
.g7-builder-shell .g7ai-credit-table-wrap{overflow:auto}
.g7-builder-shell .g7ai-credit-table{width:100%;border-collapse:collapse;font-size:13px}
.g7-builder-shell .g7ai-credit-table th,.g7-builder-shell .g7ai-credit-table td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--e-line,#d7e0ee);color:var(--e-ink,#17243c)}
.g7-builder-shell .g7ai-credit-table small{display:block;color:var(--e-muted,#63758f);margin-top:5px}
.g7ai-credit-table .g7ai-credit-cost{min-width:150px;font-variant-numeric:tabular-nums}.g7ai-credit-cost>strong{white-space:nowrap}.g7ai-credit-cost-note{line-height:1.6}
.g7-builder-shell .g7ai-credit-location{max-width:260px;overflow-wrap:anywhere}
.g7-builder-shell .g7ai-credit-table .g7ai-credit-refund{color:var(--e-accent,#4bc4be);font-weight:600}
.g7-builder-shell .g7ai-credits-dialog header,.g7-builder-shell .g7ai-credits-dialog footer{background:var(--e-card,#fff);color:var(--e-ink,#17243c)}

.g7-builder-shell .g7ai-credits-dialog h2,.g7-builder-shell .g7ai-credits-dialog h3{color:var(--e-ink,#17243c)}

.g7-builder-shell .gjs-toolbar.g7c-selection-footer{border-radius:14px;box-shadow:0 -4px 24px #0002;z-index:30}
.g7-builder-shell .g7c-selection-footer .gjs-toolbar-items{justify-content:center;flex-wrap:wrap}

.g7-builder-shell .g7ai-build-cost-history{overflow:auto;margin-top:18px}
.g7-builder-shell .g7ai-build-cost-table{width:100%;border-collapse:collapse;font-size:12px}
.g7-builder-shell .g7ai-build-cost-table th,.g7-builder-shell .g7ai-build-cost-table td{padding:10px;border-bottom:1px solid var(--e-line,#d7e0ee);text-align:left;vertical-align:top}
.g7-builder-shell .g7ai-build-cost-table pre{max-height:380px;max-width:650px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}

.g7ai-feature-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0}.g7ai-feature-row select{max-width:210px}.g7ai-tool-maintenance{opacity:.75}.g7ai-maintenance-label{color:var(--g7-accent,#4bc5bf)!important;margin-top:6px}.g7ai-maintenance-dialog{max-width:460px!important}.g7ai-maintenance-dialog section{padding:28px}.g7ai-maintenance-dialog p{line-height:1.65}.g7ai-tool[hidden]{display:none!important}

.g7-builder-settings-loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:34px 24px;color:var(--e-ink,#233959);background:var(--e-panel,#f7f9fc);font:500 14px/1.5 system-ui}
.g7-builder-settings-loading[hidden]{display:none}
.g7-settings-loading .g7-builder-settings-body{visibility:hidden;overflow:hidden}
.g7-builder-settings-spinner{width:23px;height:23px;border:3px solid var(--e-line,#dce4f0);border-top-color:var(--e-accent,#4bc5bf);border-radius:50%;animation:g7-settings-ready-spin .8s linear infinite;flex:none}
@keyframes g7-settings-ready-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.g7-builder-settings-spinner{animation:none}}

.g7-builder-settings-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:14px 20px;border-bottom:1px solid var(--e-line,#dce4f0);background:var(--e-panel,#f7f9fc);flex:none}
.g7-builder-settings-tabs button{appearance:none;border:1px solid var(--e-line,#dce4f0);border-radius:9px;padding:9px 12px;background:var(--e-card,#fff);color:var(--e-ink,#233959);font:600 12px/1.3 system-ui;cursor:pointer}
.g7-builder-settings-tabs button[aria-selected=true]{background:var(--e-accent,#4bc5bf);border-color:var(--e-accent,#4bc5bf);color:#102b32}
.g7-builder-settings-tabs button:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:3px}
.g7-builder-settings [data-settings-category][hidden],.g7-builder-settings-ai[hidden]{display:none!important}
.g7-settings-loading .g7-builder-settings-tabs{visibility:hidden}
@media(max-width:500px){.g7-builder-settings-tabs{padding:10px;gap:5px}.g7-builder-settings-tabs button{padding:8px 10px}}

.g7-builder-shell .g7-builder-credits-open{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.g7-builder-shell .g7-builder-credits-open .g7-builder-credit-token{width:21px;height:21px;flex:none;color:var(--e-accent,#4bc5bf)}
.g7-builder-shell .g7-builder-credit-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:3px 8px;border-radius:7px;background:color-mix(in srgb,var(--e-accent,#4bc5bf) 15%,transparent);color:inherit;font:700 12px/1.4 system-ui;font-variant-numeric:tabular-nums}

.g7-builder-shell .g7st-studio-dialog{width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--e-line,#dce4f0);border-radius:20px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959);box-shadow:0 24px 90px #101c3c40;overflow:hidden}
.g7st-studio-dialog[open]{display:flex;flex-direction:column}
.g7st-studio-dialog::backdrop{background:#0b142e9c;backdrop-filter:blur(4px)}
.g7st-studio-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;border-bottom:1px solid var(--e-line,#dce4f0);flex:none}
.g7st-studio-header h2{font:700 25px/1.25 system-ui;margin:5px 0 8px;color:inherit}
.g7st-studio-header p{font:13px/1.6 system-ui;margin:0;color:var(--e-muted,#65758e)}
.g7st-studio-body{overflow:auto;min-height:0;padding:20px 24px;overscroll-behavior:contain}
.g7st-studio-body .g7st-ai{margin:0;background:var(--e-card,#fff);border-color:var(--e-line,#dce4f0);color:var(--e-ink,#233959)}
.g7st-studio-intro{display:none}
.g7st-studio-body .g7st-ai-body{padding:20px;margin:0;min-width:0}
.g7st-studio-body .g7st-ai-body>.g7st-field textarea{min-height:120px}
.g7st-studio-body .g7st-ai-preview{height:250px;background:var(--e-panel,#edf3fa)}
.g7-builder-shell .g7st-studio-launch{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:15px;margin:14px 0;border-radius:13px;border:1px solid var(--e-line,#ded4ff);background:var(--e-card,#f8f3ff);color:var(--e-ink,#453082)}
.g7st-studio-launch>span:nth-child(2){flex:1}.g7st-studio-launch strong,.g7st-studio-launch small{display:block}.g7st-studio-launch small{margin-top:3px;font-size:12px;color:var(--e-muted,#65758e)}
.g7st-studio-launch[hidden],.g7st-studio-dialog [hidden]{display:none!important}
@media(max-width:500px){.g7-builder-shell .g7st-studio-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}.g7st-studio-header{padding:18px}.g7st-studio-body{padding:14px}.g7st-studio-body .g7st-ai-body{padding:14px}}

.g7-builder-shell .g7-table-editor-popup{width:min(1000px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--e-line,#dce4f0);border-radius:18px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959);box-shadow:0 24px 90px #101c3c40;overflow:hidden}
.g7-table-editor-popup[open]{display:flex;flex-direction:column}.g7-table-editor-popup::backdrop{background:#0b142e9c;backdrop-filter:blur(4px)}
.g7-table-editor-popup>header,.g7-table-editor-popup>footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;flex:none}.g7-table-editor-popup>header{border-bottom:1px solid var(--e-line,#dce4f0)}.g7-table-editor-popup>footer{border-top:1px solid var(--e-line,#dce4f0)}
.g7-table-editor-popup h2{font:700 25px/1.25 system-ui;margin:5px 0 8px;color:inherit}.g7-table-editor-popup header p{margin:0;font:13px/1.6 system-ui;color:var(--e-muted,#65758e)}
.g7-table-editor-body{overflow:auto;min-height:0;min-width:0;margin:0;padding:22px;border:0;overscroll-behavior:contain}.g7-table-editor-popup .g7c-design-group,.g7-table-editor-popup .ff-manage-item,.g7-table-editor-popup .gw-editor-fold{background:var(--e-card,#fff);border:1px solid var(--e-line,#dce4f0);border-radius:12px;color:var(--e-ink,#233959);padding:16px;margin-bottom:12px}.g7-table-editor-popup summary{cursor:pointer;font-weight:600}.g7-table-editor-popup .g7c-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
@media(max-width:600px){.g7-builder-shell .g7-table-editor-popup{width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}.g7-table-editor-popup>header,.g7-table-editor-popup>footer{padding:15px}.g7-table-editor-body{padding:12px}}

.g7pd-error-reason{padding:12px 14px;border:1px solid var(--e-line,#dce4f0);border-radius:10px;background:var(--e-card,#fff);color:var(--e-ink,#233959);overflow-wrap:anywhere}.g7pd-error-reference{display:block;margin:8px 0;color:var(--e-muted,#65758e)}.g7pd-retry-note{display:block;margin-top:10px;font-size:12px;line-height:1.6}

.g7-builder-shell .g7-publication-editor{width:min(1600px,calc(100vw - 32px));height:min(1000px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid var(--e-line,#dce4f0);border-radius:20px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959);overflow:hidden;box-shadow:0 24px 90px #101c3c40}
.g7-publication-editor[open]{display:flex;flex-direction:column}.g7-publication-editor::backdrop{background:#0b142e9c;backdrop-filter:blur(4px)}
.g7-publication-editor>header,.g7-publication-editor>footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;flex:none;border-bottom:1px solid var(--e-line,#dce4f0)}.g7-publication-editor>footer{border-bottom:0;border-top:1px solid var(--e-line,#dce4f0);font:12px/1.6 system-ui}
.g7-publication-editor h2{font:700 25px/1.25 system-ui;color:inherit;margin:5px 0 8px}.g7-publication-editor header p{margin:0;font:13px/1.5 system-ui;color:var(--e-muted,#65758e)}
.g7-publication-layout{display:grid;grid-template-columns:390px minmax(0,1fr);flex:1;min-height:0}.g7-publication-controls{overflow:auto;padding:18px;border-right:1px solid var(--e-line,#dce4f0);overscroll-behavior:contain}.g7-publication-stage{overflow:hidden;min-width:0;min-height:0;padding:12px;background:var(--e-card,#edf3fa)}.g7-publication-stage iframe{border:0;background:white;transform-origin:top left;border-radius:8px}.g7-publication-devices{display:flex;gap:8px;margin-bottom:12px}.g7-publication-devices [aria-pressed=true]{background:var(--e-accent,#4bc5bf);color:#102b32}
.g7-publication-controls .g7c-design-group,.g7-publication-controls .bg-page-row,.g7-publication-controls .cm-page-row,.g7-publication-controls .cm-layer-row{padding:14px;background:var(--e-card,#fff);color:var(--e-ink,#233959);border:1px solid var(--e-line,#dce4f0);border-radius:12px;margin-bottom:12px}.g7-publication-controls summary{cursor:pointer;font-weight:600}.g7-publication-controls .g7c-button{margin:4px 3px}.g7-publication-controls img{max-width:100%}
@media(max-width:800px){.g7-publication-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,40%) minmax(0,1fr)}.g7-publication-stage{grid-row:1}.g7-publication-controls{border-right:0;border-top:1px solid var(--e-line,#dce4f0)}.g7-publication-editor>header,.g7-publication-editor>footer{padding:12px}}

.g7-builder-shell .g7-builder-admin-view{display:inline-flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--e-accent,#4bc5bf) 38%,transparent);border-radius:11px;background:color-mix(in srgb,var(--e-accent,#4bc5bf) 12%,var(--e-panel,#f7f9fc));color:var(--e-ink,#233959);flex-shrink:0}
.g7-builder-admin-view[hidden]{display:none!important}.g7-builder-admin-view>svg{width:25px;height:25px;color:var(--e-accent,#269e99);flex:none}.g7-builder-admin-view strong{display:block;font:700 11px/1.4 system-ui}.g7-builder-admin-view small{display:block;font:11px/1.4 system-ui;color:var(--e-muted,#65758e)}
.g7-builder-admin-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.g7-builder-shell .g7-builder-admin-actions button{display:inline-flex;align-items:center;gap:7px;min-height:34px;margin:0;padding:6px 10px;font:600 11px/1.4 system-ui;white-space:nowrap}.g7-builder-admin-actions button>svg{width:16px;height:16px;flex:none}
.g7-builder-settings[data-settings-audience=admin] .g7-builder-settings-save-note{display:none}
@media(max-width:600px){.g7-builder-shell>.g7-builder-admin-view{flex-wrap:wrap}.g7-builder-admin-actions{margin-left:0;flex:1 1 auto}.g7-builder-admin-actions button{flex:1}.g7-builder-customer-switch{margin-left:auto}}
.g7-builder-shell .g7-admin-only-badge{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:21px;height:21px;margin-left:7px;border:1px solid color-mix(in srgb,var(--e-accent,#4bc5bf) 35%,transparent);border-radius:6px;background:color-mix(in srgb,var(--e-accent,#4bc5bf) 12%,transparent);color:var(--e-accent,#269e99);flex:none}.g7-admin-only-badge svg{width:15px;height:15px}
@media(max-width:1000px){.g7-builder-admin-view small{display:none}.g7-builder-shell .g7-builder-admin-view{padding:6px 8px}.g7-builder-admin-view>svg{width:20px;height:20px}}

.g7-builder-shell .g7c-library-tabs{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.g7c-section-source-tabs{display:flex;gap:4px;padding:5px;border:1px solid var(--e-line,#dce4f0);border-radius:12px;background:var(--e-panel,#edf3fa)}
.g7-builder-shell .g7c-section-source-tabs button{margin:0;border:1px solid transparent;background:transparent;border-radius:8px;color:var(--e-muted,#65758e);padding:10px 14px;font-weight:600}.g7-builder-shell .g7c-section-source-tabs button[aria-pressed=true]{background:var(--e-card,#fff);border-color:var(--e-line,#dce4f0);color:var(--e-ink,#233959);box-shadow:0 2px 6px #101c3c12}
.g7-builder-shell .g7c-ai-section-launch{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;border-color:var(--e-accent,#4bc5bf);background:color-mix(in srgb,var(--e-accent,#4bc5bf) 10%,var(--e-card,#fff));color:var(--e-ink,#233959);text-align:left}.g7c-ai-section-icon{display:grid;place-items:center;color:var(--e-accent,#269e99)}.g7c-ai-section-icon svg{width:23px;height:23px;fill:currentColor}.g7c-ai-section-copy strong,.g7c-ai-section-copy small{display:block}.g7c-ai-section-copy small{font-size:11px;color:var(--e-muted,#65758e);margin-top:2px}.g7c-ai-feature-badge{font:700 10px/1.4 system-ui;border:1px solid var(--e-accent,#4bc5bf);border-radius:5px;padding:2px 5px;color:var(--e-accent,#269e99)}.g7c-ai-section-arrow{font-size:20px}.g7c-ai-section-launch[hidden]{display:none!important}
@media(max-width:600px){.g7c-section-source-tabs{width:100%}.g7c-section-source-tabs button{flex:1}.g7-builder-shell .g7c-ai-section-launch{width:100%}}

.g7-builder-shell .g7c-link-popup{width:min(500px,calc(100vw - 32px));padding:0;border:1px solid var(--e-line,#dce4f0);border-radius:16px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959);box-shadow:0 24px 80px #101c3c40}.g7c-link-popup::backdrop{background:#0b142e80;backdrop-filter:blur(3px)}.g7c-link-popup header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--e-line,#dce4f0)}.g7c-link-popup h3{margin:0;color:inherit}.g7c-link-popup section{padding:20px}.g7c-link-popup .g7c-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.g7c-link-new-tab{display:flex;align-items:center;gap:8px;margin-top:15px}

.g7-builder-shell .g7u-error-popup{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:0;border:1px solid var(--e-line,#dce4f0);border-radius:16px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959);box-shadow:0 24px 90px #101c3c40}.g7u-error-popup::backdrop{background:#0b142e90;backdrop-filter:blur(3px)}.g7u-error-popup header,.g7u-error-popup section{padding:20px}.g7u-error-popup h3{margin:0;color:inherit}.g7u-error-popup pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.g7u-error-popup p{line-height:1.65}

.g7u-search-prompt{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:180px;padding:26px;border:1px dashed var(--e-line,#dce4f0);border-radius:14px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959)}.g7u-search-prompt strong{font-size:17px}.g7u-search-prompt p{max-width:430px;margin:10px 0 0;color:var(--e-muted,#65758e);font-size:13px;line-height:1.7}

/* Search is outside the photo scroller, so cards cannot slide behind its controls. */
.g7-builder-media-dialog .g7u-panel{display:flex;flex-direction:column;overflow:hidden;min-height:0}
.g7-builder-media-dialog .g7u-search{position:static;flex:none;z-index:auto;margin:0;background:var(--e-panel,#f5f7fb)}
.g7-builder-media-dialog .g7u-status{flex:none;margin:8px 0 12px}
.g7u-results-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:3px 4px 14px;scrollbar-width:thin}
.g7u-results-scroll .g7u-grid{margin-top:0}

.g7-builder-shell .g7u-photo-preview{width:min(1050px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--e-line,#dce4f0);border-radius:18px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959);box-shadow:0 24px 90px #101c3c40;overflow:auto}
.g7u-photo-preview[open]{display:flex;flex-direction:column}.g7u-photo-preview[hidden]{display:none!important}.g7u-photo-preview::backdrop{background:#0b142eb3;backdrop-filter:blur(4px)}.g7u-photo-preview header,.g7u-photo-preview footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;flex:none}.g7u-photo-preview h3{margin:0;color:inherit}.g7u-photo-preview>img{display:block;width:100%;height:min(65dvh,650px);object-fit:contain;background:#101827;min-height:180px}.g7u-photo-preview>p{margin:0;padding:0 20px;line-height:1.6}.g7u-photo-preview footer p{margin:0}.g7u-photo-preview button{border:1px solid var(--e-line,#dce4f0);border-radius:9px;padding:10px 16px;background:var(--e-field,#fff);color:var(--e-ink,#233959);cursor:pointer}.g7u-photo-preview .g7u-use{background:var(--e-accent,#4bc5bf);color:#102b32;font-weight:600}.g7u-photo-preview a{color:inherit}

.g7ai-build-when{min-width:130px;font-variant-numeric:tabular-nums}.g7ai-build-used{min-width:170px}.g7ai-build-used strong,.g7ai-build-used small{display:block}.g7ai-build-used small{margin-top:5px;color:var(--e-muted,#65758e);overflow-wrap:anywhere}

.g7c-finder-question{margin-top:14px;padding:14px;border:1px solid var(--e-line,#dce4f0);border-radius:12px;background:var(--e-card,#fff)}.g7c-finder-answer-options{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.g7c-finder-answer-options button{border-radius:9px;padding:9px 12px;border:1px solid var(--e-line,#dce4f0);background:var(--e-field,#f7f9fc);color:var(--e-ink,#233959)}

.g7-admin-email-status{padding:10px 13px;border:1px solid color-mix(in srgb,var(--e-accent,#4bc5bf) 35%,transparent);border-radius:10px;background:color-mix(in srgb,var(--e-accent,#4bc5bf) 10%,transparent);color:var(--e-ink,#233959);font:12px/1.65 system-ui;margin:12px 0}

.g7-builder-shell .g7-generated-library{width:min(1050px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;overflow:auto;border:1px solid var(--e-line,#dce4f0);border-radius:18px;background:var(--e-panel,#f7f9fc);color:var(--e-ink,#233959)}.g7-generated-library::backdrop{background:#0b142e90}.g7-generated-library header{display:flex;justify-content:space-between;align-items:center;padding:20px}.g7-generated-library section{padding:20px}.g7-generated-library article{padding:16px;border:1px solid var(--e-line,#dce4f0);border-radius:12px;margin:12px 0}.g7-generated-library strong,.g7-generated-library small{display:block;margin-bottom:8px}.g7-generated-library iframe{display:block;width:100%;height:420px;border:0;margin-top:14px}

.g7c-table-exclusive .g7c-selection-action:not([data-selection-action=settings]){display:none!important}.g7-table-simple-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.g7-table-simple-tools>span{margin-right:auto;font-size:12px}.g7-table-sheet-scroll{overflow:auto;border:1px solid var(--e-line,#dce4f0);border-radius:12px}.g7-table-sheet{width:100%;border-collapse:collapse}.g7-table-sheet td,.g7-table-sheet th{padding:4px;border:1px solid var(--e-line,#dce4f0);min-width:140px}.g7-table-sheet input{width:100%;box-sizing:border-box;padding:12px;border:0;background:var(--e-field,#fff);color:var(--e-ink,#233959);font:14px/1.5 system-ui}.g7-table-sheet th input{font-weight:700}.g7-table-sheet .is-selected{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:-2px}.g7-table-advanced{margin-top:20px}.g7-table-advanced>summary{padding:12px;cursor:pointer}

.bg-friendly-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.bg-friendly-tabs button[aria-pressed=true],.bg-friendly-stories button[aria-pressed=true]{background:var(--e-accent,#4bc5bf);color:#102b32;border-color:var(--e-accent,#4bc5bf)}.bg-friendly-stories{display:flex;flex-direction:column;gap:6px;margin:14px 0}.bg-friendly-stories button{text-align:left}.bg-friendly-story-editor{padding-top:16px;border-top:1px solid var(--e-line,#dce4f0)}.bg-story-photo{display:block;width:100%;height:150px;object-fit:cover;border-radius:10px;margin:12px 0}.bg-story-extras{border:1px solid var(--e-line,#dce4f0);padding:12px;border-radius:10px;margin-top:16px}.bg-story-extras>summary{cursor:pointer;font-weight:600}.g7-publication-controls .bg-editor[hidden]{display:none!important}

.g7-table-live-preview{margin:0 0 20px;padding:16px;border:1px solid var(--g7-border,#435671);border-radius:14px;background:var(--g7-panel,#192538)}
.g7-table-live-preview h3{margin:0 0 6px}.g7-table-live-preview iframe{display:block;width:100%;height:280px;border:0;border-radius:10px;background:#fff;margin-top:12px}
.g7-builder-shell .g7-table-editor-popup{font:400 13px/1.5 system-ui,sans-serif}
.g7-table-editor-popup .g7-table-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;font:600 12px/1.4 system-ui,sans-serif}
.g7-table-editor-popup .g7-table-icon-button>svg{width:17px;height:17px;flex:none}
.g7-table-editor-popup .g7-table-simple-tools{gap:10px;margin:16px 0 12px}
.g7-table-simple-tools .g7-table-cell-hint{min-width:140px;margin-right:auto;font:500 12px/1.5 system-ui,sans-serif;color:var(--e-muted,#65758e)}
.g7-table-alignment{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--e-line,#dce4f0);border-radius:10px;background:var(--e-bg,#edf3fa)}
.g7-table-alignment .g7-table-icon-button{min-height:32px;padding:6px 10px;border:0}
.g7-builder-shell .g7-table-simple-tools button[aria-pressed=true]{background:var(--e-tint,#dbe7fa)!important;border-color:var(--e-accent,#255eb8)!important;color:var(--e-accent,#255eb8)!important;box-shadow:inset 0 0 0 1px var(--e-accent,#255eb8)}
.g7-table-simple-tools button:disabled{opacity:.45;cursor:default}
.g7-table-editor-popup .g7-table-sheet-scroll{border-color:var(--e-line,#dce4f0);border-radius:12px;scrollbar-width:thin}
.g7-table-editor-popup .g7-table-sheet{margin:0;font:400 13px/1.5 system-ui,sans-serif}
.g7-table-editor-popup .g7-table-sheet td,.g7-table-editor-popup .g7-table-sheet th{padding:3px;min-width:140px;background:var(--e-card,#f8fafd);border-color:var(--e-line,#dce4f0)}
.g7-table-editor-popup .g7-table-sheet input{display:block;min-height:44px;padding:10px 12px;border-radius:6px;font:400 13px/1.5 system-ui,sans-serif;box-shadow:none}
.g7-table-editor-popup .g7-table-sheet th input{font-weight:650}
.g7-table-editor-popup .g7-table-sheet :is(.g7-table-row-heading,.g7-table-row-actions){min-width:126px;text-align:center;white-space:nowrap}
.g7-table-row-heading{color:var(--e-muted,#65758e);font:500 11px/1.5 system-ui,sans-serif}
.g7-builder-shell .g7-table-row-actions .g7-table-icon-button{min-height:32px;padding:6px 9px;background:transparent!important;border-color:transparent!important;color:var(--e-muted,#65758e)!important}
.g7-builder-shell .g7-table-row-actions .g7-table-icon-button:hover{background:color-mix(in srgb,#e66069 12%,var(--e-field,#fff))!important;border-color:#d65f69!important;color:var(--e-ink,#233959)!important}
.g7-table-editor-popup .g7-table-sheet .is-selected{outline:2px solid var(--e-accent,#255eb8);outline-offset:-2px;background:var(--e-tint,#dbe7fa)}
.g7-builder-shell[data-editor-theme] .g7-table-editor-popup .g7-table-sheet .is-highlighted input{background:var(--e-tint,#dbe7fa)!important;box-shadow:inset 3px 0 0 var(--e-accent,#255eb8)}
.g7-table-editor-popup .g7-table-add-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 8px}
.g7-builder-shell[data-editor-theme] .g7-table-editor-popup .g7-table-add-actions>button{min-height:42px!important;padding:9px 12px;border:1px dashed var(--e-line,#dce4f0);border-radius:9px}
.g7-table-editor-popup .g7-table-grid-help{margin:0 0 16px;line-height:1.6}
.g7-table-editor-popup .g7-table-live-preview{padding:0;margin:16px 0;border:1px solid var(--e-line,#dce4f0);border-radius:11px;background:var(--e-card,#f8fafd);overflow:hidden}
.g7-table-live-preview>summary,.g7-table-advanced>summary{display:flex;align-items:center;gap:8px;list-style:none;min-height:42px;box-sizing:border-box;padding:11px 12px;font:600 12px/1.5 system-ui,sans-serif;color:var(--e-ink,#233959)}
.g7-table-live-preview>summary::-webkit-details-marker,.g7-table-advanced>summary::-webkit-details-marker{display:none}
.g7-table-live-preview>summary::after,.g7-table-advanced>summary::after{content:'';margin-left:auto;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);flex:none}
.g7-table-live-preview[open]>summary::after,.g7-table-advanced[open]>summary::after{transform:rotate(45deg)}
.g7-table-live-preview summary svg,.g7-table-advanced summary svg{width:18px;height:18px;flex:none;color:var(--e-accent,#255eb8)}
.g7-table-live-preview>.g7c-help{margin:0 12px 10px}
.g7-table-live-preview iframe{box-sizing:border-box;width:calc(100% - 24px);margin:0 12px 12px;height:220px}
.g7-table-editor-popup .g7-table-advanced{margin:16px 0 0;border:1px solid var(--e-line,#dce4f0);border-radius:11px;background:var(--e-card,#f8fafd)}
.g7-table-advanced[hidden]{display:none!important}.g7-table-advanced>div{padding:0 12px 12px}
.g7-builder-shell[data-editor-theme] .g7-table-editor-popup .g7-table-done{min-width:100px;min-height:40px;padding:9px 18px;background:var(--e-accent,#255eb8)!important;color:var(--e-accent-ink,#fff)!important;border-color:var(--e-accent,#255eb8)!important}
@media(max-width:600px){.g7-table-simple-tools .g7-table-cell-hint{flex-basis:100%}.g7-table-alignment{flex:1}.g7-table-alignment button{flex:1;padding:6px!important}.g7-table-editor-popup>footer{gap:12px}.g7-table-editor-popup>footer>.g7c-help{font-size:11px;line-height:1.5}.g7-table-editor-popup .g7-table-sheet td,.g7-table-editor-popup .g7-table-sheet th{min-width:130px}}

.g7-publication-bubble-style{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-size:13px}.g7-publication-bubble-style select{padding:8px;border:1px solid #435671;border-radius:8px;background:#101c2e;color:#e3edfa}

.g7-builder-shell[data-editor-theme=midnight] .g7-publication-controls :is(.cm-panel-row,.cm-page-row,.cm-layer-row,.cm-layer-list){background:#101c2e;color:#e3edfa;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7-publication-controls :is(summary,label){color:#c6d8ef}.g7-builder-shell[data-editor-theme=midnight] .g7-publication-controls .cm-page-thumb{background:#22334b;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7-publication-controls .cm-edit-warning:not(:empty){background:#3c3021;color:#f1d6a1;border-color:#7c633e}

.g7-builder-shell .g7ai-saved-designs{display:flex;align-items:center;gap:13px;width:100%;box-sizing:border-box;margin:18px 0 22px;padding:16px;text-align:left;border:1px solid var(--e-line,#435671);border-radius:14px;background:var(--e-card,#fff);color:var(--e-ink,#233959);cursor:pointer}.g7ai-saved-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#4bc5bf20;color:var(--e-accent,#087f8c)}.g7ai-saved-icon svg{width:23px;height:23px}.g7ai-saved-copy{display:flex;flex-direction:column;gap:5px;flex:1}.g7ai-saved-copy strong{font-size:15px}.g7ai-saved-copy small{font-size:12px;line-height:1.5;color:var(--e-muted,#65758e)}.g7ai-saved-arrow{color:var(--e-accent,#087f8c);font-size:20px}.g7-builder-shell .g7ai-saved-designs:hover{border-color:var(--e-accent,#4bc5bf)}.g7-builder-shell .g7ai-saved-designs:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:3px}

.g7st-generation-form[hidden],.g7st-studio-intro[hidden]{display:none!important}.g7st-view-saved{width:100%;margin:14px 0;padding:14px!important;background:var(--e-accent,#4bc5bf)!important;color:#102b32!important;font-weight:700}.g7st-ai-review .g7st-ai-preview{margin-top:0}

.g7-builder-shell .g7st-library .g7st-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}.g7-builder-shell .g7st-library .g7st-card{border-radius:11px;min-width:0;background:var(--e-card,#fff)}.g7-builder-shell .g7st-library .g7st-card>.g7st-choice{padding:5px!important;height:94px;min-height:0;gap:0}.g7-builder-shell .g7st-library .g7st-card .g7st-thumbnail{height:82px;width:100%;border-radius:7px;overflow:hidden}.g7-builder-shell .g7st-library .g7st-card .g7st-thumbnail .g7-sticker{max-width:80%!important;max-height:72px}.g7-builder-shell .g7st-library .g7st-card>.g7c-favourite{width:24px;height:24px;right:3px;top:3px;min-height:0}.g7-builder-shell .g7st-library .g7st-card>.g7st-remove{position:absolute;bottom:5px;right:5px;margin:0;padding:4px!important;width:26px;height:26px;min-height:0;border-radius:7px;background:var(--e-card,#fff);color:var(--e-ink,#ad3541);border:1px solid var(--e-line,#e8cdd1);display:grid;place-items:center}.g7st-card>.g7st-remove svg{width:16px;height:16px}.g7-builder-shell .g7st-library .g7st-card>.g7st-remove[hidden]{display:none!important}.g7-builder-shell .g7st-library .g7st-remove-confirm{grid-column:1/-1;padding:10px;color:var(--e-ink,#233959);background:var(--e-card,#fff);border-color:var(--e-line,#dce4f0)}.g7st-card:has(.g7st-remove-confirm){grid-column:span 2}

.g7st-library .g7st-compact-actions{display:flex;gap:8px;margin:12px 0}.g7-builder-shell .g7st-library .g7st-compact-actions button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;width:auto;margin:0;padding:10px 12px!important;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-card,#fff);color:var(--e-ink,#233959);font-size:13px;font-weight:600}.g7st-compact-actions svg{width:19px;height:19px;flex:none;color:var(--e-accent,#087f8c)}.g7-builder-shell .g7st-compact-actions button[hidden]{display:none!important}.g7st-library .g7st-library-hint{margin:6px 0;font-size:12px}.g7st-library header{margin-bottom:4px}.g7st-library header h2{font-size:21px;margin:0}.g7st-library .g7st-status{margin:4px 0;font-size:12px}.g7st-library .g7st-library-controls{gap:8px;margin:10px 0}

.g7st-studio-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.g7st-studio-header-actions .g7st-previous-stickers{border:1px solid var(--e-line,#435671);border-radius:9px;padding:10px 12px;background:var(--e-card,#fff);color:var(--e-ink,#233959);font-size:13px}.g7st-studio-header-actions .g7st-previous-stickers:hover{border-color:var(--e-accent,#4bc5bf)}

.g7c-video-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.g7-builder-shell .g7c-video-sources button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:12px 5px;min-width:0;text-align:center}.g7c-video-sources button>span:last-child{display:none}.g7c-video-sources strong{font-size:12px}.g7c-video-source-icon svg{width:25px;height:25px}.g7-builder-shell .g7c-video-sources button[aria-pressed=true]{background:var(--e-accent,#4bc5bf);color:#102b32;border-color:var(--e-accent,#4bc5bf)}

.g7-builder-shell .g7st-library .g7st-card .g7st-thumbnail{background:transparent!important}.g7-builder-shell .g7st-library .g7st-card>.g7st-choice{background:transparent!important}.g7-builder-shell[data-editor-theme=midnight] .g7st-library .g7st-card{background:#101c2e;border-color:#435671}

.g7-builder-shell .g7c-replacement-popup{width:min(480px,calc(100vw - 32px));box-sizing:border-box;padding:26px;border:1px solid var(--e-line,#435671);border-radius:18px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);box-shadow:0 24px 80px #0006}.g7c-replacement-popup::backdrop{background:#0b142e99;backdrop-filter:blur(3px)}.g7c-replacement-popup h2{margin:0 0 12px;font-size:22px;color:inherit}.g7c-replacement-popup p{font-size:14px;line-height:1.6}.g7c-replacement-popup .g7c-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:22px}

.g7ai-copy-dialog .g7ai-writing[hidden]{display:none!important}.g7ai-copy-dialog .g7ai-copy-comparison:not(.has-suggestion){display:none}.g7ai-copy-dialog .g7ai-copy-comparison.has-suggestion{display:block}.g7ai-copy-dialog .g7ai-copy-preferences{width:40px;height:40px;flex:none;display:grid;place-items:center;padding:8px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-card,#fff);color:var(--e-ink,#233959);margin-left:auto}.g7ai-copy-preferences svg{width:22px;height:22px}.g7ai-copy-preferences[aria-expanded=true]{border-color:var(--e-accent,#4bc5bf)}.g7ai-industry-picker{position:relative;display:flex}.g7ai-industry-picker>input{width:100%;padding-right:38px!important}.g7ai-industry-picker>button{position:absolute;right:3px;top:3px;bottom:3px;width:32px;padding:6px;border:0;background:transparent;color:inherit}.g7ai-industry-picker>button svg{width:18px;height:18px}.g7ai-industry-picker .g7ai-industry-results{position:absolute;z-index:30;top:calc(100% + 5px);left:0;width:100%;height:210px;box-shadow:0 8px 24px #0004;background:var(--e-card,#fff);color:var(--e-ink,#233959);border:1px solid var(--e-line,#435671);border-radius:10px;padding:6px}.g7ai-industry-results option{padding:8px}.g7ai-industry-results[hidden]{display:none!important}

.g7-builder-shell .g7ai-saved-designs[hidden]{display:none!important}

.g7-builder-shell .g7ai-tool.g7ai-tool-maintenance{filter:grayscale(1);opacity:.65;border-style:dashed;box-shadow:none;cursor:help}.g7-builder-shell .g7ai-tool.g7ai-tool-maintenance:hover{transform:none;box-shadow:none;background:var(--e-card,#edf1f6);border-color:var(--e-line,#435671)}.g7ai-tool-maintenance .g7ai-tool-arrow{visibility:hidden}.g7-builder-shell .g7ai-tool-maintenance .g7ai-maintenance-label{color:var(--e-muted,#65758e)!important}.g7ai-tool-maintenance .g7ai-tool-icon{opacity:.65}

.g7-builder-shell .g7ai-writing-fields .g7ai-industry-picker{display:block;position:relative;min-width:0;margin-top:6px}.g7-builder-shell .g7ai-writing-fields .g7ai-industry-picker>input{margin:0;padding-right:44px!important;min-height:44px}.g7-builder-shell .g7ai-writing-fields .g7ai-industry-picker>button{position:absolute;inset:1px 1px 1px auto;display:grid;place-items:center;width:40px;min-width:0;min-height:0;height:auto;margin:0!important;padding:8px!important;border:0!important;border-radius:0 8px 8px 0;background:transparent!important;box-shadow:none;color:inherit;cursor:pointer}.g7-builder-shell .g7ai-industry-picker>button:hover{background:#4bc5bf15!important}.g7-builder-shell .g7ai-writing-fields .g7ai-industry-picker>.g7ai-industry-results{margin:0;top:calc(100% + 6px);min-height:0}.g7-builder-shell .g7ai-writing-fields>label{overflow:visible;min-width:0}

.g7-builder-shell .g7ai-copy-dialog .g7ai-copy-words{color:var(--e-ink,#233959)!important;font-size:17px;line-height:1.8;max-height:320px;padding:8px 0 14px}.g7ai-copy-dialog .g7ai-copy-after h3{color:var(--e-accent,#087f8c);font-size:12px}.g7ai-copy-accept{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:18px;border-top:1px solid var(--e-line,#dce4f0)}.g7ai-copy-accept p{margin:0;font-size:13px;line-height:1.6;color:var(--e-muted,#65758e);max-width:430px}.g7ai-copy-accept button{flex:none}.g7ai-copy-adjustment{margin:18px 0}.g7ai-copy-adjustment>summary{cursor:pointer;padding:14px 16px;border:1px solid var(--e-line,#435671);border-radius:10px;font-size:14px;font-weight:600;color:var(--e-ink,#233959);background:var(--e-card,#fff)}.g7ai-copy-adjustment>summary[hidden]{display:none!important}.g7ai-copy-adjustment[open]>summary{margin-bottom:16px}.g7-builder-shell .g7ai-copy-status{color:var(--e-muted,#65758e)}.g7ai-copy-ready footer:has(.g7ai-copy-actions button:not([hidden])){margin-top:12px}.g7ai-copy-dialog button[hidden]{display:none!important}@media(max-width:600px){.g7ai-copy-accept{flex-direction:column;align-items:stretch}.g7ai-copy-accept button{width:100%}}

.g7-builder-shell .g7ai-tier-choices{padding:10px 12px;margin:12px 0;border-radius:10px}.g7ai-tier-legend{display:none}.g7ai-tier-compact{display:flex;align-items:center;justify-content:space-between;gap:12px}.g7ai-tier-summary{font-size:12px;line-height:1.6;color:var(--e-muted,#65758e)}.g7-builder-shell .g7ai-tier-compact>button{flex:none;padding:5px 9px;font-size:12px;border-radius:7px;color:var(--e-accent,#087f8c);background:transparent;border:1px solid var(--e-line,#435671)}.g7ai-tier-expanded{padding-top:14px}.g7ai-tier-expanded[hidden]{display:none!important}

.g7-builder-shell[data-editor-theme=midnight] .g7yt-dialog{background:#192538;color:#e3edfa;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7yt-dialog :is(.g7yt-header,.g7yt-body,.g7yt-search,.g7yt-footer,.g7yt-setup,.g7yt-card,.g7yt-detail){background:#192538;color:#e3edfa;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7yt-dialog :is(h2,h3,p,.g7yt-status,.g7yt-selection){color:#c6d8ef}.g7-builder-shell[data-editor-theme=midnight] .g7yt-dialog :is(input,button:not(.g7yt-primary)){background:#101c2e;color:#e3edfa;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7yt-dialog .g7yt-primary{background:#4bc5bf;color:#102b32}.g7-builder-shell[data-editor-theme=midnight] .g7yt-dialog .g7yt-error{background:#402530;color:#ffbec7;border-color:#754553}.g7yt-error pre{white-space:pre-wrap;overflow-wrap:anywhere}.g7yt-settings .g7map-key-actions button,.g7yt-settings .g7map-key-row button{padding:8px 12px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-card,#fff);color:var(--e-ink,#233959)}

.g7-builder-shell .g7ai-tier-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.g7-builder-shell .g7ai-tier-buttons button :is(strong,small){max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}.g7ai-tier-summary{min-width:0;white-space:normal;overflow-wrap:anywhere}.g7ai-section-options .g7ai-tier-buttons{grid-template-columns:minmax(0,1fr)!important}.g7ai-section-options .g7ai-tier-choices{width:100%;box-sizing:border-box}.g7ai-section-options .g7ai-tier-compact{align-items:flex-start;gap:8px}.g7ai-section-options .g7ai-refine-actions{gap:8px}.g7ai-section-options .g7ai-refine-actions .g7ai-primary{flex-basis:100%}

.g7c-template-helper-status{display:block!important;min-width:0;overflow-wrap:anywhere}.g7c-template-helper-status>details,.g7c-template-helper-status>[data-top-admin-only]{display:block;margin-top:12px;width:100%;box-sizing:border-box}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-helper-status{color:#c6d8ef}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-helper-status details{background:#101c2e;color:#e3edfa;border:1px solid #435671;border-radius:10px;padding:12px}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat :is(.g7c-template-chat-message,.g7c-template-message){background:#101c2e;color:#e3edfa}.g7c-template-helper-status pre{white-space:pre-wrap;overflow-wrap:anywhere}

.g7-builder-shell .g7c-template-picker[data-template-view=help]{overflow:hidden}
.g7-builder-shell .g7c-template-picker .g7c-template-helper.g7c-template-chat{max-width:none;width:100%;margin:12px 0 0;padding:20px 26px;gap:0;background:var(--e-panel,#f7f9fc);border:1px solid var(--e-line,#dce4f0)}
.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero{padding:0 60px 14px 0;border-bottom:1px solid var(--e-line,#dce4f0)}
.g7c-template-chat .g7c-template-helper-hero h3{margin:0 0 6px!important}.g7c-template-chat .g7c-template-helper-eyebrow{display:none}.g7c-template-chat .g7c-template-helper-hero p:last-child{margin:0;font-size:13px}
.g7-builder-shell .g7c-template-chat .g7c-finder-transcript{padding:20px 12px;display:flex;flex-direction:column;gap:18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-height:180px;background:transparent}
.g7-builder-shell .g7c-template-chat .g7c-finder-message{box-sizing:border-box;width:fit-content;max-width:90%;margin:0;padding:18px 22px;border:1px solid var(--e-line,#dce4f0);border-radius:18px 18px 18px 5px;background:var(--e-card,#fff);color:var(--e-ink,#233959);box-shadow:0 2px 8px #00000008}
.g7-builder-shell .g7c-template-chat .g7c-finder-message p{color:inherit;font-size:15px;line-height:1.7;margin:8px 0}.g7c-template-chat .g7c-finder-speaker{display:block;font-size:11px;font-weight:700;letter-spacing:.3px;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7c-template-chat .g7c-finder-user{align-self:flex-end;max-width:75%;border-radius:18px 18px 5px 18px;background:#e4f6f3;border-color:#b4ded8;color:#153d42}
.g7-builder-shell .g7c-template-chat .g7c-finder-question{padding:16px 0 0;margin-top:16px;border:0;border-top:1px solid var(--e-line,#dce4f0);border-radius:0;background:transparent;color:inherit}.g7c-finder-question>strong{display:block;font-size:16px;line-height:1.5;color:inherit!important}.g7-builder-shell .g7c-template-chat .g7c-finder-question .g7c-help{color:var(--e-muted,#65758e)}
.g7c-finder-answer-options{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.g7-builder-shell .g7c-finder-answer-options button{white-space:normal;text-align:left;padding:10px 14px;border-radius:12px;font-size:13px;line-height:1.5;border:1px solid var(--e-line,#dce4f0);background:var(--e-field,#fff);color:var(--e-ink,#233959)}.g7c-finder-answer-options button:hover:not(:disabled){border-color:var(--e-accent,#4bc5bf)}
.g7-builder-shell .g7c-template-chat .g7c-template-helper-form{margin-top:0;padding-top:14px;gap:8px;background:var(--e-panel,#f7f9fc);border-color:var(--e-line,#dce4f0)}.g7c-template-helper-form>label{color:var(--e-ink,#233959)!important}.g7-builder-shell .g7c-template-chat textarea{min-height:68px;max-height:120px;font-size:15px;line-height:1.6}.g7c-template-chat .g7ai-tier-choices{margin:4px 0!important}.g7c-template-chat .g7c-template-helper-actions{padding-top:10px;margin-top:0}.g7c-template-helper-goals[hidden]{display:none!important}
.g7c-finder-typing{display:inline-flex;gap:5px;align-items:center;height:24px;margin-right:10px}.g7c-finder-typing i{width:7px;height:7px;border-radius:50%;background:var(--e-accent,#4bc5bf);animation:g7finder-dot 1.2s ease-in-out infinite}.g7c-finder-typing i:nth-child(2){animation-delay:.15s}.g7c-finder-typing i:nth-child(3){animation-delay:.3s}.g7c-finder-thinking-label{font-size:12px;color:var(--e-muted,#65758e)}@keyframes g7finder-dot{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-5px);opacity:1}}
.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-assistant{background:#101c2e;color:#e3edfa;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-user{background:#23434a;color:#e3f7f3;border-color:#3f7379}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-question{background:transparent;color:#e3edfa}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-question .g7c-help{color:#b6c9e4}
@media(max-width:700px){.g7-builder-shell .g7c-template-picker .g7c-template-helper.g7c-template-chat{padding:12px}.g7-builder-shell .g7c-template-chat .g7c-finder-message{max-width:100%;padding:14px}.g7-builder-shell .g7c-template-chat .g7c-finder-user{max-width:90%}.g7-builder-shell .g7c-template-chat .g7c-finder-transcript{padding:14px 2px;min-height:120px}}
@media(prefers-reduced-motion:reduce){.g7c-finder-typing i{animation:none;opacity:.8}}

.g7-builder-shell .g7c-template-chat .g7c-finder-message{max-width:min(760px,94%)}.g7-builder-shell .g7c-template-chat .g7c-finder-template-options{max-width:100%;width:100%}.g7-builder-shell .g7c-template-chat .g7c-finder-question:first-of-type{margin-top:8px;padding-top:4px;border-top:0}.g7-builder-shell .g7c-template-chat .g7c-finder-question>strong{font-size:18px;line-height:1.5}.g7-builder-shell .g7c-template-chat .g7c-finder-question>p{font-size:14px}.g7-builder-shell .g7c-template-chat .g7c-finder-results{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:18px 0}.g7-builder-shell .g7c-template-chat .g7c-finder-result{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;background:var(--e-card,#fff);color:var(--e-ink,#233959);border-color:var(--e-line,#435671)}.g7-builder-shell .g7c-template-chat .g7c-finder-result-image{width:100%;height:190px;border-radius:0}.g7-builder-shell .g7c-template-chat .g7c-finder-result-copy{padding:16px;gap:9px;flex:1}.g7-builder-shell .g7c-template-chat .g7c-finder-result-copy strong{font-size:16px;line-height:1.5}.g7-builder-shell .g7c-template-chat .g7c-finder-result-copy small{font-size:12px;color:var(--e-muted,#65758e)}.g7-builder-shell .g7c-template-chat .g7c-finder-result-copy>span{display:block;font-size:13px;line-height:1.6;color:var(--e-ink,#233959);overflow:visible}.g7c-finder-preview-label{display:block;margin-top:auto;padding-top:12px;font-size:13px;color:var(--e-accent,#087f8c)}.g7-builder-shell .g7c-template-chat .g7c-finder-thinking>span{letter-spacing:normal!important;font-size:13px!important;animation:none}.g7-builder-shell .g7c-template-chat .g7c-finder-typing{display:inline-flex!important;gap:5px!important;margin:10px 10px 0 0!important}.g7-builder-shell .g7c-template-chat .g7c-finder-typing i{display:block!important;flex:none}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-result{background:#22334b;color:#e3edfa}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-result-copy>span{color:#c6d8ef}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-result-copy small{color:#b6c9e4}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-preview-label{color:#4bc5bf}
@media(max-width:600px){.g7-builder-shell .g7c-template-chat .g7c-finder-results{grid-template-columns:minmax(0,1fr)}}

.g7c-finder-composer{display:flex;align-items:flex-end;gap:10px;margin-top:6px}.g7-builder-shell .g7c-template-chat .g7c-finder-composer textarea{flex:1;min-width:0;width:auto;margin:0;min-height:60px;max-height:110px}.g7-builder-shell .g7c-template-chat .g7c-finder-composer>button{flex:none;align-self:stretch;padding:12px 20px;border-radius:11px;min-width:100px;font-size:13px}.g7c-finder-composer-footer{display:flex;align-items:center;gap:16px;justify-content:space-between}.g7-builder-shell .g7c-template-chat .g7c-finder-composer-footer .g7ai-tier-choices{flex:1;max-width:600px;border:0;background:transparent;padding:0;margin:0!important}.g7-builder-shell .g7c-template-chat .g7c-finder-composer-footer .g7c-template-helper-actions{margin:0;padding:0;border:0;flex:none}.g7-builder-shell .g7c-template-chat .g7c-template-helper-form{gap:10px;padding-top:12px}.g7c-template-helper-status:empty{display:none!important}.g7c-finder-composer-footer .g7ai-tier-summary{font-size:11px}@media(max-width:600px){.g7c-finder-composer{gap:6px}.g7-builder-shell .g7c-template-chat .g7c-finder-composer>button{min-width:70px;padding:10px}.g7c-finder-composer-footer{align-items:flex-start;gap:8px}.g7-builder-shell .g7c-template-chat .g7c-finder-composer-footer .g7ai-tier-compact{flex-wrap:wrap}}

.g7-builder-shell .g7c-template-recommendation{display:block;padding:16px 18px;background:var(--e-card,#f7f9fc);border-color:var(--e-line,#dce4f0);color:var(--e-ink,#233959)}.g7-builder-shell .g7c-template-recommendation strong{font-size:16px}.g7-builder-shell .g7c-template-recommendation p{font-size:13px;line-height:1.6;color:var(--e-muted,#65758e)}.g7c-template-recommendation>button{margin-top:12px}.g7c-template-match-summary{margin-top:10px;font-size:12px}.g7c-template-match-summary summary{cursor:pointer;color:var(--e-accent,#087f8c)}.g7-builder-shell .g7c-template-match-reason{background:var(--e-panel,#edf3fa);color:var(--e-ink,#233959);border-color:var(--e-line,#dce4f0);padding:12px 14px;margin:12px 0}.g7-builder-shell .g7c-template-match-reason strong{color:var(--e-accent,#087f8c)}.g7-builder-shell .g7c-template-match-reason p{color:var(--e-ink,#233959);font-size:13px}.g7-builder-shell .g7c-template-recommended-row .g7c-template-row-reason{font-size:13px;line-height:1.6;color:var(--e-muted,#65758e)}.g7-builder-shell .g7c-template-recommended-row .g7c-template-row-action{color:var(--e-accent,#087f8c);font-weight:600;margin-top:10px}.g7-builder-shell .g7c-template-match-badge{font-size:11px;line-height:1.4;padding:4px 7px;border-radius:6px;background:#4bc5bf20;color:var(--e-accent,#087f8c);margin-bottom:8px}.g7-builder-shell .g7c-template-recommended-row[aria-pressed=true]{border:2px solid var(--e-accent,#4bc5bf);box-shadow:none}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-recommendation{background:#101c2e;color:#e3edfa;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-recommendation p{color:#b6c9e4}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-match-reason{background:#101c2e;color:#e3edfa;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-match-reason p{color:#c6d8ef}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-match-reason strong,.g7-builder-shell[data-editor-theme=midnight] .g7c-template-match-summary summary{color:#4bc5bf}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-recommended-row .g7c-template-row-reason{color:#c6d8ef}

.g7ai-build-cost-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--e-line,#435671);border-radius:10px}.g7-builder-shell .g7ai-build-cost-scroll .g7ai-build-cost-table{width:100%;min-width:1350px;table-layout:auto;margin:0}.g7ai-build-cost-scroll th,.g7ai-build-cost-scroll td{padding:14px!important;vertical-align:top;word-break:normal;overflow-wrap:normal}.g7ai-build-cost-scroll th{white-space:nowrap}.g7ai-build-cost-scroll td:nth-child(1){min-width:145px}.g7ai-build-cost-scroll td:nth-child(2){min-width:210px;max-width:260px;overflow-wrap:anywhere}.g7ai-build-cost-scroll td:nth-child(3){min-width:180px;max-width:250px}.g7ai-build-cost-scroll td:nth-child(7){min-width:220px}.g7ai-build-cost-scroll td:nth-child(7) button{display:block;margin:10px 0;width:auto;max-width:220px;white-space:normal;line-height:1.5;padding:9px 12px}.g7ai-build-cost-scroll td small{display:block;margin-top:7px;line-height:1.6}.g7ai-build-cost-scroll pre{max-width:420px;max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.g7ai-build-cost-scroll:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:3px}

@media(min-width:901px){.g7-builder-shell .g7c-template-picker{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);padding:18px 22px}.g7-builder-shell .g7c-template-picker>header{padding-bottom:12px;margin-bottom:8px}.g7-builder-shell .g7c-template-picker>header h2{font-size:23px;margin:0 0 6px}.g7-builder-shell .g7c-template-picker>header p{font-size:12px;margin:0}.g7-builder-shell .g7c-template-body.g7c-template-variants{grid-template-columns:clamp(320px,27vw,420px) minmax(0,1fr);gap:18px}.g7-builder-shell .g7c-template-recommendation{padding:12px;margin-bottom:10px}.g7-builder-shell .g7c-template-recommendation>button{padding:6px 9px;margin-top:8px}.g7-builder-shell .g7c-template-details{padding:12px}.g7-builder-shell .g7c-template-match-reason{padding:10px;margin:8px 0}.g7-builder-shell .g7c-template-variants .g7c-template-row{min-height:112px;grid-template-columns:100px minmax(0,1fr)}.g7-builder-shell .g7c-template-variants .g7c-template-snapshot{width:100px;height:112px}.g7-builder-shell .g7c-template-variants .g7c-template-row-copy{padding:10px}.g7-builder-shell .g7c-template-preview-footer{padding:10px;gap:8px}.g7-builder-shell .g7c-template-preview-footer button{padding:8px 12px!important;min-height:36px}}
.g7-builder-shell .g7c-template-picker .g7c-template-helper.g7c-template-chat{padding:12px 18px;margin-top:4px}.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero{padding-bottom:10px}.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero h3{font-size:20px}.g7-builder-shell .g7c-template-chat .g7c-template-helper-hero>p:last-child{display:none}.g7-builder-shell .g7c-template-chat .g7c-finder-transcript{padding:12px 8px;gap:12px}.g7-builder-shell .g7c-template-chat .g7c-finder-message{padding:14px 18px}.g7-builder-shell .g7c-template-chat .g7c-finder-result-image{height:150px}.g7-builder-shell .g7c-template-chat .g7c-finder-result-copy{padding:12px;gap:6px}.g7-builder-shell .g7c-template-chat .g7c-finder-result-copy>span{font-size:12px;line-height:1.5}.g7-builder-shell .g7c-template-chat .g7c-finder-composer textarea{min-height:48px;max-height:90px}.g7-builder-shell .g7c-template-chat .g7c-template-helper-form{gap:7px;padding-top:10px}.g7c-finder-composer-footer{gap:10px}

.g7-builder-shell .g7c-template-details{padding:10px 12px!important;margin:0 0 10px}.g7c-template-details-toggle{cursor:pointer;font-size:13px;font-weight:600;color:var(--e-ink,#233959);line-height:1.5}.g7c-template-details[open]>.g7c-template-details-toggle{margin-bottom:12px}.g7-builder-shell .g7c-template-navigation{padding:8px 10px!important;gap:6px 8px!important;margin:0 0 8px!important}.g7-builder-shell .g7c-template-navigation h3{font-size:14px!important}.g7-builder-shell .g7c-template-navigation button{padding:6px 9px!important;font-size:12px!important;min-height:32px}.g7-builder-shell .g7c-template-recommendation{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px!important;margin-bottom:10px}.g7-builder-shell .g7c-template-recommendation>div{flex:1;min-width:140px}.g7-builder-shell .g7c-template-recommendation>div>p{display:none}.g7-builder-shell .g7c-template-recommendation strong{font-size:13px}.g7-builder-shell .g7c-template-recommendation>button{margin:0;padding:6px 9px;font-size:11px}.g7c-template-match-summary{margin-top:4px}.g7-builder-shell .g7c-template-picker>header h2{font-size:22px!important}.g7-builder-shell .g7c-template-picker>header p{font-size:11px!important}.g7-builder-shell .g7c-template-variants .g7c-template-grid{min-height:240px}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-details-toggle{color:#e3edfa}

.g7yt-dialog .g7yt-badge.g7yt-brand{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;font-size:14px;letter-spacing:0;background:transparent;color:inherit}.g7yt-brand-icon{display:inline-flex;width:28px;height:20px}.g7yt-brand-icon svg{display:block;width:100%;height:100%}

.g7-settings-scope-note{display:inline-block;margin:0 0 10px;padding:4px 7px;border-radius:6px;background:#4bc5bf15;color:var(--e-muted,#65758e);font:600 11px/1.4 system-ui}.g7-builder-settings [disabled]{cursor:not-allowed}

.g7-builder-shell [data-editor-view-hidden]{display:none!important}.g7-editor-view-switch{display:flex;align-items:center;gap:3px;flex:none;border:1px solid var(--e-line,#435671);border-radius:10px;padding:3px;background:var(--e-card,#fff)}.g7-editor-view-switch>span:first-child{font-size:11px;padding:0 7px;color:var(--e-muted,#65758e)}.g7-editor-view-switch>button{border:0;border-radius:7px;padding:7px 9px;background:transparent;color:var(--e-ink,#233959);font-size:12px;cursor:pointer}.g7-editor-view-switch>button[aria-pressed=true]{background:var(--e-accent,#4bc5bf);color:#102b32}.g7-editor-view-switch>button:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:2px}.g7-editor-view-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.g7-editor-advanced-note{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:9px 12px;margin-bottom:12px;border:1px solid var(--e-line,#435671);border-radius:9px;color:var(--e-muted,#65758e);font-size:11px;line-height:1.5}.g7-editor-advanced-note[hidden]{display:none!important}.g7-editor-advanced-note button{border:0;background:transparent;color:var(--e-accent,#087f8c);font-size:11px;cursor:pointer;flex:none}@media(max-width:700px){.g7-editor-view-switch>span:first-child{display:none}.g7-editor-view-switch>button{padding:6px 8px}.g7-editor-view-switch{margin-left:auto}}

.g7-page-action-working{position:relative;cursor:wait!important}.g7-page-action-spinner{display:inline-block;flex:none;width:15px;height:15px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-left:8px;vertical-align:middle;animation:g7-page-action-spin .7s linear infinite;pointer-events:none}@keyframes g7-page-action-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.g7-page-action-spinner{animation:none;border-right-color:currentColor;border-bottom-color:transparent}}

.g7-builder-shell .g7c-focus-selected{position:fixed;transform:translateX(-50%);z-index:45;display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border:1px solid var(--e-accent,#4bc5bf);border-radius:12px;background:var(--e-panel,#192538);color:var(--e-ink,#e3edfa);box-shadow:0 5px 22px #0004;font-size:13px;font-weight:600;cursor:pointer}.g7c-focus-selected::before{content:"";width:14px;height:14px;border:2px solid currentColor;border-radius:3px;box-shadow:inset 0 0 0 3px var(--e-panel,#192538)}.g7-builder-shell .g7c-focus-selected[hidden]{display:none!important}.g7c-focus-selected:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:3px}

.g7-builder-shell .g7c-design.g7c-content-only{background:var(--e-panel,#f7f9fd)}.g7-builder-shell .g7c-content-heading{background:var(--e-panel,#fff);border-color:var(--e-line,#dee6f3)}.g7-builder-shell .g7c-content-heading h3{color:var(--e-ink,#233450)}.g7-builder-shell .g7c-content-heading .g7c-help{color:var(--e-muted,#687b95)}.g7-builder-shell .g7c-content-section-name{color:var(--e-accent,#536ba3)}.g7-builder-shell[data-editor-theme=midnight] .g7c-content-heading{background:#192538;border-color:#435671}.g7-builder-shell[data-editor-theme=midnight] .g7c-content-heading h3{color:#e3edfa}.g7-builder-shell[data-editor-theme=midnight] .g7c-content-heading .g7c-help{color:#b6c9e4}.g7-builder-shell[data-editor-theme=midnight] .g7c-content-section-name{color:#4bc5bf}

.g7-builder-shell .g7c-content-card{padding:12px;margin-bottom:10px;border-radius:12px}.g7-builder-shell .g7c-content-card h4{font-size:13px;margin:0 0 8px}.g7-builder-shell .g7c-content-fields .g7c-field{margin:6px 0}.g7-builder-shell .g7c-content-text-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.g7-builder-shell .g7c-content-fields textarea{min-height:40px;max-height:160px;font-size:14px;line-height:1.5;padding:9px 11px;resize:vertical}.g7-builder-shell .g7c-content-image{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px 12px;align-items:center}.g7c-content-image>h4{grid-column:1/-1}.g7-builder-shell .g7c-content-image>img{width:88px;height:80px;object-fit:contain;margin:0;border-radius:8px}.g7-builder-shell .g7c-content-image>.g7c-content-image-change{width:auto;margin:0;padding:9px 12px;font-size:13px}.g7c-content-image>.g7c-field{grid-column:1/-1}.g7-builder-shell .g7c-alt-help{display:inline-grid;place-items:center;width:20px;height:20px;margin-left:7px;padding:0!important;border:1px solid var(--e-line,#435671);border-radius:50%;background:transparent;color:var(--e-accent,#087f8c);font-size:12px;cursor:pointer}.g7c-alt-explanation{padding:10px 12px;border-radius:8px;background:var(--e-panel,#edf3fa);color:var(--e-muted,#65758e);font-size:12px;line-height:1.6;margin:8px 0}.g7c-alt-explanation[hidden]{display:none!important}

.g7c-visual-options{margin:12px 0}.g7c-visual-options>label{display:block;font-size:12px;margin-bottom:7px;color:var(--e-muted,#65758e)}.g7c-visual-choice-buttons{display:flex;gap:7px;flex-wrap:wrap}.g7-builder-shell .g7c-visual-choice-buttons>button{display:flex;flex:1;min-width:65px;flex-direction:column;align-items:center;gap:6px;padding:10px 7px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}.g7c-visual-choice-icon{display:grid;place-items:center;height:26px;font-size:24px;line-height:1}.g7c-visual-choice-icon svg{width:24px;height:24px}.g7c-visual-choice-buttons small{font-size:11px}.g7-builder-shell .g7c-visual-choice-buttons>button[aria-pressed=true]{border-color:var(--e-accent,#4bc5bf);background:#4bc5bf20}.g7c-visual-choice-buttons button:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:2px}

.g7-number-slider{display:flex;flex-direction:column;gap:7px;margin:5px 0 10px;min-width:0}.g7-builder-shell .g7-number-slider>.g7-number-value{align-self:flex-end;padding:3px 8px;min-height:24px;font-size:12px;border:1px solid var(--e-line,#435671);border-radius:6px;background:var(--e-field,#fff);color:var(--e-accent,#087f8c);cursor:text}.g7-number-slider>input[type=range]{width:100%;min-width:0;min-height:20px;padding:0;margin:0;accent-color:var(--e-accent,#4bc5bf)}.g7-builder-shell input[data-g7-number-slider][hidden]{display:none!important}

.g7c-alignment-native[hidden]{display:none!important}.g7c-vertical-alignment{display:flex;gap:7px}.g7-builder-shell .g7c-vertical-alignment button{display:flex;flex:1;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font-size:12px}.g7c-vertical-alignment svg{width:22px;height:22px}.g7-builder-shell .g7c-vertical-alignment button[aria-pressed=true]{background:#4bc5bf20;border-color:var(--e-accent,#4bc5bf);color:var(--e-accent,#087f8c)}

.g7c-vertical-alignment{flex-wrap:wrap}.g7-builder-shell .g7c-vertical-alignment button{min-width:65px;flex-direction:column;gap:5px;padding:9px 6px}

.g7-builder-shell .g7c-design-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:12px 14px;margin-bottom:12px}.g7c-design-heading>div:first-child{display:contents}.g7-builder-shell .g7c-design-heading h3{grid-column:1/-1;grid-row:1;margin:0;font-size:17px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.g7-builder-shell .g7c-design-heading .g7c-design-kind{grid-column:1;grid-row:2;margin:0;font-size:10px;align-self:center;letter-spacing:.04em}.g7-builder-shell .g7c-design-heading .g7c-design-header-actions{grid-column:2;grid-row:2;gap:4px}.g7-builder-shell .g7c-design-heading .g7c-design-header-actions>button{display:grid;place-items:center;width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important;padding:5px!important}.g7c-design-heading>.g7c-design-help,.g7c-design-heading>.g7c-rename{grid-column:1/-1}.g7c-design-heading .g7c-design-header-actions svg{width:17px;height:17px}

/* Keep background image actions with the appearance controls. */
.g7c-background-image-actions{display:flex;flex-wrap:wrap;gap:8px}
.g7c-background-image-actions>button{flex:1 1 auto;margin:0;min-height:36px;padding:8px 12px}

.g7c-mobile-image-status{display:grid;gap:8px;margin:12px 0}.g7c-mobile-image-status img{width:100%;height:110px;object-fit:contain;border-radius:8px;background:var(--g7-panel-bg,#eef1f5)}.g7c-mobile-image-status small{line-height:1.5}

/* Numeric slider labels and exact values share a compact header row. */
.g7-builder-shell .g7c-design .g7c-field:has(>.g7-number-slider){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px;margin:8px 0}
.g7-builder-shell .g7c-design .g7c-field:has(>.g7-number-slider)>label{grid-column:1;grid-row:1;margin:0;line-height:1.35}
.g7-builder-shell .g7c-design .g7c-field>.g7-number-slider{display:contents}
.g7-builder-shell .g7c-design .g7-number-slider>.g7-number-value{grid-column:2;grid-row:1;margin:0;min-height:26px;padding:3px 8px}
.g7-builder-shell .g7c-design .g7-number-slider>input[type=range]{grid-column:1/-1;grid-row:2;margin:0;min-height:26px}
.g7-builder-shell .g7c-design .g7c-field:has(>.g7-number-slider)>input:not([hidden]),.g7-builder-shell .g7c-design .g7c-field:has(>.g7-number-slider)>small{grid-column:1/-1}

/* Compact visual choices retain names and generous keyboard focus outlines. */
.g7-builder-shell .g7c-design .g7c-visual-options{margin:9px 0}
.g7-builder-shell .g7c-design .g7c-visual-options>label{margin-bottom:5px}
.g7-builder-shell .g7c-design .g7c-visual-choice-buttons{gap:5px}
.g7-builder-shell .g7c-design .g7c-visual-choice-buttons>button{flex-direction:row;justify-content:center;gap:5px;min-width:0;min-height:36px;padding:6px 7px;border-radius:7px}
.g7-builder-shell .g7c-design .g7c-visual-choice-icon{height:20px;font-size:18px}
.g7-builder-shell .g7c-design .g7c-visual-choice-icon svg{width:18px;height:18px}
.g7-builder-shell .g7c-design .g7-colour-face{height:34px}
.g7-builder-shell .g7c-design .g7-colour-drop svg{width:17px;height:17px}
.g7-builder-shell .g7c-design .g7-colour-tones{height:10px;margin-top:5px}
.g7-builder-shell .g7c-design .g7-colour-tone{height:10px;min-height:10px}
@media(max-width:480px){.g7-builder-shell .g7c-design .g7c-visual-choice-buttons>button{flex:1 1 70px}}

.g7-builder-shell .g7c-content-view-tabs{display:flex;gap:3px;padding:4px;margin:0 0 12px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#101c2e)}
.g7-builder-shell .g7c-content-view-tabs>button{flex:1;min-height:34px;margin:0;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:var(--e-muted,#b6c9e4);font-size:13px;transition:background .15s,color .15s}
.g7-builder-shell .g7c-content-view-tabs>button[aria-selected=true]{background:var(--e-accent,#4bc5bf);color:#101c2e}
.g7-builder-shell .g7c-content-view-tabs>button:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:2px}

/* One concise selected-area header; ancestors stay in a separate slim trail. */
.g7-builder-shell .g7c-design-heading{border-top:0;padding:10px 14px;margin-bottom:8px;gap:8px}
.g7-builder-shell .g7c-design-heading h3{grid-column:1;grid-row:1;font-size:16px}
.g7-builder-shell .g7c-design-heading .g7c-design-kind{display:none}
.g7-builder-shell .g7c-design-heading .g7c-design-header-actions{grid-column:2;grid-row:1}
.g7-builder-shell .g7c-design>.g7c-parents{flex-wrap:nowrap;gap:6px;margin:0 0 12px;min-width:0}
.g7-builder-shell .g7c-design>.g7c-parents>button{min-width:0;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;padding:3px 0;background:transparent;border:0}
.g7-builder-shell .g7c-design>.g7c-parents>.g7c-crumb-separator{flex:none;opacity:.6}

.g7-builder-shell .g7c-field>.g7c-reset-button{min-height:24px!important;padding:3px 6px!important;margin:3px 0 0 auto!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:11px!important;gap:5px!important}
.g7-builder-shell .g7c-field>.g7c-reset-button .g7c-reset-icon svg{width:14px;height:14px}
.g7-builder-shell .g7c-reset-button[hidden]{display:none!important}

.g7-builder-shell .g7c-field:has([data-control="alternative-text"])>label{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.g7-builder-shell .g7c-field:has([data-control="alternative-text"])>label>.g7c-alt-help{display:inline-grid;flex:none;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;font-size:11px}
.g7-builder-shell .g7c-field>[data-control="alternative-text"]{min-height:36px;height:36px;padding:7px 10px;font-size:14px}

.g7-builder-shell .g7c-design>.g7c-image-preview{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:start;gap:16px;box-sizing:border-box;min-width:0;padding:16px;margin:0 0 16px;border:1px solid var(--e-line,#bccbde);border-radius:12px;background:var(--e-field,#fff);font-family:system-ui,sans-serif}
.g7-builder-shell .g7c-image-preview>img{box-sizing:border-box;width:88px;height:88px;object-fit:contain;border:1px solid #d5dce5;border-radius:10px;background:#eef1f5}
.g7c-image-preview-copy{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}
.g7-builder-shell .g7c-image-preview-copy>strong{display:block;margin:0 0 2px;font:650 14px/1.4 system-ui,sans-serif;color:var(--e-ink,#203044)}
.g7-builder-shell .g7c-image-preview-copy>button{display:flex;align-items:center;justify-content:flex-start;gap:8px;box-sizing:border-box;width:100%;min-height:40px;margin:0;padding:10px 12px;border:1px solid var(--e-line,#bccbde);border-radius:8px;font:600 12px/1.4 system-ui,sans-serif;text-align:left;white-space:normal;overflow-wrap:anywhere}
.g7-builder-shell .g7c-image-proportion-icon{display:flex;flex-shrink:0}
.g7-builder-shell .g7c-image-proportion-icon svg{width:18px;height:18px}
.g7-builder-shell .g7c-image-preview-copy>button:focus-visible{outline:2px solid var(--e-accent,#255eb8);outline-offset:3px}

.g7-builder-shell .g7-field-help{display:inline-grid!important;place-items:center;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0 0 0 6px!important;border:1px solid var(--e-line,#435671);border-radius:50%;background:transparent;color:var(--e-accent,#087f8c);font-size:11px!important;vertical-align:middle}
.g7-builder-shell .g7-field-help-text{grid-column:1/-1;margin:6px 0;padding:9px 10px;border-radius:7px;background:var(--e-field,#edf3fa);color:var(--e-muted,#65758e);font-size:12px;line-height:1.55}
.g7-builder-shell .g7-field-help-text[hidden]{display:none!important}
.g7-builder-shell .g7c-spacing-definitions{margin:4px 0 16px;padding:11px 12px;border:1px solid var(--e-line,#435671);border-left:3px solid var(--e-accent,#087f8c);border-radius:9px;background:var(--e-field,#edf3fa);color:var(--e-ink,#233959);font:12px/1.55 system-ui}.g7-builder-shell .g7c-spacing-definitions p{margin:0 0 7px}.g7-builder-shell .g7c-spacing-definitions p:last-child{margin-bottom:0}.g7-builder-shell .g7c-spacing-definitions strong{font-weight:650}.g7-builder-shell .g7c-spacing-definitions .g7c-spacing-percent-note{font-size:11px;color:var(--e-muted,#65758e)}.g7-builder-shell .g7c-spacing-field-explanation{grid-column:1/-1;margin:5px 0 12px;color:var(--e-muted,#65758e);font:11px/1.55 system-ui}

/* Consistent compact view tabs above both selected-area workspaces. */
.g7-builder-shell .g7c-design>.g7c-content-view-tabs{position:sticky;top:0;z-index:12;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 14px;border-radius:10px;background:var(--e-field,#101c2e);border:1px solid var(--e-line,#435671);box-shadow:0 2px 5px #00000012}
.g7-builder-shell .g7c-content-view-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 10px;font-weight:600;font-size:13px;color:var(--e-muted,#b6c9e4);border-radius:7px}
.g7-builder-shell .g7c-content-view-tabs>button::before{content:'';width:14px;height:14px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h18v18H3zm2 2v4h14V5zm0 6v8h5v-8zm7 0v8h7v-8z'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-content-view-tabs>button[data-area-view=content]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h18v2H3zm0 5h10v2H3zm0 5h10v2H3zm12-5h6v11h-6zM3 19h10v2H3z'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-content-view-tabs>button[aria-selected=true]{background:var(--e-accent,#4bc5bf);color:#101c2e;box-shadow:0 1px 3px #0002}
.g7-builder-shell .g7c-content-view-tabs>button:hover:not([aria-selected=true]){background:#4bc5bf15}
.g7-builder-shell .g7c-design:has(>.g7c-content-view-tabs)>.g7c-design-heading{position:static;margin-top:0}

.g7-builder-shell .g7c-video-background .g7c-video-advanced{background:var(--e-field,#f8fafc);color:var(--e-ink,#233959);border:1px solid var(--e-line,#435671);border-radius:9px;padding:10px;margin:10px 0}
.g7-builder-shell .g7c-video-background .g7c-video-advanced>summary{background:transparent;color:inherit;padding:2px;font-size:13px}
.g7c-background-playback{display:flex;gap:7px;margin-top:12px}
.g7-builder-shell .g7c-background-playback>button{display:flex;align-items:center;gap:7px;min-height:34px;margin:0;padding:7px 12px;font-size:12px}
.g7c-background-playback svg{display:block;width:14px;height:14px}
.g7c-background-playback-status{font-size:12px;color:var(--e-accent,#087f8c);margin:8px 0}

.g7-builder-shell .g7c-design-heading>.g7c-design-help{grid-column:1/-1;position:relative;margin:3px 0 0;padding:11px 12px 11px 34px;border:1px solid var(--e-line,#435671);border-left:3px solid var(--e-accent,#4bc5bf);border-radius:8px;background:var(--e-field,#edf3fa);color:var(--e-ink,#233959);font-size:12px;line-height:1.65;box-shadow:none}
.g7-builder-shell .g7c-design-heading>.g7c-design-help::before{content:'i';position:absolute;left:11px;top:12px;display:grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;color:var(--e-accent,#087f8c);font-size:11px;font-weight:600;line-height:1}
.g7-builder-shell .g7c-design-heading>.g7c-design-help[hidden]{display:none!important}

/* Compact ancestor navigation above the selected-area heading. */
.g7-builder-shell .g7c-design>.g7c-parents{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;padding:6px 0;margin:0 0 8px;min-width:0;border-bottom:1px solid var(--e-line,#435671)}
.g7-builder-shell .g7c-design>.g7c-parents>button{display:block;flex:0 1 auto;min-width:0;max-width:65%;min-height:26px;padding:4px 7px!important;border:0!important;border-radius:5px;background:transparent!important;color:var(--e-muted,#65758e);font-size:11px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g7-builder-shell .g7c-design>.g7c-parents>button:hover{background:#4bc5bf18!important;color:var(--e-accent,#087f8c)}
.g7-builder-shell .g7c-design>.g7c-parents>button:focus-visible{outline:2px solid var(--e-accent,#087f8c);outline-offset:1px}
.g7-builder-shell .g7c-design>.g7c-parents>.g7c-crumb-separator{font-size:12px;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7c-design>.g7c-parents[hidden]{display:none}

.g7c-focal-unavailable{display:block;grid-column:1/-1;font-size:11px;line-height:1.5;color:var(--e-muted,#65758e);margin:3px 0}
.g7c-focal-unavailable[hidden]{display:none!important}
.g7-builder-shell .g7c-field input[type=range]:disabled{opacity:.4;cursor:not-allowed}

/* Field explanations share the selected-area information panel styling. */
.g7-builder-shell .g7-field-help-text,.g7-builder-shell .g7c-alt-explanation{position:relative;grid-column:1/-1;margin:7px 0 3px;padding:11px 12px 11px 34px;border:1px solid var(--e-line,#435671);border-left:3px solid var(--e-accent,#4bc5bf);border-radius:8px;background:var(--e-field,#edf3fa);color:var(--e-ink,#233959);font-size:12px;line-height:1.65;box-shadow:none}
.g7-builder-shell .g7-field-help-text::before,.g7-builder-shell .g7c-alt-explanation::before{content:'i';position:absolute;left:11px;top:12px;display:grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;color:var(--e-accent,#087f8c);font-size:11px;font-weight:600;line-height:1}

.g7-builder-shell .g7-visible-error{display:block;margin:14px 0;padding:13px 14px;border:1px solid #df777e;border-left:4px solid #e34552;border-radius:9px;background:#fff0f1;color:#8b1726!important;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.g7-builder-shell[data-editor-theme=midnight] .g7-visible-error{background:#422531;color:#ffe1e5!important;border-color:#a45b68}
.g7-error-heading{display:block;margin-bottom:5px;font-size:14px}
.g7-visible-error>.g7ai-error-details{margin-top:12px;padding:9px;border:1px solid currentColor;border-radius:6px;color:inherit;background:#00000012}
.g7-visible-error details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;font-size:11px;color:inherit}

.g7ai-copy-decision{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.g7-builder-shell .g7ai-copy-decision>button{margin:0;min-height:36px;padding:8px 14px;font-size:13px}
.g7ai-copy-dialog>.g7ai-copy-status:empty{display:none}
.g7ai-copy-dialog.g7ai-copy-ready>footer:not(:has(button:not([hidden]))){display:none}

.g7-visible-error .g7ai-session-recovery{margin:9px 0;color:inherit;font-weight:500}
.g7-visible-error .g7ai-error-details,.g7-visible-error details{background:transparent!important;color:inherit!important;border:1px solid currentColor;border-radius:7px;padding:9px;margin-top:10px}
.g7-visible-error details summary{color:inherit!important;background:transparent!important;font-size:12px}

.g7-builder-shell .g7ai-copy-voice{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:42px;padding:7px 12px;font-size:12px;white-space:nowrap}
.g7ai-copy-voice small{font-size:10px;color:var(--e-accent,#087f8c)}
.g7-builder-shell .g7ai-voice-dialog{width:min(520px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;padding:18px;border:1px solid var(--e-line,#435671);border-radius:14px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);box-shadow:0 20px 70px #0005}
.g7ai-voice-dialog::backdrop{background:#080f20a6}
.g7ai-voice-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.g7ai-voice-dialog h2{margin:0;font-size:18px}
.g7ai-voice-dialog .g7ai-writing{margin:12px 0 0}
.g7ai-voice-dialog:not([open]){display:none}

.g7-builder-shell .g7c-background-image-controls>label{display:block;margin:0 0 6px;font-size:12px;line-height:1.4;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7c-background-image-actions>button{min-height:34px;padding:7px 10px;font-size:12px}
.g7-builder-shell[data-editor-theme=midnight] .g7c-background-image-controls>label{color:#b6c9e4}

.g7-builder-shell .g7c-background-image-thumbnail{display:block;box-sizing:border-box;width:100%;height:100px;object-fit:contain;margin:0 0 8px;border:1px solid var(--e-line,#435671);border-radius:8px;background:#eef1f5}
.g7-builder-shell .g7c-background-image-actions>button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid var(--e-line,#435671);border-radius:7px;font-size:12px}
.g7c-background-image-actions svg{display:block;width:15px;height:15px}
.g7-builder-shell .g7c-background-image-actions>.g7c-background-image-remove{flex:0 1 auto;color:var(--e-muted,#65758e);background:transparent}
.g7-builder-shell .g7c-background-image-actions>.g7c-background-image-remove:hover{color:#e34552;border-color:#e34552}

.g7c-background-size{display:flex;flex-wrap:wrap;gap:5px}
.g7-builder-shell .g7c-background-size>button{display:flex;flex:1 1 80px;align-items:center;justify-content:center;gap:5px;margin:0;min-height:34px;padding:6px 7px;border:1px solid var(--e-line,#435671);border-radius:7px;font-size:11px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7c-background-size svg{width:16px;height:16px;flex:none}
.g7-builder-shell .g7c-background-size>button[aria-pressed=true]{border-color:var(--e-accent,#4bc5bf);background:#4bc5bf20;color:var(--e-accent,#087f8c)}

.g7-builder-shell .g7c-design-add-buttons>.g7c-add-map-action{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:38px;margin:0;padding:8px 10px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#f8fafc);color:var(--e-ink,#233959);font-size:12px;font-weight:600}
.g7c-add-map-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#4bc5bf18;color:var(--e-accent,#087f8c);flex:none}
.g7c-add-map-icon svg{width:17px;height:17px}
.g7-builder-shell .g7c-design-add-buttons>.g7c-add-map-action:hover{border-color:var(--e-accent,#087f8c);background:#4bc5bf12}

.g7-builder-shell .g7c-editable-area-title{cursor:text;border-radius:4px;padding:3px 4px;margin-left:-4px!important}
.g7-builder-shell .g7c-editable-area-title:hover{background:#4bc5bf14;color:var(--e-accent,#087f8c)}
.g7-builder-shell .g7c-editable-area-title:focus-visible{outline:2px solid var(--e-accent,#087f8c);outline-offset:2px}
.g7-builder-shell .g7c-design-heading>.g7c-section-naming{grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:6px;min-width:0}
.g7-builder-shell .g7c-section-naming .g7c-input{flex:1;min-width:0;width:0;margin:0;font:600 16px/1.4 system-ui}
.g7-builder-shell .g7c-section-name-actions{display:flex;align-items:center;gap:4px;flex:none}
.g7-builder-shell .g7c-section-name-actions .g7c-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:34px;padding:6px 8px}
.g7-builder-shell .g7c-section-name-actions span{display:inline-flex}
.g7-builder-shell .g7c-section-name-actions svg{width:16px;height:16px}
.g7-builder-shell .g7c-design-heading .g7c-editable-area-title[hidden],.g7-builder-shell .g7c-design-heading.g7c-renaming>.g7c-design-header-actions{display:none}
.g7-builder-shell .g7c-design-heading.g7c-renaming:has(>.g7c-section-naming[data-mode-hidden]) .g7c-editable-area-title[hidden]{display:block}
.g7-builder-shell .g7c-design-heading.g7c-renaming:has(>.g7c-section-naming[data-mode-hidden])>.g7c-design-header-actions{display:flex}

.g7-builder-shell .g7c-save-section[hidden]{display:none!important}
.g7-builder-shell .g7c-save-section-dialog{width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;padding:18px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);box-shadow:0 20px 70px #0005}
.g7c-save-section-dialog::backdrop{background:#080f20a6}
.g7c-save-section-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.g7c-save-section-dialog h2{font-size:17px;margin:0}
.g7-builder-shell .g7c-save-section-dialog .g7c-save-section{border:0;padding:0;margin:0;background:transparent;color:inherit}
.g7c-save-section-dialog:not([open]){display:none}

.g7-builder-shell .g7c-content-text-field{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;align-items:start}
.g7-builder-shell .g7c-field-polish{display:grid;place-items:center;width:30px;min-width:30px;min-height:30px;padding:6px;margin:3px 0 0;border:1px solid var(--e-line,#435671);border-radius:7px;color:var(--e-accent,#087f8c);background:var(--e-field,#fff)}
.g7c-field-polish svg{width:17px;height:17px}

.g7c-template-browse-alternatives{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;padding-top:14px;border-top:1px solid var(--e-line,#435671)}
.g7-builder-shell .g7c-template-browse-alternatives>button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;padding:12px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#f8fafc);color:var(--e-ink,#233959);margin:0}
.g7c-template-browse-alternatives strong{font-size:12px;color:var(--e-accent,#087f8c)}
.g7c-template-browse-alternatives span{font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}
@media(max-width:600px){.g7c-template-browse-alternatives{grid-template-columns:1fr}.g7c-template-entry-tabs{flex-wrap:wrap}}

/* Keep discovery controls compact so the template list has more room. */
.g7-builder-shell .g7c-template-picker .g7c-template-filters{padding:9px!important;margin-bottom:9px}
.g7-builder-shell .g7c-template-picker .g7c-template-filter-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px!important;align-items:center}
.g7-builder-shell .g7c-template-picker .g7c-template-search{grid-column:1/-1;width:100%;min-width:0;height:34px!important;min-height:34px!important;padding:7px 10px!important;font-size:12px}
.g7-builder-shell .g7c-template-picker .g7c-template-filter-groups{display:flex!important;flex-direction:row!important;flex-wrap:wrap;grid-column:1/-1;gap:5px!important;width:100%;flex-basis:auto}
.g7-builder-shell .g7c-template-picker .g7c-template-filter-group{flex:0 1 auto!important;min-width:0}
.g7-builder-shell .g7c-template-picker .g7c-template-filter-toggle{display:flex!important;align-items:center;gap:4px;min-height:28px!important;padding:5px 7px!important;font-size:11px;max-width:none}
.g7-builder-shell .g7c-template-picker .g7c-template-filter-name,.g7-builder-shell .g7c-template-picker .g7c-template-filter-value{display:inline!important;margin:0;font-size:11px}
.g7-builder-shell .g7c-template-picker .g7c-template-sort-label{font-size:10px;gap:5px;margin:0;justify-self:start}
.g7-builder-shell .g7c-template-picker .g7c-template-sort{min-height:28px!important;height:28px;padding:3px 6px!important;font-size:11px;max-width:135px}
.g7-builder-shell .g7c-template-picker .g7c-template-result-count{font-size:10px;white-space:nowrap;justify-self:end}
.g7-builder-shell .g7c-template-picker .g7c-template-results{margin-top:6px;font-size:11px}

/* Use wide template-picker space for horizontal discovery controls. */
@media(min-width:1000px){
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-category-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center;width:100%}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-category-total{grid-column:1;font-size:10px;line-height:1.3}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-category-intro>h3{grid-column:1;margin:0;font-size:14px;line-height:1.35}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-category-intro>.g7c-help{grid-column:1;margin:0;font-size:11px;line-height:1.4}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-entry-tabs{grid-column:2;grid-row:1/4;margin:0;align-self:center}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-navigation{display:flex;flex-wrap:nowrap;align-items:center;padding:8px 10px!important}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-category-intro{flex:1;min-width:0}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-navigation>.g7c-template-back{flex:none;margin:0;white-space:nowrap}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-toolbar{grid-template-columns:minmax(200px,1fr) auto auto auto}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-search{grid-column:1;grid-row:1}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-groups{grid-column:2;grid-row:1;width:auto}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-sort-label{grid-column:3;grid-row:1}
.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-result-count{grid-column:4;grid-row:1}
}
@media(min-width:1000px) and (max-width:1350px){.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-toolbar{grid-template-columns:minmax(200px,1fr) auto auto}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-filter-groups{grid-column:1/-1;grid-row:2}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-sort-label{grid-column:2}.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-result-count{grid-column:3}}

.g7c-feature-view-tabs{display:flex;gap:4px;padding:4px;margin:0 0 12px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#f8fafc)}
.g7-builder-shell .g7c-feature-view-tabs>button{flex:1;min-height:34px;padding:7px 10px;margin:0;border:0;border-radius:6px;background:transparent;color:var(--e-ink,#233959);font-size:12px;font-weight:600}
.g7-builder-shell .g7c-feature-view-tabs>button[aria-pressed=true]{background:#4bc5bf25;color:var(--e-accent,#087f8c)}

.g7-builder-shell button.g7-previous-generated{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:7px 11px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#f8fafc);color:var(--e-ink,#233959);font-size:12px;font-weight:600;box-shadow:none}
.g7-previous-generated-icon{display:grid;place-items:center;color:var(--e-accent,#087f8c)}
.g7-previous-generated-icon svg{width:17px;height:17px}
.g7-builder-shell button.g7-previous-generated:hover{border-color:var(--e-accent,#087f8c);background:#4bc5bf15}
.g7-builder-shell button.g7-previous-generated:focus-visible{outline:2px solid var(--e-accent,#087f8c);outline-offset:2px}

/* Inventory counts are small badges, never full-width colour strips. */
.g7-builder-shell .g7c-category-browser .g7c-category-count,
.g7-builder-shell .g7c-category-count,
.g7-builder-shell .g7c-template-category-count,
.g7-builder-shell .g7c-add-choice-count{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;flex:0 0 auto;width:fit-content;max-width:100%;box-sizing:border-box;padding:3px 8px;margin-top:6px;border:1px solid color-mix(in srgb,var(--e-accent,#087f8c) 25%,transparent);border-radius:999px;background:color-mix(in srgb,var(--e-accent,#087f8c) 10%,transparent);color:var(--e-accent,#087f8c);font:600 10px/1.4 system-ui;letter-spacing:.01em;font-variant-numeric:tabular-nums;white-space:normal}
.g7-builder-shell .g7c-template-category-footer .g7c-template-category-count{margin-top:0}
.g7-builder-shell[data-editor-theme=midnight] :is(.g7c-category-count,.g7c-template-category-count,.g7c-add-choice-count){color:#7cded7}

.g7-builder-shell .g7c-block-target:has(.g7c-block-placement-select){display:grid;gap:6px;padding:10px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#f8fafc)}
.g7c-block-placement-select{width:100%;min-height:34px;padding:6px 9px;border:1px solid var(--e-line,#435671);border-radius:7px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font-size:12px}
.g7c-block-placement-select~small{display:block;font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}

.g7c-template-expand{display:inline-flex;align-items:center;gap:6px}
.g7c-template-expand svg{width:15px;height:15px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-body{grid-template-columns:minmax(0,1fr)}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-review,.g7c-template-picker.g7c-template-expanded .g7c-template-details{display:none!important}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;align-content:start;padding:4px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row{display:flex;flex-direction:column;min-height:0;margin:0;overflow:hidden;border-radius:12px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row>.g7c-template-preview{width:100%;height:180px;flex:none;border-radius:0}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy{width:100%;box-sizing:border-box;padding:12px;gap:6px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-name{font-size:13px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-list{display:flex!important;min-width:0}

/* Give template-heading text a consistent, readable rhythm. */
.g7-builder-shell .g7c-template-picker .g7c-template-chrome>header{margin-bottom:10px}
.g7-builder-shell .g7c-template-picker .g7c-template-chrome>header h2{margin:0 0 7px;line-height:1.3}
.g7-builder-shell .g7c-template-picker .g7c-template-chrome>p{margin:0 0 13px;line-height:1.6}
.g7-builder-shell .g7c-template-picker .g7c-template-category-intro{row-gap:6px!important}
.g7-builder-shell .g7c-template-picker .g7c-template-category-total{display:block;line-height:1.5;margin:0 0 3px}
.g7-builder-shell .g7c-template-picker .g7c-template-category-intro>h3{margin:0 0 4px;line-height:1.45}
.g7-builder-shell .g7c-template-picker .g7c-template-category-intro>.g7c-help{margin:0;line-height:1.6}
.g7-builder-shell .g7c-template-picker .g7c-template-navigation{padding:11px 12px!important;margin-bottom:10px!important}
.g7-builder-shell .g7c-template-picker .g7c-template-entry-tabs{margin-top:8px}
@media(min-width:1000px){.g7-builder-shell .g7c-template-picker[data-template-view=categories] .g7c-template-entry-tabs{margin-top:0}}

.g7-builder-shell .g7c-template-browse-alternatives>button{flex-direction:row;align-items:center;gap:11px}
.g7-builder-shell .g7c-template-browse-link-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:8px;background:#4bc5bf18;color:var(--e-accent,#087f8c)}
.g7c-template-browse-link-icon svg{width:19px;height:19px}
.g7c-template-browse-link-copy{display:flex;flex-direction:column;gap:4px;min-width:0}

/* Motion scope and technical controls follow the Midnight palette. */
.g7-builder-shell[data-editor-theme=midnight] .g7m-workspace .g7m-scope{background:#101c2e;color:#b6c9e4;border:1px solid #435671;border-radius:8px}
.g7-builder-shell[data-editor-theme=midnight] .g7m-workspace .g7m-advanced-toggle{background:#192538;color:#e3edfa;border-color:#435671}
.g7-builder-shell[data-editor-theme=midnight] .g7m-workspace .g7m-advanced-toggle[aria-pressed=true]{background:#23474e;color:#7cded7;border-color:#4bc5bf}
.g7-builder-shell[data-editor-theme=midnight] .g7m-workspace .g7m-device-note{color:#b6c9e4}
.g7-builder-shell[data-editor-theme=midnight] .g7m-workspace .g7m-advanced{border-color:#435671;color:#e3edfa}
.g7-builder-shell[data-editor-theme=midnight] .g7m-workspace .g7m-advanced>summary{color:#7cded7}
.g7-builder-shell[data-editor-theme=midnight] .g7m-live-status{background:#101c2e;color:#b6c9e4;border:1px solid #435671}

/* Inset playback settings from the Motion workspace edges. */
.g7-builder-shell .g7m-workspace .g7m-basic{box-sizing:border-box;padding:12px 12px 10px;border-top:1px solid var(--e-line,#435671)}
.g7-builder-shell .g7m-workspace .g7m-field.g7m-speed{margin:0 0 12px;gap:7px}
.g7-builder-shell .g7m-workspace .g7m-speed input[type=range]{box-sizing:border-box;width:100%;margin:2px 0}
.g7-builder-shell .g7m-workspace .g7m-field.g7m-switch{margin:8px 0 5px;gap:12px;line-height:1.5}
.g7-builder-shell .g7m-workspace .g7m-start-hint{margin:0 0 12px;line-height:1.5}
.g7-builder-shell .g7m-workspace .g7m-playback{gap:8px;margin:0 0 9px}
.g7-builder-shell .g7m-workspace .g7m-status-details{margin:0;line-height:1.5}
.g7-builder-shell .g7m-workspace .g7m-status-details>summary{padding:4px 0}
.g7-builder-shell .g7m-workspace .g7m-advanced>summary{padding:9px 12px}
.g7-builder-shell .g7m-workspace .g7m-advanced>.g7m-content{padding:5px 12px 12px}

/* Motion keeps a single scrollable sidebar at higher browser zoom. */
.g7-builder-shell .g7c-panel.g7c-motion-only{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px!important}
.g7-builder-shell .g7c-motion-only>.g7c-selected-area-summary{display:none}
.g7-builder-shell .g7c-motion-only .g7m-workspace{flex:0 0 auto;min-width:0;margin:0;border:1px solid var(--e-line,#dce3ee);border-radius:14px;background:var(--e-panel,#fff);overflow:visible}
.g7-builder-shell .g7m-workspace-header{gap:12px;padding:12px;margin:0;border-color:var(--e-line,#dce3ee)}
.g7-builder-shell .g7m-workspace-header h3{font:650 17px/1.3 system-ui,sans-serif!important;color:var(--e-ink,#233959)}
.g7-builder-shell .g7m-target{font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7m-workspace .g7m-workspace-main{flex:0 0 auto;min-height:auto;overflow:visible;gap:12px;padding:12px}
.g7-builder-shell .g7m-workspace .g7m-scope{padding:8px 10px;gap:10px;border:1px solid var(--e-line,#dce3ee);border-radius:9px;background:var(--e-field,#f5f7fb);color:var(--e-muted,#65758e);font-size:12px}
.g7-builder-shell .g7m-workspace .g7m-tabs,.g7-builder-shell .g7m-workspace .g7m-segments{flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--e-line,#dce3ee);background:var(--e-bg,#edf3fa)}
.g7-builder-shell .g7m-workspace .g7m-tabs .g7m-button,.g7-builder-shell .g7m-workspace .g7m-segments .g7m-button{flex:1 1 54px;min-height:36px;padding:8px 4px;font-size:12px;white-space:normal}
.g7-builder-shell .g7m-workspace .g7m-effect-browser{flex:0 0 auto;height:clamp(238px,38dvh,342px);min-height:0;gap:10px;overflow:visible}
.g7-builder-shell .g7m-workspace .g7m-effects{flex:1;grid-auto-rows:88px;gap:8px;padding:3px;overflow:visible}
.g7-builder-shell .g7m-workspace .g7m-effect,.g7-builder-shell .g7m-workspace .g7m-effects:has(.g7m-demo-image) .g7m-effect{position:relative;height:88px;min-height:88px;padding:9px 10px;gap:7px;font-size:12px;line-height:1.35;border:1px solid var(--e-line,#dce3ee);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7-builder-shell .g7m-workspace .g7m-effect>span:last-child{overflow-wrap:anywhere}
.g7-builder-shell .g7m-workspace .g7m-effect:hover{border-color:var(--e-accent,#087f8c);background:color-mix(in srgb,var(--e-accent,#087f8c) 8%,var(--e-field,#fff))}
.g7-builder-shell .g7m-workspace .g7m-effect[aria-pressed=true]{border-color:var(--e-accent,#087f8c)!important;background:color-mix(in srgb,var(--e-accent,#087f8c) 16%,var(--e-field,#fff))!important;box-shadow:0 0 0 1px var(--e-accent,#087f8c);color:var(--e-ink,#233959)!important}
.g7-builder-shell .g7m-workspace .g7m-effect[aria-pressed=true]::after{content:'\2713';position:absolute;top:5px;right:6px;color:var(--e-accent,#087f8c);font:700 12px/1 system-ui}
.g7-builder-shell .g7m-workspace .g7m-demo{border-radius:7px;background:color-mix(in srgb,var(--e-accent,#087f8c) 15%,var(--e-field,#fff));color:var(--e-accent,#087f8c)}
.g7-builder-shell .g7m-workspace .g7m-pager{display:flex;justify-content:space-between;gap:6px;min-height:34px;font-size:11px;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7m-workspace .g7m-page-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:34px;padding:6px 8px;font-size:11px}
.g7-builder-shell .g7m-workspace .g7m-page-button[disabled]{opacity:.45;cursor:default}
.g7-builder-shell .g7m-workspace .g7m-basic{padding:12px 0 0;border-color:var(--e-line,#dce3ee)}
.g7-builder-shell .g7m-workspace .g7m-playback{margin:0;gap:8px}
.g7-builder-shell .g7m-workspace .g7m-playback .g7m-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;font-size:12px}
.g7-builder-shell .g7m-workspace .g7m-button svg{flex:none}
.g7-builder-shell .g7m-workspace .g7m-advanced{max-height:none;overflow:visible}
.g7-builder-shell .g7m-workspace .g7m-hint{line-height:1.6;color:var(--e-muted,#65758e)}

.g7-builder-shell .g7ai-copy-dialog .g7ai-copy-comparison:not(.has-suggestion){display:block}
.g7-builder-shell .g7ai-copy-dialog .g7ai-copy-before{padding:12px 14px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#f8fafc);margin-bottom:12px}
.g7-builder-shell .g7ai-copy-dialog .g7ai-copy-before h3{margin:0 0 6px;font-size:10px;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7ai-copy-dialog .g7ai-copy-before .g7ai-copy-words{max-height:140px;color:var(--e-ink,#233959);font-size:14px;line-height:1.6}
.g7ai-copy-dialog .g7ai-copy-after[hidden]{display:none!important}

.g7e-next-actions .g7e-ask-placeholder{grid-column:1/-1;width:100%;margin-top:6px}
.g7e-ask-placeholder[hidden]{display:none!important}
.g7c-chat-placeholder-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.g7c-chat-placeholder-heading h3{margin:0}
.g7c-chat-placeholder-message{padding:12px;border:1px solid var(--e-line,#435671);border-radius:12px 12px 12px 3px;background:var(--e-field,#f8fafc);color:var(--e-ink,#233959);font-size:14px;line-height:1.6}

.g7-builder-shell .g7c-template-navigation>.g7c-template-back-prominent{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-basis:100%;width:100%;min-height:36px;padding:8px 10px!important;margin:0 0 3px;border:1px solid var(--e-accent,#087f8c);border-radius:8px;background:#4bc5bf20;color:var(--e-accent,#087f8c);font-size:13px!important;font-weight:650}
.g7c-template-back-prominent svg{display:block;width:18px;height:18px}
.g7-builder-shell .g7c-template-back-prominent:hover{background:#4bc5bf35}
.g7-builder-shell .g7c-template-back-prominent:focus-visible{outline:2px solid var(--e-accent,#087f8c);outline-offset:2px}

/* Expanded rows must retain card height even with hundreds of results. */
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-grid{grid-auto-rows:minmax(290px,auto)!important;grid-template-rows:none!important;align-items:start;align-content:start;min-height:0;overflow:auto}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row{height:auto!important;min-height:290px!important;max-height:none!important;flex-shrink:0}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row>.g7c-template-preview{min-height:180px;height:180px!important;flex:0 0 180px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy{flex:none;min-height:100px}

.g7-builder-shell .g7c-template-picker.g7c-template-overview-expanded[data-template-view=categories]{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding:12px}
.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-chrome>p,.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-category-intro>.g7c-help,.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-category-total{display:none}
.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-category-intro{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-navigation{padding:6px 9px!important}
.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-entry-tabs{margin:0}
.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.g7-builder-shell .g7c-template-overview-expanded[data-template-view=categories] .g7c-template-chrome{padding-bottom:6px}

.g7-builder-shell .g7c-block-placement-help{margin:6px 0;color:var(--e-muted,#65758e);font-size:12px;line-height:1.6}
.g7-builder-shell .g7c-block-as-section[aria-pressed=true]{border-color:var(--e-accent,#087f8c);background:var(--e-tint,#e1ebfb);color:var(--e-accent,#087f8c)}
.g7c-block-placement-actions{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}
.g7-builder-shell .g7c-block-placement-actions>button{min-height:32px;padding:6px 9px;margin:0;border:1px solid var(--e-line,#435671);border-radius:7px;font-size:11px;color:var(--e-ink,#233959);background:var(--e-field,#fff)}
.g7-builder-shell .g7c-block-placement-actions>.g7c-block-placement-pick{flex-basis:100%;border-color:var(--e-accent,#087f8c);color:var(--e-accent,#087f8c);background:#4bc5bf18;font-weight:600}
.g7c-block-placement-actions+small{display:block;font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}

.g7-builder-shell .g7pd-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.g7-builder-shell .g7pd-dialog>header>div:first-child{flex:1;min-width:0}
.g7-builder-shell .g7pd-dialog>header>.g7pd-header-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.g7pd-header-actions>button{margin:0;white-space:nowrap}
@media(max-width:650px){.g7-builder-shell .g7pd-dialog>header{flex-wrap:wrap}.g7-builder-shell .g7pd-dialog>header>.g7pd-header-actions{width:100%;justify-content:flex-end}}

.g7pd-style-example{width:min(340px,100%);box-sizing:border-box;padding:12px;margin-top:10px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959);box-shadow:0 8px 22px #0002}
.g7pd-style-example[hidden]{display:none!important}.g7pd-style-example>p{font-size:12px;line-height:1.5;margin:8px 0}.g7pd-style-example>small{font-size:10px;color:var(--e-muted,#65758e)}
.g7pd-style-sample{margin-top:8px;padding:14px;background:#f4f6fb;color:#172338;border-radius:6px;font-family:Arial,sans-serif}
.g7pd-sample-nav{font-size:8px;font-weight:bold;display:flex;justify-content:space-between;margin-bottom:17px}.g7pd-sample-nav span{font-weight:normal}.g7pd-sample-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}.g7pd-sample-layout small{font-size:6px;letter-spacing:1px}.g7pd-sample-layout strong{display:block;font-size:24px;line-height:1.1;margin:7px 0}.g7pd-sample-layout p{font-size:7px}.g7pd-sample-cta{display:inline-block;font-size:7px;padding:5px 8px;background:#315ddd;color:white}.g7pd-sample-art{position:relative;background:#b6cbe5;overflow:hidden;border-radius:5px;min-height:90px}.g7pd-sample-art i{position:absolute;width:80px;height:80px;background:#7596bf;border-radius:50%;top:15px;left:20px}.g7pd-sample-art b{position:absolute;width:80px;height:50px;background:#416693;transform:rotate(-25deg);bottom:-15px;left:-10px}.g7pd-sample-cards{display:flex;gap:8px;margin-top:14px}.g7pd-sample-cards i{height:15px;flex:1;background:#dde4ee}
.g7pd-style-example[data-style=minimal] .g7pd-style-sample{background:#fff;color:#222;padding:22px}.g7pd-style-example[data-style=minimal] .g7pd-sample-art{background:#ececec}.g7pd-style-example[data-style=minimal] .g7pd-sample-cta{background:#222}
.g7pd-style-example[data-style=editorial] .g7pd-style-sample{background:#f4efe4;font-family:Georgia,serif}.g7pd-style-example[data-style=editorial] .g7pd-sample-layout strong{font-size:27px}.g7pd-style-example[data-style=editorial] .g7pd-sample-cta{background:#8e3a2b}
.g7pd-style-example[data-style=premium] .g7pd-style-sample{background:#191b20;color:#ede5ce;font-family:Georgia,serif;padding:20px}.g7pd-style-example[data-style=premium] .g7pd-sample-cta{background:#c7ad75;color:#191b20}
.g7pd-style-example[data-style=creative] .g7pd-style-sample{background:#ffdf73;color:#43205a}.g7pd-style-example[data-style=creative] .g7pd-sample-art{background:#e48cbd;border-radius:30px 4px}.g7pd-style-example[data-style=creative] .g7pd-sample-cta{background:#7334b4}
.g7pd-style-example[data-style=corporate] .g7pd-style-sample{background:#edf3f8;color:#173f62}.g7pd-style-example[data-style=corporate] .g7pd-sample-art{border-radius:0}.g7pd-style-example[data-style=corporate] .g7pd-sample-cta{background:#173f62}
.g7pd-style-example[data-style=ecommerce] .g7pd-sample-cards i{height:38px;background:linear-gradient(#dce4de 65%,white 65%);border:1px solid #ccd8ce}.g7pd-style-example[data-style=ecommerce] .g7pd-sample-cta{background:#23764e}
.g7pd-style-example[data-style=cinematic] .g7pd-style-sample{background:linear-gradient(120deg,#3a2838,#101521);color:white}.g7pd-style-example[data-style=cinematic] .g7pd-sample-art{background:linear-gradient(#db9758,#362a47)}.g7pd-style-example[data-style=cinematic] .g7pd-sample-layout strong{font-size:27px;text-transform:uppercase}

.g7pd-credit-estimate[hidden]{display:none!important}

.g7-builder-shell .g7c-save-section-choice{padding:0;border:0;background:transparent}
.g7-builder-shell .g7c-save-choice-launch{display:flex;align-items:center;gap:8px;width:100%;padding:9px 11px;min-height:36px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#f8fafc);color:var(--e-accent,#087f8c);font-size:12px;text-align:left}
.g7c-save-choice-launch svg{display:block;width:17px;height:17px}
.g7c-save-section-choice>div[hidden]{display:none!important}

.g7-builder-shell button.g7-prompt-example{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.g7-prompt-example-icon{display:inline-grid;place-items:center;flex:none;color:var(--e-accent,#087f8c)}
.g7-prompt-example-icon svg{display:block;width:14px;height:14px}

.g7-builder-shell button.g7-add-sticker-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.g7-add-sticker-icon-button svg{display:block;width:17px;height:17px;color:var(--e-accent,#087f8c)}

/* Browse cards have breathing room and a gentle full-page thumbnail scan. */
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px!important;padding:8px!important;grid-auto-rows:minmax(320px,auto)!important}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row{min-height:320px!important;border:1px solid var(--e-line,#435671);border-radius:12px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy{padding:14px!important;min-height:125px;gap:8px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy>.g7c-template-name{margin-bottom:4px;line-height:1.45}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy>.g7c-template-description{line-height:1.5;margin-bottom:7px}
.g7-builder-shell .g7c-template-picker .g7c-static-preview>.g7c-preview-image{width:100%;height:100%;object-fit:cover;object-position:center top;transform:none}
@keyframes g7-template-thumbnail-scan{0%,12%{object-position:center top}48%,62%{object-position:center bottom}100%{object-position:center top}}
@media(prefers-reduced-motion:no-preference){.g7-builder-shell .g7c-template-picker .g7c-template-card:is(:hover,:focus-visible) .g7c-static-preview>.g7c-preview-image{animation:g7-template-thumbnail-scan 9s ease-in-out infinite}}

.g7-builder-shell .g7c-template-review-popup{width:min(1500px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:14px;border:1px solid var(--e-line,#435671);border-radius:14px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);box-sizing:border-box;overflow:hidden}
.g7c-template-review-popup[open]{display:flex;flex-direction:column;gap:12px}.g7c-template-review-popup:not([open]){display:none}
.g7c-template-review-popup::backdrop{background:#080f20b3}
.g7c-template-review-popup>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}.g7c-template-review-popup h2{font-size:18px;margin:0}
.g7-builder-shell .g7c-template-review-popup>.g7c-template-review{display:flex!important;flex:1;min-height:0;width:100%;box-sizing:border-box}
.g7-builder-shell .g7c-template-row-action{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid var(--e-line,#435671);border-radius:7px;background:#4bc5bf15;color:var(--e-accent,#087f8c);font-size:11px;font-weight:600;width:fit-content;margin-top:8px}
.g7c-template-row-action svg{width:15px;height:15px;flex:none}

/* Reserve a complete card row; content must never spill into the next preview. */
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-grid{grid-auto-rows:390px!important;row-gap:24px!important;column-gap:20px!important;padding:10px!important}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row{height:390px!important;min-height:390px!important;box-sizing:border-box;padding:0!important;overflow:hidden;gap:0}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row>.g7c-template-preview{height:180px!important;min-height:180px;max-height:180px;margin:0;flex:0 0 180px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy{display:flex;flex-direction:column;flex:1;min-height:0;padding:14px 15px!important;gap:9px;overflow:hidden}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy>.g7c-template-name{margin:0;line-height:1.45;min-height:38px}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy>.g7c-template-description{margin:0;line-height:1.5}
.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-action{margin-top:auto;flex:none}

/* Popup preview uses one column, with actions beneath the page. */
.g7-builder-shell .g7c-template-review-popup{width:min(1280px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));padding:10px;gap:8px}
.g7-builder-shell .g7c-template-review-popup>header{padding:2px 3px;margin:0}
.g7-builder-shell .g7c-template-review-popup>header h2{font-size:16px}
.g7-builder-shell .g7c-template-review-popup>.g7c-template-review{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;overflow:hidden;min-height:0;grid-template-columns:none!important}
.g7-builder-shell .g7c-template-review-popup .g7c-template-live{flex:1 1 0;min-width:0;min-height:0;width:100%;height:auto!important;margin:0;overflow:hidden}
.g7-builder-shell .g7c-template-review-popup .g7c-template-preview-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;flex:0 0 auto;width:100%;box-sizing:border-box;gap:7px;padding:8px!important;margin:0;border-top:1px solid var(--e-line,#435671)}
.g7-builder-shell .g7c-template-review-popup .g7c-template-preview-footer button{min-height:32px!important;padding:6px 9px!important;font-size:11px}
.g7-builder-shell .g7c-template-review-popup .g7c-template-playback{margin-left:auto}

.g7c-template-popup-details{flex:none;padding:10px 12px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#f8fafc);color:var(--e-ink,#233959)}
.g7c-template-popup-details>p{margin:0 0 5px;font-size:12px;line-height:1.5}
.g7c-template-popup-details>small{display:block;color:var(--e-muted,#65758e);font-size:11px;line-height:1.5}
.g7c-template-popup-details>strong{display:block;font-size:10px;margin:8px 0 5px;color:var(--e-muted,#65758e)}
.g7c-template-popup-tags{display:flex;flex-wrap:wrap;gap:5px}
.g7-builder-shell .g7c-template-popup-tags>button{min-height:26px;margin:0;padding:4px 8px;border:1px solid var(--e-line,#435671);border-radius:999px;background:#4bc5bf12;color:var(--e-accent,#087f8c);font-size:10px}
.g7-builder-shell .g7c-template-popup-tags>button:hover{border-color:var(--e-accent,#087f8c);background:#4bc5bf25}

.g7-builder-shell .g7-catalogue-review{width:min(1200px,calc(100vw - 32px));height:90dvh;padding:18px;box-sizing:border-box;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);overflow:auto}
.g7-catalogue-review>header,.g7-review-preview>header{display:flex;align-items:center;gap:10px;justify-content:space-between}.g7-catalogue-review h2{font-size:20px;margin:0}.g7-review-filters{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.g7-review-filters input{flex:1;min-width:180px}.g7-review-filters :is(input,select),.g7-review-issues :is(select,textarea),.g7-review-report textarea{padding:8px;border:1px solid var(--e-line,#435671);border-radius:7px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7-review-list article{display:flex;justify-content:space-between;gap:14px;padding:12px;margin-bottom:8px;border:1px solid var(--e-line,#435671);border-radius:9px}.g7-review-list small{display:block;font-size:11px;color:var(--e-muted,#65758e);margin-top:5px}.g7-review-list article>div:last-child{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.g7-review-list p{font-size:12px}
.g7-builder-shell :is(.g7-review-preview,.g7-review-issues,.g7-review-report){width:min(700px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:16px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);color:var(--e-ink,#233959)}.g7-builder-shell .g7-review-preview{width:min(1300px,calc(100vw - 32px))}.g7-review-preview iframe{width:100%;height:70dvh;border:0;margin-top:12px;background:white}.g7-review-issues :is(select,textarea),.g7-review-report textarea{display:block;width:100%;box-sizing:border-box;margin:12px 0}.g7-review-report textarea{height:50dvh}.g7-review-issues textarea{min-height:90px}.g7-catalogue-review::backdrop,.g7-review-preview::backdrop,.g7-review-issues::backdrop,.g7-review-report::backdrop{background:#080f20b3}
@media(max-width:650px){.g7-review-list article{flex-direction:column}.g7-catalogue-review>header{flex-wrap:wrap}}

.g7-builder-shell .g7e-help-launcher{width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--e-accent,#087f8c);border-radius:14px;background:var(--e-field,#fff);color:var(--e-accent,#087f8c);box-shadow:0 4px 14px #0002;padding:10px}
.g7-builder-shell .g7e-help-launcher svg{width:23px;height:23px;stroke-width:1.7}
.g7-builder-shell .g7e-help-launcher:hover{background:#4bc5bf18;box-shadow:0 5px 18px #0003}
@keyframes g7-help-idle-nudge{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-3px) rotate(-5deg)}60%{transform:translateY(-1px) rotate(4deg)}}
@media(prefers-reduced-motion:no-preference){.g7e-help-launcher.g7e-help-nudge{animation:g7-help-idle-nudge .8s ease-in-out}}

.g7-builder-shell .g7st-colour-reset{display:block;margin:4px 0 0 auto;padding:3px 5px;min-height:24px;border:0;background:transparent;color:var(--e-accent,#087f8c);font-size:11px}
.g7st-colour-reset[hidden]{display:none!important}

.g7st-selected-card{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;padding:10px;margin-bottom:12px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#f8fafc)}
.g7st-selected-card>.g7st-thumbnail{height:80px;display:grid;place-items:center;background:#4bc5bf10;border-radius:7px;overflow:hidden}
.g7st-selected-card strong{display:block;font-size:12px;margin-bottom:7px}
.g7-builder-shell .g7st-selected-card button{min-height:30px;padding:6px 9px;margin:0;font-size:11px}

.g7-builder-shell[data-editor-theme] .g7e-help-launcher{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:13px;border:1px solid var(--e-accent,#087f8c);background:var(--e-card,#fff);color:var(--e-accent,#087f8c);box-shadow:0 4px 14px #0002}
.g7-builder-shell[data-editor-theme] .g7e-help-launcher>svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;overflow:visible}
@media(prefers-reduced-motion:no-preference){.g7-builder-shell[data-editor-theme] .g7e-help-launcher.g7e-help-nudge{animation:g7-help-idle-nudge .75s ease-in-out 4}}

/* Native dropdown menus need explicit option colours in Midnight. */
.g7-builder-shell[data-editor-theme=midnight] select{color-scheme:dark;background-color:#101c2e!important;color:#e3edfa!important;border-color:#435671!important}
.g7-builder-shell[data-editor-theme=midnight] select option,.g7-builder-shell[data-editor-theme=midnight] select optgroup{background-color:#101c2e!important;color:#e3edfa!important}
.g7-builder-shell[data-editor-theme=midnight] select option:checked{background-color:#23474e!important;color:#d9fffa!important}
.g7-builder-shell[data-editor-theme=midnight] select option:disabled{color:#899bb5!important}
.g7-builder-shell[data-editor-theme=midnight] select:focus-visible{outline:2px solid #4bc5bf;outline-offset:2px}

/* Build costs fit as labelled cards instead of a wide scrolling table. */
.g7-builder-shell .g7ai-build-cost-scroll{overflow:visible;border:0;scrollbar-gutter:auto}
.g7-builder-shell .g7ai-build-cost-scroll .g7ai-build-cost-table{display:block;min-width:0;width:100%;table-layout:auto}
.g7ai-build-cost-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.g7ai-build-cost-table tbody{display:grid;gap:12px}
.g7-builder-shell .g7ai-build-cost-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#f8fafc)}
.g7-builder-shell .g7ai-build-cost-scroll .g7ai-build-cost-table td{display:block;min-width:0!important;max-width:none!important;padding:0!important;border:0;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
.g7ai-build-cost-table td::before{content:attr(data-cost-label);display:block;font-size:10px;font-weight:600;color:var(--e-muted,#65758e);margin-bottom:4px}
.g7ai-build-cost-table td:nth-child(2),.g7ai-build-cost-table td:nth-child(3),.g7ai-build-cost-table td:nth-child(7){grid-column:1/-1}
.g7-builder-shell .g7ai-build-cost-scroll pre{max-width:100%;box-sizing:border-box}
.g7-builder-shell .g7ai-build-cost-history{overflow:visible}
@media(min-width:1100px){.g7-builder-shell .g7ai-build-cost-table tbody tr{grid-template-columns:repeat(3,minmax(0,1fr))}}

.g7ai-cost-summary{margin:14px 0 18px;padding:12px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#f8fafc)}
.g7ai-cost-summary h4{margin:0 0 8px}.g7ai-cost-summary>p{font-weight:600;font-size:13px;margin:0 0 6px}.g7ai-cost-summary small{font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}
.g7ai-cost-tool-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;margin-top:12px}.g7ai-cost-tool-totals article{display:flex;flex-direction:column;gap:5px;padding:11px;border:1px solid var(--e-line,#435671);border-radius:8px}.g7ai-cost-tool-totals strong{font-size:12px;color:var(--e-accent,#087f8c)}.g7ai-cost-tool-totals span{font-size:11px;line-height:1.5}

.g7ai-credit-setting-help{display:block;grid-column:1/-1;font-size:11px;font-weight:400;line-height:1.6;color:var(--e-muted,#65758e);margin:7px 0 3px;padding:8px 10px;border-left:2px solid var(--e-accent,#087f8c);background:#4bc5bf08;border-radius:0 6px 6px 0}

.g7-builder-shell[data-editor-theme] .g7e-help-launcher{background:#a9e6bb;color:#154ba6;border-color:#72bd8a}
.g7-builder-shell[data-editor-theme] .g7e-help-launcher:hover{background:#bcefc9;color:#154ba6;border-color:#154ba6}

.g7-email-debug{margin:10px 0;padding:10px;border:1px solid var(--e-line,#435671);border-radius:8px;color:var(--e-ink,#233959);font-size:12px}.g7-email-debug summary{cursor:pointer}.g7-email-debug pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font-size:11px}

.g7-builder-shell .g7-review-tour{width:min(1250px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);overflow:auto}
.g7-review-tour::backdrop{background:#080f20b3}.g7-review-tour>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:var(--e-panel,#fff);border-bottom:1px solid var(--e-line,#435671)}.g7-review-tour>header strong{font-size:13px}.g7-review-tour>section>iframe{display:block;width:100%;border:0;background:white}.g7-review-tour footer{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:20px;background:var(--e-panel,#fff);border-top:1px solid var(--e-line,#435671)}.g7-review-tour footer p{flex-basis:100%;text-align:center;font-size:12px;margin:0 0 6px}.g7-review-tour:not([open]){display:none}

.g7-review-issues fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border:0;padding:0;margin:12px 0}
.g7-review-reason{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid var(--e-line,#435671);border-radius:7px;font-size:12px;background:var(--e-field,#fff)}
.g7-review-reason input{margin:0;accent-color:var(--e-accent,#087f8c)}

.g7c-template-admin-review{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:5px 8px;border:1px dashed var(--e-line,#435671);border-radius:8px;margin-left:5px}
.g7c-template-admin-review>span{font-size:10px;color:var(--e-muted,#65758e);margin-right:3px}

.g7-template-review-status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid var(--e-line,#435671);border-radius:999px;font-size:11px;font-weight:600;color:var(--e-muted,#65758e);background:var(--e-field,#fff)}
.g7-template-review-status[data-review-state=checked]{color:#77dfab;background:#15834a22;border-color:#3f9d6d}
.g7-template-review-status[data-review-state=issues]{color:#ffcf7d;background:#ab701522;border-color:#ab803e}

.g7c-design-selection-tree{margin-top:12px;padding-top:12px;border-top:1px solid var(--e-line,#435671)}
.g7c-design-selection-tree>h3{font-size:13px;margin:0 0 6px}.g7c-design-selection-tree>.g7c-help{font-size:11px;line-height:1.5}
.g7-builder-shell .g7c-design:has(.g7c-design-selection-tree) .g7c-design-empty{padding:12px}
.g7c-design-selection-tree .g7c-tree-edit,.g7c-design-selection-tree .g7c-tree-moves{display:none}

.g7-builder-shell .g7c-area-other-view{display:flex;align-items:center;gap:10px;width:100%;margin:16px 0 4px;padding:12px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#f8fafc);color:var(--e-ink,#233959);text-align:left}
.g7c-area-other-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:8px;background:#4bc5bf18;color:var(--e-accent,#087f8c)}
.g7c-area-other-icon svg{width:18px;height:18px}.g7c-area-other-view strong{display:block;font-size:12px;margin-bottom:4px}.g7c-area-other-view small{display:block;font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}.g7c-area-other-arrow{margin-left:auto;color:var(--e-accent,#087f8c)}
.g7-builder-shell .g7c-area-other-view:hover{border-color:var(--e-accent,#087f8c);background:#4bc5bf12}

.g7e-next-actions .g7e-focus-content{grid-column:1/-1;width:100%;border-color:var(--e-accent,#087f8c);color:var(--e-accent,#087f8c);background:#4bc5bf18}.g7e-focus-content[hidden]{display:none!important}

.g7-template-rating{display:flex;align-items:center;gap:3px;flex-wrap:wrap;padding:3px 6px;border-left:1px solid var(--e-line,#435671)}.g7-template-rating>span,.g7-template-rating>small{font-size:10px;margin:0 4px;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7-template-rating>button{min-height:26px!important;min-width:24px;padding:2px!important;margin:0;border:0;background:transparent;color:#e7b749;font-size:20px;line-height:1}

.g7-template-rating button svg{display:block;width:19px;height:19px}.g7-builder-shell .g7-template-rating>button{display:grid;place-items:center;color:#e7b749!important}

.g7-template-review-summary{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:6px;padding-top:6px;border-top:1px solid var(--e-line,#435671)}
.g7-review-summary-stars{display:flex;gap:2px;color:#e7b749}.g7-review-summary-stars svg{display:block;width:12px;height:12px}
.g7-review-summary-state{padding:2px 6px;border-radius:999px;font-size:9px;line-height:1.4;color:var(--e-muted,#65758e);border:1px solid var(--e-line,#435671)}
.g7-review-summary-state[data-review-state=checked]{color:#70dba4;background:#15834a18;border-color:#3f9d6d}.g7-review-summary-state[data-review-state=issues]{color:#edbc70;background:#ab701518;border-color:#ab803e}
.g7-builder-shell .g7c-template-variants .g7c-template-row:has(.g7-template-review-summary){min-height:150px}

.g7c-template-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.g7c-template-feature-icon{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.g7c-template-feature-icon svg{display:block;width:12px;height:12px;color:var(--e-accent,#087f8c)}

.g7-builder-shell .g7c-template-tag[data-template-filter=feature]{display:inline-flex;align-items:center;gap:5px}
.g7c-filter-feature-icon svg{display:block;width:13px;height:13px;color:var(--e-accent,#087f8c)}

/* Section browsing chrome follows Midnight while thumbnails keep page colours. */
.g7-builder-shell[data-editor-theme=midnight] .g7c-section-picker .g7c-section-filters{background:#101c2e!important;color:#e3edfa!important;border:1px solid #435671;border-radius:10px;padding:11px}
.g7-builder-shell[data-editor-theme=midnight] .g7c-section-picker .g7c-catalogue-heading h3{color:#e3edfa!important}
.g7-builder-shell[data-editor-theme=midnight] .g7c-section-picker .g7c-section-style-label{color:#b6c9e4!important}
.g7-builder-shell[data-editor-theme=midnight] .g7c-section-picker .g7c-section-filters .g7c-help{color:#b6c9e4!important}
.g7-builder-shell[data-editor-theme=midnight] .g7c-section-picker .g7c-section-filters input{background:#192538!important;color:#e3edfa!important;border-color:#435671!important}
.g7-builder-shell[data-editor-theme=midnight] .g7c-section-picker .g7c-section-filters input::placeholder{color:#a9bed9}
.g7-builder-shell[data-editor-theme=midnight] .g7c-section-picker .g7c-preview-pane{background:#101c2e;color:#e3edfa;border-color:#435671}

.g7st-text-alignment{margin:10px 0}.g7st-text-alignment>span{display:block;font-size:12px;margin-bottom:6px}.g7st-text-alignment>div{display:flex;gap:5px}
.g7-builder-shell .g7st-text-alignment button{display:grid;place-items:center;flex:1;min-height:32px;padding:6px;margin:0;border:1px solid var(--e-line,#435671);border-radius:7px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7st-text-alignment svg{width:17px;height:17px}.g7-builder-shell .g7st-text-alignment button[aria-pressed=true]{border-color:var(--e-accent,#087f8c);background:#4bc5bf20;color:var(--e-accent,#087f8c)}

.g7st-position-choices{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px;margin-top:7px}.g7st-position-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.g7st-position-modes{display:flex;flex-direction:column;gap:4px}
.g7-builder-shell .g7st-position-choices button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:5px;margin:0;border:1px solid var(--e-line,#435671);border-radius:6px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font-size:10px}
.g7st-position-choices svg{display:block;width:17px;height:17px;flex:none}.g7-builder-shell .g7st-position-choices button[aria-pressed=true]{border-color:var(--e-accent,#087f8c);background:#4bc5bf20;color:var(--e-accent,#087f8c)}
.g7st-controls select[hidden]{display:none!important}

.g7-builder-shell .g7st-basic .g7st-palettes{display:flex;flex-wrap:nowrap;gap:4px;margin:10px 0;overflow-x:auto;padding:3px}
.g7-builder-shell .g7st-basic .g7st-palettes>button{display:grid;place-items:center;flex:1;min-width:28px;min-height:30px;padding:3px;margin:0;border:1px solid var(--e-line,#435671);border-radius:6px;background:transparent}
.g7-builder-shell .g7st-basic .g7st-palettes .g7st-swatch{margin:0!important;width:23px!important;height:20px!important}
.g7-builder-shell .g7st-basic .g7st-palettes>button[aria-pressed=true]{border-color:var(--e-accent,#087f8c);outline:1px solid var(--e-accent,#087f8c)}

.g7-builder-shell .g7st-controls .g7st-help-toggle{display:inline-grid;place-items:center;width:20px;height:20px;min-height:20px;padding:0;margin:0 0 0 6px;border:1px solid var(--e-line,#435671);border-radius:50%;background:transparent;color:var(--e-accent,#4cc6c1);vertical-align:middle;flex-shrink:0}
.g7-builder-shell .g7st-help-toggle svg{width:16px;height:16px}
.g7-builder-shell .g7st-field-help:not([hidden]){display:block;flex-basis:100%;margin:8px 0;padding:9px 11px;border:1px solid var(--e-line,#435671);border-radius:8px;color:var(--e-muted,#b9c8dc);font-size:12px;line-height:1.5;font-weight:400}
.g7-builder-shell .g7st-help-heading{display:flex;align-items:center;margin:12px 0 6px;font-size:12px;font-weight:600}

.g7-builder-shell .g7st-reset-inherited{display:inline-flex;align-items:center;gap:7px}
.g7-builder-shell .g7st-reset-inherited .g7st-control-icon{display:inline-flex;width:16px;height:16px}
.g7-builder-shell .g7st-reset-inherited svg{width:16px;height:16px}

.g7-builder-shell .g7c-section-admin-review:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding:12px}
.g7-builder-shell .g7c-section-admin-review .g7-template-rating{flex-basis:100%}

/* Section picker chrome follows the editor theme; preview artwork keeps its own colours. */
.g7-builder-shell .g7c-picker-previews .g7c-hover-preview{background:var(--e-panel,#f8faff);border-color:var(--e-line,#dfe6f1);color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-picker-previews .g7c-hover-preview h3,.g7-builder-shell .g7c-picker-previews .g7c-catalogue-heading h3{color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-picker-previews .g7c-hover-preview .g7c-help{color:var(--e-muted,#667085)}
.g7-builder-shell .g7c-picker-previews .g7c-section-design-info{background:var(--e-panel,#f7f9fe);border-color:var(--e-line,#e0e5ef);color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-picker-previews .g7c-section-design-info summary{color:var(--e-ink,#315181)}

.g7-builder-shell .g7c-section-ai-links{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-left:auto}
.g7-builder-shell .g7c-section-ai-links>button{margin:0}
@media(max-width:600px){.g7-builder-shell .g7c-section-ai-links{width:100%;margin-left:0}}

.g7-builder-shell .g7c-responsive-handle{background:#4bc5bf26;border-color:#269e99}
.g7-builder-shell .g7c-responsive-handle>.g7c-responsive-grip{display:grid;place-items:center;width:34px;height:54px;box-sizing:border-box;border:2px solid var(--e-accent,#269e99);border-radius:10px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);box-shadow:0 3px 12px #0003}
.g7c-responsive-grip svg{width:24px;height:24px}
.g7-builder-shell .g7c-responsive-handle>.g7c-responsive-hint{position:absolute;top:calc(50% + 35px);right:0;width:max-content;height:auto;padding:6px 9px;border:1px solid var(--e-line,#435671);border-radius:7px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);font:600 11px/1.4 system-ui;box-shadow:0 3px 12px #0002;pointer-events:none}
.g7-builder-shell .g7c-responsive-handle:is(:hover,:focus-visible,.is-dragging){background:#4bc5bf55;outline-color:var(--e-accent,#269e99)}

.g7-builder-shell .g7c-floating-design>.g7c-floating-move{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;margin:0;padding:7px 12px;min-height:32px;border:0;border-bottom:1px solid var(--e-line,#dce4f0);border-radius:0;background:var(--e-field,#edf3fa);color:var(--e-muted,#65758e);font-size:11px;cursor:move;touch-action:none;user-select:none}
.g7c-floating-move svg{width:16px;height:16px}
.g7-builder-shell .g7c-floating-design>.g7c-floating-resize{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:28px;height:28px;min-height:28px;margin:0;padding:4px;border:1px solid var(--e-line,#dce4f0);border-radius:8px 0 0 0;background:var(--e-panel,#fff);color:var(--e-accent,#269e99);cursor:nwse-resize;touch-action:none}
.g7c-floating-resize svg{width:20px;height:20px}
.g7-builder-shell .g7c-floating-design .g7c-design{padding-bottom:36px}

.g7-builder-shell .g7c-link-launch{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:10px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959);text-align:left;min-width:0}
.g7c-link-launch svg{display:block;width:21px;height:21px;color:var(--e-accent,#269e99);flex-shrink:0}
.g7c-link-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;min-width:0}
.g7-builder-shell .g7c-link-dialog{width:min(430px,calc(100vw - 32px));padding:18px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);color:var(--e-ink,#233959)}
.g7c-link-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.g7c-link-dialog h3{margin:0;font-size:17px}.g7c-link-dialog label{display:block;margin-bottom:6px;font-size:12px}.g7c-link-dialog input{width:100%;box-sizing:border-box}.g7c-link-dialog .g7c-actions{margin-top:14px}.g7c-link-dialog::backdrop{background:#080f2055}
.g7-builder-shell .g7c-switch-field{display:flex;align-items:center;justify-content:space-between;gap:12px}
.g7-builder-shell .g7c-switch-field>label{margin:0}
.g7-builder-shell .g7c-switch-field>input[role=switch]{appearance:none;position:relative;flex:none;width:38px;height:22px;min-height:22px;margin:0;padding:0;border:1px solid var(--e-line,#435671);border-radius:999px;background:var(--e-muted,#8290a5);cursor:pointer}
.g7c-switch-field>input[role=switch]::before{content:'';position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.g7-builder-shell .g7c-switch-field>input[role=switch]:checked{background:var(--e-accent,#269e99);border-color:var(--e-accent,#269e99)}
.g7c-switch-field>input[role=switch]:checked::before{transform:translateX(16px)}
.g7c-switch-field>input[role=switch]:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.g7c-switch-field>input[role=switch]::before{transition:none}}

.g7-builder-shell .g7c-background-clear{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 0;padding:8px 11px;border:1px solid var(--e-line,#435671);border-radius:8px;background:transparent;color:var(--e-ink,#233959);font-size:11px;line-height:1.4}
.g7-builder-shell .g7c-background-clear[hidden]{display:none!important}
.g7c-background-clear svg{display:block;width:17px;height:17px;color:var(--e-accent,#269e99)}
.g7-builder-shell .g7c-background-clear:hover{border-color:var(--e-accent,#269e99);background:color-mix(in srgb,var(--e-accent,#269e99) 10%,transparent)}

/* Numeric readouts use the theme text colour for readable contrast. */
.g7-builder-shell :is(.g7c-size-slider-value,.g7-number-value,.g7-control-range-value,.g7st-range-value),.g7-builder-shell .g7st-controls :is(.g7-control-range-value,.g7st-range-value),.g7-builder-shell .g7c-design .g7c-field:has([data-control="text-size-px"]) button.g7c-size-slider-value{color:var(--e-ink,#233959)!important;font-weight:650!important;font-variant-numeric:tabular-nums}

.g7-builder-shell .g7c-manage-icon-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.g7c-manage-icon-action>span{display:inline-flex;flex-shrink:0}
.g7c-manage-icon-action svg{width:17px;height:17px}

.g7-builder-shell .g7c-settings-highlight{outline:3px solid var(--e-accent,#269e99);outline-offset:-3px;animation:g7-settings-reveal 1.4s ease-out both}
@keyframes g7-settings-reveal{0%,45%{outline-color:var(--e-accent,#269e99)}100%{outline-color:transparent}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-settings-highlight{animation:none}}
.g7-builder-shell .g7c-design-tab-highlight{outline:3px solid var(--e-accent,#269e99)!important;outline-offset:2px;box-shadow:0 0 0 5px color-mix(in srgb,var(--e-accent,#269e99) 20%,transparent)}
.g7-builder-shell .g7c-design-action-help{padding:11px 12px;margin:12px 0;border:1px solid var(--e-accent,#269e99);border-radius:9px;background:var(--e-field,#edf3fa);color:var(--e-ink,#233959);font-size:12px;line-height:1.6}

.g7-builder-shell .g7c-block-placement-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.g7c-block-placement-icon{display:inline-flex;flex-shrink:0}.g7c-block-placement-icon svg{width:17px;height:17px}

/* All editor boolean controls share the same on/off switch treatment. */
.g7-builder-shell input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;position:relative;display:inline-block!important;flex:0 0 38px!important;width:38px!important;height:22px!important;min-height:22px!important;max-width:38px!important;margin:0!important;padding:0!important;border:1px solid var(--e-line,#8290a5)!important;border-radius:999px!important;background:var(--e-muted,#8290a5)!important;box-shadow:none!important;cursor:pointer;vertical-align:middle}
.g7-builder-shell input[type=checkbox]::before{content:'';position:absolute!important;top:2px!important;left:2px!important;width:16px!important;height:16px!important;border-radius:50%;background:#fff!important;transform:translateX(0);transition:transform .15s}
.g7-builder-shell input[type=checkbox]:checked{background:var(--e-accent,#269e99)!important;border-color:var(--e-accent,#269e99)!important}
.g7-builder-shell input[type=checkbox]:checked::before{transform:translateX(16px)!important}
.g7-builder-shell input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}
.g7-builder-shell input[type=checkbox]:focus-visible{outline:2px solid var(--e-accent,#269e99)!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.g7-builder-shell input[type=checkbox]::before{transition:none}}

.g7-builder-shell .gjs-rte-toolbar,.g7-builder-shell .g7c-text-toolbar{display:none!important}
.g7-builder-shell .g7c-whole-text{margin:12px 0;padding:12px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7c-whole-text>strong{font-size:12px}.g7c-whole-text>small{display:block;margin-top:8px;color:var(--e-muted,#65758e);font-size:11px;line-height:1.5}
.g7c-whole-text-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}
.g7-builder-shell .g7c-whole-text-actions>button{display:flex;flex:1;flex-direction:column;align-items:center;gap:5px;min-width:48px;padding:8px 4px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);font-size:10px}
.g7c-whole-text-actions svg{width:20px;height:20px}
.g7-builder-shell .g7c-whole-text-actions>button[aria-pressed=true]{background:color-mix(in srgb,var(--e-accent,#269e99) 18%,var(--e-panel,#fff));border-color:var(--e-accent,#269e99);color:var(--e-ink,#233959)}

.g7-builder-shell .g7e-polish-text{display:flex;align-items:center;justify-content:center;gap:8px;grid-column:1/-1}
.g7e-polish-text svg{width:19px;height:19px}.g7e-polish-text[hidden]{display:none!important}

.g7-builder-shell .g7e-next-dismiss>button{display:inline-flex;align-items:center;gap:6px}
.g7e-dismiss-icon{display:inline-flex}.g7e-dismiss-icon svg{width:15px;height:15px}

.g7-builder-shell .g7e-next-actions>button{display:flex;align-items:center;justify-content:center;gap:8px}
.g7e-action-icon{display:inline-flex;flex-shrink:0}.g7e-next-actions>button svg{width:18px;height:18px;flex-shrink:0}
.g7e-next-actions>button[hidden]{display:none!important}

/* Standard exposes sliders; typed values and units remain an Advanced control. */
.g7-builder-shell[data-editor-view=standard] .g7c-field:has(.g7c-size-slider)>input:not([type=range]):not([type=checkbox]),
.g7-builder-shell[data-editor-view=standard] .g7c-field:has(.g7c-size-slider)>.g7c-unit,
.g7-builder-shell[data-editor-view=standard] .g7c-field:has(.g7c-size-slider)>.g7c-value-note,
.g7-builder-shell[data-editor-view=standard] :is(.g7c-field,.g7st-field,.g7m-field):has(.g7-number-slider)>input[type=number]{display:none!important}
.g7-builder-shell[data-editor-view=standard] :is(.g7-number-value,button.g7c-size-slider-value){pointer-events:none;cursor:default}

.g7-builder-shell .g7c-advanced{margin-top:16px;padding:0;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#f8faff);overflow:hidden}
.g7-builder-shell .g7c-advanced>summary{display:flex;align-items:center;gap:9px;list-style:none;padding:12px 14px;margin:0;color:var(--e-ink,#233959);font-size:12px;font-weight:650;cursor:pointer}
.g7c-advanced>summary::-webkit-details-marker{display:none}
.g7-builder-shell .g7c-advanced>summary::before{content:'';width:16px;height:16px;flex:none;background:var(--e-accent,#269e99);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 7h16M4 17h16'/%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Ccircle cx='15' cy='17' r='3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.g7-builder-shell .g7c-advanced>summary::after{content:'';width:7px;height:7px;margin-left:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.g7-builder-shell .g7c-advanced[open]>summary::after{transform:rotate(225deg)}
.g7-builder-shell .g7c-advanced[open]>summary{border-bottom:1px solid var(--e-line,#435671)}
.g7-builder-shell .g7c-advanced>summary:hover{background:color-mix(in srgb,var(--e-accent,#269e99) 10%,var(--e-field,#f8faff))}
.g7-builder-shell .g7c-advanced>summary:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:-3px}
.g7-builder-shell .g7c-advanced[open]>*:not(summary){margin-left:12px;margin-right:12px}
@media(prefers-reduced-motion:reduce){.g7c-advanced>summary::after{transition:none}}

.g7-builder-shell .g7e-help-selection{display:flex;gap:10px;padding:11px;margin:10px 0;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#fff)}
.g7e-help-selection[hidden]{display:none!important}.g7e-help-selection>div{min-width:0}.g7e-help-selection strong,.g7e-help-selection small,.g7e-help-selection span{display:block}
.g7e-help-selection strong{font-size:13px;margin:3px 0;color:var(--e-ink,#233959)}.g7e-help-selection small{font-size:10px;color:var(--e-muted,#65758e)}.g7e-help-selection span{font-size:11px;line-height:1.5;overflow-wrap:anywhere;color:var(--e-muted,#65758e)}
.g7e-help-selection>img{width:56px;height:56px;object-fit:cover;border-radius:6px;flex-shrink:0}

.g7-builder-shell .g7c-image-change-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.g7-builder-shell .g7c-image-change-icon:not(:has(svg))::before{content:'';width:17px;height:17px;flex-shrink:0;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='2' y='3' width='16' height='14' rx='2'/%3E%3Ccircle cx='6' cy='7' r='1.5'/%3E%3Cpath d='m3 15 5-5 3 3 3-5 4 7'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}

.g7-builder-shell .g7c-alt-generate{display:inline-flex;align-items:center;gap:7px;margin-top:8px}.g7c-alt-generate svg{width:18px;height:18px}.g7c-alt-suggestion{padding:10px;margin-top:8px;border:1px solid var(--e-line,#435671);border-radius:8px}.g7c-alt-suggestion p{font-size:12px;line-height:1.5}

.g7-builder-shell[data-ai-tools=hide] [data-ai-entry]{display:none!important}
.g7-builder-shell .g7e-ai-visibility{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);font-size:11px;white-space:nowrap}
.g7-builder-shell .g7c-start-card>.g7e-ai-visibility{max-width:260px;margin:14px 0}

/* End space scrolls with the content; the launcher does not shorten the viewport. */
.g7-builder-shell:has(.g7e-help-dock:not([hidden])) .g7c-side{box-sizing:border-box;padding-bottom:0}
.g7-builder-shell:has(.g7e-help-dock:not([hidden])) .g7c-side>.g7c-panel{padding-bottom:76px;scroll-padding-bottom:16px}

.g7-builder-shell .g7c-template-review-popup{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
.g7c-preview-devices{display:flex;gap:4px;margin-left:auto;margin-right:12px;flex-wrap:wrap}
.g7-builder-shell .g7c-preview-devices>button{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font-size:11px}
.g7c-preview-devices svg{width:17px;height:17px}
.g7-builder-shell .g7c-preview-devices>button[aria-pressed=true]{border-color:var(--e-accent,#269e99);background:color-mix(in srgb,var(--e-accent,#269e99) 18%,var(--e-field,#fff))}
.g7-builder-shell .g7c-template-review-popup .g7c-template-live{background:var(--e-field,#edf3fa)}
@media(max-width:600px){.g7c-template-review-popup>header{flex-wrap:wrap}.g7c-preview-devices{order:3;width:100%;margin:4px 0 0}.g7c-preview-devices>button{flex:1;justify-content:center}}

.g7-builder-shell .g7c-feature-examples{box-sizing:border-box;width:min(1200px,calc(100vw - 32px));height:min(850px,calc(100dvh - 32px));padding:18px;border:1px solid var(--e-line,#435671);border-radius:14px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);overflow:hidden}
.g7c-feature-examples>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.g7c-feature-examples h2{font-size:21px;margin:0}
.g7c-feature-examples-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;height:calc(100% - 52px)}.g7c-feature-examples-layout>nav,.g7c-feature-examples-layout>section{overflow:auto;min-height:0;padding:3px}
.g7c-feature-examples-layout>nav>button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;margin:0 0 7px;padding:10px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}.g7c-feature-examples nav svg{width:20px;height:20px;flex-shrink:0}.g7c-feature-examples nav [aria-pressed=true]{border-color:var(--e-accent,#269e99);background:color-mix(in srgb,var(--e-accent,#269e99) 15%,var(--e-field,#fff))}
.g7c-feature-example-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0}.g7c-feature-example-cards article{overflow:hidden;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#fff)}.g7c-feature-example-cards article>img{display:block;width:100%;height:180px;object-fit:cover;object-position:top}.g7c-feature-example-cards strong{display:block;padding:12px;font-size:12px}
.g7c-feature-example-frame{position:relative;overflow:hidden;height:180px;background:white}.g7c-feature-example-frame iframe{width:1100px;height:900px;border:0;transform:scale(.28);transform-origin:0 0;pointer-events:none}
.g7-builder-shell .g7c-feature-examples-browse{background:var(--e-accent,#269e99);color:#102b32}.g7-builder-shell .g7c-browse-feature-examples{width:100%;margin-bottom:14px}.g7c-feature-examples::backdrop{background:#080f2099}
@media(max-width:700px){.g7c-feature-examples-layout{grid-template-columns:1fr;grid-template-rows:140px minmax(0,1fr)}.g7c-feature-examples-layout>nav{display:flex;gap:6px;flex-wrap:wrap}.g7c-feature-examples-layout>nav>button{width:auto}}

.g7-builder-shell .g7c-section-preview-popup{box-sizing:border-box;width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:16px 16px 28px;border:1px solid var(--e-line,#435671);border-radius:14px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);font-family:system-ui,sans-serif;overflow:hidden}
.g7c-section-preview-popup [hidden]{display:none!important}
.g7c-section-preview-popup[open]{display:flex;flex-direction:column;gap:12px}.g7c-section-preview-popup>header{display:flex;align-items:center;gap:16px;flex:none}.g7c-section-preview-heading{flex:1;min-width:0}.g7-builder-shell .g7c-section-preview-popup h2{margin:0 0 5px;color:var(--e-ink,#233959)!important;font:700 19px/1.3 system-ui,sans-serif;overflow-wrap:anywhere}.g7c-section-preview-popup .g7c-section-preview-status{margin:0;color:var(--e-muted,#52657d);font:12px/1.5 system-ui,sans-serif}
.g7c-section-preview-popup .g7c-preview-devices{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#fff)}.g7c-section-preview-popup .g7c-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;font:600 12px/1.35 system-ui,sans-serif}.g7c-section-preview-popup svg{width:17px;height:17px;flex:none}.g7-builder-shell[data-editor-theme] .g7c-section-preview-popup .g7c-preview-devices button[aria-pressed=true]{background:var(--e-tint)!important;border-color:var(--e-accent)!important;color:var(--e-accent)!important}.g7c-section-preview-close{flex:none;width:38px;padding:8px!important}.g7c-section-preview-close>span{display:none}
.g7c-section-popup-viewport{position:relative;flex:1;min-height:0;overflow:hidden;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#edf3fa)}.g7c-section-popup-viewport iframe{position:absolute;top:0;max-width:none;border:0;transform-origin:0 0;background:white}
.g7c-section-preview-popup>footer{position:relative;flex:none;display:flex;flex-direction:column;gap:10px;margin:0}.g7c-section-preview-next{display:flex;align-items:center;gap:20px;padding:12px 14px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-field,#fff)}.g7c-section-preview-next-copy{flex:1;min-width:0}.g7-builder-shell .g7c-section-preview-next-copy strong{color:var(--e-ink,#233959)!important;font:700 14px/1.4 system-ui,sans-serif}.g7c-section-preview-next-copy p{margin:3px 0 0;color:var(--e-muted,#52657d);font:12px/1.5 system-ui,sans-serif}.g7-builder-shell[data-editor-theme] .g7c-section-preview-popup .g7c-section-preview-add{min-width:160px;min-height:44px;background:var(--e-accent,#319c96)!important;border-color:var(--e-accent,#319c96)!important;color:var(--e-accent-ink,#fff)!important;font-size:14px}.g7c-section-preview-add{margin-left:auto}.g7c-section-preview-add svg{width:20px;height:20px}
.g7c-section-preview-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.g7c-section-preview-feedback{position:static;margin:0!important;padding:0!important;border:0!important;background:none!important}.g7c-section-preview-feedback>summary{display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;box-sizing:border-box;list-style:none;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font:600 12px/1.4 system-ui,sans-serif;cursor:pointer}.g7c-section-preview-feedback>summary::-webkit-details-marker{display:none}.g7c-section-preview-feedback>summary::after{content:'';width:6px;height:6px;margin-left:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.g7c-section-preview-feedback[open]>summary{border-color:var(--e-accent,#319c96);color:var(--e-accent,#319c96)}.g7c-section-preview-feedback[open]>summary::after{transform:rotate(225deg)}.g7c-section-preview-feedback>summary:focus-visible{outline:2px solid var(--e-accent,#319c96);outline-offset:2px}
.g7c-section-preview-feedback-panel{position:absolute;z-index:3;bottom:calc(100% + 10px);left:0;width:min(360px,calc(100vw - 58px));max-height:min(50dvh,360px);overflow:auto;overscroll-behavior:contain;padding:14px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-card,#fff);color:var(--e-ink,#233959);box-shadow:var(--e-shadow,0 10px 30px #0003);box-sizing:border-box}.g7c-section-preview-feedback-panel .g7-customer-review{margin:0;padding:0;border:0;background:none;color:inherit}.g7c-section-preview-feedback-panel .g7-customer-review strong{color:var(--e-ink,#233959)!important}.g7c-section-preview-feedback-panel .g7-customer-review details>summary{display:flex;align-items:center;gap:7px}.g7c-section-preview-admin-content{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.g7c-section-preview-admin-content>small{flex-basis:100%;color:var(--e-muted,#52657d)}.g7c-section-preview-popup::backdrop{background:#080f2099}
@media(max-width:760px){.g7-builder-shell .g7c-section-preview-popup{padding:12px 12px 28px;gap:10px}.g7c-section-preview-popup>header{flex-wrap:wrap;gap:10px}.g7c-section-preview-heading{flex-basis:calc(100% - 50px);order:0}.g7c-section-preview-close{order:1}.g7c-section-preview-popup .g7c-preview-devices{order:2;width:100%;box-sizing:border-box}.g7c-section-preview-popup .g7c-preview-devices button{flex:1;padding:7px}.g7c-section-preview-next{gap:10px;padding:10px}.g7c-section-preview-next-copy p{font-size:11px}.g7c-section-preview-popup h2{font-size:17px}.g7c-section-preview-feedback>summary{font-size:11px;padding:7px 8px}}
@media(max-width:520px){.g7c-section-preview-next{flex-direction:column;align-items:stretch}.g7c-section-preview-add{width:100%}.g7c-section-preview-options{gap:6px}}


/* Match the section browser: picture cards on the left, live preview on the right. */
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-body.g7c-template-variants{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-list{min-width:0;width:100%}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;align-content:start;padding:4px}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-row{display:flex;flex-direction:column;min-height:320px;min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-card,#fff);text-align:left}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-row>.g7c-template-preview{width:100%;height:180px;min-height:180px;flex:none;margin:0;border-radius:0}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-row-copy{display:flex;flex-direction:column;gap:8px;padding:13px;width:100%;box-sizing:border-box;flex:1;min-width:0}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-name{font-size:13px;line-height:1.5;color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-description{font-size:12px;line-height:1.5;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-row-action{margin-top:auto;align-self:flex-start}
.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-body.g7c-template-variants .g7c-template-review{border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);box-shadow:none}
@media(max-width:900px){.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-body.g7c-template-variants{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.g7-builder-shell .g7c-template-picker:not(.g7c-template-expanded) .g7c-template-variants .g7c-template-grid{grid-template-columns:minmax(0,1fr)}}

.g7-builder-shell .g7e-assistant-notice{padding:10px 12px;margin:10px 0;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7e-assistant-notice[hidden]{display:none!important}.g7e-assistant-notice p{font-size:12px;line-height:1.5;margin:0 0 6px}.g7e-assistant-notice small{display:block;color:var(--e-muted,#65758e);font-size:11px;margin-bottom:8px}

.g7-builder-shell .g7c-whole-text{padding:14px;border-radius:12px;background:var(--e-card,#fff)}
.g7c-whole-text-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:11px}
.g7-builder-shell .g7c-whole-text-actions>button{min-width:0;min-height:62px;padding:9px 2px;gap:7px;border-radius:9px;font-size:9px;line-height:1.25;overflow-wrap:normal}
.g7c-whole-text-actions svg{width:19px;height:19px}
.g7c-whole-text-actions>button>span{max-width:100%;text-align:center}
.g7-builder-shell .g7c-whole-text-actions>button:hover{border-color:var(--e-accent,#269e99)}
.g7c-whole-text>small{margin-top:10px;font-size:10px;line-height:1.5}

/* Theme advanced attribute and GrapesJS style controls consistently. */
.g7-builder-shell .g7c-data-attribute{background:var(--e-card,#f8faff);border-color:var(--e-line,#dce3ef)}
.g7-builder-shell .g7c-data-attribute label,.g7-builder-shell .g7c-element-attributes h4{color:var(--e-ink,#334766)}
.g7-builder-shell .g7c-managed-attributes{color:var(--e-muted,#687993)}
.g7-builder-shell .g7c-element-attributes input[readonly]{background:var(--e-field,#f1f4f8);color:var(--e-muted,#75839a)}
.g7-builder-shell .g7c-advanced-styles :is(.gjs-sm-sector,.gjs-sm-properties){background:var(--e-panel,#fff)!important;color:var(--e-ink,#344054)!important}
.g7-builder-shell .g7c-advanced-styles :is(.gjs-title,.gjs-sm-sector-title){background:var(--e-field,#f8fafc)!important;color:var(--e-ink,#344054)!important;border-color:var(--e-line,#e4e7ec)!important}
.g7-builder-shell .g7c-advanced-styles :is(.gjs-sm-label,.gjs-sm-property,.gjs-sm-icon){color:var(--e-ink,#344054)!important}
.g7-builder-shell .g7c-advanced-styles :is(.gjs-field,.gjs-input-holder,.gjs-field-integer,.gjs-field-color,.gjs-field-select,.gjs-radio-items){background:var(--e-field,#fff)!important;border-color:var(--e-line,#dce3ee)!important;color:var(--e-ink,#263b56)!important;border-radius:6px}
.g7-builder-shell .g7c-advanced-styles :is(input,select){background:var(--e-field,#fff)!important;color:var(--e-ink,#263b56)!important;border-color:var(--e-line,#dce3ee)!important}
.g7-builder-shell .g7c-advanced-styles .gjs-radio-item-label{background:var(--e-field,#fff)!important;color:var(--e-ink,#344054)!important;border-color:var(--e-line,#dce3ee)!important}
.g7-builder-shell .g7c-advanced-styles .gjs-radio-item input:checked+.gjs-radio-item-label{background:color-mix(in srgb,var(--e-accent,#269e99) 20%,var(--e-field,#fff))!important;color:var(--e-ink,#233959)!important;box-shadow:inset 0 0 0 1px var(--e-accent,#269e99)}
.g7-builder-shell .g7c-advanced-styles :is(.gjs-field-units,.gjs-field-arrows){border-color:var(--e-line,#dce3ee)!important;color:var(--e-muted,#65758e)!important}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-property__background-image [data-open-assets]{background:var(--e-field,#eff6ff);border-color:var(--e-line,#9eb9e6);color:var(--e-accent,#2458a4)}

/* Detailed controls use the same spacing, type and surfaces as Design. */
.g7-builder-shell .g7c-advanced:has(>.g7c-advanced-styles){overflow:hidden}
.g7-builder-shell .g7c-advanced-fields{padding:0 12px 14px}
.g7-builder-shell .g7c-advanced-fields .g7c-element-attributes{font:400 12px/1.5 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-fields .g7c-element-attributes h4{font:650 12px/1.4 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-fields .g7c-data-heading{gap:10px;margin-top:16px}
.g7-builder-shell .g7c-advanced-fields .g7c-data-heading h4{margin:0}
.g7-builder-shell .g7c-advanced-fields .g7c-data-heading .g7c-button{min-height:32px;padding:6px 9px;font-size:11px}
.g7-builder-shell .g7c-advanced-styles{container:advanced-controls / inline-size;padding:0 12px 12px;min-width:0;font:400 13px/1.5 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles>.g7c-help{margin:0 0 12px;color:var(--e-muted,#65758e);font:400 12px/1.5 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sectors{background:transparent!important;display:flex;flex-direction:column;gap:10px}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector{border:1px solid var(--e-line,#dce3ee);border-radius:12px;overflow:hidden;box-shadow:none}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector-title{display:flex;align-items:center;gap:8px;min-height:48px;box-sizing:border-box;padding:10px 12px;border:0;letter-spacing:normal;font:650 13px/1.4 system-ui,sans-serif;cursor:pointer}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector-title:hover{background:color-mix(in srgb,var(--e-accent,#255eb8) 8%,var(--e-field,#fff))!important}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-open>.gjs-sm-sector-title{border-bottom:1px solid var(--e-line,#dce3ee);background:var(--e-card,#f8fafd)!important}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector-caret{order:2;flex:none;margin:0 0 0 auto;width:18px;height:18px;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector-label{display:flex;align-items:center;gap:10px;padding:0;letter-spacing:normal;text-transform:none}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector-label::before{content:'';flex:none;width:20px;height:20px;background:var(--e-accent,#255eb8);mask:center/contain no-repeat var(--g7-advanced-icon)}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector__text .gjs-sm-sector-label::before{content:'Aa';display:grid;place-items:center;background:none;color:var(--e-accent,#255eb8);mask:none;font:700 14px/1 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector__background{--g7-advanced-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-sector__spacing{--g7-advanced-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H3v5M16 3h5v5M3 16v5h5M21 16v5h-5'/%3E%3Crect x='8' y='8' width='8' height='8' rx='1'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-advanced-styles [class~="gjs-sm-sector__columns_/_size"]{--g7-advanced-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M10 4v16M15 4v16'/%3E%3C/svg%3E")}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding:14px 12px}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-properties>.gjs-sm-property{box-sizing:border-box;width:auto!important;min-width:0;padding:0;margin:0;float:none;font:400 12px/1.5 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-property--full{grid-column:1/-1}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-label{display:flex;align-items:center;gap:5px;min-height:18px;margin:0 0 6px;line-height:1.5}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-label .gjs-sm-icon{padding:0;letter-spacing:normal;font:500 12px/1.5 system-ui,sans-serif;color:var(--e-muted,#65758e)!important}
.g7-builder-shell .g7c-advanced-styles .gjs-field{position:relative;box-sizing:border-box;width:100%;min-height:40px;margin:0;border:1px solid var(--e-line,#dce3ee)!important;border-radius:9px!important;box-shadow:none;overflow:hidden;font:400 13px/1.4 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles .gjs-field:focus-within{border-color:var(--e-accent,#255eb8)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--e-accent,#255eb8) 18%,transparent)}
.g7-builder-shell .g7c-advanced-styles .gjs-input-holder{display:block;min-width:0;padding:0;border:0;background:transparent!important}
.g7-builder-shell .g7c-advanced-styles .gjs-field :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:38px;padding:8px 10px;margin:0;border:0!important;border-radius:0;outline-offset:-3px!important;font:400 13px/1.4 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles .gjs-field select{color-scheme:inherit}
.g7-builder-shell .g7c-advanced-styles .gjs-field select option{background:var(--e-field,#fff);color:var(--e-ink,#233959);font:400 13px/1.4 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles .gjs-select>span{display:block}
.g7-builder-shell .g7c-advanced-styles .gjs-select select{padding-right:28px;appearance:none}
.g7-builder-shell .g7c-advanced-styles .gjs-sel-arrow{right:10px}
.g7-builder-shell .g7c-advanced-styles .gjs-field-integer{display:grid;grid-template-columns:minmax(0,1fr) 46px 16px;align-items:center}
.g7-builder-shell .g7c-advanced-styles .gjs-field-integer .gjs-field-units{position:static;display:block;width:auto;height:auto;border:0;border-left:1px solid var(--e-line,#dce3ee);border-radius:0;background:transparent}
.g7-builder-shell .g7c-advanced-styles .gjs-field-integer select.gjs-input-unit{min-height:28px!important;height:28px;width:100%;padding:4px 2px 4px 6px;border:0;border-radius:0;background:transparent!important;color:var(--e-muted,#65758e)!important;font:400 11px/1.4 system-ui,sans-serif}
.g7-builder-shell .g7c-advanced-styles .gjs-field-integer .gjs-field-arrows{position:static;width:16px;height:28px;border:0;background:transparent}
.g7-builder-shell .g7c-advanced-styles .gjs-field-color .gjs-input-holder{padding-right:38px}
.g7-builder-shell .g7c-advanced-styles .gjs-field-colorp{position:absolute;right:6px;top:50%;width:26px;height:26px;padding:0;transform:translateY(-50%);border:0}
.g7-builder-shell .g7c-advanced-styles .gjs-field-colorp-c{position:relative;width:26px;height:26px;border:1px solid var(--e-line,#dce3ee);border-radius:7px;overflow:hidden}
.g7-builder-shell .g7c-advanced-styles .gjs-field-color-picker,.g7-builder-shell .g7c-advanced-styles .gjs-checker-bg{position:absolute;inset:0;width:100%;height:100%;border-radius:0}
.g7-builder-shell .g7c-advanced-styles .gjs-field-radio{min-height:0;padding:3px;background:var(--e-bg,#edf3fa)!important}
.g7-builder-shell .g7c-advanced-styles .gjs-radio-items{display:flex;flex-wrap:wrap;gap:4px;border:0;background:transparent!important}
.g7-builder-shell .g7c-advanced-styles .gjs-radio-item{flex:1;min-width:45px}
.g7-builder-shell .g7c-advanced-styles .gjs-radio-item-label{display:flex;align-items:center;justify-content:center;min-height:34px;padding:7px 4px;border:0!important;border-radius:6px;font:500 11px/1.4 system-ui,sans-serif;text-transform:capitalize}
.g7-builder-shell .g7c-advanced-styles .gjs-radio-item input:checked+.gjs-radio-item-label{background:var(--e-tint,#dbe7fa)!important;color:var(--e-accent,#255eb8)!important;box-shadow:inset 0 0 0 1px var(--e-accent,#255eb8)}
.g7-builder-shell .g7c-advanced-styles .gjs-sm-composite .gjs-sm-properties{gap:12px;padding:12px}
@container advanced-controls (max-width:320px){.g7-builder-shell .g7c-advanced-styles .gjs-sm-properties{grid-template-columns:minmax(0,1fr)}.g7-builder-shell .g7c-advanced-styles .gjs-sm-properties>.gjs-sm-property{grid-column:1/-1}}

.g7-builder-shell .g7st-library-loading{display:none;align-items:center;gap:12px;margin:12px 0;padding:14px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7-builder-shell .g7st-library[aria-busy=true] .g7st-library-loading{display:flex}
.g7st-library-loading strong,.g7st-library-loading small{display:block}.g7st-library-loading strong{font-size:12px}.g7st-library-loading small{font-size:11px;line-height:1.5;margin-top:3px;color:var(--e-muted,#65758e)}
.g7st-library-loading-art{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:11px;background:color-mix(in srgb,var(--e-accent,#269e99) 15%,transparent);color:var(--e-accent,#269e99);animation:g7-sticker-loading 1.4s ease-in-out infinite}
.g7st-library-loading-art svg{width:26px;height:26px}
@keyframes g7-sticker-loading{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-4px) rotate(5deg)}}
@media(prefers-reduced-motion:reduce){.g7st-library-loading-art{animation:none}}

@media(min-width:761px){.g7-builder-shell .g7c-layout[data-sidebar-mode=show]{grid-template-columns:minmax(0,1fr) var(--g7-sidebar-width,350px)}.g7-builder-shell .g7c-layout[data-sidebar-mode=hover] .g7c-side{width:var(--g7-sidebar-width,350px)}}
.g7-builder-shell .g7c-side{position:relative}
.g7-builder-shell .g7c-sidebar-resize{position:absolute;left:-7px;top:0;bottom:0;width:14px;z-index:35;display:grid;place-items:center;cursor:ew-resize;touch-action:none}
.g7c-sidebar-resize>span{display:grid;place-items:center;width:23px;height:48px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#fff);color:var(--e-accent,#269e99);box-shadow:0 2px 8px #0002}.g7c-sidebar-resize svg{width:19px;height:19px}
.g7c-sidebar-resize:is(:hover,:focus-visible,.is-dragging)>span{border-color:var(--e-accent,#269e99);outline:2px solid var(--e-accent,#269e99);outline-offset:1px}
.g7-builder-shell .g7st-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}
@media(max-width:760px){.g7-builder-shell .g7c-sidebar-resize{display:none}}

/* Keep label help controls compact, even inside flex/grid sticker fields. */
.g7-builder-shell .g7st-controls button.g7st-help-toggle{display:inline-grid!important;place-items:center!important;box-sizing:border-box!important;flex:0 0 20px!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;margin:0 0 0 6px!important;padding:0!important;align-self:center;border:1px solid var(--e-line,#435671)!important;border-radius:50%!important;background:var(--e-field,#fff)!important;color:var(--e-muted,#65758e)!important;box-shadow:none!important;vertical-align:middle;line-height:1!important}
.g7-builder-shell .g7st-controls button.g7st-help-toggle svg{display:block;width:15px!important;height:15px!important}
.g7-builder-shell .g7st-controls button.g7st-help-toggle:is(:hover,:focus-visible,[aria-expanded=true]){color:var(--e-accent,#269e99)!important;border-color:var(--e-accent,#269e99)!important;background:color-mix(in srgb,var(--e-accent,#269e99) 12%,var(--e-field,#fff))!important}
.g7-builder-shell .g7st-controls button.g7st-help-toggle:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:2px}

.g7-builder-shell .g7st-link-popup{width:min(420px,calc(100vw - 32px));padding:18px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);color:var(--e-ink,#233959)}.g7st-link-tab{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.g7st-link-popup::backdrop{background:#080f2055}
.g7-builder-shell .g7st-link-popup .g7st-link-tab{margin:18px 0 0;min-height:32px;gap:20px}
.g7st-link-popup .g7st-error:empty{display:none}
.g7st-link-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--e-line,#435671)}
.g7-builder-shell .g7st-link-actions button{min-height:40px;margin:0;padding:9px 15px}
.g7st-link-popup .g7st-link-guidance{margin:8px 0 0;color:var(--e-muted,#52657d);font:12px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.g7st-link-popup .g7st-link-intro{margin:0 0 18px;padding:10px 12px;border-left:3px solid var(--e-accent,#269e99);border-radius:6px;background:var(--e-tint,#e5f3f0);color:var(--e-ink,#233959)}
.g7st-link-popup .g7st-link-action-help{margin-top:12px}

.g7-builder-shell button.g7c-alt-generate{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:38px;max-width:100%;margin:10px 0 0;padding:9px 13px;border:1px solid var(--e-accent,#269e99);border-radius:9px;background:color-mix(in srgb,var(--e-accent,#269e99) 15%,var(--e-field,#fff));color:var(--e-ink,#233959);font:600 12px/1.4 system-ui;box-shadow:none;cursor:pointer;text-align:left}
.g7-builder-shell button.g7c-alt-generate svg{display:block;width:19px;height:19px;flex-shrink:0;color:var(--e-accent,#269e99)}
.g7-builder-shell button.g7c-alt-generate:hover:not(:disabled){background:color-mix(in srgb,var(--e-accent,#269e99) 25%,var(--e-field,#fff));box-shadow:0 2px 8px #0002}
.g7-builder-shell button.g7c-alt-generate:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:3px}
.g7-builder-shell button.g7c-alt-generate:disabled{opacity:.6;cursor:wait}

.g7-builder-shell .g7c-whole-text-actions>button{min-height:40px;height:40px;padding:9px;gap:0}
.g7-builder-shell .g7c-whole-text-actions>button>svg{display:block;flex:none;width:20px;height:20px}

.g7-builder-shell .g7c-design-group>.g7c-whole-text{margin:10px 0 14px;padding:0 0 12px;border:0;border-bottom:1px solid var(--e-line,#435671);border-radius:0;background:transparent}

.g7-builder-shell .g7c-alt-generate+small{display:block;margin:9px 0 0;color:var(--e-muted,#65758e);font-size:11px;line-height:1.5}
.g7-builder-shell .g7c-alt-suggestion{padding:14px;margin-top:12px;border:1px solid var(--e-accent,#269e99);border-radius:11px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7c-alt-suggestion-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}.g7c-alt-suggestion-heading strong{font-size:12px}.g7c-alt-suggestion-heading>span{font-size:9px;padding:3px 6px;border-radius:5px;background:color-mix(in srgb,var(--e-accent,#269e99) 15%,transparent);color:var(--e-accent,#269e99)}
.g7-builder-shell .g7c-alt-suggestion .g7c-alt-suggestion-text{font-size:13px;line-height:1.65;color:var(--e-ink,#233959);margin:0 0 10px;overflow-wrap:anywhere}.g7c-alt-suggestion>small{display:block;font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}
.g7c-alt-suggestion-actions{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}
.g7-builder-shell .g7c-alt-suggestion-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:0;padding:8px 11px;border:1px solid var(--e-line,#435671);border-radius:8px;background:transparent;color:var(--e-ink,#233959);font:600 11px/1.4 system-ui}
.g7-builder-shell .g7c-alt-suggestion-actions>.g7c-alt-use{background:var(--e-accent,#269e99);border-color:var(--e-accent,#269e99);color:#102b32}
.g7-builder-shell .g7c-alt-generate[aria-busy=true]{opacity:1;cursor:wait}
.g7c-alt-generate[aria-busy=true] svg{display:none!important}
.g7c-alt-generate[aria-busy=true]::before{content:'';width:17px;height:17px;box-sizing:border-box;border:2px solid color-mix(in srgb,var(--e-accent,#269e99) 25%,transparent);border-top-color:var(--e-accent,#269e99);border-radius:50%;animation:g7-alt-spin .9s linear infinite}
.g7-builder-shell .g7c-alt-loading>.g7c-alt-generate+small{padding:10px 12px;border-radius:8px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
@keyframes g7-alt-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.g7c-alt-generate[aria-busy=true]::before{animation:none}}

.g7-builder-shell .g7c-responsive-handle>.g7c-responsive-hint[hidden]{display:none!important}

.g7-builder-shell[data-editor-view=standard] .g7c-spacing-summary{display:none}
.g7-builder-shell[data-editor-view=standard] .g7c-spacing-pixels{display:none!important}
.g7-builder-shell[data-editor-view=advanced] .g7c-spacing-summary{display:none}
.g7-builder-shell .g7c-spacing-pixels{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:var(--e-ink,#233959);font-size:12px}
.g7-builder-shell .g7c-spacing-pixels input{box-sizing:border-box;width:90px;padding:9px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7-builder-shell .g7c-spacing-panel :is(.g7c-spacing-intro,.g7c-spacing-help,.g7c-spacing-caption){color:var(--e-muted,#65758e);line-height:1.6}

.g7-builder-shell .g7c-sidebar-focus-content{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:10px 0 14px;padding:9px 12px;border:1px solid var(--e-line,#435671);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font-size:11px}.g7c-sidebar-focus-content svg{width:17px;height:17px;color:var(--e-accent,#269e99)}

.g7-builder-shell[data-editor-view=standard] :is(.g7c-video-background,.g7c-background-image-controls,.g7c-content-background-image),.g7-builder-shell[data-editor-view=standard] .g7c-field:has(>[data-control="background-image-size"]){display:none!important}
.g7-builder-shell .g7c-selected-area-summary{padding:12px;margin:10px 0 14px;border:1px solid var(--e-accent,#269e99);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7c-selected-area-summary>small{display:block;font-size:10px;color:var(--e-muted,#65758e);margin-bottom:4px}.g7c-selected-area-summary>strong{font-size:13px}.g7-builder-shell .g7c-selected-area-summary>p{font-size:12px;line-height:1.6;color:var(--e-ink,#233959);margin:8px 0;overflow-wrap:anywhere}
.g7-builder-shell .g7c-selected-area-summary button{font-size:11px;padding:8px 10px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-panel,#fff);color:var(--e-ink,#233959)}
.g7c-current-background{display:flex;flex-wrap:wrap;gap:9px;align-items:center;border-top:1px solid var(--e-line,#435671);padding-top:10px;margin-top:10px}.g7c-current-background img{width:56px;height:44px;object-fit:cover;border-radius:6px}.g7c-current-background>div{min-width:0;flex:1}.g7c-current-background strong,.g7c-current-background small{display:block;font-size:11px;overflow-wrap:anywhere}.g7c-current-background small{color:var(--e-muted,#65758e);margin-top:4px}.g7c-current-background>button{width:100%}

.g7-builder-shell[data-editor-view=standard] :is(.g7c-background-size,.gjs-sm-property__background-image){display:none!important}

.g7-builder-shell .gjs-toolbar [data-quick-secondary]{display:none!important}
.g7-builder-shell .g7c-simple-group-icon{display:inline-flex;vertical-align:middle;margin-right:8px;color:var(--e-accent,#255eb8)}
.g7-builder-shell .g7c-change-icon{display:inline-flex;align-items:center;gap:8px}
.g7-builder-shell .g7c-change-icon svg{width:18px;height:18px;flex:none}
.g7-builder-shell .g7c-simple-group-icon svg{width:18px;height:18px;flex:none}
.g7-builder-shell .g7c-alignment-name{display:none}
.g7-builder-shell[data-mode-design-groups=essentials] .g7c-text-alignment{flex-wrap:wrap}
.g7-builder-shell[data-mode-design-groups=essentials] .g7c-alignment-button{flex-direction:column;gap:4px;min-width:46px;font-size:11px}
.g7-builder-shell[data-mode-design-groups=essentials] .g7c-alignment-name{display:block}
.g7-builder-shell .g7c-simple-formatting>strong{display:block;margin-bottom:8px;font-size:12px}
.g7-builder-shell .g7c-simple-formatting .g7c-whole-text-actions{grid-template-columns:repeat(auto-fit,minmax(65px,1fr));flex-wrap:wrap}
.g7-builder-shell .g7c-simple-formatting .g7c-whole-text-actions button{flex:1 1 65px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:auto;min-height:58px;padding:8px}
.g7-builder-shell .g7c-format-name{font-size:11px;line-height:1.3}
.g7-builder-shell .gjs-toolbar .gjs-toolbar-items{flex-wrap:nowrap!important;gap:6px;overflow-x:auto;max-width:100%;align-items:center}
.g7-builder-shell .gjs-toolbar .g7c-selection-action{flex-shrink:0;min-height:38px;padding:8px}
.g7-builder-shell .gjs-toolbar .g7c-history-action .g7c-selection-action-label{display:none!important}
.g7-builder-shell .gjs-toolbar.g7c-selection-footer{padding:8px}
.g7-builder-shell[data-mode-quick-actions=essentials] .gjs-toolbar .gjs-toolbar-items{flex-wrap:wrap!important;overflow-x:visible;justify-content:center}
/* Keep room for named actions when a short screen cannot fit both editing panes. */
@media(max-width:760px){.g7-builder-shell[data-mode-quick-actions=essentials] .g7c-layout[data-sidebar-mode=show]:not(.g7ai-chat-layout){grid-template-rows:46px minmax(220px,1fr) minmax(200px,42%);overflow-y:auto}}
@media(max-width:600px){.g7-builder-shell[data-mode-quick-actions=essentials] .g7c-layout[data-sidebar-mode=show]:not(.g7ai-chat-layout){grid-template-rows:82px minmax(220px,1fr) minmax(200px,42%)}}
.g7-builder-shell .g7-colour-face-prompt{display:none}
.g7-builder-shell[data-mode-design-groups=essentials] .g7-colour-face-value{display:none}
.g7-builder-shell[data-mode-design-groups=essentials] .g7-colour-face-prompt{display:block;position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--g7-swatch-ink,#fff);font:600 12px system-ui}
.g7-builder-shell .g7c-quick-more-popup{width:min(330px,calc(100vw - 24px));box-sizing:border-box;padding:14px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-panel,#fff);color:var(--e-ink,#233959)}
.g7c-quick-more-popup>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.g7c-quick-more-popup>div{display:grid;gap:7px;max-height:65dvh;overflow:auto}
.g7-builder-shell .g7c-quick-more-popup>div>button{display:flex;align-items:center;gap:10px;text-align:left;padding:10px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font-size:12px}
.g7c-quick-more-popup svg{width:19px;height:19px;flex-shrink:0}.g7c-quick-more-popup::backdrop{background:#080f2040}

.g7-builder-shell .g7st-placement-popup{width:min(560px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;padding:18px;border:1px solid var(--e-line,#435671);border-radius:14px;background:var(--e-panel,#fff);color:var(--e-ink,#233959)}
.g7st-placement-popup h3{font-size:18px;margin:0 0 10px}.g7st-placement-list{display:grid;gap:8px;margin:14px 0}
.g7-builder-shell .g7st-placement-list>button{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7st-placement-list img{width:56px;height:44px;object-fit:cover;border-radius:6px}.g7st-placement-list strong,.g7st-placement-list small{display:block}.g7st-placement-list strong{font-size:12px}.g7st-placement-list small{font-size:11px;color:var(--e-muted,#65758e);margin-top:4px}.g7st-placement-popup::backdrop{background:#080f2055}

.g7-builder-shell .g7c-sidebar-focus-content[hidden]{display:none!important}

.g7-builder-shell .g7c-alt-suggestion .g7c-alt-suggestion-actions{display:flex!important;gap:9px!important;flex-wrap:wrap;margin-top:14px!important}
.g7-builder-shell .g7c-alt-suggestion button:is(.g7c-alt-use,.g7c-alt-discard){display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:38px!important;margin:0!important;padding:9px 13px!important;border:1px solid var(--e-line,#435671)!important;border-radius:9px!important;background:var(--e-panel,#fff)!important;color:var(--e-ink,#233959)!important;font:600 12px/1.4 system-ui!important;cursor:pointer;box-shadow:none!important}
.g7-builder-shell .g7c-alt-suggestion button.g7c-alt-use{background:var(--e-accent,#269e99)!important;border-color:var(--e-accent,#269e99)!important;color:#102b32!important}
.g7c-alt-suggestion-actions svg{display:block;width:16px;height:16px}.g7c-alt-suggestion-actions button>span{display:inline-flex}
.g7-builder-shell .g7c-alt-suggestion-actions button:hover{filter:brightness(1.08)}
.g7-builder-shell .g7c-alt-suggestion-actions button:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:3px}

.g7-builder-shell .g7c-responsive-handle>.g7c-responsive-hint{left:0;right:auto}

.g7-builder-shell .g7c-sidebar-resize>span{opacity:0;transform:translateX(3px);transition:opacity .15s ease,transform .15s ease;pointer-events:none}
.g7-builder-shell .g7c-sidebar-resize:is(:hover,:focus-visible,.is-dragging)>span{opacity:1;transform:translateX(0)}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-sidebar-resize>span{transition:none}}

.g7-builder-shell .g7c-block-target[hidden]{display:none!important}

.g7-builder-shell .g7yt-vimeo-brand{display:inline-flex;align-items:center;gap:7px;background:var(--e-field,#e6f8ff);color:var(--e-ink,#167ea4);border:1px solid var(--e-line,#435671);padding:6px 9px;border-radius:8px}.g7yt-vimeo-brand .g7yt-brand-icon svg{width:25px;height:22px}

/* Let preview cards size their rows; never shrink them into a fixed-height track. */
.g7-builder-shell .g7c-template-picker .g7c-template-body.g7c-template-variants .g7c-template-grid,.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-grid{grid-template-rows:none!important;grid-auto-rows:minmax(min-content,max-content)!important;align-items:start!important;align-content:start!important;row-gap:24px!important;min-height:0!important;overflow-y:auto}
.g7-builder-shell .g7c-template-picker .g7c-template-body.g7c-template-variants .g7c-template-row,.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row{height:auto!important;min-height:350px!important;max-height:none!important;flex-shrink:0!important;box-sizing:border-box;gap:0!important;align-self:start}
.g7-builder-shell .g7c-template-picker .g7c-template-body.g7c-template-variants .g7c-template-row>.g7c-template-preview,.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row>.g7c-template-preview{position:relative;height:180px!important;min-height:180px!important;max-height:180px!important;flex:0 0 180px!important;overflow:hidden}
.g7-builder-shell .g7c-template-picker .g7c-template-body.g7c-template-variants .g7c-template-row-copy,.g7-builder-shell .g7c-template-picker.g7c-template-expanded .g7c-template-row-copy{flex:0 0 auto!important;min-height:170px!important;height:auto!important;padding:14px!important;gap:9px!important;overflow:visible!important;box-sizing:border-box}
.g7-builder-shell .g7c-template-picker .g7c-template-row-action{margin-top:8px!important}
.g7-builder-shell .g7c-template-picker .g7-template-review-summary{margin-top:8px;flex-shrink:0}

.g7-builder-shell .g7c-template-preview-footer button[data-template-action=add],.g7-builder-shell .g7c-template-preview-footer button[data-template-action=replace]{min-height:48px!important;padding:12px 18px!important;border-radius:10px!important;font-size:13px!important;font-weight:700!important;gap:9px!important}
.g7-builder-shell .g7c-template-preview-footer button[data-template-action=add]{background:var(--e-accent,#269e99)!important;border:1px solid var(--e-accent,#269e99)!important;color:#102b32!important;box-shadow:0 3px 10px #0002}
.g7-builder-shell .g7c-template-preview-footer button[data-template-action=replace]{background:var(--e-card,#fff)!important;border:2px solid var(--e-accent,#269e99)!important;color:var(--e-ink,#233959)!important}
.g7-builder-shell .g7c-template-preview-footer :is([data-template-action=add],[data-template-action=replace]) svg{width:20px;height:20px}
.g7-builder-shell .g7c-template-preview-footer button[data-template-action]:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 4px 14px #0003}
.g7-builder-shell .g7c-template-preview-footer button[data-template-action]:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}

.g7-builder-shell .g7m-launch-icon{display:grid;place-items:center;background:color-mix(in srgb,var(--e-accent,#269e99) 15%,var(--e-field,#fff));color:var(--e-accent,#269e99);overflow:hidden}
.g7m-launch-icon svg{width:26px;height:26px}.g7m-motion-shape{transform-origin:17px 14px;animation:g7-motion-icon-demo 8s ease-in-out infinite}
@keyframes g7-motion-icon-demo{0%,8%{transform:translateX(-4px);opacity:.4}18%,28%{transform:translateX(0);opacity:1}38%{transform:translateY(-3px)}44%,50%{transform:translateY(0)}62%{transform:rotate(-12deg)}70%{transform:rotate(12deg)}78%,85%{transform:rotate(0);opacity:1}95%,100%{transform:translateX(-4px);opacity:.4}}
@media(prefers-reduced-motion:reduce){.g7m-motion-shape{animation:none}}

.g7-builder-shell[data-editor-theme=midnight] select{color-scheme:dark!important;-webkit-text-fill-color:#e3edfa!important}
.g7-builder-shell[data-editor-theme=midnight] select:not(:disabled):hover{border-color:#50c7bd!important;background-color:#16283d!important;box-shadow:0 0 0 2px #50c7bd20!important}
.g7-builder-shell[data-editor-theme=midnight] select:focus-visible{border-color:#50c7bd!important;outline:2px solid #50c7bd!important;outline-offset:2px}
.g7-builder-shell[data-editor-theme=midnight] select :is(option,optgroup){background:#101c2e!important;color:#e3edfa!important;-webkit-text-fill-color:#e3edfa!important;opacity:1!important}
.g7-builder-shell[data-editor-theme=midnight] select option:is(:hover,:focus,:checked){background:#28545b!important;color:#f2fffd!important;-webkit-text-fill-color:#f2fffd!important}
.g7-builder-shell[data-editor-theme=midnight] select option:disabled{background:#101c2e!important;color:#a4b4ca!important;-webkit-text-fill-color:#a4b4ca!important}
.g7-builder-shell[data-editor-theme=midnight] select:disabled{-webkit-text-fill-color:#a4b4ca!important;color:#a4b4ca!important}

/* Keep the selection summary and content heading separate in narrow sidebars. */
.g7-builder-shell .g7c-selected-area-summary{box-sizing:border-box;min-width:0;padding:14px 16px;margin:10px 0 14px;flex-shrink:0;border:1px solid var(--e-line,#bccbde);border-left:3px solid var(--e-accent,#255eb8);border-radius:12px;font-family:system-ui,sans-serif}
.g7-builder-shell .g7c-selected-area-summary>small{display:block;margin:0 0 5px;font:500 11px/1.5 system-ui,sans-serif;color:var(--e-muted,#52657d)}
.g7-builder-shell .g7c-selected-area-summary>strong{display:block;font:650 15px/1.4 system-ui,sans-serif;color:var(--e-ink,#203044);overflow-wrap:anywhere}
.g7-builder-shell .g7c-selected-area-summary>.g7c-selected-edit{display:flex;align-items:center;gap:9px;width:100%;min-height:40px;box-sizing:border-box;margin:12px 0 0;padding:10px 12px;text-align:left;font:600 12px/1.4 system-ui,sans-serif;white-space:normal}
.g7-builder-shell .g7c-selected-edit>svg{width:18px;height:18px;flex-shrink:0}
.g7-builder-shell .g7c-selected-edit-arrow{display:flex;margin-left:auto;flex-shrink:0}
.g7-builder-shell .g7c-selected-edit-arrow svg{width:16px;height:16px}
.g7-builder-shell .g7c-selected-area-summary>.g7c-selected-edit:focus-visible{outline:2px solid var(--e-accent,#255eb8);outline-offset:3px}
.g7-builder-shell .g7c-selected-area-summary>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45;margin:6px 0 0}
.g7-builder-shell .g7c-content-only .g7c-content-heading{margin:0 0 12px;padding:12px 0;min-width:0;flex-shrink:0}
.g7-builder-shell .g7c-content-only .g7c-content-heading h3{font-size:15px;line-height:1.4;margin:0 0 6px}
.g7-builder-shell .g7c-content-only .g7c-content-heading .g7c-help{line-height:1.5}

/* Map location editing in midnight mode. */
.g7-builder-shell[data-editor-theme=midnight] :is(.g7map-controls,.g7map-search-area,.g7map-selected-location,.g7map-empty){background:var(--e-field,#101c2e);border-color:var(--e-line,#435671);color:var(--e-ink,#e3edfa)}
.g7-builder-shell[data-editor-theme=midnight] :is(.g7map-list-heading,.g7map-search-heading,.g7map-search-label,.g7map-location-heading){color:var(--e-ink,#e3edfa)}
.g7-builder-shell[data-editor-theme=midnight] :is(.g7map-empty,.g7map-search-area .g7c-help,.g7map-location-copy>span,.g7map-already-added,.g7map-attribution){color:var(--e-muted,#b6c9e4)}
.g7-builder-shell[data-editor-theme=midnight] :is(.g7map-count,.g7map-location-number){background:#4bc5bf20;color:var(--e-accent,#4bc5bf)}
.g7-builder-shell[data-editor-theme=midnight] .g7map-selected-location[open]>.g7map-location-heading{background:var(--e-panel,#192538);border-color:var(--e-line,#435671)}
.g7-builder-shell[data-editor-theme=midnight] :is(.g7map-location-edit,.g7map-state,.g7map-advanced>summary){color:var(--e-accent,#4bc5bf)}
.g7-builder-shell[data-editor-theme=midnight] .g7map-advanced{border-color:var(--e-line,#435671)}
.g7-builder-shell[data-editor-theme=midnight] .g7map-controls .g7map-add-location{background:#4bc5bf18;border-color:var(--e-accent,#4bc5bf);color:var(--e-accent,#4bc5bf)}
.g7-builder-shell[data-editor-theme=midnight] .g7map-controls .g7map-add-location:disabled{background:var(--e-panel,#192538);border-color:var(--e-line,#435671);color:var(--e-muted,#b6c9e4);opacity:.6}
.g7-builder-shell[data-editor-theme=midnight] .g7map-controls .g7map-remove-location{background:#402530;border-color:#754553;color:#ffbec7}
.g7-builder-shell[data-editor-theme=midnight] .g7map-search-result:hover{background:#4bc5bf20;border-color:var(--e-accent,#4bc5bf)}

.g7-builder-shell .g7c-quick-motion .g7c-selection-action-label{display:none}

.g7-builder-shell :is(.g7ai-token-mention,.g7ai-tier-summary,.g7ai-tier-buttons small)::before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:var(--e-accent,#4bc5bf);mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 8.7 5v10L12 22l-8.7-5V7Z'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='m12 8-2 4h4l-2 4'/%3E%3C/g%3E%3C/svg%3E")}

.g7-builder-shell .g7ai-issue-log{width:min(880px,calc(100vw - 32px));background:var(--e-panel,#fff);color:var(--e-ink,#233959);border-color:var(--e-line,#435671)}
.g7ai-issues-body{padding:20px;max-height:65vh;overflow:auto}.g7ai-issue{margin-top:12px;padding:12px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#fff)}.g7ai-issue summary{cursor:pointer;overflow-wrap:anywhere}.g7ai-issue pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:var(--e-ink,#233959)}
.g7-builder-shell .g7ai-issue-log footer{display:flex;gap:8px;flex-wrap:wrap}

.g7st-easy-effects{margin:14px 0;padding:12px;border:1px solid var(--e-line,#dce3ef);border-radius:10px;background:var(--e-field,#fff)}.g7st-easy-effects>strong{font-size:12px}.g7st-effect-row{margin-top:12px}.g7st-effect-row>span{display:block;margin-bottom:8px;font-size:11px;color:var(--e-muted,#65758e)}.g7st-effect-choices,.g7st-border-colours{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.g7-builder-shell .g7st-easy-effects button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:38px;padding:7px 5px;font-size:11px;border:1px solid var(--e-line,#dce3ef);border-radius:8px;background:var(--e-panel,#f8fafc);color:var(--e-ink,#233959)}.g7-builder-shell .g7st-easy-effects button[aria-pressed=true]{background:#4bc5bf20;border-color:var(--e-accent,#269e99);color:var(--e-accent,#087f8c)}.g7st-effect-sample{display:block;box-sizing:border-box;width:17px;height:17px;border-radius:5px;background:var(--e-accent,#4bc5bf);flex:none}.g7st-border-colours{margin-top:8px}.g7st-border-colours button>span:first-child{width:12px;height:12px;border:1px solid var(--e-line,#65758e);border-radius:50%;flex:none}

.g7c-feature-card-actions{padding:0 12px 12px}.g7c-feature-example-cards article>.g7c-help{margin:0 12px 12px}.g7c-feature-example-cards article>.g7c-help:empty{display:none}.g7-builder-shell .g7c-feature-card-actions button{width:100%;background:var(--e-accent,#269e99);border:1px solid var(--e-accent,#269e99);color:#102b32;border-radius:8px;padding:9px 12px;font-weight:600}

.g7-builder-shell .g7e-next-pin{display:grid;place-items:center;width:30px;height:30px;padding:5px;margin-left:auto;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--e-muted,#65758e)}.g7e-next-pin svg{width:18px;height:18px}.g7-builder-shell .g7e-next-pin:hover,.g7-builder-shell .g7e-next-pin[aria-pressed=true]{background:#4bc5bf20;border-color:var(--e-accent,#269e99);color:var(--e-accent,#269e99)}

/* Reveal sticker library actions on hover or keyboard focus. */
.g7-builder-shell .g7st-library .g7st-card>:is(.g7c-favourite,.g7st-remove){display:grid;place-items:center;box-sizing:border-box;width:28px;height:28px;min-height:0;padding:5px!important;border-radius:8px;border:1px solid var(--e-line,#435671);background:var(--e-field,#fff);color:var(--e-ink,#233959);box-shadow:0 2px 7px #0003;opacity:0;pointer-events:none;transition:opacity .15s ease,background .15s ease}
.g7-builder-shell .g7st-library .g7st-card>.g7c-favourite{top:5px;right:5px}
.g7-builder-shell .g7st-library .g7st-card>:is(.g7c-favourite,.g7st-remove) svg{display:block;width:16px;height:16px}
.g7-builder-shell .g7st-library .g7st-card:is(:hover,:focus-within)>:is(.g7c-favourite,.g7st-remove){opacity:1;pointer-events:auto}
.g7-builder-shell .g7st-library .g7st-card>.g7c-favourite[aria-pressed=true]{color:var(--e-accent,#269e99);border-color:var(--e-accent,#269e99)}
.g7st-card>.g7c-favourite[aria-pressed=true] svg{fill:currentColor}
.g7-builder-shell .g7st-library .g7st-card>.g7st-remove:hover{color:#ff8090;border-color:#ff8090;background:#402530}
@media(hover:none){.g7-builder-shell .g7st-library .g7st-card>:is(.g7c-favourite,.g7st-remove){opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7st-library .g7st-card>:is(.g7c-favourite,.g7st-remove){transition:none}}

.g7-builder-shell .g7st-position-choices{grid-template-columns:minmax(0,1fr);gap:9px}.g7-builder-shell .g7st-position-grid{width:110px;max-width:100%}.g7-builder-shell .g7st-position-modes{width:100%}

.g7-builder-shell .g7c-edit-text-images{display:flex;align-items:center;justify-content:center;gap:9px}.g7c-edit-text-images-icons{display:inline-flex;align-items:center;gap:4px;flex:none}.g7c-edit-text-images-icons svg{width:17px;height:17px}

/* Keep Sticker Studio focused on progress while a request is running. */
.g7-builder-shell .g7st-ai[aria-busy=true] :is(.g7st-generation-form,.g7st-ai-review,.g7st-studio-intro){display:none!important}
.g7-builder-shell .g7st-ai[aria-busy=true] .g7st-ai-loading{margin:0;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center}

.g7pd-style-description{width:100%;box-sizing:border-box;margin-top:12px;padding:12px 14px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}.g7pd-style-description[hidden]{display:none!important}.g7pd-style-description>strong{font-size:13px}.g7pd-style-description>p{margin:6px 0;font-size:12px;line-height:1.6}.g7pd-style-description>small{display:block;color:var(--e-muted,#65758e);font-size:11px;line-height:1.6}

.g7-builder-shell button.g7ai-tier-summary{flex:1;text-align:left;white-space:normal;padding:0;border:0;background:transparent;color:var(--e-muted,#65758e);font-size:12px;cursor:pointer}
.g7-builder-shell button.g7ai-tier-summary:hover{color:var(--e-accent,#269e99)}
.g7-builder-shell .g7ai-level-popup{width:min(560px,calc(100vw - 32px));background:var(--e-panel,#fff);color:var(--e-ink,#233959);border-color:var(--e-line,#435671)}.g7ai-level-body{padding:20px;display:grid;gap:12px}.g7-builder-shell .g7ai-level-option{display:block;width:100%;padding:16px;text-align:left;white-space:normal;background:var(--e-field,#fff);color:var(--e-ink,#233959);border:1px solid var(--e-line,#435671);border-radius:10px}.g7ai-level-option p{font-size:12px;line-height:1.6;margin:8px 0}.g7ai-level-option small{color:var(--e-muted,#65758e)}.g7-builder-shell .g7ai-level-option[aria-pressed=true]{border-color:var(--e-accent,#269e99);background:#4bc5bf16}

.g7-builder-customer-switch{display:flex;align-items:center;gap:8px;margin:0 0 0 12px;white-space:nowrap;cursor:pointer;font-size:11px}.g7-builder-customer-switch input{appearance:none;box-sizing:border-box;width:34px;height:20px;border:1px solid var(--e-line,#435671);border-radius:20px;background:#65758e;position:relative;cursor:pointer;margin:0}.g7-builder-customer-switch input::before{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff}.g7-builder-customer-switch input:checked{background:var(--e-accent,#269e99)}.g7-builder-customer-switch input:checked::before{left:16px}.g7-builder-customer-switch input:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:3px}
.g7-builder-shell[data-customer-view=true] :is([data-top-admin-only],.g7-admin-only-badge,.g7ai-error-details,.g7-admin-email-status,.g7-email-debug,.g7ai-issue-log,.g7ai-build-cost-settings,.g7ai-model-settings,.g7ai-connection-settings,.g7yt-source-settings){display:none!important}

.g7-builder-shell .g7c-video-sources button[data-video-provider=stock]>.g7c-video-source-icon{display:grid!important;place-items:center;width:32px;height:32px;background:#4bc5bf20;color:var(--e-accent,#269e99)}.g7-builder-shell .g7c-video-sources button[data-video-provider=stock]>.g7c-video-source-icon svg{display:block;width:23px;height:23px}

.g7-builder-shell .g7c-background-stock-video{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px}.g7c-background-stock-video svg{width:18px;height:18px;flex:none}

.g7-builder-leave-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));padding:24px;border:1px solid #435671;border-radius:16px;background:#192538;color:#e3edfa;box-shadow:0 20px 70px #0006;font-family:system-ui}.g7-builder-leave-dialog::backdrop{background:#08111dc0;backdrop-filter:blur(3px)}.g7-builder-leave-dialog h2{margin:0 0 12px;font-size:20px}.g7-builder-leave-dialog p{color:#b6c9e4;line-height:1.6;font-size:13px}.g7-builder-leave-dialog>div{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}.g7-builder-leave-dialog button{border:1px solid #435671;border-radius:8px;padding:10px 14px;background:#4bc5bf;color:#102b32;font-weight:600;cursor:pointer}.g7-builder-leave-dialog .g7-leave-confirm{background:#101c2e;color:#ffbec7}.g7-builder-leave-dialog button:focus-visible{outline:2px solid #4bc5bf;outline-offset:3px}

.g7yt-source-picker{width:min(680px,calc(100vw - 32px))}.g7yt-source-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.g7yt-source-choice{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-field,#101c2e);color:var(--e-ink,#e3edfa);text-align:left}.g7yt-source-choice svg{width:28px;height:28px;color:var(--e-accent,#4bc5bf)}.g7yt-source-choice span{font-size:12px;color:var(--e-muted,#b6c9e4)}.g7yt-source-choice:hover{border-color:var(--e-accent,#4bc5bf)}.g7yt-source-picker label{display:block;margin-bottom:12px}.g7yt-source-picker input{box-sizing:border-box;display:block;width:100%;margin-top:8px;padding:12px;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#101c2e);color:var(--e-ink,#e3edfa)}@media(max-width:520px){.g7yt-source-choices{grid-template-columns:1fr}}

/* Centre and emphasise the main template actions. */
.g7-builder-shell .g7c-template-actions{display:flex!important;flex-wrap:wrap;justify-content:center!important;align-items:center;gap:12px;width:100%}
.g7-builder-shell .g7c-template-actions>button[data-template-action=add]{background:#4bc5bf!important;color:#092d33!important;border:1px solid #6ee4dc!important;box-shadow:0 4px 14px #4bc5bf30!important}
.g7-builder-shell .g7c-template-actions>button[data-template-action=replace]{background:#7560d7!important;color:#fff!important;border:1px solid #a393f0!important;box-shadow:0 4px 14px #7560d730!important}
.g7-builder-shell .g7c-template-actions>button:is([data-template-action=add],[data-template-action=replace]){display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px!important;padding:12px 20px!important;font-size:13px!important;font-weight:700;border-radius:10px}
.g7-builder-shell .g7c-template-actions>.g7c-template-admin-review{flex-basis:100%;justify-content:center;margin:4px auto 0}

.g7-builder-shell .g7c-template-popup-tags{gap:7px;margin-top:8px}
.g7-builder-shell .g7c-template-popup-tags>button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border-radius:8px;background:#4bc5bf14;border-color:#4bc5bf45;color:var(--e-ink,#233959);font-size:11px;font-weight:500}
.g7-builder-shell .g7c-template-popup-tags>button::before{content:"#";color:var(--e-accent,#087f8c);font-size:14px;font-weight:700}
.g7-builder-shell .g7c-template-popup-tags>button::after{content:">";color:var(--e-accent,#087f8c);font-size:13px;margin-left:2px}
.g7-builder-shell .g7c-template-popup-tags>button:hover{background:#4bc5bf28;border-color:var(--e-accent,#087f8c)}
.g7-builder-shell .g7c-template-popup-tags>button:focus-visible{outline:2px solid var(--e-accent,#087f8c);outline-offset:3px}

.g7c-template-use-menu{position:relative;flex:none}.g7-builder-shell .g7c-template-use-menu>button{background:#4bc5bf;color:#102b32;border:1px solid #6ee4dc;font-weight:700;white-space:nowrap}.g7c-template-use-options{position:absolute;right:0;top:calc(100% + 8px);z-index:20;display:grid;gap:6px;width:220px;padding:8px;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-panel,#192538);box-shadow:0 8px 24px #0005}.g7c-template-use-options[hidden]{display:none!important}.g7-builder-shell .g7c-template-use-options button{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;padding:10px;text-align:left;color:var(--e-ink,#233959);background:var(--e-field,#fff);border:1px solid var(--e-line,#435671);border-radius:7px}.g7c-template-use-options svg{width:18px;height:18px}.g7-builder-shell .g7c-template-use-options button:hover:not(:disabled){border-color:#4bc5bf;background:#4bc5bf20}

.g7-builder-shell .g7st-library[aria-busy=true] .g7st-grid{display:none!important}.g7st-thumbnail.g7st-image-loading{position:relative}.g7st-thumbnail.g7st-image-loading::after{content:"";position:absolute;left:calc(50% - 12px);top:calc(50% - 12px);width:24px;height:24px;border:2px solid #4bc5bf30;border-top-color:var(--e-accent,#4bc5bf);border-radius:50%;animation:g7-sticker-image-spin .8s linear infinite}.g7st-image-loading img{opacity:0}@keyframes g7-sticker-image-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.g7st-thumbnail.g7st-image-loading::after{animation:none}}

/* Saved generated designs keep their actions together below an optional preview. */
.g7-builder-shell .g7-generated-library{display:flex;flex-direction:column;overflow:hidden;font-family:system-ui,sans-serif}.g7-builder-shell .g7-generated-library:not([open]){display:none}
.g7-generated-library>header{flex:none;gap:12px;padding:12px 18px;border-bottom:1px solid var(--e-line,#dce4f0);background:var(--e-panel,#f7f9fc)}.g7-generated-library>header h2{margin:0;font:700 21px/1.3 system-ui,sans-serif}
.g7-generated-library .g7-generated-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 16px 20px}.g7-generated-status{margin:0 0 10px;font-size:12px;line-height:1.5;color:var(--e-muted,#65758e)}
.g7-generated-library article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px;min-width:0;margin:0 0 9px;padding:10px;background:var(--e-field,#fff)}.g7-generated-card-header{display:grid;grid-column:1;grid-row:1;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;min-width:0}.g7-generated-info{min-width:0}.g7-generated-info strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 4px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.g7-generated-info small{margin:0;font-size:11px;line-height:1.5;color:var(--e-muted,#65758e)}
.g7-generated-library .g7-generated-thumbnail{width:96px;height:60px;overflow:hidden;position:relative;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-field,#101c2e);color:var(--e-muted,#b6c9e4);font-size:11px;display:grid;place-items:center}.g7-generated-library .g7-generated-thumbnail iframe{position:absolute;top:0;left:0;width:1000px!important;height:625px!important;max-width:none!important;margin:0!important;border:0;transform:scale(.096);transform-origin:top left;pointer-events:none}
.g7-generated-library article>.g7-generated-preview{grid-column:1/-1;grid-row:2;width:100%;height:clamp(220px,44dvh,480px);min-width:0;margin:0;border:1px solid var(--e-line,#435671);border-radius:8px;background:var(--e-panel,#f7f9fc);box-sizing:border-box}
.g7-generated-library .g7-generated-actions{display:flex;grid-column:2;grid-row:1;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:7px;margin:0;padding:0;border:0}
.g7-generated-library .g7c-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 11px;font:600 12px/1.3 system-ui,sans-serif}.g7-generated-library .g7c-button svg{width:18px;height:18px;flex:none}.g7-builder-shell[data-editor-theme] .g7-generated-library .g7-generated-add{margin-left:auto;background:var(--e-accent,#4bc5bf)!important;border-color:var(--e-accent,#4bc5bf)!important;color:var(--e-accent-ink,#102b32)!important}
@media(max-width:640px){.g7-generated-library>header{padding:12px 14px}.g7-generated-library>header h2{font-size:18px}.g7-generated-library .g7-generated-body{padding:12px 10px 18px}.g7-generated-library article{gap:8px;padding:10px}.g7-generated-card-header{grid-column:1/-1;grid-template-columns:80px minmax(0,1fr);gap:10px}.g7-generated-library .g7-generated-thumbnail{width:80px;height:50px}.g7-generated-library .g7-generated-thumbnail iframe{transform:scale(.08)}.g7-generated-library .g7-generated-actions{display:grid;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.g7-generated-library .g7-generated-actions .g7c-button{width:100%;box-sizing:border-box;min-height:38px;margin:0;padding:9px 10px}.g7-generated-library article>.g7-generated-preview{grid-row:3}}


.g7c-feature-image-crop{width:100%;max-height:200px;min-height:60px;overflow:hidden;background:var(--e-field,#fff)}.g7c-feature-image-crop img{display:block;object-position:top}.g7c-feature-example-cards{align-items:start}.g7c-feature-countdown-preview{position:relative;height:150px;overflow:hidden;background:var(--e-field,#fff)}.g7c-feature-countdown-preview iframe{position:absolute;width:1100px;height:900px;border:0;max-width:none;transform-origin:top left;pointer-events:none}

.g7c-feature-explainer{display:flex;align-items:center;gap:16px;padding:12px;margin:14px 0;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-field,#fff)}.g7c-feature-explainer img{width:220px;max-width:45%;height:auto;border-radius:8px}.g7c-feature-explainer p{font-size:12px;line-height:1.6;margin:0;color:var(--e-muted,#65758e)}.g7c-feature-interactive-preview{position:relative;height:220px;overflow:hidden;background:var(--e-field,#fff)}.g7c-feature-interactive-preview iframe{position:absolute;left:0;top:0;width:1100px;height:1400px;border:0;max-width:none;transform-origin:top left;pointer-events:none}

.g7-builder-shell .g7c-add-back,.g7-builder-shell .g7i-sidebar .g7c-add-back{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 16px!important;margin-bottom:10px;border:1px solid var(--e-line,#435671)!important;border-radius:10px;background:var(--e-field,#fff)!important;color:var(--e-ink,#233959)!important;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 2px 5px #0001}
.g7-builder-shell .g7c-add-back svg{width:19px;height:19px;flex:none}
.g7-builder-shell .g7c-add-back:hover{background:#4bc5bf20!important;color:var(--e-accent,#087f8c)!important;border-color:var(--e-accent,#087f8c)!important}
.g7-builder-shell .g7c-add-back:focus-visible{outline:2px solid var(--e-accent,#087f8c);outline-offset:3px}

.g7e-help-selection-details{margin-top:12px;padding-top:10px;border-top:1px solid var(--e-line,#435671);font-size:11px;color:var(--e-muted,#65758e)}.g7e-help-selection-details[hidden]{display:none!important}.g7e-help-selection-details>summary{cursor:pointer;padding:5px 0;overflow-wrap:anywhere}.g7e-help-selection-details .g7e-help-selection{margin-top:8px}

.g7-builder-shell .g7ai-token-policy{padding:18px;border:1px solid var(--e-accent,#269e99);border-radius:12px;background:var(--e-card,#fff);margin-bottom:18px}.g7ai-token-policy .g7ai-label{display:block;margin:14px 0}.g7ai-token-policy .g7ai-label small{display:block;margin-top:5px;line-height:1.5}.g7ai-token-price-table{overflow-x:auto;margin-top:18px}.g7ai-token-price-table table{width:100%;font-size:11px}.g7-builder-shell[data-token-policy=true] .g7ai-legacy-token-setting{display:none}.g7-builder-shell[data-customer-view=true] .g7ai-token-policy{display:none!important}

.g7-builder-shell .g7c-template-chat .g7c-finder-thinking>.g7c-finder-thinking-label{color:var(--e-ink,#233959);opacity:1;animation:none}.g7-builder-shell[data-editor-theme=midnight] .g7c-template-chat .g7c-finder-thinking>.g7c-finder-thinking-label{color:#c6d8ef}

.g7-popup-move-header,.g7-popup-move-surface{cursor:move;touch-action:none}.g7-popup-move-header :is(button,input,select,a){cursor:pointer;touch-action:auto}.g7-popup-adjusted{position:fixed!important;inset:auto!important;left:var(--g7-popup-left)!important;top:var(--g7-popup-top)!important;width:var(--g7-popup-width)!important;height:var(--g7-popup-height)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;min-width:0!important;min-height:0!important;margin:0!important;transform:none!important;box-sizing:border-box;overflow:auto}.g7-popup-adjusted>:is(section,.g7st-studio-body,.g7c-video-dialog-body,.g7ai-level-body){min-height:0}.g7-builder-shell .g7-popup-resize,.g7-builder-leave-dialog .g7-popup-resize{position:sticky;display:grid;place-items:center;bottom:3px;right:3px;float:right;flex:none;width:25px;height:25px;min-height:0;padding:3px!important;margin:-25px 3px 0 0;border:0!important;border-radius:5px;background:var(--e-field,#101c2e)!important;color:var(--e-accent,#4bc5bf)!important;cursor:nwse-resize;touch-action:none;z-index:50}.g7-popup-resize svg{width:18px;height:18px}.g7-builder-shell .g7-popup-move{display:grid;place-items:center;width:28px;height:28px;min-height:0;flex:none;padding:5px!important;margin:0;border:1px solid var(--e-line,#435671);border-radius:7px;background:var(--e-field,#101c2e);color:var(--e-muted,#b6c9e4);cursor:move;touch-action:none}.g7-popup-move svg{width:17px;height:17px}.g7-popup-move-standalone{position:absolute;top:8px;right:8px;z-index:40}.g7-popup-dragging{user-select:none}.g7-popup-resize:focus-visible,.g7-popup-move:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:2px}

.g7-builder-shell .g7-popup-resize{align-self:flex-end}

.g7-builder-shell .g7-table-editor-launch .g7-table-open-action{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;padding:12px 16px;border:1px solid #6ee4dc;border-radius:10px;background:#4bc5bf;color:#102b32;font-size:13px;font-weight:700;box-shadow:0 3px 10px #4bc5bf20}.g7-table-open-action svg{width:20px;height:20px;flex:none}.g7-table-open-action svg:last-child{margin-left:auto}.g7-builder-shell .g7-table-open-action:hover{background:#66d5ce;border-color:#8bece5}.g7-table-open-action:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:3px}

.g7-builder-shell .g7c-feature-image-crop{min-height:0;max-height:240px;background:var(--e-field,#fff)}.g7-builder-shell .g7c-feature-image-crop img{display:block;width:100%;height:auto;max-width:100%}

.g7c-feature-explainer img.g7c-feature-explainer-icon{width:64px;height:64px;max-width:64px;flex:none}

.g7c-builder-hover{position:fixed;z-index:10020;display:flex;align-items:center;min-height:42px;padding:10px 18px;border:1px solid #80eee5;border-radius:12px;background:#167f7b;color:#fff;font-weight:700;box-shadow:0 4px 18px #0004;cursor:pointer}.g7c-builder-hover:hover,.g7c-builder-hover:focus-visible{background:#106864;outline:2px solid #80eee5;outline-offset:2px}.g7c-builder-hover[hidden]{display:none}

.g7st-effect-slider{display:grid;gap:10px;margin-top:16px}.g7st-effect-slider>span{display:flex;justify-content:space-between;gap:12px}.g7st-effect-slider output{font-weight:700}.g7st-effect-slider input{width:100%;accent-color:#4bc5bf}

.g7-builder-shell .g7c-template-picker .g7c-template-card:is(:hover,:focus-visible) .g7c-static-preview>.g7c-preview-image{animation:none;object-position:center top}

.g7-customer-review{padding:16px;margin:12px 0;border:1px solid var(--e-line,#435671);border-radius:12px;background:var(--e-field,#101c2e);color:var(--e-ink,#e3edfa)}.g7-customer-stars{display:flex;gap:6px;margin:8px 0}.g7-customer-stars button{font-size:26px;color:#f5c65b;min-width:42px;min-height:42px}.g7-customer-review details{margin-top:12px}.g7-customer-review textarea{display:block;width:100%;min-height:80px;margin:10px 0}.g7-customer-review p:empty{display:none}

.g7-builder-shell .g7c-category-browser .g7c-category .g7c-preset-preview{background:transparent!important;box-shadow:none}.g7-builder-shell .g7c-category-browser .g7c-category .g7c-preset-preview svg{border-radius:8px}

@media(min-width:901px){.g7-builder-shell .g7c-section-picker .g7c-hover-preview{top:var(--g7-picker-preview-top,72px);align-self:start;max-height:calc(100dvh - 160px);overflow-y:auto;scrollbar-width:thin}}

.g7-builder-shell .g7-popup-window:has(>.g7-popup-resize),.g7-builder-leave-dialog.g7-popup-window{padding-bottom:max(36px,var(--g7-popup-bottom-padding,0px))!important}
.g7-builder-shell .g7-popup-resize,.g7-builder-leave-dialog .g7-popup-resize{position:absolute;bottom:auto;right:auto;float:none;margin:0!important;width:28px;height:28px;border-radius:0;padding:4px!important;background:transparent!important;box-shadow:none!important}
.g7-builder-shell .g7-popup-resize:is(:hover,:active,:focus-visible),.g7-builder-leave-dialog .g7-popup-resize:is(:hover,:active,:focus-visible),.g7-builder-shell .g7c-floating-design>.g7c-floating-resize{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0}

.g7-popup-move-header,.g7-popup-move-surface{cursor:move;touch-action:none}.g7-popup-move-header:focus-visible{outline:2px solid var(--e-accent,#4bc5bf);outline-offset:-2px}.g7-popup-move-header :is(button,a,input,select,textarea){cursor:revert;touch-action:auto}

.g7-builder-shell .g7-popup-close-circle,.g7-builder-leave-dialog .g7-popup-close-circle{position:absolute;z-index:60;display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:8px!important;margin:0!important;border:1px solid var(--e-line,#435671)!important;border-radius:50%!important;background:var(--e-field,#101c2e)!important;color:var(--e-ink,#e3edfa)!important;cursor:pointer}.g7-popup-close-circle svg{width:18px;height:18px}.g7-builder-shell .g7-popup-close-circle:hover{background:#4bc5bf25!important;border-color:#4bc5bf!important}.g7-popup-window:has(>.g7-popup-close-circle)>.g7-popup-move-header{padding-right:60px!important}

.g7ai-copy-dialog[aria-busy=true] :is(.g7ai-copy-comparison,.g7ai-copy-adjustment,.g7ai-copy-voice,.g7ai-copy-status,.g7ai-copy-intro),.g7ai-copy-dialog[aria-busy=true] .g7ai-copy-actions>.g7ai-primary{display:none!important}.g7ai-copy-dialog[aria-busy=true] .g7ai-copy-working{margin:24px 0}.g7ai-copy-dialog[aria-busy=true] footer{margin-top:0}

.g7-builder-shell .g7ai-copy-dialog .g7ai-copy-actions{flex:1;width:100%;min-width:0}
.g7-builder-shell .g7ai-copy-dialog button.g7ai-copy-suggest{--g7-button-bg:var(--e-accent,#146b76);--g7-button-ink:var(--e-accent-ink,#fff);--g7-button-line:var(--e-accent,#146b76);box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:14px 20px;border:1px solid var(--e-accent,#146b76);border-radius:12px;background:var(--g7-button-bg);color:var(--g7-button-ink);font:650 14px/1.4 system-ui;text-align:center;white-space:normal;box-shadow:0 4px 12px #102b321f;cursor:pointer}
.g7-builder-shell .g7ai-copy-dialog button.g7ai-copy-suggest:focus-visible{outline:3px solid var(--e-accent,#146b76);outline-offset:3px}
.g7-builder-shell .g7ai-copy-dialog button.g7ai-copy-suggest:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}

.g7st-studio-dialog:has([aria-busy=true]) :is(.g7st-studio-back,.g7st-previous-stickers){display:none!important}

.g7-builder-shell .g7-popup-back{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 16px!important;border:1px solid var(--e-line,#435671)!important;border-radius:11px!important;background:var(--e-panel,#213048)!important;color:var(--e-ink,#e3edfa)!important;font-weight:600;transition:background .15s,border-color .15s}.g7-popup-back-arrow{display:inline-flex;color:var(--e-accent,#4bc5bf)}.g7-popup-back svg{width:18px;height:18px;flex:none}.g7-builder-shell .g7-popup-back:hover:not(:disabled){background:#4bc5bf20!important;border-color:#4bc5bf!important}.g7-popup-back:focus-visible{outline:2px solid #4bc5bf;outline-offset:3px}

.g7-builder-shell .g7st-position-grid{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.g7-builder-shell .g7st-position-grid button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;font-size:21px;border-radius:10px}

.g7-builder-shell .g7c-category-browser .g7c-preset-preview svg{box-shadow:0 0 0 1px #b8c6df}
.g7c-category-browser .g7c-preset-preview svg :is([fill="#c7d0ea"],[fill="#cad8eb"],[fill="#dbe1f5"]){fill:#849ac6}
.g7c-category-browser .g7c-preset-preview svg :is([fill="#a5b4df"],[fill="#91b3cf"],[fill="#bac8e5"]){fill:#718bc2}
.g7c-category-browser .g7c-preset-preview svg [fill="#d4deec"]{fill:#93a8cc}
.g7c-category-browser .g7c-preset-preview svg [fill="#c4d5ca"]{fill:#7da990}
.g7c-category-browser .g7c-preset-preview svg [fill="#d9c6ad"]{fill:#bb9466}
.g7c-category-browser .g7c-preset-preview svg [stroke="#b8c7e9"]{stroke:#829bc9}
.g7c-category-browser .g7c-preset-preview svg rect[fill="white"]{stroke:#9aafd2;stroke-width:1.5px}

.g7c-image-hover-shade{position:fixed;z-index:10019;background:rgba(80,90,105,.25);pointer-events:none;border-radius:3px}.g7c-image-hover-shade[hidden]{display:none}

/* Editor levels affect editor chrome only. They never style saved content. */
.g7-builder-shell [data-mode-hidden],.g7-builder-shell [data-mode-range-hidden]{display:none!important}
.g7-builder-shell [data-mode-number-show]{display:block!important;width:100%;max-width:100%;min-height:38px;box-sizing:border-box}
.g7-builder-shell[data-mode-numbers=sliders] :is(.g7-number-value,.g7c-size-slider-value){pointer-events:none;cursor:default}
.g7-builder-shell[data-mode-numbers=inputs] .g7-number-slider{display:none}
.g7-builder-shell .g7-mode-range-number{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--e-line,#b8c7da);border-radius:8px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7-editor-level-switch{--g7-level-width:66px;display:flex;flex-direction:column;align-items:center;flex-shrink:0;gap:3px;margin:0 8px;font:600 12px/1.4 system-ui,sans-serif}
.g7-editor-level-copy{display:flex;justify-content:center;min-width:0;color:var(--e-head-ink,#edf5ff)}
.g7-editor-level-copy>span{font:500 9px/11px system-ui,sans-serif;opacity:.85}
.g7-editor-level-switch[data-level-labels=icons]{--g7-level-width:36px}
.g7-editor-level-switch[data-level-labels=icons] :is(.g7-editor-level-copy,.g7-editor-level-option-label){display:none}
.g7-editor-level-track{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,var(--g7-level-width));gap:0;padding:3px;border:1px solid var(--e-line,#bccbde);border-radius:12px;background:var(--e-field,#fff)}
.g7-editor-level-thumb{position:absolute;z-index:-1;top:3px;bottom:3px;left:3px;width:var(--g7-level-width);border-radius:8px;background:var(--e-accent,#255eb8);box-shadow:0 1px 4px #0002;transform:translateX(calc(var(--g7-level-index,0)*100%));transition:transform .18s ease}
.g7-builder-shell[data-editor-theme] .g7-editor-level-option{display:grid;grid-template-rows:18px 11px;place-items:center;align-content:center;gap:2px;width:var(--g7-level-width);min-width:0;height:39px;min-height:39px;margin:0;padding:4px 2px;border:0;border-radius:8px;background:transparent!important;color:var(--e-muted,#52657d)!important;cursor:pointer}
.g7-builder-shell[data-editor-theme] .g7-editor-level-option[aria-checked=true]{color:var(--e-accent-ink,#fff)!important}
.g7-builder-shell[data-editor-theme] .g7-editor-level-option:hover:not([aria-checked=true]){background:var(--e-tint,#dbe7fa)!important;color:var(--e-ink,#203044)!important}
.g7-editor-level-option svg{width:18px;height:18px;pointer-events:none}
.g7-editor-level-option-label{font:500 9px/11px system-ui,sans-serif;white-space:nowrap;pointer-events:none}
.g7-builder-shell[data-editor-theme] dialog.g7-onboarding{position:fixed!important;inset:0!important;box-sizing:border-box;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--e-ink,#edf5ff);box-shadow:none!important;overflow:hidden!important;resize:none!important;font:400 14px/1.65 system-ui,sans-serif}
.g7-builder-shell[data-editor-theme] dialog.g7-onboarding::backdrop{background:transparent;backdrop-filter:none}
.g7-onboarding-shade{position:fixed;background:#17202db0;backdrop-filter:grayscale(1) brightness(.75)}
.g7-onboarding-ring{position:fixed;box-sizing:border-box;border:2px solid var(--e-accent,#50c7bd);border-radius:13px;box-shadow:0 0 0 3px #ffffff30,0 6px 24px #0004;pointer-events:none}
.g7-builder-shell .g7-onboarding-target{position:fixed;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:7px;padding:6px 10px!important;border:1px solid var(--e-accent,#50c7bd)!important;border-radius:9px;background:var(--e-accent,#50c7bd)!important;color:var(--e-accent-ink,#092a29)!important;font:650 12px/1.35 system-ui,sans-serif;cursor:pointer;box-shadow:0 4px 16px #0004}
.g7-onboarding-target svg{width:17px;height:17px;flex:none}
.g7-onboarding-card{position:fixed;box-sizing:border-box;width:min(350px,calc(100vw - 24px));padding:22px;border:1px solid var(--e-line,#415471);border-radius:16px;background:var(--e-panel,#182337);color:var(--e-ink,#edf5ff);box-shadow:0 16px 48px #0005;overflow:auto;overscroll-behavior:contain;animation:g7-hint-appear .18s ease-out}
.g7-onboarding-eyebrow{display:block;margin:0 22px 9px 0;color:var(--e-accent,#50c7bd);font:750 9px/1.5 system-ui,sans-serif;letter-spacing:.11em}
.g7-onboarding-card h2{font:700 19px/1.3 system-ui,sans-serif;margin:0 0 12px;color:inherit}
.g7-onboarding-card p{font:400 13px/1.7 system-ui,sans-serif;margin:0 0 15px;color:inherit}
.g7-builder-shell .g7-onboarding-dismiss{position:absolute;right:10px;top:9px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;font:400 23px/1 system-ui,sans-serif;background:transparent!important;color:var(--e-muted,#a3b4cf)!important;cursor:pointer}
.g7-builder-shell .g7-onboarding-done{padding:9px 18px;border:1px solid var(--e-accent,#50c7bd);border-radius:9px;background:var(--e-accent,#50c7bd)!important;color:var(--e-accent-ink,#092a29)!important;font:650 12px/1.4 system-ui,sans-serif;cursor:pointer}
.g7-onboarding-once{display:block;font:400 10px/1.5 system-ui,sans-serif;color:var(--e-muted,#a3b4cf);margin-top:13px}
.g7-onboarding-card .g7-onboarding-error{color:#df7080;font-size:11px;line-height:1.5}
.g7-onboarding-error:empty{display:none}
.g7-onboarding :is(button):focus-visible{outline:3px solid var(--e-ink,#edf5ff);outline-offset:3px}
.g7-onboarding-admin{color:var(--e-ink,#edf5ff)}
.g7-onboarding-admin>p{color:var(--e-muted,#a3b4cf);font:400 13px/1.65 system-ui,sans-serif}
.g7-onboarding-history{display:grid;gap:12px;margin:20px 0}
.g7-onboarding-history-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:start;gap:14px;padding:17px;border:1px solid var(--e-line,#415471);border-radius:12px;background:var(--e-field,#111b2c)}
.g7-onboarding-history-row h4{font:650 14px/1.4 system-ui,sans-serif;margin:0 0 6px;color:inherit}
.g7-onboarding-history-row p{font:400 12px/1.65 system-ui,sans-serif;margin:0 0 9px;color:var(--e-muted,#a3b4cf)}
.g7-onboarding-history-row small{display:block;font:400 11px/1.6 system-ui,sans-serif;color:var(--e-muted,#a3b4cf)}
.g7-onboarding-history-state{justify-self:start;padding:4px 9px;border:1px solid var(--e-line,#415471);border-radius:20px;font:650 10px/1.5 system-ui,sans-serif;color:var(--e-muted,#a3b4cf);white-space:nowrap}
.g7-onboarding-history-state.is-seen{color:var(--e-accent,#50c7bd);background:var(--e-tint,#243f48);border-color:var(--e-accent,#50c7bd)}
.g7-builder-shell .g7-onboarding-admin button{padding:9px 12px;border:1px solid var(--e-line,#415471);border-radius:9px;background:var(--e-card,#1b293e);color:var(--e-ink,#edf5ff);font:600 12px/1.4 system-ui,sans-serif;cursor:pointer}
.g7-builder-shell .g7-onboarding-admin button:disabled{opacity:.5;cursor:default}
.g7-onboarding-admin-status[role=alert]{color:#df7080}
@keyframes g7-hint-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.g7-onboarding-card{animation:none}}
@media(max-width:600px){.g7-onboarding-card{padding:18px}.g7-onboarding-card h2{font-size:17px}.g7-onboarding-history-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.g7-onboarding-history-row>div{grid-column:1/3;grid-row:2}.g7-onboarding-history-row>button{grid-column:2;grid-row:1}.g7-onboarding-history-state{align-self:center}}
.g7-builder-shell[data-editor-theme] .g7-editor-level-switch[data-level-labels=icons] .g7-editor-level-option{grid-template-rows:1fr;height:34px;min-height:34px;padding:8px}
.g7-editor-level-option:focus-visible{outline:2px solid var(--e-accent,#255eb8);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.g7-editor-level-thumb{transition:none}}
.g7-builder-shell[data-mode-header=icons] .g7-builder-top :is(.g7-builder-source-open,.g7-builder-scripts-open,.g7-builder-preview,.g7-builder-settings-open)>span:not(:has(svg)){display:none}
.g7-builder-shell .g7-mode-chooser{width:min(1060px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 32px);padding:32px;border:1px solid var(--e-line,#b8c7da);border-radius:24px;background:var(--e-panel,#edf3fa);color:var(--e-ink,#233959);overflow:auto;box-shadow:0 24px 100px #0005}
.g7-mode-chooser::backdrop{background:#091524ab;backdrop-filter:blur(5px)}
.g7-mode-chooser h2{font:700 28px system-ui;margin:0 0 12px}.g7-mode-chooser>p{max-width:760px;line-height:1.6;color:var(--e-muted,#526783)}
.g7-mode-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}
.g7-builder-shell .g7-mode-choice{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;border:1px solid var(--e-line,#b8c7da);border-radius:18px;background:var(--e-field,#fff);color:var(--e-ink,#233959);text-align:left;transition:border-color .15s,box-shadow .15s;cursor:pointer}
.g7-builder-shell .g7-mode-choice:hover{border-color:var(--e-accent,#255eb8);box-shadow:0 8px 22px #0002}.g7-mode-choice:focus-visible{outline:3px solid var(--e-accent,#255eb8);outline-offset:3px}
.g7-mode-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;font:700 22px system-ui;background:#3fc8b52b;color:#169e8c}.g7-mode-choice[data-level=intermediate] .g7-mode-symbol{background:#568aee2b;color:#558be6}.g7-mode-choice[data-level=advanced] .g7-mode-symbol{background:#a77ae82b;color:#a77ae8}.g7-mode-choice>strong{font:700 22px system-ui}.g7-mode-choice p{font:14px/1.7 system-ui;margin:0}.g7-mode-detail{font:12px/1.6 system-ui;color:var(--e-muted,#526783)}.g7-mode-choose-label{margin-top:auto;padding-top:18px;font-weight:700;color:var(--e-accent,#255eb8)}
.g7-mode-admin{padding:20px;border:1px solid var(--e-line,#b8c7da);border-radius:14px;background:var(--e-panel,#edf3fa);color:var(--e-ink,#233959)}.g7-mode-admin>p{line-height:1.6}.g7-mode-admin>input,.g7-mode-admin>select{padding:10px 12px;min-height:42px;border:1px solid var(--e-line,#b8c7da);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959);margin:0 8px 12px 0}.g7-mode-admin>input{width:min(420px,100%)}
.g7-mode-feature-group{border:1px solid var(--e-line,#b8c7da);border-radius:12px;margin:12px 0;overflow:hidden}.g7-mode-feature-group>summary{padding:16px;font-weight:700;cursor:pointer}.g7-mode-feature-row{display:grid;grid-template-columns:minmax(190px,1.6fr) repeat(3,minmax(120px,1fr));gap:14px;padding:14px 16px;border-top:1px solid var(--e-line,#b8c7da);align-items:center}.g7-mode-feature-row small{display:block;font-size:11px;line-height:1.6;margin-top:5px;color:var(--e-muted,#526783)}.g7-mode-feature-cell{min-width:0}.g7-mode-feature-cell select{width:100%;min-height:38px;padding:7px;border:1px solid var(--e-line,#b8c7da);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7-mode-feature-cell input[role=switch]{appearance:none;width:44px;height:25px;border-radius:20px;cursor:pointer;border:1px solid var(--e-line,#9eafc6);background:#6d8095;position:relative;vertical-align:middle}.g7-mode-feature-cell input[role=switch]::after{content:'';position:absolute;width:17px;height:17px;left:3px;top:3px;background:white;border-radius:50%;transition:transform .15s}.g7-mode-feature-cell input[role=switch]:checked{background:#168b80}.g7-mode-feature-cell input[role=switch]:checked::after{transform:translateX(19px)}.g7-mode-feature-cell [data-mode-override]{outline:2px solid #d49c35;outline-offset:3px}.g7-mode-feature-cell :focus-visible{outline:3px solid var(--e-accent,#255eb8);outline-offset:3px}.g7-mode-admin-actions{display:flex;gap:10px;position:sticky;bottom:0;padding:14px;background:var(--e-panel,#edf3fa);border-top:1px solid var(--e-line,#b8c7da)}
@media(max-width:760px){.g7-mode-choice-grid{grid-template-columns:1fr}.g7-mode-chooser{padding:22px!important}.g7-mode-groups{overflow-x:auto}.g7-mode-feature-group{min-width:700px}.g7-editor-level-switch>span{display:none}.g7-editor-level-switch{margin:0}}

.g7-builder-shell .g7-builder-top{flex-wrap:wrap}.g7-builder-shell .g7-builder-settings[data-settings-category=levels]{width:min(1180px,calc(100vw - 32px))}.g7-builder-shell .g7-mode-admin-actions button{min-height:42px;padding:10px 16px;border:1px solid var(--e-line,#b8c7da);border-radius:9px;background:var(--e-field,#fff);color:var(--e-ink,#233959);cursor:pointer}.g7-builder-shell .g7-mode-admin-actions button:first-child{background:var(--e-accent,#255eb8);color:var(--e-on-accent,#fff)}

.g7-builder-shell [data-mode-input-hidden]{display:none!important}.g7-builder-shell[data-mode-numbers=inputs] :is(.g7c-size-slider,.g7c-size-slider-value){display:none!important}
.g7-builder-shell [data-spacing-percent][data-spacing-presentation]:not([data-spacing-presentation=inputs]) :is(.g7c-size-slider,.g7c-size-slider-value){display:block!important}
.g7-builder-shell [data-spacing-percent][data-spacing-presentation=inputs] :is(.g7c-size-slider,.g7c-size-slider-value){display:none!important}

.g7-mode-instruction{padding:14px 16px;margin:0 0 16px;border:1px solid var(--e-line,#b8c7da);border-left:4px solid var(--e-accent,#255eb8);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}.g7-mode-instruction strong{font-size:14px}.g7-mode-instruction p{font-size:13px;line-height:1.7;margin:8px 0 0;color:var(--e-muted,#526783)}.g7-mode-instruction[hidden]{display:none}
.g7-builder-shell[data-mode-quick-labels=labels] .gjs-toolbar .g7c-selection-action .g7c-selection-action-label{display:inline!important}.g7-builder-shell[data-mode-quick-labels=labels] .gjs-toolbar .g7c-selection-action{gap:7px;min-height:42px;padding:9px 12px}.g7-builder-shell[data-mode-quick-labels=labels] .gjs-toolbar .g7c-selection-strip{flex-wrap:wrap}
.g7-builder-shell[data-experience-mode=beginner] .g7c-content-text-field>label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;display:block;font-weight:600;margin-bottom:7px}

.g7-builder-shell[data-mode-quick-labels=labels] .gjs-toolbar .gjs-toolbar-items{flex-wrap:wrap}
/* Personal quick-control guidance; it never enters the page's saved CSS. */
@keyframes g7-quick-breathe{0%,100%{outline-color:#4ac7c180;box-shadow:0 0 0 2px #4ac7c112,0 4px 18px #0003}50%{outline-color:#4ac7c1;box-shadow:0 0 0 5px #4ac7c12e,0 4px 22px #0003}}
.g7-builder-shell[data-mode-quick-highlight=true] :is(.gjs-toolbar,.g7c-focus-selected){outline:2px solid #4ac7c1;outline-offset:2px;animation:g7-quick-breathe 5s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.g7-builder-shell[data-mode-quick-highlight=true] :is(.gjs-toolbar,.g7c-focus-selected){animation:none}}

/* Keep common editing tasks compact without reducing the size of their targets. */
.g7-builder-shell[data-mode-decorations=content] .g7c-add-choice[data-needs-content]{display:none!important}
.g7-builder-shell .g7c-add-home>.g7c-add-choice{min-height:72px;padding:12px;gap:12px;margin-bottom:8px}
.g7-builder-shell .g7c-add-home>.g7c-add-choice .g7c-add-choice-copy{gap:3px}
.g7-builder-shell .g7c-add-home>.g7c-add-choice .g7c-add-choice-count{margin-top:3px}
.g7-builder-shell .g7-mode-instruction{padding:10px 12px;margin-bottom:10px}
.g7-builder-shell .g7-mode-instruction p{margin-top:4px;font-size:12px;line-height:1.5}
.g7-builder-shell .g7-mode-instruction{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;column-gap:10px}
.g7-builder-shell .g7-mode-instruction>p{grid-column:1/-1}
.g7-builder-shell .g7-mode-instruction-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:var(--e-accent,#255eb8);cursor:help}
.g7-builder-shell .g7-mode-instruction-icon svg{width:19px;height:19px}
.g7-builder-shell .g7-mode-instruction-icon:focus-visible{outline:2px solid var(--e-accent,#255eb8);outline-offset:2px}
.g7-builder-shell .g7-mode-instruction[hidden]{display:none}
.g7-builder-shell .g7c-add-home:has(>.g7c-add-choice)>h3{font-size:16px;margin:10px 0 4px}
.g7-builder-shell .g7c-add-home>.g7c-help{margin:4px 0 10px}
.g7-builder-shell .g7c-add:has(>.g7-mode-instruction:not([hidden])) .g7c-add-home>:is(h3,.g7c-help){display:none}
.g7-builder-shell .g7c-design-heading{padding:10px 12px;margin-bottom:10px;border-top-width:3px;gap:6px 10px}
.g7-builder-shell .g7c-design-heading h3{font-size:16px;line-height:1.35}
.g7-builder-shell .g7c-design-help{margin-top:4px;font-size:12px;line-height:1.5}
.g7-builder-shell .g7c-content-fields{min-width:0;padding:0;border:0}
.g7-builder-shell .g7c-content-card{min-width:0}
.g7-builder-shell .g7c-content-text-field{min-width:0;grid-template-columns:minmax(0,1fr) 30px}
.g7-builder-shell .g7c-content-text-field>textarea{grid-column:1;grid-row:1;box-sizing:border-box;width:100%;min-width:0}
.g7-builder-shell .g7c-content-text-field>.g7c-field-polish{grid-column:2;grid-row:1}
.g7-builder-shell[data-experience-mode=beginner] .g7c-content-text-field>label{grid-column:1/-1;grid-row:1;margin:0}
.g7-builder-shell[data-experience-mode=beginner] .g7c-content-text-field>textarea,
.g7-builder-shell[data-experience-mode=beginner] .g7c-content-text-field>.g7c-field-polish{grid-row:2}
.g7-builder-shell .g7c-content-text-field:not(:has(>.g7c-field-polish)){grid-template-columns:minmax(0,1fr)}
.g7-builder-shell .g7c-content-heading{padding:10px 12px;margin-bottom:10px}
.g7-builder-shell .g7c-content-heading h3{font-size:16px;margin:4px 0}
.g7-builder-shell .g7c-content-only>:is(.g7-mode-instruction,.g7c-selected-area-summary){display:none}
.g7-builder-shell .g7c-content-only>.g7c-content-heading{padding:8px 0;margin-bottom:8px}
.g7-builder-shell .g7c-content-only .g7c-content-heading .g7c-help{margin:4px 0;line-height:1.45}
.g7-builder-shell .g7c-content-save-hint{font-size:11px;line-height:1.5;margin:10px 0}

/* Admin controls have their own row; customer view leaves only an accessible pull tab. */
.g7-builder-shell>.g7-builder-admin-view{display:flex;flex:none;align-self:stretch;justify-content:flex-start;gap:10px;min-height:38px;padding:5px 16px;border-width:0 0 1px;border-radius:0;box-sizing:border-box}
.g7-builder-shell>.g7-builder-admin-view .g7-builder-customer-switch{margin-left:8px}
.g7-builder-shell>.g7-builder-admin-view strong{font-size:12px}
.g7-builder-shell>.g7-builder-admin-view small{display:inline;font-size:11px}
@media(max-width:600px){.g7-builder-shell>.g7-builder-admin-view{flex-wrap:wrap}.g7-builder-shell>.g7-builder-admin-view>span{flex:1}.g7-builder-shell>.g7-builder-admin-view small{display:none}.g7-builder-shell>.g7-builder-admin-view .g7-builder-admin-actions{order:1;flex-basis:100%}.g7-builder-shell>.g7-builder-admin-view .g7-builder-customer-switch{margin-left:auto}}
.g7-builder-shell .g7-builder-admin-return{position:absolute;z-index:125;top:0;left:50%;display:flex;flex-direction:column;align-items:center;gap:3px;transform:translate(-50%,calc(-100% + 24px));padding:6px 18px;min-height:44px;border:1px solid var(--e-accent,#4bc5bf);border-radius:0 0 12px 12px;background:var(--e-panel,#192538);color:var(--e-ink,#e3edfa);font:600 12px/1.4 system-ui;box-shadow:0 3px 14px #0003;cursor:pointer;transition:transform .2s ease}
.g7-builder-shell .g7-builder-admin-return:is(:hover,:focus-visible){transform:translate(-50%,0)}
.g7-builder-admin-return>svg{width:14px;height:14px;flex:none}
.g7-builder-admin-return[hidden]{display:none!important}
.g7-builder-shell[data-customer-view=true] :is(.g7c-template-admin-review,[data-add-choice=catalogue-review]){display:none!important}

/* Main actions keep one row. Optional feedback opens into a separate, scrollable row. */
.g7-builder-shell .g7c-template-preview-footer{align-items:center;gap:8px 12px;padding:10px 12px;max-height:55dvh;overflow-y:auto;box-sizing:border-box}
.g7-builder-shell .g7c-template-preview-footer>.g7c-template-actions{flex:1 1 210px;width:auto;justify-content:flex-end!important;gap:8px}
.g7-builder-shell .g7c-template-preview-footer .g7c-template-actions>button:is([data-template-action=add],[data-template-action=replace]){min-height:40px!important;padding:9px 14px!important}
.g7-builder-shell .g7c-template-feedback{flex:1 0 100%;min-width:0;border-top:1px solid var(--e-line,#435671);padding-top:8px;font-size:12px}
.g7-builder-shell .g7c-template-feedback>summary{cursor:pointer;min-height:26px;line-height:26px;color:var(--e-muted,#65758e)}
.g7-builder-shell .g7c-template-feedback-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:10px;margin-top:8px}
.g7-builder-shell .g7c-template-feedback-body>:is(.g7c-template-admin-review,.g7-customer-review){min-width:0;margin:0;padding:10px;box-sizing:border-box}
.g7-builder-shell .g7c-template-feedback-body>.g7c-template-admin-review{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.g7-builder-shell .g7c-template-feedback-body .g7-template-rating{flex-basis:100%;border:0;padding:0}
.g7-builder-shell .g7-customer-stars{gap:4px}
.g7-builder-shell .g7-customer-stars button{display:grid;place-items:center;min-width:34px;min-height:34px;padding:5px}
.g7-customer-stars svg{width:22px;height:22px}
.g7-builder-shell .g7c-template-popup-details{padding:8px 10px;max-height:25dvh;overflow:auto}
.g7-builder-shell .g7c-template-popup-details>summary{font-size:12px;font-weight:600;cursor:pointer;line-height:1.5}
.g7-builder-shell .g7c-template-popup-details[open]>summary{margin-bottom:8px}
.g7-builder-shell .g7c-template-review-popup .g7c-template-live{min-height:140px}
.g7-builder-shell .g7c-template-review-popup .g7c-template-preview-footer{flex:0 1 auto;min-height:76px;max-height:40dvh}
@media(max-width:600px){.g7-builder-shell>.g7-builder-admin-view small{display:none}.g7-builder-shell>.g7-builder-admin-view{padding:5px 10px}.g7-builder-shell .g7c-template-preview-footer>.g7c-template-return{flex-basis:auto}.g7-builder-shell .g7c-template-preview-footer>.g7c-template-actions{flex-basis:auto}.g7-builder-shell .g7c-template-preview-footer .g7c-template-playback{justify-content:flex-start}.g7-builder-shell .g7c-template-preview-footer{max-height:50dvh}}

/* Scroll guidance belongs to the editor chrome and never enters page output. */
.g7-builder-shell .g7c-scroll-hints{position:absolute;left:0;right:0;z-index:5;overflow:hidden;pointer-events:none;user-select:none;color:var(--e-accent,#318a88)}
.g7-builder-shell .g7c-scroll-hints[hidden],.g7-builder-shell .g7c-scroll-cue[hidden]{display:none!important}
.g7c-scroll-cue{position:absolute;left:calc(50% - 17px);width:34px;height:26px;display:grid;place-items:center;opacity:0;transition:opacity .2s ease;pointer-events:none}
.g7c-scroll-cue svg{width:26px;height:26px;pointer-events:none;filter:drop-shadow(0 1px 1px var(--e-panel,#fff))}
.g7c-scroll-cue-up{top:4px;--g7-cue-direction:-1}.g7c-scroll-cue-down{bottom:4px;--g7-cue-direction:1}
.g7c-scroll-cue.is-near-edge{opacity:.5;animation:g7-sidebar-scroll-cue 2.4s ease-in-out infinite}
.g7c-side:focus-within .g7c-scroll-cue:not(.is-near-edge){opacity:.2}
@keyframes g7-sidebar-scroll-cue{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(3px * var(--g7-cue-direction)))}}
@media(hover:none){.g7c-scroll-cue{opacity:.28;animation:none}}
@media(prefers-reduced-motion:reduce){.g7c-scroll-cue{animation:none!important;transition:none}}

.g7-builder-shell .g7c-quick-add-popup{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:18px;border:1px solid var(--e-line,#435671);border-radius:16px;background:var(--e-panel,#fff);color:var(--e-ink,#233959);box-shadow:0 24px 80px #0006}
.g7c-quick-add-popup::backdrop{background:#080f2080;backdrop-filter:blur(3px)}
.g7c-quick-add-popup>header{position:sticky;top:0;z-index:1;background:var(--e-panel,#fff);padding-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.g7-builder-shell .g7c-quick-add-popup h2{margin:0;font:700 20px/1.3 system-ui;color:var(--e-ink,#233959)}
.g7c-quick-add-popup>header button{display:inline-flex;align-items:center;gap:6px}
.g7c-quick-add-popup>header svg{width:16px;height:16px}
.g7-builder-shell .g7c-quick-add-popup h3{margin:18px 0 9px;font:600 13px/1.4 system-ui;color:var(--e-ink,#233959)}
.g7c-quick-add-popup>.g7c-input{width:100%;box-sizing:border-box;min-height:40px}
.g7c-quick-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.g7-builder-shell .g7c-quick-add-grid>button{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px;text-align:left;border:1px solid var(--e-line,#435671);border-radius:10px;background:var(--e-field,#fff);color:var(--e-ink,#233959)}
.g7c-quick-add-grid svg{width:22px;height:22px;flex:none;color:var(--e-accent,#087f8c)}
.g7c-quick-add-grid strong,.g7c-quick-add-grid small{display:block;white-space:normal;overflow-wrap:anywhere}
.g7c-quick-add-grid small{margin-top:4px;font:400 11px/1.5 system-ui;color:var(--e-muted,#65758e)}
.g7c-quick-add-popup [hidden]{display:none!important}
@media(max-width:480px){.g7c-quick-add-grid{grid-template-columns:minmax(0,1fr)}.g7-builder-shell .g7c-quick-add-popup{padding:14px}}
.g7-builder-shell .g7-builder-badges-open{display:inline-flex;align-items:center;gap:6px}
.g7-builder-badges-open svg{width:19px;height:19px;flex:none}
.g7-builder-shell :is(.g7-reward-collection,.g7-reward-notice){box-sizing:border-box;color:var(--e-ink,#e5edf8);background:var(--e-panel,#182337);border:1px solid var(--e-line,#415471);border-radius:18px;box-shadow:0 20px 70px #0006;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}
.g7-builder-shell :is(.g7-reward-collection,.g7-reward-notice)::backdrop{background:#06101bb3;backdrop-filter:blur(3px)}
.g7-reward-collection{width:min(820px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:0;overflow:auto}
.g7-reward-collection>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;background:var(--e-panel,#182337);padding:20px 24px;border-bottom:1px solid var(--e-line,#415471)}
.g7-reward-collection>header>svg{width:28px;height:28px;color:var(--e-accent,#50c7bd);flex:none}
.g7-reward-collection>header>h2{font:700 22px/1.2 system-ui;margin:0;flex:1;color:inherit}
.g7-reward-collection>p{margin:16px 24px;color:var(--e-muted,#a3b4cf)}
.g7-reward-collection-body{padding:0 24px 26px}
.g7-reward-group h3{font:700 15px/1.4 system-ui;margin:22px 0 12px;color:inherit}
.g7-reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.g7-reward-card{border:1px solid var(--e-line,#415471);border-radius:14px;padding:18px 14px;background:var(--e-field,#111b2c);min-width:0}
.g7-reward-card.is-earned{border-color:var(--e-accent,#50c7bd);background:var(--e-tint,#243f48)}
.g7-reward-card h4{font:700 14px/1.4 system-ui;margin:12px 0 6px;color:inherit}
.g7-reward-card p{font-size:12px;line-height:1.6;margin:0 0 12px;color:var(--e-muted,#a3b4cf)}
.g7-reward-card small{display:block;font-size:11px;color:var(--e-muted,#a3b4cf)}
.g7-reward-symbol{display:inline-flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;border-radius:14px;color:var(--e-accent,#50c7bd);background:var(--e-tint,#243f48)}
.g7-reward-symbol svg{width:27px;height:27px}
.g7-reward-card.is-locked .g7-reward-symbol{color:var(--e-muted,#a3b4cf);background:var(--e-panel,#182337)}
.g7-reward-notice{padding:28px;width:min(470px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto}
.g7-reward-notice h2{font:700 23px/1.25 system-ui;margin:8px 0 12px;color:inherit}
.g7-reward-notice p{margin:0 0 16px;color:var(--e-muted,#a3b4cf)}
.g7-reward-eyebrow{display:block;margin-top:18px;letter-spacing:.11em;font-size:10px;font-weight:700;color:var(--e-accent,#50c7bd)}
.g7-reward-hide{display:flex!important;align-items:center;gap:9px;font-size:12px;color:var(--e-ink,#e5edf8);margin:22px 0 12px;cursor:pointer}
.g7-reward-hide input{width:17px!important;height:17px!important;flex:none;accent-color:var(--e-accent,#50c7bd);margin:0}
.g7-reward-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:20px}
.g7-builder-shell .g7-reward-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border:1px solid var(--e-line,#415471);border-radius:9px;background:var(--e-field,#111b2c);color:var(--e-ink,#e5edf8);font:600 12px/1.4 system-ui;cursor:pointer}
.g7-builder-shell .g7-reward-button.is-primary{background:var(--e-accent,#50c7bd);color:var(--e-accent-ink,#092a29);border-color:var(--e-accent,#50c7bd)}
.g7-reward-button:disabled{opacity:.55;cursor:wait}
.g7-reward-button svg{width:17px;height:17px;flex:none}
.g7-reward-button:focus-visible{outline:2px solid var(--e-accent,#50c7bd);outline-offset:3px}
.g7-builder-shell .g7-reward-toast{position:fixed;z-index:2147483646;right:20px;bottom:20px;width:min(390px,calc(100vw - 28px));margin:0;padding:22px;animation:g7-reward-enter .2s ease-out}
.g7-reward-toast h2{font-size:18px}
.g7-reward-toast .g7-reward-symbol{width:36px;height:36px;float:left;margin-right:12px}
.g7-reward-toast .g7-reward-eyebrow{margin-top:0}
.g7-reward-note{display:block;line-height:1.6;color:var(--e-muted,#a3b4cf)}
.g7-builder-shell .g7-reward-error{color:#e76576;white-space:normal}
.g7-reward-error:empty{display:none}
.g7-rewards-config{border:0;padding:0;margin:20px 0;min-width:0}
.g7-rewards-config-row{display:grid;grid-template-columns:42px minmax(150px,1fr) minmax(110px,150px) 100px;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--e-line,#415471)}
.g7-rewards-config-row .g7-reward-symbol{width:40px;height:40px}
.g7-rewards-config-row strong,.g7-rewards-config-row small{display:block}
.g7-rewards-config-row small{font-size:12px;color:var(--e-muted,#a3b4cf);margin-top:4px}
.g7-rewards-config-row label,.g7-reward-threshold{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--e-muted,#a3b4cf)}
.g7-rewards-config input,.g7-rewards-config select{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--e-line,#415471);background:var(--e-field,#111b2c);color:var(--e-ink,#e5edf8);border-radius:8px;padding:9px;font:inherit}
.g7-rewards-config h4{margin:24px 0 8px;font-size:15px;color:inherit}
.g7-reward-threshold{display:inline-flex;max-width:250px;margin:12px 18px 0 0}
@keyframes g7-reward-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.g7-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g7-reward-collection>header{padding:16px}.g7-reward-collection-body{padding:0 16px 22px}.g7-reward-collection>p{margin:14px 16px}.g7-rewards-config-row{grid-template-columns:40px 1fr 90px;gap:10px}.g7-rewards-config-row>div{grid-column:2/4}.g7-rewards-config-row>label:nth-last-child(2){grid-column:2}.g7-reward-notice{padding:22px}.g7-builder-shell .g7-reward-toast{right:14px;bottom:14px}.g7-reward-actions{justify-content:stretch}.g7-reward-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7-reward-toast{animation:none}}
.g7-builder-shell[data-editor-theme] :is(.g7-reward-notice,.g7-rewards-admin) .g7-reward-button.is-primary{background:var(--e-accent)!important;color:var(--e-accent-ink)!important;border-color:var(--e-accent)!important}
.g7-reward-bundle{display:grid;gap:10px;clear:both;margin:18px 0}
.g7-reward-earned{display:flex;gap:12px;padding:12px;border:1px solid var(--e-line,#415471);border-radius:12px;background:var(--e-field,#111b2c)}
.g7-reward-earned>div{min-width:0}
.g7-reward-earned h3{margin:0 0 4px;font:650 14px/1.4 system-ui;color:var(--e-ink,#e5edf8)}
.g7-reward-earned p{margin:0 0 10px;font-size:12px;overflow-wrap:anywhere}
.g7-reward-toast .g7-reward-earned .g7-reward-symbol{float:none;margin:0}
.g7-reward-upgrade{clear:both;margin:18px 0;padding:16px;border:1px solid var(--e-accent,#50c7bd);border-radius:12px;background:var(--e-tint,#243f48)}
.g7-reward-upgrade h3{margin:0 0 10px;font:700 17px/1.4 system-ui;color:var(--e-ink,#e5edf8)}
.g7-reward-upgrade p{font-size:12px;margin-bottom:12px}
.g7-reward-upgrade .g7-reward-button{width:100%}
.g7-rewards-reset{margin-top:26px;padding:18px;border:1px solid var(--e-action-danger-line,#9a5364);border-radius:12px;background:var(--e-field,#111b2c)}
.g7-rewards-reset h4{margin:0 0 8px;color:var(--e-ink,#e5edf8);font-size:15px}
.g7-rewards-reset p{margin:0 0 14px;color:var(--e-muted,#a3b4cf);font-size:12px;line-height:1.6}
.g7-builder-shell .g7-rewards-reset button.g7-reward-button{--g7-button-bg:var(--e-action-danger-bg,#492a34);--g7-button-ink:var(--e-action-danger-ink,#ffc0c8);--g7-button-line:var(--e-action-danger-line,#9a5364);background:var(--g7-button-bg);color:var(--g7-button-ink);border-color:var(--g7-button-line)}
.g7-rewards-reset .g7-rewards-reset-status{margin:12px 0 0;color:var(--e-ink,#e5edf8)}
.g7-rewards-reset-status:empty{display:none}
.g7-rewards-reset-status[role=alert]{color:var(--e-action-danger-ink,#ffc0c8)!important}
.g7-rewards-master{display:flex!important;align-items:flex-start;gap:12px;padding:16px;margin:0 0 18px;border:1px solid var(--e-accent,#50c7bd);border-radius:12px;background:var(--e-tint,#243f48);color:var(--e-ink,#e5edf8)}
.g7-rewards-master>span{min-width:0}
.g7-rewards-master strong,.g7-rewards-master small{display:block}
.g7-rewards-master small{margin-top:5px;font-size:12px;line-height:1.6;color:var(--e-muted,#a3b4cf)}
.g7-builder-shell .g7-rewards-config :is(.g7-rewards-master,.g7-rewards-enabled)>input{box-sizing:border-box;width:38px!important;min-width:38px!important;height:22px!important;min-height:22px!important;flex:none;margin:2px 0 0;padding:0!important;border-radius:999px;accent-color:var(--e-accent,#50c7bd)}
.g7-rewards-config-row .g7-rewards-enabled{display:flex;flex-direction:row;align-items:center;gap:8px;margin-top:10px;font:600 12px/1.5 system-ui;color:var(--e-ink,#e5edf8)}
.g7-rewards-config-row.is-paused .g7-reward-symbol{color:var(--e-muted,#a3b4cf);background:var(--e-field,#111b2c)}
.g7-rewards-config-row[hidden]{display:none!important}
.g7-rewards-config .g7-rewards-search{box-sizing:border-box;width:100%;margin:0 0 10px;padding:11px 12px;border:1px solid var(--e-line,#415471);border-radius:9px;background:var(--e-field,#111b2c);color:var(--e-ink,#e5edf8);font:400 13px/1.5 system-ui}
.g7-rewards-config .g7-rewards-tally{margin:0 0 12px;color:var(--e-muted,#a3b4cf);font-size:12px}
.g7-builder-shell .g7m-workspace .g7m-trigger-help{flex:none;margin:0;padding:9px 12px;border-left:3px solid var(--e-accent,#50c7bd);border-radius:6px;background:var(--e-tint,#243f48);color:var(--e-ink,#e5edf8);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.g7-builder-shell .g7m-trigger-help[hidden]{display:none!important}
.g7-builder-shell .g7m-workspace .g7m-field.g7m-speed{color:var(--e-ink,#203044)}
.g7-builder-shell .g7m-workspace .g7m-speed-value{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:6px;background:var(--e-tint,#ede7fa);color:var(--e-ink,#203044);font-size:12px;font-weight:600;line-height:1.6}
.g7-builder-shell .g7m-workspace .g7m-speed-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;color:var(--e-muted,#52657d);font-size:11px;font-weight:500;line-height:1.6}
.g7m-speed-legend>span{display:inline-flex;align-items:center;gap:4px}
.g7m-speed-legend>span:nth-child(2){justify-self:center}
.g7m-speed-legend>span:last-child{justify-self:end}
.g7m-speed-legend svg,.g7m-speed-value svg{width:14px;height:14px;flex:none}
.g7-builder-shell .g7m-workspace .g7m-speed input[type=range]{accent-color:var(--e-accent,#7954ce)}
.g7c-typography-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;min-width:0}
.g7c-typography-options>.g7c-field{min-width:0}
.g7c-typography-options .g7c-input{min-width:0;width:100%;box-sizing:border-box}
.g7c-typography-options>.g7c-typography-wide{grid-column:1/-1}
.g7c-typography-options .g7c-help{display:block;font-size:11px;line-height:1.6;margin:6px 0 0;color:var(--e-muted,#52657d)}
.g7c-typography-error{display:block;color:var(--e-ink,#203044);font-weight:600;line-height:1.5;margin-top:6px}
.g7c-typography-error:empty{display:none}
.g7c-typography-options [aria-invalid=true]{border-color:#d7666f!important}
@media(max-width:480px){.g7c-typography-options{grid-template-columns:minmax(0,1fr)}}
.g7-builder-shell .g7c-content-only>.g7c-content-heading{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:16px;background:var(--e-card,#f8fafd);border:1px solid var(--e-line,#bccbde);border-radius:12px;box-shadow:0 2px 8px rgb(0 0 0 / .04);font-family:system-ui,sans-serif}
.g7-builder-shell .g7c-content-only>.g7c-content-heading .g7c-content-heading-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:var(--e-tint,#dbe7fa);color:var(--e-accent,#255eb8)}
.g7-builder-shell .g7c-content-heading-icon svg{width:22px;height:22px}
.g7-builder-shell .g7c-content-heading-copy{min-width:0;flex:1}
.g7-builder-shell .g7c-content-only>.g7c-content-heading .g7c-content-section-name{margin:0 0 4px;font:650 11px/1.4 system-ui,sans-serif;letter-spacing:.025em;color:var(--e-accent,#255eb8)}
.g7-builder-shell .g7c-content-only>.g7c-content-heading h3{margin:0 0 6px;font:650 16px/1.4 system-ui,sans-serif;color:var(--e-ink,#203044);overflow-wrap:anywhere}
.g7-builder-shell .g7c-content-only>.g7c-content-heading .g7c-help{margin:0;font:400 12px/1.6 system-ui,sans-serif;color:var(--e-muted,#52657d);overflow-wrap:anywhere}
.g7-operation-timeout{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #b8787f;border-radius:16px;background:var(--e-panel,#182337);color:var(--e-ink,#f4f6fa);box-shadow:0 20px 70px #0008;font:14px/1.6 system-ui,sans-serif}
.g7-operation-timeout::backdrop{background:#060c1773}
.g7-operation-timeout h2{margin:0 0 12px;color:var(--e-ink,#fff);font:600 20px/1.3 system-ui,sans-serif}
.g7-operation-timeout-copy{margin-bottom:20px;overflow-wrap:anywhere}
.g7-operation-timeout>button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 16px;border:1px solid #66ddd3;border-radius:8px;background:#50c7bd;color:#09282a;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
.g7-operation-timeout>button svg{width:18px;height:18px}
.g7-operation-timeout>button:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Examples inside the Useful features entry remain part of its single button. */
.g7-builder-shell .g7c-feature-preview{display:flex;flex-wrap:wrap;gap:7px 13px;margin-top:7px;min-width:0}
.g7-builder-shell .g7c-feature-preview-item{display:inline-flex;align-items:center;gap:5px;color:var(--e-muted,#52657d);font:500 11px/1.4 system-ui,sans-serif;white-space:nowrap}
.g7-builder-shell .g7c-feature-preview-symbol{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;flex:none;border-radius:7px;background:var(--e-tint,#e8efff);color:var(--e-accent,#315fc2)}
.g7-builder-shell .g7c-feature-preview-symbol svg{display:block;width:17px;height:17px}

/* Tools guidance and introduction share the sidebar inset without overlapping margins. */
.g7-builder-shell .g7c-ai>.g7-mode-instruction{margin:0 0 16px;padding:14px 16px;row-gap:4px}
.g7-builder-shell .g7c-ai>.g7-mode-instruction>p{margin:0;line-height:1.6}
.g7-builder-shell .g7c-ai>.g7ai-intro{margin:0 0 20px;padding:20px}
.g7-builder-shell .g7c-ai>.g7ai-intro>.g7ai-sparkle{margin-bottom:14px}

/* Visible width controls also serve widgets with their own settings panels. */
.g7-builder-shell .g7c-width-controls{margin:12px 0;padding:14px;border:1px solid var(--e-line,#cbd5e3);border-radius:12px;background:var(--e-card,#fff);color:var(--e-ink,#233959)}
.g7c-width-controls>h4{margin:0 0 12px;font-size:13px}.g7c-width-controls .g7c-field{margin:0}.g7c-width-controls .g7c-help{display:block;margin:9px 0 0;font-size:11px;line-height:1.5}
.g7c-width-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:14px}
.g7-builder-shell .g7c-field .g7c-width-presets>button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;column-gap:7px;box-sizing:border-box;min-width:0;min-height:50px;margin:0;padding:8px;border:1px solid var(--e-line,#cbd5e3);border-radius:9px;background:var(--e-field,#fff);text-align:left;white-space:normal;font-size:11px;line-height:1.3}
.g7c-width-presets>button>svg{grid-row:1/3;display:block;width:22px;height:22px;flex:none}.g7c-width-presets>button>small{font-size:10px;opacity:.85}.g7c-width-presets[hidden]{display:none!important}

.g7-builder-shell .g7c-width-presets>button[aria-pressed=true]{--g7-button-bg:var(--e-tint)!important;--g7-button-ink:var(--e-accent)!important;--g7-button-line:var(--e-accent)!important}

/* Award artwork is shared by the collection, notifications and administrator previews. */
.g7-builder-shell .g7-reward-medallion{position:relative;width:68px;height:68px;border-radius:50%;border:1px solid #b69a63;background:var(--e-card,#1b293e);box-shadow:inset 0 0 0 4px var(--e-card,#1b293e),inset 0 0 0 5px #b69a6366,0 4px 10px #0002;isolation:isolate}
.g7-reward-medallion::before,.g7-reward-medallion::after{content:"";position:absolute;z-index:-1;top:76%;width:20px;height:28px;background:var(--e-accent,#50c7bd);clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%)}
.g7-reward-medallion::before{left:13px;transform:rotate(16deg)}
.g7-reward-medallion::after{right:13px;transform:rotate(-16deg)}
.g7-reward-face{display:flex;align-items:center;justify-content:center;width:76%;height:76%;border-radius:50%;overflow:hidden;background:var(--e-tint,#243f48);color:var(--e-accent,#50c7bd)}
.g7-reward-face img{display:block;position:absolute;inset:17%;width:66%;height:66%;object-fit:contain;border-radius:0;background:transparent}
.g7-reward-face.has-image{overflow:visible;background:transparent}
.g7-reward-face.has-image>svg{visibility:hidden}
.g7-reward-face svg{width:45%;height:45%}
.g7-reward-collection-intro{font:400 13px/1.7 system-ui;color:var(--e-muted,#a3b4cf);margin:0 0 22px}
.g7-reward-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.g7-reward-card,.g7-reward-card.is-earned{padding:0;overflow:visible;background:transparent;border:0}
.g7-builder-shell button.g7-reward-tile{--g7-purpose-bg:var(--e-field,#111b2c);--g7-purpose-ink:var(--e-ink,#e5edf8);--g7-purpose-line:var(--e-line,#415471);position:relative;box-sizing:border-box;display:flex;flex-direction:column;width:100%;height:100%;min-height:196px;padding:22px 12px 15px;gap:0;border:1px solid var(--e-line,#415471);border-radius:14px;background:var(--e-field,#111b2c);color:var(--e-ink,#e5edf8);text-align:center;box-shadow:0 2px 6px #0001;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.g7-builder-shell .is-earned button.g7-reward-tile{border-color:#b69a6380;background:linear-gradient(160deg,#b69a6310,transparent 65%),var(--e-field,#111b2c)}
.g7-builder-shell button.g7-reward-tile:hover,.g7-builder-shell button.g7-reward-tile:focus-visible{transform:translateY(-3px);border-color:var(--e-accent,#50c7bd);box-shadow:0 6px 18px #0002}
.g7-reward-tile h4{font:650 13px/1.4 system-ui;margin:22px 0 5px;overflow-wrap:anywhere}
.g7-reward-tile-status{margin-top:auto;padding-top:4px;font:500 10px/1.4 system-ui;text-transform:uppercase;letter-spacing:.06em}
.g7-reward-card.is-locked .g7-reward-medallion{border-color:var(--e-line,#415471);box-shadow:inset 0 0 0 4px var(--e-card,#1b293e),inset 0 0 0 5px var(--e-line,#415471),0 4px 10px #0001}
.g7-reward-card.is-locked .g7-reward-medallion::before,.g7-reward-card.is-locked .g7-reward-medallion::after{background:var(--e-line,#415471)}
.g7-reward-card.is-locked .g7-reward-face{color:var(--e-muted,#a3b4cf)}
.g7-reward-earned-mark{position:absolute;right:9px;top:9px;display:flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:50%;background:var(--e-tint,#243f48);color:var(--e-accent,#50c7bd)}
.g7-reward-earned-mark svg{width:14px;height:14px}
.g7-builder-shell :is(.g7-reward-detail,.g7-reward-hover){box-sizing:border-box;background:var(--e-panel,#182337);color:var(--e-ink,#e5edf8);border:1px solid var(--e-line,#415471);box-shadow:0 20px 70px #0005;font:400 14px/1.6 system-ui}
.g7-builder-shell .g7-reward-hover{position:fixed;inset:auto;margin:0;width:min(300px,calc(100vw - 24px));padding:17px 19px;border-radius:12px;z-index:2147483647}
.g7-reward-hover .g7-reward-eyebrow{margin:0 0 6px}
.g7-reward-hover strong{display:block;font-size:15px}
.g7-reward-hover p{margin:9px 0;color:var(--e-ink,#e5edf8)}
.g7-reward-hover>small:not(.g7-reward-eyebrow),.g7-reward-hover-hint{display:block;font-size:11px;color:var(--e-muted,#a3b4cf)}
.g7-reward-hover-hint{margin-top:12px;padding-top:10px;border-top:1px solid var(--e-line,#415471)}
.g7-builder-shell .g7-reward-detail{position:fixed;width:min(520px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:0;border-radius:20px;overflow:auto}
.g7-reward-detail::backdrop{background:#06101bb3;backdrop-filter:blur(3px)}
.g7-reward-detail-hero{text-align:center;padding:38px 28px 28px;background:linear-gradient(145deg,#b69a6314,transparent 70%);border-bottom:1px solid var(--e-line,#415471)}
.g7-reward-detail-hero .g7-reward-medallion{width:104px;height:104px;margin:10px 0 28px}
.g7-reward-detail-hero .g7-reward-medallion::before,.g7-reward-detail-hero .g7-reward-medallion::after{width:29px;height:38px}
.g7-reward-detail-hero .g7-reward-medallion::before{left:22px}.g7-reward-detail-hero .g7-reward-medallion::after{right:22px}
.g7-reward-detail-hero .g7-reward-eyebrow{margin:0 0 8px}
.g7-reward-detail h2{font:700 26px/1.25 system-ui;margin:0 0 12px;color:inherit}
.g7-reward-award-status{display:inline-block;font:500 12px/1.5 system-ui;color:var(--e-muted,#a3b4cf)}
.g7-reward-detail-body{padding:24px 28px 28px}
.g7-reward-detail h3{font:650 14px/1.4 system-ui;margin:0 0 10px;color:inherit}
.g7-reward-detail-body p{margin:0 0 16px}
.g7-reward-detail-summary{color:var(--e-muted,#a3b4cf)}
.g7-reward-detail .g7-reward-note{padding:14px;background:var(--e-field,#111b2c);border-radius:10px;font-size:12px}
.g7-builder-shell button.g7-reward-detail-close{position:absolute;right:12px;top:12px;font-size:0;padding:8px;z-index:1}
.g7-builder-shell button.g7-reward-detail-close svg{width:18px;height:18px}
.g7-reward-detail .g7-reward-actions{justify-content:space-between}
.g7-rewards-config-row{grid-template-columns:76px minmax(150px,1fr) minmax(130px,160px) 90px;gap:16px;padding:22px 0}
.g7-rewards-config-row .g7-reward-medallion{width:64px;height:64px;margin-bottom:14px}
.g7-rewards-image-controls{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}
.g7-rewards-image-controls button{width:100%}
.g7-rewards-image-controls [hidden]{display:none!important}
.g7-rewards-image-status{font:400 11px/1.5 system-ui;color:var(--e-muted,#a3b4cf)}
.g7-rewards-art-help{font:400 12px/1.7 system-ui;padding:14px 16px;background:var(--e-field,#111b2c);border:1px solid var(--e-line,#415471);border-radius:10px;color:var(--e-muted,#a3b4cf)}
@media(max-width:640px){.g7-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g7-reward-detail-hero{padding:42px 20px 24px}.g7-reward-detail-body{padding:22px 20px}.g7-reward-detail h2{font-size:23px}.g7-rewards-config-row{grid-template-columns:68px minmax(0,1fr)!important;gap:14px}.g7-rewards-config-row>.g7-rewards-art-preview{grid-column:1;grid-row:1}.g7-rewards-config-row>div:nth-child(2){grid-column:2;grid-row:1}.g7-rewards-image-controls{grid-column:1/3!important;flex-direction:row;flex-wrap:wrap;align-items:center}.g7-rewards-image-controls button{width:auto;flex:1}.g7-rewards-image-status{flex-basis:100%}.g7-rewards-config-row>label{grid-column:1/3!important}.g7-rewards-config-row>label input{max-width:120px}}
@media(prefers-reduced-motion:reduce){.g7-builder-shell button.g7-reward-tile{transition:none}.g7-builder-shell button.g7-reward-tile:hover,.g7-builder-shell button.g7-reward-tile:focus-visible{transform:none}}

/* Matching shortcuts at the top of ordinary text settings. */
.g7c-text-action-cards{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:9px;margin:14px 0 18px}
.g7-builder-shell .g7c-text-action-cards>button.g7c-text-action-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;box-sizing:border-box;width:100%;min-width:0;min-height:140px;margin:0;padding:13px 7px;border:1px solid var(--e-line,#bccbde);border-radius:12px;background:var(--e-card,#f8fafd)!important;color:var(--e-ink,#203044)!important;text-align:center;white-space:normal;box-shadow:0 2px 7px #0713220a;transition:border-color .15s,background .15s,box-shadow .15s}
.g7-builder-shell .g7c-text-action-cards>button.g7c-text-action-card:hover:not(:disabled){border-color:var(--e-accent,#269e99);background:var(--e-tint,#e5f3f0)!important;box-shadow:0 4px 12px #0713221a}
.g7c-text-action-cards>button:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:3px}
.g7-builder-shell .g7c-text-action-card>span:first-child{display:grid;place-items:center;flex:none;width:32px;height:32px;margin:0;border-radius:9px;background:var(--e-tint,#e5f3f0);color:var(--e-accent,#269e99);box-shadow:none}
.g7c-text-action-card>span:first-child svg{display:block;width:23px;height:23px}
.g7-builder-shell .g7c-text-action-card .g7c-text-action-title{display:block;min-height:32px;margin:0;font:650 12px/1.35 system-ui,sans-serif;overflow-wrap:normal}
.g7-builder-shell .g7c-text-action-card .g7c-text-action-description{display:block;margin:0;font:400 10px/1.45 system-ui,sans-serif;color:var(--e-muted,#52657d)}
@media(prefers-reduced-motion:reduce){.g7-builder-shell .g7c-text-action-cards>button{transition:none}}

.g7c-widget-alignment{margin-top:16px;padding-top:14px;border-top:1px solid var(--e-line,#cbd5e3)}.g7c-widget-alignment>h5{margin:0 0 10px;font:600 12px/1.5 system-ui;color:var(--e-ink,#233959)}.g7c-widget-alignment .g7c-quick-align-buttons svg{width:23px;height:23px;flex:none}.g7c-widget-alignment button:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:2px}.g7c-widget-alignment button:disabled{opacity:.45;cursor:default}

/* Opacity stays in the main sticker controls at every experience level. */
.g7-builder-shell .g7st-controls .g7st-opacity{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;margin:12px 0}
.g7-builder-shell .g7st-controls .g7st-opacity>span,.g7-builder-shell .g7st-controls .g7st-opacity>input,.g7-builder-shell .g7st-controls .g7st-opacity>.g7st-field-help{grid-column:1/-1}
.g7-builder-shell .g7st-controls .g7st-opacity>input{width:100%;min-width:0;min-height:32px;cursor:pointer}
.g7st-opacity-hint{align-self:center;font-size:11px;line-height:1.5}
.g7-builder-shell .g7st-controls button.g7st-opacity-reset{min-width:0;min-height:32px;margin:0;padding:5px 8px;border:1px solid var(--e-line,#435671);border-radius:7px;background:var(--e-field,#fff);color:var(--e-ink,#233959);font:550 11px/1.4 system-ui;white-space:normal}

/* Missing icon placement is actionable guidance, never an implicit insertion. */
.g7-builder-shell[data-editor-theme] .g7i-placement.g7i-needs-target{border-left:4px solid var(--e-accent,#269e99)!important;background:var(--e-tint,#e7f5f3)!important;scroll-margin-block:16px}
.g7i-placement-step{display:block;margin-bottom:7px;color:var(--e-accent,#087d79);font:700 10px/1.5 system-ui;letter-spacing:.07em}
.g7i-placement-step[hidden]{display:none}
.g7-builder-shell .g7i-placement.g7i-needs-target>strong{font-size:14px;color:var(--e-ink,#233959)}
.g7-builder-shell .g7i-placement.g7i-placement-attention{outline:3px solid var(--e-accent,#269e99);outline-offset:3px;box-shadow:0 0 0 7px color-mix(in srgb,var(--e-accent,#269e99) 20%,transparent)}
.g7-builder-shell .g7i-sidebar .g7i-grid button[aria-disabled=true]:not(:disabled){opacity:.65;cursor:help}
.g7-builder-shell .g7i-sidebar .g7i-grid button[aria-disabled=true]:focus-visible{outline:2px solid var(--e-accent,#269e99);outline-offset:2px}

.g7-builder-shell .g7i-sidebar>.g7i-placement{margin-bottom:10px}
