.ed-shell{max-width:1460px;margin:auto;padding-bottom:45px;color:var(--text,#193b56)}.ed-hero{border:1px solid #cadef0;border-radius:24px;background:linear-gradient(110deg,#092c4b,#145f94);padding:30px;color:#fff;margin-bottom:22px}.ed-eyebrow{color:#b9dbe8;font-size:11px;font-weight:800;letter-spacing:.14em}.ed-hero h1{color:#fff;font-size:clamp(25px,3vw,35px);margin:12px 0}.ed-hero p{max-width:780px;color:#edf5fb;line-height:1.65}.ed-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}.ed-hero .button{min-height:40px}.ed-revision{font-size:12px;color:#f0faff}.ed-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.ed-card{background:#fff;color:#173a56;border:1px solid #d5e2ed;border-radius:20px;padding:22px;min-width:0;box-shadow:0 10px 25px #0b2d4912}.ed-card h2{font-size:19px;color:#143955;margin:0 0 15px}.ed-card h3{font-size:16px;color:#234b69;margin:18px 0 12px}.ed-card label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:750;margin:0 0 13px}.ed-card input.field,.ed-card textarea.field{width:100%;min-width:0;font-weight:400}.ed-card label small,.ed-muted{font-size:12px;line-height:1.5;color:#647e90;font-weight:400}.ed-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.ed-tabs button{border:1px solid #cedce8;border-radius:999px;padding:10px 16px;background:#f5f8fc;cursor:pointer;color:#32516b;font-weight:700}.ed-tabs button.selected{background:#116eae;color:#fff;border-color:#116eae}.ed-fields{display:grid;grid-template-columns:1fr;gap:0}.ed-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ed-upload-grid label{padding:14px;background:#f3f8fc;border:1px dashed #b3cfdf;border-radius:14px}.ed-upload-grid input{font-size:12px;max-width:100%}.ed-banner-preview{border-radius:17px;overflow:hidden;background:linear-gradient(120deg,#e5f6ff,#cadfeb);border:1px solid #d1e1eb;position:relative;min-height:370px;display:grid;align-items:end}.ed-banner-preview picture{position:absolute;inset:0}.ed-banner-preview img{width:100%;height:100%;object-fit:cover}.ed-banner-copy{position:relative;max-width:80%;padding:19px 22px;border-radius:0 20px 0 0;background:#062f50df;backdrop-filter:blur(3px);color:white}.ed-banner-copy small{letter-spacing:.09em;font-weight:750;color:#a7def9}.ed-banner-copy h2{color:#fff;margin:8px 0;font-size:clamp(18px,2vw,25px)}.ed-banner-copy p{font-size:13px;line-height:1.5}.ed-preview-cta{display:inline-block;padding:9px 12px;border-radius:12px;color:#fff;background:#167aaf;font-weight:750;font-size:12px}.ed-images{display:grid;grid-template-columns:1fr 1fr;gap:11px}.ed-images div{background:#f4f8fb;border-radius:12px;padding:10px;min-width:0}.ed-images small{display:block;margin-bottom:8px}.ed-images img{width:100%;height:135px;object-fit:cover;border-radius:9px}.ed-history{border-top:1px solid #e3e9f0;margin-top:22px;padding-top:8px}.ed-history-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5}.ed-history-row small{display:block;font-size:12px;color:#657889}.ed-security{font-size:12px;line-height:1.6;background:#f7fafc;border:1px solid #d5e2ee;border-radius:12px;padding:12px}.ed-error,.ed-success{padding:13px 16px;border-radius:12px;margin-bottom:14px;font-weight:600}.ed-error{background:#fff3f2;color:#ad3333}.ed-success{background:#eff9f5;color:#126e53}@media(max-width:950px){.ed-layout{grid-template-columns:1fr}.ed-card{padding:17px}}@media(max-width:540px){.ed-hero{padding:20px}.ed-upload-grid{grid-template-columns:1fr}.ed-banner-preview{min-height:305px}.ed-banner-copy{max-width:90%;padding:14px}}

/* Galeria de modelos / editor de paletas */
.ed-templates-shell .ed-work-nav{display:flex;flex-wrap:wrap;gap:9px;padding:8px 0 20px}
.ed-templates-shell .ed-work-nav button{background:#fff;border:1px solid #d2e2ef;border-radius:12px;padding:12px 16px;color:#214562;cursor:pointer;font-weight:750;font-size:13px}
.ed-templates-shell .ed-work-nav button.selected{background:#0b3b68;color:#fff}
.ed-template-section{background:#fff;border:1px solid #d4e2ec;border-radius:22px;padding:24px}
.ed-template-head{margin-bottom:19px}.ed-template-head h2{font-size:21px;color:#183e5e}.ed-template-head p{font-size:13px;color:#55768d;max-width:760px;line-height:1.55}
.ed-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ed-template-card{border:1px solid #e0e6ec;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 10px 35px #102d4510;min-width:0}
.ed-template-card.chosen{outline:2px solid #1476ae}
.ed-template-visual{height:225px;background:var(--tpl-paper);position:relative;overflow:hidden}
.ed-faux-nav{display:flex;align-items:center;gap:8px;background:var(--tpl-paper);color:var(--tpl-navy);height:37px;padding:8px 17px;font-size:12px;font-weight:800}
.ed-faux-nav i{display:block;width:16px;height:16px;border-radius:50%;background:var(--tpl-accent)}.ed-faux-nav b{margin-left:auto}
.ed-faux-hero{position:absolute;top:37px;left:0;bottom:20px;right:0;background:linear-gradient(125deg,var(--tpl-navy),color-mix(in srgb,var(--tpl-navy),#000 17%));padding:18px;color:white;border-radius:0 0 12px 12px}
.ed-faux-hero span{display:block;max-width:56%;font-size:9px;letter-spacing:.06em;color:var(--tpl-highlight)}
.ed-faux-hero strong,.ed-faux-hero em{position:relative;z-index:1;display:block;width:56%;font-weight:800;line-height:1.15;font-size:clamp(14px,1.9vw,25px);margin-top:9px}
.ed-faux-hero em{font-family:Georgia,serif;color:var(--tpl-highlight);font-size:clamp(13px,1.7vw,21px);font-weight:400}
.ed-faux-hero small{display:inline-block;position:relative;z-index:1;background:var(--tpl-accent);border-radius:18px;padding:6px 9px;font-size:10px;margin-top:12px;color:#fff}
.ed-template-visual>img{position:absolute;z-index:0;right:-1%;bottom:13px;width:45%;height:165px;object-fit:cover;border-radius:15px 0 0 15px}
.ed-faux-product{position:absolute;bottom:0;left:7%;right:7%;display:flex;justify-content:space-between;gap:5px}.ed-faux-product b{font-size:10px;color:var(--tpl-navy);border-radius:8px 8px 0 0;background:white;padding:3px 10px}
.ed-template-info{padding:18px;display:grid;gap:13px}.ed-template-info strong{display:block;color:#1b4562;font-size:17px}.ed-template-info small{display:block;color:#667d8d;margin:5px 0 8px;font-size:12px;line-height:1.45;min-height:34px}
.ed-swatch-row{display:flex;gap:5px}.ed-swatch-row i{width:21px;height:21px;border-radius:50%;border:1px solid #0002}
.ed-template-actions{display:flex;gap:8px;flex-wrap:wrap}.ed-template-actions .button{min-height:38px;flex:1;font-size:12px!important}
.ed-colors{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ed-colors label{background:#f4f8fc;border:1px solid #e0e8ee;border-radius:12px;padding:10px;gap:8px}.ed-colors label span{display:flex;gap:7px;align-items:center}.ed-colors input[type=color]{width:44px;min-width:44px;height:39px;padding:2px;border:1px solid #d4e5f1;border-radius:8px;cursor:pointer}.ed-colors input.field{font-family:monospace}
.ed-style-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.ed-style-fields label{min-width:0}.ed-style-fields select.field{width:100%;min-width:0;appearance:auto}
.ed-theme-demo{background:var(--demo-paper)}.ed-theme-demo .ed-banner-copy{background:var(--demo-navy)}.ed-theme-demo .ed-preview-cta{background:var(--demo-accent)}.ed-theme-demo h2 em{font-weight:400;color:#cdeffb;font-size:.83em}
.ed-quick-products{background:#f5f8fc;border-radius:15px;margin:17px 0;padding:15px}.ed-quick-products>strong{font-size:13px}.ed-quick-products>div{display:flex;gap:8px;margin-top:10px}.ed-quick-products span{font-size:11px;background:white;border:1px solid #dbe7f0;border-radius:9px;padding:12px 8px;flex:1;text-align:center}
@media(max-width:1050px){.ed-template-grid{grid-template-columns:1fr 1fr}.ed-template-visual{height:225px}}
@media(max-width:700px){.ed-template-section{padding:14px}.ed-template-grid{grid-template-columns:1fr}.ed-templates-shell .ed-work-nav button{flex:1 1 42%}.ed-style-fields,.ed-colors{grid-template-columns:1fr}.ed-template-visual{height:210px}.ed-template-actions .button{font-size:12px!important}}

/* Área de ações auditada: espaço legível para cada uma das três operações. */
.ed-template-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
.ed-template-actions .ed-preview-link{grid-column:1/-1;display:flex;justify-content:center;align-items:center;text-align:center;background:#edf8ff;border-color:#b9e1fb;color:#0a507e;font-weight:900}
.ed-template-actions .button{margin:0;display:flex;justify-content:center;align-items:center;min-height:43px;white-space:normal;line-height:1.3;text-align:center}
.ed-template-actions [data-ed-apply]{background:linear-gradient(120deg,#116caa,#094877);color:white}
.ed-template-actions .button:focus-visible{outline:3px solid #25adf3;outline-offset:2px}
@media(max-width:420px){.ed-template-actions{grid-template-columns:1fr}.ed-template-actions .ed-preview-link{grid-column:auto}}
/* V25: a galeria mostra a arquitetura de cada modelo, não apenas outro banner. */
.ed-template-info .ed-v25-structure{display:inline-flex;color:#0c5164;background:#dff2f7;border:1px solid #a8d0d9;border-radius:100px;font-size:12px;font-weight:850;letter-spacing:.03em;padding:7px 11px;margin-bottom:9px}
.ed-template-card[data-model-id='natal'] .ed-faux-hero{background:linear-gradient(120deg,#770d21,#b42b42);border:2px solid #d6a859;border-radius:0}.ed-template-card[data-model-id='natal'] .ed-faux-hero strong{font-family:Georgia,serif;font-weight:500}
.ed-template-card[data-model-id='black-friday'] .ed-faux-hero{background:#080808;border-bottom:8px solid #fff;border-radius:0}.ed-template-card[data-model-id='black-friday'] .ed-faux-hero strong{text-transform:uppercase;font-weight:950}
.ed-template-card[data-model-id='editorial-claro'] .ed-faux-hero{background:#f2f1eb;color:#1d4c45;border-bottom:4px solid #008472}.ed-template-card[data-model-id='editorial-claro'] .ed-faux-hero strong,.ed-template-card[data-model-id='editorial-claro'] .ed-faux-hero em{font-family:Georgia,serif;color:#24574d}
.ed-template-card[data-model-id='tech-grafite'] .ed-faux-hero{background:#0f1d2c;border:1px solid #52bcd6;border-radius:1px;background-image:linear-gradient(#ffffff08 1px,transparent 1px);background-size:15px 15px}
.ed-template-card[data-model-id='oceano-sereno'] .ed-faux-hero{border-radius:0 50px 8px 50px}.ed-template-card[data-model-id='boutique-aurora'] .ed-faux-hero{border-radius:90px 90px 4px 4px;margin:4px 12px}.ed-template-card[data-model-id='boutique-aurora'] .ed-faux-hero strong{font-family:Georgia,serif;font-weight:400}
.ed-template-card[data-model-id='ano-novo'] .ed-faux-hero{border:2px solid #eacc7e;border-radius:5px}.ed-template-card[data-model-id='pascoa'] .ed-faux-hero{border-radius:45px 8px 45px 8px}.ed-template-card[data-model-id='dia-idosos'] .ed-faux-hero{border-radius:25px}.ed-template-card[data-model-id='dia-idosos'] .ed-faux-hero strong{font-family:Georgia,serif;font-size:22px}
.ed-template-card[data-model-id='premium-azul'] .ed-faux-hero{border-radius:5px 60px 5px 60px}
