.hg-editor-v474{min-width:0}
.hg-editor-v474 textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;resize:vertical;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;padding:12px;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;overflow:auto}
.hg-editor-v474 .hg-html-editor-v474{min-height:260px;margin:10px 0}
.hg-editor-v474 .hg-newsletter-text-v474{min-height:190px;white-space:pre-wrap}
.hg-editor-v474 .hg-newsletter-v474{display:grid;gap:12px;padding:14px;border:1px solid #cbd5e1;border-radius:14px;margin:10px 0}
.hg-editor-v474 [hidden]{display:none!important}
.hg-editor-v474 .hg-map-toggle{display:flex;align-items:center;gap:8px;margin:10px 0}
.hg-editor-v474 input[type=checkbox]{width:16px;height:16px;flex:none}
.hg-editor-v474 .hg-url-fields>*{min-width:0}
.hg-editor-v474 .hg-help-v474{border-top:1px solid #cbd5e1;margin-top:12px;padding-top:12px;font-size:12px;line-height:1.6}
.hg-editor-v474 .hg-help-v474 summary{cursor:pointer;font-weight:700}
.hg-editor-v474 .hg-help-v474 pre{white-space:pre-wrap;overflow-wrap:anywhere}
.dark .hg-editor-v474 textarea{background:#0b1220;color:#e2e8f0;border-color:#334155}
.dark .hg-editor-v474 .hg-newsletter-v474,.dark .hg-editor-v474 .hg-help-v474{border-color:#334155}
@media(max-width:600px){.hg-editor-v474 .hg-url-fields{grid-template-columns:1fr}.hg-editor-v474 .hg-actions{flex-wrap:wrap}.hg-editor-v474 .hg-html-editor-v474{min-height:220px}}
.html-generator-page-v474{padding:0 20px 32px;min-width:0}
.html-generator-page-v474 .hg-section-v474{border:1px solid #dbe3ed;border-radius:18px;background:#fff;padding:20px;min-width:0}
.html-generator-page-v474 .hg-section-v474 h3{font-size:15px;font-weight:800;margin:0}
.hg-title-line-v474,.hg-section-top-v474{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hg-section-top-v474>div:first-child{margin:0}
.hg-section-top-v474>div:last-child{margin:0 0 0 auto}
.hg-section-top-v474 h2{font-size:20px}
.hg-context-v474{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:16px;margin-top:18px;align-items:start}
.hg-context-v474 .hg-offer-panel,.hg-context-v474 .hg-layout-library{padding:14px;margin:0;border-radius:14px}
.hg-context-v474 .hg-offer-text{display:flex;align-items:center;gap:8px;min-width:0}
.hg-context-v474 .hg-offer-controls{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(160px,1.3fr) auto;gap:8px}
.hg-context-v474 .hg-select{width:100%;max-width:none;min-width:0;font-size:12px;min-height:40px}
.hg-context-v474 .hg-save-name{margin:0}
.hg-context-v474 .hg-offer-status:empty{display:none}
.html-generator-page-v474 .hg-assets-v474{margin:0!important;padding:20px}
.html-generator-page-v474 .hg-assets-v474 h3{display:inline;font-size:16px}
.html-generator-page-v474>div:first-child h1{display:inline;margin-right:8px}
.html-generator-page-v474 .hg-assets-v474 input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.html-generator-page-v474 .hg-image-preview-v475{height:380px;overflow:auto;overscroll-behavior:contain;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}
.html-generator-page-v474 .hg-image-preview-v475:focus-visible{outline:2px solid #0891b2;outline-offset:2px}
.html-generator-page-v474 .hg-assets-v474 img.hg-upload-preview-v475{display:block;width:100%;height:auto!important;min-height:0;max-height:none;object-fit:contain;border:0;border-radius:0}
.html-generator-page-v474 .hg-assets-v474 .h-28:not(img){height:180px!important;min-height:180px!important}
.dark .html-generator-page-v474 .hg-image-preview-v475{background:#0b1220;border-color:#334155}
@media(max-width:600px){.html-generator-page-v474 .hg-image-preview-v475{height:420px}}
.html-generator-page-v474 .hg-assets-v474 .mb-4{margin-bottom:14px}
.html-generator-page-v474 .hg-assets-v474>div:last-of-type{gap:12px}
.html-generator-page-v474 .hg-assets-v474>div:last-of-type>div{min-width:0}
.html-generator-page-v474 .hg-output-urls{margin:0;padding:0;border:0;background:transparent}
.hg-compose-grid-v474{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px;margin-top:18px;align-items:start}
.html-generator-page-v474 .hg-html-editor-v474{min-height:370px}
.html-generator-page-v474 .hg-newsletter-v474{padding:0;border:0;margin:8px 0 0}
.html-generator-page-v474 .hg-url-fields{margin:12px 0;gap:10px}
.html-generator-page-v474 .hg-urls-v474>.hg-url-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
.html-generator-page-v474 .hg-tool-field{margin:0;font-weight:600}
.html-generator-page-v474 .hg-map-toggle{margin:10px 0;font-size:12px}
.html-generator-page-v474 .hg-newsletter-text-v474{min-height:210px}
.html-generator-page-v474 .hg-actions{margin-top:10px;gap:8px}
.html-generator-page-v474 .hg-button-secondary{min-height:36px;padding:8px 12px}
.hg-seed-v474{border:1px solid #dbe3ed;background:#fff;border-radius:14px;padding:12px 16px;margin-top:18px;font-size:13px}
.hg-seed-v474>summary{cursor:pointer;font-weight:700}
.hg-seed-v474>label{margin-top:14px}
.hg-seed-v474 textarea{height:180px!important;min-height:120px;resize:vertical!important}
.hg-generation-v474{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:start}
.hg-generation-v474>.hg-title-line-v474,.hg-generation-v474>div:last-child{grid-column:1/-1}
.hg-generation-v474>.grid{margin:0;gap:12px}
.hg-generation-v474 label>span{display:block;min-height:32px;font-size:12px;line-height:16px}
.hg-generation-v474 input,.hg-generation-v474 select{height:40px;padding:8px 12px;font-size:13px;border-radius:10px}
.hg-generation-v474>div:last-child{margin-top:0}
.hg-results-v474{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;align-items:start}
.hg-results-v474>div{min-width:0;padding:20px;border-radius:18px}
.hg-results-v474 h3{display:inline}
.hg-help-widget-v474{display:inline-block;vertical-align:middle;position:relative;flex:none;margin-left:6px;font-size:12px;font-weight:400;line-height:1.6}
.hg-help-widget-v474>summary{display:inline-flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:20px;height:20px;border:1px solid #94a3b8;border-radius:50%;color:#475569;font-size:12px;font-weight:800;background:#f8fafc;user-select:none}
.hg-help-widget-v474>summary::-webkit-details-marker{display:none}
.hg-help-widget-v474>summary:focus-visible{outline:2px solid #0891b2;outline-offset:3px}
.hg-help-widget-v474[open]{z-index:1001}
.hg-help-widget-v474>[role=note]{position:absolute;left:0;top:calc(100% + 8px);z-index:1001;width:min(360px,calc(100vw - 32px));max-height:340px;overflow:auto;padding:14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;box-shadow:0 12px 35px #02061733;text-align:left;white-space:normal;font-size:12px;line-height:1.65}
.hg-help-widget-v474>[role=note] p+p{margin-top:10px}
.hg-help-widget-v474 pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}
.hg-offer-search-v474{position:relative;min-width:0}
.hg-offer-search-v474 [hidden]{display:none!important}
.hg-offer-trigger-v474{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:22px!important;cursor:pointer}
.hg-offer-trigger-v474:after{content:'▾';position:absolute;right:9px}
.hg-offer-popup-v474{position:absolute;top:calc(100% + 6px);left:0;z-index:1000;width:max(100%,300px);max-width:calc(100vw - 60px);padding:10px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 12px 30px #02061726}
.hg-offer-popup-v474>input{font:13px/1.5 inherit}
.hg-offer-results-v474{margin-top:8px;max-height:270px;overflow:auto}
.hg-offer-results-v474 button{display:block;width:100%;border-radius:8px;padding:9px 10px;text-align:left;font-size:12px;color:#0f172a;overflow-wrap:anywhere}
.hg-offer-results-v474 button:hover,.hg-offer-results-v474 button:focus-visible,.hg-offer-results-v474 button[aria-selected=true]{background:#e0f2fe;outline:0}
.dark .html-generator-page-v474 .hg-section-v474,.dark .hg-seed-v474{background:#101923;border-color:#2b3b4d}
.dark .hg-help-widget-v474>summary{background:#182635;border-color:#52657b;color:#cbd5e1}
.dark .hg-help-widget-v474>[role=note],.dark .hg-offer-popup-v474{background:#172334;border-color:#40516a;color:#e2e8f0}
.dark .hg-offer-results-v474 button{color:#e2e8f0}
.dark .hg-offer-trigger-v474{background:#101d2a;border-color:#34566f;color:#e2e8f0}
.dark .hg-offer-results-v474 button:hover,.dark .hg-offer-results-v474 button:focus-visible,.dark .hg-offer-results-v474 button[aria-selected=true]{background:#1e3a54}
.dark .html-generator-page-v474 .hg-button-secondary{background:#162738;border-color:#34566f;color:#e0f2fe}
@media(max-width:1200px){.hg-context-v474{grid-template-columns:1fr}.html-generator-page-v474 .hg-urls-v474>.hg-url-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hg-compose-grid-v474,.hg-results-v474,.hg-generation-v474{grid-template-columns:minmax(0,1fr)}.hg-context-v474 .hg-offer-controls{grid-template-columns:1fr 1fr}.hg-context-v474 .hg-offer-controls>.hg-button{grid-column:1/-1}.html-generator-page-v474 .hg-html-editor-v474{min-height:300px}}
@media(max-width:600px){.html-generator-page-v474{padding:0 10px 24px}.html-generator-page-v474 .hg-section-v474,.html-generator-page-v474 .hg-assets-v474,.hg-results-v474>div{padding:14px}.hg-section-top-v474>div:last-child{margin-left:0}.html-generator-page-v474 .hg-urls-v474>.hg-url-fields,.hg-context-v474 .hg-offer-controls{grid-template-columns:1fr}.hg-offer-popup-v474{width:100%;max-width:100%}.hg-context-v474 .hg-offer-controls>.hg-button{grid-column:auto}}
