/* 2.28: reference section order and compact horizontal mobile layout.
   Hero and desktop assessment styles are deliberately not overridden. */
.nh-page-menu{display:grid;grid-template-columns:1.2fr repeat(4,1fr);align-items:stretch;background:#e8f8ef;border-radius:5px;overflow:hidden;margin-bottom:18px}
.nh-page-menu strong,.nh-page-menu a{display:flex;align-items:center;justify-content:center;padding:10px 6px;font-size:13px;text-align:center;color:#164637}
.nh-page-menu strong{background:#159466;color:#fff}
.nh-check-intro{text-align:center;font-size:14px;margin-bottom:14px}
.nh-check-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:15px;align-items:end}
.nh-check-mascot p{font-size:14px;color:#006f4b;border:1px solid #83cbb4;border-radius:30px;background:#effdf7;padding:8px;text-align:center}
.nh-check-mascot img{display:block;width:100%;height:auto}
.nh-check-layout .nh-exp-art{display:none}
.nh-check-promise{text-align:center;background:#eafaf2;padding:10px;margin-top:10px;color:#006744;font-size:14px;font-weight:700}
.nh-check .nh-section-note{margin-top:4px!important}
@media(max-width:700px){
.ownership-approved .nh-wrap:not(.nh-lower){width:calc(100% - 24px)}
.nh-expanded .nh-section{padding:12px 8px;margin-block:12px;border-color:#e3efe9}
.nh-expanded .nh-section h2,.nh-expanded .nh-cases>h2,.nh-expanded .nh-faq h2{font-size:17px;line-height:1.45;letter-spacing:-.025em;margin-bottom:10px}
.nh-expanded .nh-section-heading{margin-bottom:9px}.nh-section-heading>p{font-size:11px;line-height:1.6}
.nh-expanded .nh-cases{padding:15px 0 12px}.nh-expanded .nh-cases>h2{margin-bottom:12px}
.nh-cases>h2::before,.nh-cases>h2::after{margin-inline:6px;font-size:14px;color:#168659}
.nh-expanded .nh-case-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:stretch}
.nh-expanded .nh-case,.nh-expanded .nh-case--private{display:flex;flex-direction:column;padding:8px 5px 5px;min-height:0;text-align:center;background:#fff;border-color:#dbeae2}
.nh-expanded .nh-case__icon,.nh-expanded .nh-case__badge{display:none}
.nh-expanded .nh-case h3,.nh-expanded .nh-case--private h3,.nh-expanded .nh-case--loan h3{font-size:12px;line-height:1.45;white-space:normal;color:#07583e;margin:0}
.nh-expanded .nh-case p{font-size:11px;line-height:1.5;margin:5px 0 7px}
.nh-expanded .nh-case .nh-art{order:-1;margin:0 auto 7px}
.nh-expanded .nh-case>a{white-space:normal;min-height:40px;font-size:10px;line-height:1.5;margin-top:auto;padding:4px 2px;border:1px solid #78ad95;background:#fff;color:#07583e;gap:2px}
.nh-expanded .nh-case>a>span{font-size:15px}
/* Smaller sprite viewports, not transforms: no leftover oversized layout boxes. */
.nh-expanded :is(.nh-case,.nh-guide-card,.nh-worry-grid) .nh-art--family{width:84px;height:48px;background-size:921.6px 614.4px;background-position:-525px -128.4px}
.nh-expanded :is(.nh-case,.nh-guide-card,.nh-worry-grid) .nh-art--private{width:86px;height:36px;background-size:921.6px 614.4px;background-position:-652.8px -139.8px}
.nh-expanded :is(.nh-case,.nh-guide-card,.nh-worry-grid) .nh-art--loan{width:65px;height:33px;background-size:921.6px 614.4px;background-position:-801.6px -144.6px}
.nh-page-menu{margin-block:0 12px}.nh-page-menu strong,.nh-page-menu a{font-size:10px;padding:7px 2px;min-height:40px}
.nh-check h2 span{font-size:16px;margin:0;color:#007a4d}.nh-check-intro{font-size:11px;line-height:1.6;margin-bottom:8px}
.nh-check-layout{grid-template-columns:64px minmax(0,1fr);gap:5px;align-items:center}
.nh-check-mascot p{font-size:10px;line-height:1.5;padding:5px 2px;margin-bottom:4px}
.nh-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;align-items:stretch}
.nh-check-panel{padding:8px 5px;display:block;border-radius:5px}
.nh-check-panel h3{font-size:11px;line-height:1.5;margin-bottom:6px}
.nh-check-panel ul{font-size:11px;line-height:1.6;margin:0;padding-left:13px}.nh-check-panel li{margin-bottom:4px}
.nh-check-promise{font-size:11px;line-height:1.6;padding:7px;margin-top:8px}.nh-section-note{font-size:10px;line-height:1.6}
.nh-expanded .nh-flow{padding:12px 7px;background:#eaf9f2}.nh-expanded .nh-flow h2{font-size:15px;line-height:1.5}
.nh-expanded .nh-flow__intro{font-size:11px;line-height:1.6;margin:6px 0 10px!important}
.nh-expanded .nh-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.nh-expanded .nh-steps li{padding:7px 3px;min-height:0;min-width:0}
.nh-expanded .nh-steps li>div{flex-wrap:wrap;justify-content:center;gap:4px}
.nh-expanded .nh-steps b{width:20px;height:20px;flex-basis:20px;font-size:11px;background:#0b9860}
.nh-expanded .nh-steps .icon{width:18px;height:20px;flex-basis:18px;color:#087947}
.nh-expanded .nh-steps h3{font-size:11px;flex:1 0 100%;text-align:center;line-height:1.5;margin-top:3px}
.nh-expanded .nh-steps p{font-size:10px;line-height:1.6;margin:6px 0 0;font-weight:400;overflow-wrap:anywhere}
.nh-expanded .nh-steps li:not(:last-child)::after{right:-7px;top:42px;bottom:auto;transform:none;font-size:20px;color:#16945c}
.nh-expanded .nh-flow__bottom p{font-size:10px;line-height:1.6}.nh-expanded .nh-flow__bottom a{font-size:11px;min-height:36px;white-space:normal}
.nh-expanded .nh-guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:15px}
.nh-expanded .nh-guide-card{padding:10px 5px 7px}.nh-expanded .nh-guide-card>.nh-art{margin:4px auto 7px}
.nh-guide-badge{font-size:9px;padding:2px 4px;top:-12px;white-space:nowrap}
.nh-expanded .nh-guide-card h3{font-size:12px;line-height:1.5;margin-bottom:6px}
.nh-expanded .nh-guide-card>p,.nh-expanded .nh-guide-card .nh-guide-emphasis{font-size:11px;line-height:1.6;margin-bottom:7px}
.nh-expanded .nh-guide-card summary,.nh-expanded .nh-guide-card>a{font-size:10px;line-height:1.6;min-height:36px;padding-block:5px;white-space:normal}
.nh-expanded .nh-guide-card details p{font-size:11px;overflow-wrap:anywhere}
.nh-document-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.nh-document-card{padding:0 5px 6px}.nh-document-card h3{font-size:12px;gap:4px;padding-block:7px;margin-bottom:6px}
.nh-document-card h3 .icon{width:21px;height:20px}.nh-document-card>div{display:block;margin-bottom:5px}.nh-document-card>div>.icon{display:none}
.nh-document-card p,.nh-document-source p{font-size:11px;line-height:1.6}.nh-document-card>a{font-size:10px;line-height:1.5;min-height:36px;padding-block:5px}
.nh-document-source{grid-column:auto;padding:8px 5px;display:flex}.nh-document-source>.icon{display:block;width:25px;height:25px;margin-bottom:6px}.nh-document-source h3{font-size:12px;line-height:1.5}
.nh-missing{font-size:11px;margin-top:9px;padding-top:8px}.nh-missing summary{min-height:36px}
.nh-worry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.nh-worry-grid article{display:block;padding:8px}
.nh-expanded .nh-worry-grid .nh-art{transform:none;margin:0 auto 7px}.nh-worry-grid h3{font-size:12px}.nh-worry-grid p,.nh-worry-grid a{font-size:11px;line-height:1.6}
.nh-expanded .nh-faq-wrap{margin-block:12px}.nh-expanded .nh-faq{padding:12px 8px;background:#f3fbf7}
.nh-expanded .nh-faq summary{font-size:11px;line-height:1.6;min-height:40px}.nh-expanded .nh-faq summary b{width:18px;height:18px;font-size:12px;flex:0 0 18px;background:#14875a}
.nh-expanded .nh-faq details p{font-size:11px;line-height:1.7;padding:7px 10px}
.nh-expanded .nh-lower>.nh-office{margin-top:14px}.nh-office>h2{font-size:17px;padding:12px;text-align:center}.nh-office__body>img{width:75px;height:80px;flex-basis:75px}.nh-office__body p{font-size:11px}.nh-office__scene{min-height:45px;padding-top:15px;font-size:12px}
.nh-expanded .nh-final>.nh-wrap{grid-template-columns:45px 1fr;gap:7px}.nh-expanded .nh-final img{width:45px;height:48px}.nh-expanded .nh-final h2{font-size:15px}
.nh-expanded .nh-final .nh-button{grid-column:auto;font-size:12px;min-height:44px;padding:8px 5px;gap:4px}.nh-expanded .nh-final>.nh-wrap{grid-template-columns:1fr 1fr}.nh-expanded .nh-final img{display:none}.nh-expanded .nh-final h2{grid-column:1/-1;text-align:center}
/* Same form and two-column fields; smaller labels, lighter values, tighter rows. */
.no-assessment{padding:12px 10px}.no-assessment .no-eyebrow{font-size:12px;margin-bottom:10px}
.no-assessment .no-heading h2{font-size:clamp(23px,6.6vw,38px)}.no-assessment .no-badge{font-size:10px;padding:5px}
.no-assessment .no-intro{font-size:12px;line-height:1.6;margin-bottom:10px}.no-info{padding:9px;gap:8px;margin-bottom:12px}.no-info p{font-size:11px;line-height:1.6}
.no-cases{margin-bottom:14px}.no-cases legend{font-size:13px;margin-bottom:8px}.no-assessment .nh-choice>span{min-height:50px;font-size:12px;padding:7px 3px}
.no-assessment .assessment-form__grid,.no-assessment .contact-fields__grid{gap:12px 10px}
.no-assessment .form-field{gap:5px}.no-assessment .form-field>span{font-size:12px;gap:4px;white-space:normal;flex-wrap:wrap}
.no-assessment .form-field em,.no-assessment .form-field i{font-size:9px;padding:1px 4px}
.no-assessment .form-field input,.no-assessment .form-field select,.no-assessment .form-field textarea{height:44px;padding:8px 6px;font-size:16px;font-weight:400;letter-spacing:-.025em;line-height:1.4;min-inline-size:0;width:100%;max-width:100%}
.no-assessment .form-field select{padding-right:19px;text-overflow:ellipsis}.no-assessment .form-field textarea{height:78px}
.no-assessment input[type=date]{appearance:none;-webkit-appearance:none;overflow:hidden}.no-assessment input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}.no-assessment input[type=date]::-webkit-datetime-edit{padding:0;min-width:0}
.no-assessment .form-field small{font-size:11px;line-height:1.5}.no-assessment .contact-fields{margin-top:14px;padding:0 9px 12px}.no-assessment .contact-fields legend{font-size:14px;padding:10px 9px;width:calc(100% + 18px);margin:0 -9px 10px}
.no-privacy{font-size:12px;margin-top:12px}.no-submit{font-size:15px;min-height:48px;padding:10px 12px}.no-assessment .no-note{font-size:10px;line-height:1.6;margin-top:10px}
}

.no-assessment .contact-fields .contact-preference legend{float:none;width:auto;background:none;margin:0 0 8px;padding:0;color:inherit;font-size:16px;line-height:1.5}
@media(max-width:700px){.no-assessment .contact-fields .contact-preference legend{font-size:12px;margin-bottom:5px}}

/* 2.30: five short labels; explanations remain available below the row. */
.nh-expanded .nh-steps.nh-steps--compact li{min-height:0;padding:12px 6px}
.nh-expanded .nh-steps.nh-steps--compact li>div{flex-wrap:wrap;justify-content:center;gap:6px}
.nh-expanded .nh-steps.nh-steps--compact h3{flex:1 0 100%;font-size:16px;line-height:1.5;text-align:center;margin:4px 0 0}
.nh-flow-details{margin:12px 0;font-size:13px;line-height:1.7}
.nh-flow-details summary{cursor:pointer;color:#076d49;font-weight:700;padding:8px 0}
.nh-flow-details ol{padding-left:24px;margin:8px 0}.nh-flow-details li{margin:8px 0}.nh-flow-details p{margin:3px 0}
@media(max-width:700px){
.nh-expanded .nh-steps.nh-steps--compact li{padding:9px 3px}
.nh-expanded .nh-steps.nh-steps--compact h3{font-size:11px;margin-top:2px;word-break:normal;overflow-wrap:normal}
.nh-expanded .nh-steps.nh-steps--compact li>div{gap:4px}
.nh-flow-details{font-size:11px;margin:6px 0}.nh-flow-details summary{min-height:36px;padding:8px 0}
}
/* 2.31: cover the complete hero; keep original woman/mascot artwork. */
@media(max-width:1023px){
.nh-reference-hero{position:relative;isolation:isolate;background:#eafbf1 url('../images/kaitorukun-hero-background-optimized.webp') center/cover no-repeat}
.nh-reference-stage{background:transparent}
.nh-reference-scene{object-fit:cover;object-position:right bottom}
.nh-reference-bottom{background:linear-gradient(#effcf4cc,#ffffffdf 70%,#ddf9e7dd)}
}
/* Wide, short illustrated rows, including when the explanation is expanded. */
@media(max-width:700px){
.nh-expanded .nh-guide-grid{grid-template-columns:1fr;gap:14px;margin-top:18px}
.nh-expanded .nh-guide-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:4px 10px;text-align:left;align-items:center;padding:12px}
.nh-expanded .nh-guide-card>.nh-art{grid-column:1;grid-row:1/4;margin:auto}
.nh-expanded .nh-guide-card h3{grid-column:2;font-size:14px;margin:0;line-height:1.5}
.nh-expanded .nh-guide-card h3 br{display:none}
.nh-expanded .nh-guide-card>p,.nh-expanded .nh-guide-card .nh-guide-emphasis{grid-column:2;font-size:12px;margin:0;line-height:1.6}
.nh-expanded .nh-guide-card details{grid-column:1/-1;padding-top:5px;margin-top:5px}
.nh-expanded .nh-guide-card summary{font-size:12px;min-height:36px;padding:6px 0}
.nh-expanded .nh-guide-card details p{font-size:13px;line-height:1.8}
.nh-expanded .nh-guide-card>a{grid-column:1/-1;display:flex;align-items:center;justify-content:center;border:1px solid #69a58c;border-radius:5px;color:#086044;font-size:12px;min-height:38px;padding:5px 8px;margin-top:3px}
.nh-expanded .nh-guide-badge{left:12px;font-size:10px}
}
