.rch-admin{--rch-accent:#3457d5;max-width:1250px;color:#17243b;margin:24px 24px 0 0;font-family:system-ui,sans-serif}.rch-admin *,.rch-form *{box-sizing:border-box}.rch-admin header{display:flex;justify-content:space-between;align-items:center;background:#182641;color:#fff;padding:30px;border-radius:16px}.rch-admin header h1{color:#fff;font-size:32px;font-weight:700;margin:8px 0}.rch-admin header p{color:#d7e0f3;margin:0}.rch-admin header small{letter-spacing:2px;color:#b5c6e8}.rch-admin nav{display:flex;gap:8px;margin:20px 0}.rch-admin button,.rch-form button{border:1px solid #d5dce8;background:#fff;color:#17243b;border-radius:8px;padding:9px 15px;cursor:pointer;font-weight:600}.rch-admin button.active,.rch-admin button.primary,.rch-form button{background:var(--rch-accent);color:white;border-color:transparent}.rch-admin button:disabled,.rch-form button:disabled{opacity:.5;cursor:not-allowed}.rch-panel,.rch-metrics section{background:#fff;border:1px solid #dfe5ee;border-radius:12px;padding:22px;margin-bottom:16px}.rch-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.rch-metrics strong{display:block;font-size:30px;margin-top:10px}.rch-pill{display:inline-block;background:#e8eefb;color:#29458e;padding:5px 10px;border-radius:20px;font-size:12px}.rch-toolbar,.rch-formrow,.rch-fieldrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.rch-formrow{border-top:1px solid #e5e9f0;padding:14px 0}.rch-formrow>div{flex:1}.rch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rch-admin label,.rch-form label{display:block;font-weight:600;margin:10px 0}.rch-admin label>input:not([type=checkbox]),.rch-admin label>textarea,.rch-admin label>select,.rch-form input,.rch-form textarea{display:block;width:100%;margin-top:7px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#17243b;min-height:42px;font:inherit}.rch-admin input[type=color]{padding:3px}.rch-table{overflow:auto}.rch-table table{width:100%;border-collapse:collapse;text-align:left}.rch-table td,.rch-table th{padding:14px;border-bottom:1px solid #e6eaf1;white-space:nowrap}.rch-table td small{display:block;color:#65748b;margin-top:5px}.rch-admin button.rch-link{border:0;background:none;padding:0;color:#3457d5;text-align:left}.rch-body{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fb;padding:20px;border-radius:10px}.rch-admin #rch-notice:not(:empty){padding:12px;margin-bottom:12px;border-radius:8px;background:#e8f5eb;color:#185a30}.rch-admin #rch-notice.bad{background:#fce8e8;color:#a32121}.rch-form{position:relative;max-width:760px;margin:24px auto;padding:clamp(18px,4vw,36px);border:1px solid #e2e8f0;border-radius:16px;background:white;color:#17243b;box-shadow:0 8px 28px #17243b0b}.rch-form h2{margin:0 0 20px;color:#17243b}.rch-form textarea{min-height:140px;resize:vertical}.rch-form button{width:100%;margin-top:14px;padding:14px}.rch-result{margin-top:12px;overflow-wrap:anywhere}.rch-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.rch-form input:focus,.rch-form textarea:focus{outline:2px solid var(--rch-accent);outline-offset:2px}@media(max-width:700px){.rch-metrics,.rch-grid{grid-template-columns:1fr 1fr}.rch-admin header{align-items:flex-start;flex-direction:column;gap:12px}.rch-admin{margin-right:10px}.rch-fieldrow input.flabel{width:100%}}@media(max-width:440px){.rch-grid{grid-template-columns:1fr}.rch-panel{padding:14px}}

/* Responsive field layout, including narrow page-builder columns. */
.rch-form{width:100%;max-width:760px;box-sizing:border-box;container-type:inline-size}.rch-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 16px;align-items:start}.rch-fields>label{min-width:0;margin:0;grid-column:span 6;overflow-wrap:anywhere}.rch-fields>.rch-width-half{grid-column:span 3}.rch-fields>.rch-width-third{grid-column:span 2}.rch-fields>.rch-width-two-thirds{grid-column:span 4}.rch-fields input,.rch-fields textarea{min-width:0;max-width:100%;box-sizing:border-box}.rch-form .cf-turnstile{margin-top:14px;max-width:100%}.rch-admin .rch-fieldrow{padding:12px;border:1px solid #dfe5ee;border-radius:10px}.rch-admin .rch-fieldrow .flabel{flex:1 1 150px;min-width:0}.rch-admin .rch-fieldrow select{max-width:100%;min-width:0}.rch-admin .rch-grid>*{min-width:0}.rch-admin nav{flex-wrap:wrap}.rch-admin .rch-toolbar input{max-width:100%}.rch-admin .rch-formrow code{white-space:normal;overflow-wrap:anywhere}
@container (max-width:480px){.rch-fields>label{grid-column:1/-1!important}.rch-fields{gap:12px}}
@media(max-width:600px){.rch-fields>label{grid-column:1/-1!important}.rch-form{margin:16px auto;padding:18px}.rch-form input,.rch-form textarea{font-size:16px}.rch-admin .rch-grid{grid-template-columns:1fr}.rch-admin .rch-fieldrow .flabel{flex-basis:100%}.rch-admin .rch-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rch-admin header h1{font-size:24px}}
@media(max-width:360px){.rch-admin .rch-metrics{grid-template-columns:1fr}}

.rch-form button[type=submit],.rch-admin #button_preview{background:var(--rch-button-bg,var(--rch-accent))!important;color:var(--rch-button-text,#fff)!important;border-color:transparent!important;transition:background-color .2s,color .2s}.rch-form button[type=submit]:not(:disabled):hover,.rch-form button[type=submit]:not(:disabled):focus-visible,.rch-admin #button_preview:hover,.rch-admin #button_preview:focus-visible{background:var(--rch-button-hover,var(--rch-button-bg,var(--rch-accent)))!important;color:var(--rch-button-hover-text,var(--rch-button-text,#fff))!important}.rch-button-demo{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0}.rch-button-demo button{max-width:100%;overflow-wrap:anywhere}.rch-form button[type=submit]{min-height:44px;white-space:normal;overflow-wrap:anywhere}


/* Newsletter / inline email form */
.rch-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rch-form-newsletter{max-width:640px}
.rch-form-newsletter .rch-newsletter-bar{display:flex;align-items:stretch;gap:10px;margin-bottom:10px}
.rch-form-newsletter .rch-newsletter-bar label{flex:1 1 auto;margin:0;min-width:0}
.rch-form-newsletter .rch-newsletter-bar input,.rch-form-newsletter .rch-newsletter-bar textarea{height:100%;min-height:48px}
.rch-form-newsletter .rch-newsletter-submit{width:52px;min-width:52px;max-width:52px;padding:0;display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1;margin-top:auto}
.rch-form-newsletter .rch-newsletter-submit span[aria-hidden=true]{transform:translateX(1px)}
.rch-form-newsletter .rch-result{margin-top:10px}
@media(max-width:600px){.rch-form-newsletter .rch-newsletter-bar{gap:8px}.rch-form-newsletter .rch-newsletter-submit{width:48px;min-width:48px;max-width:48px;font-size:20px}}
.rch-recipient-list{padding:12px;border:1px solid #dfe5ee;border-radius:10px;min-width:0}.rch-address{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0;overflow-wrap:anywhere}.rch-address input{flex:1;min-width:120px;max-width:100%}.rch-address span{font-size:12px;color:#475569}.rch-add-address{margin-top:8px}

.rch-admin .rch-heading-notifications{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0;padding:14px 18px;background:#fff;border:1px solid #b8c9e8;border-left:4px solid #3457d5;border-radius:8px;color:#17243b}.rch-heading-notifications .dashicons{color:#3457d5;flex:none}.rch-heading-notifications strong{font-size:15px;color:#17243b}.rch-heading-notifications button{margin-left:auto}.rch-admin #rch-notice:empty{display:none}.rch-admin #rch-notice:not(:empty){color:#14532d;background:#ecfdf3;border:1px solid #86cfa2;border-left:4px solid #15803d;font-weight:600;overflow-wrap:anywhere}.rch-admin #rch-notice.bad{color:#991b1b;background:#fff1f2;border-color:#f1a3a3;border-left-color:#b91c1c}@media(max-width:480px){.rch-heading-notifications button{margin-left:0;width:100%}}


/* v1.7.2 admin notice visibility fix */
.rch-admin{position:relative}
.rch-admin header{position:relative;z-index:1;overflow:visible}
.rch-admin > .notice,.rch-admin > .updated,.rch-admin > .error,.rch-admin > .is-dismissible,.rch-admin header .notice,.rch-admin header .updated,.rch-admin header .error,.rch-admin header .is-dismissible{position:relative;z-index:5;display:block;margin:14px 0!important;padding:0!important;background:#fff!important;color:#17243b!important;border:1px solid #dfe5ee!important;border-left:4px solid #16a34a!important;border-radius:10px!important;box-shadow:none!important;opacity:1!important}
.rch-admin > .notice p,.rch-admin > .updated p,.rch-admin > .error p,.rch-admin > .is-dismissible p,.rch-admin header .notice p,.rch-admin header .updated p,.rch-admin header .error p,.rch-admin header .is-dismissible p{margin:0!important;padding:12px 42px 12px 14px!important;color:#17243b!important;font-weight:600!important}
.rch-admin > .notice .notice-dismiss,.rch-admin > .updated .notice-dismiss,.rch-admin > .error .notice-dismiss,.rch-admin > .is-dismissible .notice-dismiss,.rch-admin header .notice .notice-dismiss,.rch-admin header .updated .notice-dismiss,.rch-admin header .error .notice-dismiss,.rch-admin header .is-dismissible .notice-dismiss{top:8px!important;right:8px!important;color:#334155!important}
.rch-admin > .notice.notice-error,.rch-admin > .error,.rch-admin header .notice.notice-error,.rch-admin header .error{border-left-color:#dc2626!important}
.rch-admin > .notice.notice-warning,.rch-admin header .notice.notice-warning{border-left-color:#d97706!important}
.rch-admin > .notice.notice-info,.rch-admin header .notice.notice-info{border-left-color:#2563eb!important}
.rch-admin header > div{max-width:min(100%,820px)}
.rch-admin header > div > p:last-child{margin-top:6px}

/* Compact, transparent footer newsletter. Standard forms unchanged. */
form.rch-form.rch-form-newsletter{width:100%;max-width:none;margin:10px 0 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:0;overflow:visible}
.rch-form.rch-form-newsletter .rch-newsletter-bar{display:flex;align-items:center;gap:0;margin:0;padding:4px;background:#dedede;border:0;border-radius:5px;width:100%;box-sizing:border-box}
.rch-form.rch-form-newsletter .rch-newsletter-bar>label{flex:1 1 0;min-width:0;margin:0!important;padding:0!important}
.rch-form.rch-form-newsletter .rch-newsletter-bar input{display:block;width:100%;min-width:0;height:36px!important;min-height:36px!important;margin:0!important;padding:6px 9px!important;border:0!important;border-radius:4px;background:transparent!important;box-shadow:none!important;font-size:16px;line-height:24px;box-sizing:border-box}
.rch-form.rch-form-newsletter button.rch-newsletter-submit{flex:0 0 36px;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border-radius:4px;font-size:18px;line-height:1;align-self:center}
.rch-form-newsletter .cf-turnstile{margin:0!important;max-width:100%}
.rch-form-newsletter .rch-result:empty{display:none;margin:0!important}
.rch-form-newsletter .rch-result:not(:empty){margin:8px 0 0;font-size:13px;line-height:1.4}
.rch-form-newsletter .rch-fields{margin-top:8px}
.rch-form-newsletter .rch-newsletter-bar input::placeholder{color:#475569;opacity:1}
