.newsletter-card{background:#f5f2e9;border:1px solid #ede9df;border-radius:16px;padding:28px;margin:26px 0;color:#182b3b;min-width:0}.newsletter-card h2,.newsletter-card h3{margin:0 0 12px}.newsletter-card p{line-height:1.6}.newsletter-card form{display:grid;gap:14px}.newsletter-entry{display:flex;align-items:end;gap:12px}.newsletter-entry label{flex:1;display:grid;gap:6px;min-width:0}.newsletter-entry input{width:100%;min-height:48px;font-size:16px;padding:12px;border:1px solid #5d686e;border-radius:7px;background:white}.newsletter-entry button{min-height:48px;flex-shrink:0}.newsletter-consent{display:flex!important;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}.newsletter-consent input{width:20px;height:20px;flex:0 0 20px;margin:2px 0}.newsletter-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.newsletter-fine{font-size:13px;color:#19374b}.newsletter-status{min-width:0;overflow-wrap:anywhere;font-size:15px;margin:0;min-height:1.5em}.newsletter-success{min-width:0;overflow-wrap:anywhere;padding:14px;background:white;border-radius:8px}.newsletter-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:28px}.newsletter-layout .newsletter-card{margin-top:0}.newsletter-example{padding:24px;background:white;border:1px solid #ede9df;border-radius:14px;align-self:start}.newsletter-page{max-width:1050px;margin:40px auto;padding:0 24px}.newsletter-page>h1{font-size:clamp(32px,5vw,54px);line-height:1.12;max-width:800px}.checklist-grid{display:grid;gap:12px}.checklist-grid label{display:flex;gap:12px;padding:14px;background:#f5f2e9;border-radius:8px;line-height:1.55}.checklist-grid input{width:22px;min-width:22px;height:22px;margin-top:3px}.newsletter-page article{max-width:800px}.newsletter-page table{width:100%;border-collapse:collapse}.newsletter-page th,.newsletter-page td{padding:12px;text-align:left;border-bottom:1px solid #ede9df}.newsletter-page .table-scroll{overflow:auto}#subscriberAdmin button{min-height:44px}#analyzerNewsletter{grid-column:1/-1}.newsletter-card a{color:#153147;text-decoration:underline}.newsletter-card [aria-invalid=true]{border-color:#a33223}@media(max-width:700px){.newsletter-layout{grid-template-columns:minmax(0,1fr)}.newsletter-entry{display:grid;grid-template-columns:1fr}.newsletter-entry button{width:100%}.newsletter-card{padding:20px}.newsletter-page{padding:0 16px;margin:24px auto}.newsletter-page table{font-size:14px}}@media print{.newsletter-card,form[data-newsletter],.no-print{display:none!important}.newsletter-page{max-width:none;margin:0;padding:0}.checklist-grid label{break-inside:avoid;background:white;border:1px solid #ddd}}
/* Fixed prompt reserves page space and stays small on phones. */
.newsletter-prompt{position:fixed;z-index:45;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:22px;padding:12px max(18px,4vw) calc(12px + env(safe-area-inset-bottom));border-top:1px solid #c8c8be;background:#182b3b;color:white;box-shadow:0 -4px 22px #182b3b20}
.newsletter-prompt[hidden]{display:none!important}.newsletter-prompt p{margin:0;line-height:1.4}.newsletter-prompt p strong,.newsletter-prompt p span{display:block;font-size:14px}.newsletter-prompt p span{color:#ede9df;font-size:12px}.newsletter-prompt a.primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;background:#ede9df;color:#182b3b;white-space:nowrap;text-decoration:none;border-radius:8px;font-size:14px}.newsletter-prompt-close{flex:0 0 44px;width:44px;height:44px;border:1px solid #5d686e;border-radius:8px;background:transparent;color:white;font-size:27px;cursor:pointer}.newsletter-prompt-open{padding-bottom:100px!important;scroll-padding-bottom:110px}
@media(max-width:600px){.newsletter-prompt{gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.newsletter-prompt p{flex:1;min-width:0}.newsletter-prompt p strong{font-size:12px}.newsletter-prompt p span{display:none}.newsletter-prompt a.primary{font-size:12px;padding:10px}.newsletter-prompt-close{flex-basis:36px;width:36px}.newsletter-prompt-open{padding-bottom:100px!important}}
@media print{.newsletter-prompt{display:none!important}.newsletter-prompt-open{padding-bottom:0!important}}

.newsletter-prompt-close{min-width:44px;min-height:44px}

/* Analyzer results and its signup link share the mobile footer. */

/* Keep submission feedback next to the button and unmistakable on a phone. */
.newsletter-status:empty{display:none}
.newsletter-status[data-state]{padding:16px;border:1px solid #9ab5a5;border-radius:10px;background:#fff;line-height:1.5;scroll-margin:100px 0 24px}
.newsletter-status strong,.newsletter-status span{display:block}
.newsletter-status strong{font-size:1.15rem;line-height:1.3;margin-bottom:6px}
.newsletter-status[data-state="success"]{border:2px solid #167357;background:#e0f4e8;color:#103d2b}
.newsletter-status[data-state="success"] strong{font-size:1.35rem}
.newsletter-status[data-state="error"]{border-color:#a94031;background:#fff5f0;color:#75261b}
.newsletter-status:focus{outline:2px solid #167357;outline-offset:3px}
form[data-newsletter][data-state="success"] .newsletter-entry{display:block}
form[data-newsletter][data-state="success"] .newsletter-entry label,
form[data-newsletter][data-state="success"] .newsletter-consent,
form[data-newsletter][data-state="success"]>details{display:none!important}
form[data-newsletter][data-state="success"] button[type="submit"]{width:100%;opacity:1;background:#d6eddf;color:#164e37;border:1px solid #87b69c;cursor:default}
form[data-newsletter][aria-busy="true"] button[type="submit"]{cursor:progress}

#subscriberAdmin .subscriber-actions{display:flex;flex-wrap:wrap;gap:8px}
#subscriberAdmin .subscriber-actions button{margin:0;min-height:40px;padding:8px 10px}
#subscriberAdmin .subscriber-remove{border-color:#c66a6a;color:#8f2929;background:#fffafa}
@media(max-width:700px){
  #subscriberAdmin .table-scroll{overflow-x:visible}
  #subscriberAdmin table{table-layout:fixed;font-size:12px}
  #subscriberAdmin th,#subscriberAdmin td{padding:9px 5px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
  #subscriberAdmin th:nth-child(1),#subscriberAdmin td:nth-child(1){width:36%}
  #subscriberAdmin th:nth-child(2),#subscriberAdmin td:nth-child(2){width:18%}
  #subscriberAdmin th:nth-child(3),#subscriberAdmin td:nth-child(3){width:14%}
  #subscriberAdmin th:nth-child(4),#subscriberAdmin td:nth-child(4){width:32%}
  #subscriberAdmin .subscriber-actions{display:grid;grid-template-columns:1fr;gap:6px}
  #subscriberAdmin .subscriber-actions button{width:100%;font-size:12px;min-height:38px;padding:7px 5px}
}

.newsletter-offer-dialog{box-sizing:border-box;width:min(92vw,520px);max-height:92dvh;margin:auto;padding:28px;border:1px solid #c8c8be;border-radius:22px;background:#fff;color:#182b3b;box-shadow:0 24px 80px #182b3b55;overflow:auto}
.newsletter-offer-dialog::backdrop{background:rgba(8,28,20,.62);backdrop-filter:blur(2px)}
.newsletter-offer-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;border-radius:50%;background:#f5f2e9;color:#153147;font-size:28px;line-height:1;cursor:pointer}
.newsletter-offer-kicker{margin:4px 48px 8px 0;color:#19374b;font-size:12px;font-weight:850;letter-spacing:.12em}
.newsletter-offer-dialog h2{margin:0 44px 12px 0;font-size:clamp(27px,6vw,38px);line-height:1.08;letter-spacing:-.8px}
.newsletter-offer-value{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0;padding:16px;border:1px solid #c8c8be;border-radius:14px;background:#f5f2e9}
.newsletter-offer-value strong{font-size:19px;line-height:1.25}.newsletter-offer-value span{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#fff2bd;color:#755714;font-size:12px;font-weight:850}
.newsletter-offer-copy{margin:0 0 18px;color:#19374b;line-height:1.55}
.newsletter-offer-form{display:grid;gap:13px}.newsletter-offer-form>label:first-child{display:grid;gap:6px;font-size:13px;font-weight:750}.newsletter-offer-form input[type=email]{width:100%;min-height:50px;padding:12px 13px;border:1px solid #c8c8be;border-radius:10px;background:#fff;font-size:16px}
.newsletter-offer-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.45}.newsletter-offer-consent input{width:20px;height:20px;flex:0 0 20px;margin:1px 0}
.newsletter-offer-form button.primary,.newsletter-offer-success a.primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;border:0;border-radius:11px;background:#13795b;color:#fff;text-decoration:none;font-weight:800;font-size:15px}
.newsletter-offer-status{min-height:1.4em;margin:0;color:#8a2c20;font-size:13px}.newsletter-offer-success{text-align:center;padding:8px 0}.newsletter-offer-success>strong{display:block;font-size:28px}.newsletter-offer-success p{line-height:1.5}
.newsletter-success .newsletter-continue,.newsletter-offer-success .newsletter-continue{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:12px 18px;margin:0 0 12px;border:0;border-radius:8px;background:#13795b;color:#fff;text-decoration:none;font-size:16px;font-weight:750;cursor:pointer}
.newsletter-offer-success>button.secondary{margin:0 0 10px}.newsletter-offer-success>small{display:block;line-height:1.5;color:#52665d}.newsletter-continue:focus-visible{outline:3px solid #182b3b;outline-offset:3px}
@media(max-width:520px){.newsletter-offer-dialog{padding:22px 18px;border-radius:18px}.newsletter-offer-value{align-items:flex-start;flex-direction:column}.newsletter-offer-value strong{font-size:18px}}
@media print{.newsletter-offer-dialog{display:none!important}}
