/* V4.194: shared clarity pass. Presentation only; no calculation/PDF logic. */

/* Make the complete wordmark fit beside the mobile menu, even on 320px phones. */
body .header .header-inner{min-width:0!important;max-width:100%!important}
body .header .brand{min-width:0!important;max-width:calc(100% - 56px)!important;flex-shrink:1!important}
body .header .brand-text{min-width:0!important;overflow:visible!important;white-space:nowrap!important;line-height:1.13!important}
body .header .nav-toggle{flex-shrink:0!important;min-width:44px!important;min-height:44px!important}
@media(max-width:600px){
 body .header .header-inner{gap:7px!important}
 body .header .brand{gap:6px!important;max-width:calc(100% - 51px)!important}
 body .header .logo-mark{width:23px!important;min-width:23px!important;height:27px!important;min-height:27px!important}
 body .header .brand-text{font-size:clamp(13px,3.85vw,17px)!important;letter-spacing:-.04em!important}
 body .header .brand-text small{display:none!important}
}

/* The legal reminder belongs in quiet supporting text, not a red warning box. */
body .review-date-row{display:block!important;margin:4px 0 12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body .review-date-row .review-date-badge,
body .review-date-badge{
 display:inline!important;background:transparent!important;background-image:none!important;
 color:#66717b!important;border:0!important;border-left:0!important;
 box-shadow:none!important;border-radius:0!important;padding:0!important;
 font:normal 12px/1.5 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
 letter-spacing:0!important;max-width:none!important;
}
body .review-date-row .review-date-badge::before{content:'Note: ';font-weight:650}

/* Dense headings and text should remain readable on a narrow screen. */
body main h1{overflow-wrap:normal;word-break:normal;text-wrap:balance}
@media(max-width:600px){
 body main h1{font-size:clamp(29px,8vw,36px)!important;line-height:1.12!important}
 body main :is(.lead,.subtitle){font-size:16px!important;line-height:1.48!important}
 body main p{overflow-wrap:break-word}
}

/* Shared form and calculator rhythm: spacious, neutral, accessible controls. */
body.lc-calculator-unified main :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
 min-height:48px!important;font-size:16px!important;padding-block:10px!important;
}
body.lc-calculator-unified main :is(button,.button,[type="submit"]){
 min-height:48px!important;line-height:1.3!important;
}
body.lc-calculator-unified main :is(label,[class$="-label"]){font-size:15px!important;line-height:1.45!important}
body.lc-calculator-unified main :is(.calculator-shell,.sft-main,.sc-form,.qc-block){margin-bottom:16px}
body.lc-calculator-unified main .lc-calculator-extra{margin:14px 0!important}
body.lc-calculator-unified main .lc-calculator-extra>summary{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:16px!important}
body.lc-calculator-unified main .lc-calculator-extra>div{padding:13px 0 16px!important}
body.lc-calculator-unified main .lc-calculator-extra>div :is(section,.prose){padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.lc-calculator-unified main .lc-calculator-extra h2{font-size:19px!important;margin:0 0 12px!important}
@media(max-width:600px){
 body.lc-calculator-unified main .form-row{gap:12px!important}
 body.lc-calculator-unified main :is(.calculator-shell,.card,[class$="-form"]){padding-inline:15px!important}
 body.lc-calculator-unified main :is(button,.button){max-width:100%;white-space:normal!important}
}

/* The family form finder is a decision tool, not an article. Extra resources
   sit behind disclosures after the functional question flow. */
body .ff-extra-section{max-width:1120px;margin:16px auto;padding:0 18px}
body .ff-extra-section>.lc-more-legal{margin:0}
body .ff-extra-section>div{padding:0 0 12px!important}
body .ff-extra-section .ff-section{padding:12px 0!important;background:transparent!important}
body .ff-extra-section .ff-container{padding:0!important}
body .ff-independent-notice{background:#f7f7f5!important;border-color:#e5e8e9!important;color:#526272!important}
body .lc-independent-notice--small{
 background:transparent!important;border:0!important;border-left:0!important;
 box-shadow:none!important;padding:0!important;margin:0 0 10px!important;
 font-size:12px!important;line-height:1.45!important;color:#667381!important;
}
body .lc-independent-notice--small strong{font-size:12px!important;font-weight:650!important;color:#526273!important}
body .lc-independent-notice--small p{display:none!important}
