/* Shared layout fixes; preserves the renewal palette and font family. */
body.rh-renewal .rh-steps>li{grid-template-columns:3rem minmax(0,1fr);gap:18px;align-items:start;padding:28px 0}
body.rh-renewal .rh-steps>li>span{display:block;width:3rem;min-width:3rem;max-width:3rem;flex:none;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;writing-mode:horizontal-tb;letter-spacing:0;font-size:26px;line-height:1.45;font-variant-numeric:tabular-nums}
body.rh-renewal .rh-steps>li>div{min-width:0}
body.rh-renewal .rh-steps h2{margin:0 0 12px!important;line-height:1.65}
body.rh-renewal .rh-steps p{line-height:1.9}
body.rh-renewal .rh-bottom-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 24px;padding:28px 24px;margin:0 auto;max-width:1160px}
body.rh-renewal .rh-bottom-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;line-height:1.6;text-align:center;word-break:keep-all;overflow-wrap:normal;white-space:nowrap;font-size:14px}
body.rh-renewal .rh-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;padding:20px 24px;margin:0;line-height:1.7}
body.rh-renewal .rh-legal a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-size:13px}
body.rh-renewal .rh-copyright{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 18px;line-height:1.7;letter-spacing:.02em;font-size:13px;text-align:center;padding:20px 16px 28px}
body.rh-renewal .rh-copyright>span{display:block;white-space:nowrap;word-break:keep-all;overflow-wrap:normal}
body.rh-renewal .rh-copyright-credit:before{content:'／';margin-right:18px}
body.rh-renewal .rh-copyright a{color:inherit;text-decoration:underline;text-underline-offset:3px}
/* Place the return button after the footer, outside the text flow. */
body.rh-renewal .rh-back-to-top{position:static!important;inset:auto!important;transform:none!important;display:block;width:max-content;max-width:calc(100% - 32px);min-height:44px;margin:0 auto 24px;padding:10px 20px;white-space:nowrap;font-size:14px;line-height:1.6;border:1px solid #687e60;border-radius:6px;background:#fff;color:#354b3d;box-shadow:none;z-index:auto}
body.rh-renewal .rh-back-to-top[hidden]{display:none!important}
body.rh-renewal .rh-preview-result{display:block!important;margin:24px 0 0!important;padding:16px!important;border:1px solid #687e60!important;background:#f1f4ed;color:#304438;line-height:1.8}
body.rh-renewal #rh-contact-live .wpcf7-form-control:not([type=checkbox]):not([type=submit]),body.rh-renewal #rh-contact-live textarea{font-size:16px;line-height:1.6;max-width:100%;min-width:0}
body.rh-renewal #rh-contact-live select{min-height:48px;padding:12px 40px 12px 12px;width:100%;background-color:#fff;color:inherit}
body.rh-renewal #rh-contact-live .wpcf7-acceptance label{display:flex;gap:10px;align-items:flex-start;line-height:1.8}
body.rh-renewal #rh-contact-live input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin-top:4px}
body.rh-renewal .rh-form-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}
body.rh-renewal .rh-form-actions button{min-height:48px;line-height:1.7;white-space:normal}
body.rh-renewal #rh-contact-values dd{overflow-wrap:anywhere}
@media(max-width:1000px) and (min-width:601px){body.rh-renewal .rh-bottom-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;padding:24px}}
@media(max-width:600px){
 body.rh-renewal .rh-steps{margin:28px 0}
 body.rh-renewal .rh-steps>li{grid-template-columns:2.75rem minmax(0,1fr);column-gap:12px;padding:22px 0}
 body.rh-renewal .rh-steps>li>span{width:2.75rem;min-width:2.75rem;max-width:2.75rem;font-size:24px;line-height:1.5}
 body.rh-renewal .rh-steps h2{font-size:19px;line-height:1.65}
 body.rh-renewal .rh-bottom-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:20px 16px}
 body.rh-renewal .rh-legal{gap:2px 14px;padding:12px 16px}
 body.rh-renewal .rh-copyright{flex-direction:column;gap:4px;padding:18px 16px 24px;font-size:13px}
 body.rh-renewal .rh-copyright-credit:before{display:none}
 body.rh-renewal .rh-form-actions{flex-direction:column;align-items:stretch}
 body.rh-renewal .rh-form-actions button{width:100%}
}

/* Supplied branding: preserve original image bytes and existing wordmark text. */
body.rh-renewal .rh-brand{display:flex;align-items:center;gap:14px}
body.rh-renewal .rh-brand-character{display:block!important;width:58px!important;height:58px!important;min-width:58px;max-width:none;flex:0 0 58px;object-fit:contain;background:#fff;border-radius:3px}
body.rh-renewal .rh-brand-wordmark{display:block;line-height:1.45}
body.rh-renewal .rh-brand-wordmark small{display:block}
body.rh-renewal .rh-blog-media .rh-blog-noimage{width:100%;height:100%;object-fit:contain;background:#fff}
@media(max-width:600px){body.rh-renewal .rh-brand{gap:10px}body.rh-renewal .rh-brand-character{width:42px!important;height:42px!important;min-width:42px;flex-basis:42px}body.rh-renewal .rh-topbar .rh-brand{min-width:0}body.rh-renewal .rh-topbar .rh-brand-wordmark{font-size:23px;letter-spacing:.04em}body.rh-renewal .rh-topbar .rh-brand-wordmark small{font-size:11px;letter-spacing:0}}

/* Scope the renewal heading so the legacy theme's global h1 hiding rule cannot suppress it. */
body.rh-renewal h1{display:block}

/* Reserve only the initial empty support region; rendered layout and filtered results are unchanged. */
body.rh-renewal #support-hp-dialog:empty{min-height:100vh}
