/* Shared public pages inherit each template's own palette. */
.site-body{--teal:rgb(var(--brand-700));--line:#e1e7e5;--navy:#23332f}
.site-body .portal-button{background:rgb(var(--brand-700));color:#fff;white-space:normal;line-height:1.6;text-align:center}
.site-body .portal-button:hover{background:rgb(var(--brand-800))}
.site-body .portal-button.secondary{background:#fff;color:rgb(var(--brand-700));border-color:#d6e1dc}
.site-body .portal-button.secondary:hover{background:var(--ref-soft)}
.site-body .portal-button.danger{background:#b91c1c}
.site-body .portal-badge{background:var(--ref-soft);color:rgb(var(--brand-700))}
.site-body .portal-input:focus,.site-body input:focus-visible,.site-body textarea:focus-visible,.site-body select:focus-visible{outline:2px solid var(--ref);outline-offset:2px}
.site-body .text-brand-600,.site-body .text-brand-700,.site-body .text-indigo-700{color:rgb(var(--brand-700))}
.site-body .portal-prose h2,.site-body .portal-prose h3,.site-body .portal-prose h4{border-left-color:var(--ref)}
.portal-page,.rule-page{margin-inline:auto}
.rule-page{margin-block:30px 0;padding-block:12px 24px}
.rule-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;color:#71817b;font-size:12px;line-height:1.8;margin-bottom:24px}
.rule-breadcrumb a:hover{color:rgb(var(--brand-700))}
.rule-page-heading{margin-bottom:28px}
.section-kicker{font-size:11px;letter-spacing:1.6px;line-height:1.8;font-weight:700;color:rgb(var(--brand-700));margin-bottom:10px}
.rule-page-heading h1{font-size:32px;line-height:1.45;font-weight:700;color:var(--navy);margin-bottom:12px}
.rule-page-heading>p:last-child{font-size:13px;color:#71817b;line-height:1.9}
.rule-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}
.rule-layout>.category-chips{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px;position:sticky;top:24px}
.rule-layout>.category-chips a{border:0;padding:12px 14px;font-size:13px;line-height:1.6;color:#5b6b64}
.rule-layout>.category-chips a.active,.rule-layout>.category-chips a:hover{color:rgb(var(--brand-700));background:var(--ref-soft);font-weight:600}
.rule-content{min-width:0;display:grid;gap:22px}
.rule-content>.portal-prose{padding:30px 34px;min-height:240px}
.portal-prose{overflow-x:auto}
.portal-prose>:last-child{margin-bottom:0}
.portal-prose a{color:rgb(var(--brand-700));text-decoration:underline;text-underline-offset:3px}
.portal-prose table{max-width:100%}
.rule-contact-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:26px 30px;background:var(--ref-soft);border:1px solid var(--line);border-radius:12px}
.rule-contact-banner>div{flex:1;min-width:200px}
.rule-contact-banner h2{font-size:18px;line-height:1.6;font-weight:700;color:var(--navy);margin-bottom:8px}
.rule-contact-banner p{font-size:13px;color:#64766d;line-height:1.9}
.review-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.review-steps>div{padding:20px 16px;border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0}
.review-steps span{display:block;color:rgb(var(--brand-700));font-size:22px;font-weight:700;margin-bottom:12px}
.review-steps h2{font-size:14px;font-weight:700;margin-bottom:8px}
.review-steps p{font-size:12px;line-height:1.8;color:#71817b}
.site-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.site-main select,.site-main textarea{min-width:0;font-size:14px}
.site-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.site-main select{min-height:42px}
.site-main input[type=checkbox],.site-main input[type=radio]{accent-color:rgb(var(--brand-700));flex-shrink:0;margin-top:2px}
.site-main>section>form{line-height:1.8}
.site-main>section>form>button[type=submit],.site-main>section>form>button:not([type]){min-height:44px}
.site-main>section>form .flex>input{min-width:0}
.site-main>section>form img{max-width:100%}
.portal-card,.support-layout>*{min-width:0}
.portal-table th{white-space:normal}
.fav-btn{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:9px 14px;border:1px solid #d6e1dc;border-radius:7px;background:#fff;color:#5b6b64;font-size:13px}
.fav-btn:hover,.fav-btn.is-fav{border-color:var(--ref);color:rgb(var(--brand-700));background:var(--ref-soft)}
.category-chips a[aria-current=page]{background:var(--ref-soft);color:rgb(var(--brand-700));border-color:var(--ref)}
.theme-njxthy .ref-mark{color:var(--ref)}
.theme-njxthy .nj-banner{background:linear-gradient(125deg,#e8f3ee,#cee5dc);color:#233e35;border:1px solid #d4e7de}
.theme-njxthy .nj-tiles>a{background:#fff;box-shadow:0 3px 10px #244b3508}
.theme-njxthy .nj-tiles b{color:#68a08e}
.theme-njxthy .nj-banner>div:first-child>a{background:rgb(var(--brand-700));color:white}
.theme-njxthy .ref-footer{background:#eaf1ed;color:#607168}
.theme-njxthy .ref-copyright{border-color:#d7e2db}
@media(max-width:1000px){.rule-layout{grid-template-columns:180px minmax(0,1fr);gap:20px}.review-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-content>.portal-prose{padding:26px}}
@media(max-width:800px){.rule-page{margin-top:24px;padding-top:0}.rule-page-heading h1{font-size:27px}.rule-breadcrumb{margin-bottom:20px}.rule-layout{grid-template-columns:1fr;gap:20px}.rule-layout>.category-chips{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px;gap:6px}.rule-layout>.category-chips a{text-align:center;padding:10px 7px;font-size:12px}.rule-page-heading{margin-bottom:22px}.rule-contact-banner{padding:23px}.rule-content>.portal-prose{padding:24px}.rule-contact-banner>div{min-width:0;flex-basis:100%}}
@media(max-width:540px){.rule-page-heading h1{font-size:25px}.rule-layout>.category-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-content{gap:18px}.rule-content>.portal-prose{padding:22px 20px;min-height:0}.rule-contact-banner .portal-button{width:100%}.section-kicker{font-size:10px;letter-spacing:1px}.site-main>section form .grid{grid-template-columns:minmax(0,1fr)}.portal-prose{font-size:14px;line-height:1.95}.review-steps>div{padding:16px 13px}.review-steps span{font-size:20px}.portal-table td,.portal-table th{padding:10px 8px}.contact-line{font-size:14px}.disclosure-list{grid-template-columns:86px minmax(0,1fr);gap:18px 10px}}
