/* SHG Financial Planning Hub: styles scoped to avoid affecting other calculators */
.shg-page{color:var(--text-color,#1d2939);padding-bottom:3rem}.shg-shell{width:min(1120px,calc(100% - 28px));margin-inline:auto}.shg-hero{padding:2rem 0 1.5rem;background:var(--surface-soft,#f5f7fa);border-bottom:1px solid var(--border-color,#d9e0e8)}.shg-eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--primary-color,#2457a7)}.shg-hero h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.15;margin:.5rem 0}.shg-hero p{max-width:800px;line-height:1.65}.shg-language{margin-top:1rem;max-width:520px}.shg-language summary{cursor:pointer;font-weight:700}.shg-language div{display:flex;gap:.5rem;flex-wrap:wrap;padding:.75rem 0}.shg-language a,.shg-language span{border:1px solid var(--border-color,#d9e0e8);border-radius:999px;padding:.4rem .7rem;text-decoration:none}.shg-main{padding-top:1.5rem}.shg-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-bottom:1rem}.shg-tabs button{border:1px solid var(--border-color,#d9e0e8);border-radius:12px;padding:.8rem .6rem;background:var(--surface-color,#fff);font-weight:750;cursor:pointer;color:inherit}.shg-tabs button.is-active{background:var(--primary-color,#2457a7);color:white;border-color:var(--primary-color,#2457a7)}.shg-panel{display:none;gap:1rem}.shg-panel.is-active{display:grid}.shg-card{background:var(--surface-color,#fff);border:1px solid var(--border-color,#d9e0e8);border-radius:16px;padding:clamp(1rem,2.5vw,1.5rem);box-shadow:0 3px 14px rgba(16,24,40,.04);min-width:0}.shg-card h2{font-size:1.2rem;margin:0 0 1rem}.shg-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.shg-fields>label,.shg-rate>label{display:flex;flex-direction:column;gap:.4rem;font-size:.93rem;font-weight:650}.shg-page input,.shg-page select{width:100%;min-height:44px;border:1px solid var(--border-color,#cbd5e1);border-radius:9px;padding:.65rem .7rem;background:var(--surface-color,#fff);color:inherit;font:inherit;box-sizing:border-box}.shg-rate{border:1px solid var(--border-color,#d9e0e8);border-radius:12px;padding:.75rem;min-width:0}.shg-rate legend{font-weight:750;padding:0 .3rem}.shg-rate-switch{display:flex;gap:1rem;margin:.25rem 0 .7rem}.shg-rate-switch label{display:flex;align-items:center;gap:.4rem}.shg-rate-switch input{width:auto;min-height:0}.shg-quickrates{display:flex;gap:.4rem;flex-wrap:wrap;margin:.6rem 0}.shg-quickrates button{border:1px solid var(--border-color,#cbd5e1);border-radius:999px;background:var(--surface-soft,#f8fafc);padding:.35rem .65rem;cursor:pointer}.shg-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}.shg-primary,.shg-secondary{min-height:44px;border-radius:10px;padding:.7rem 1rem;font:inherit;font-weight:750;cursor:pointer}.shg-primary{background:var(--primary-color,#2457a7);color:#fff;border:1px solid var(--primary-color,#2457a7)}.shg-secondary{background:var(--surface-color,#fff);color:inherit;border:1px solid var(--border-color,#cbd5e1)}.shg-hint{font-size:.88rem;line-height:1.6;color:var(--muted-color,#5b6677)}.shg-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.shg-metrics>div{background:var(--surface-soft,#f7f9fc);border:1px solid var(--border-color,#e0e6ee);border-radius:12px;padding:.85rem;min-width:0}.shg-metrics span{display:block;font-size:.8rem;line-height:1.45;color:var(--muted-color,#5b6677)}.shg-metrics strong{display:block;font-size:clamp(1rem,2.4vw,1.35rem);overflow-wrap:anywhere;margin-top:.35rem}.shg-table-wrap{width:100%;overflow:auto}.shg-table{border-collapse:collapse;width:100%;min-width:720px;font-size:.9rem}.shg-table th,.shg-table td{border-bottom:1px solid var(--border-color,#e1e7ef);padding:.65rem;text-align:right;white-space:nowrap}.shg-table th:first-child,.shg-table td:first-child{text-align:left}.shg-table th{background:var(--surface-soft,#f7f9fc)}.shg-table input{width:110px;min-height:38px;padding:.4rem}.shg-related a{font-weight:700}.shg-faq details{padding:.8rem 0;border-bottom:1px solid var(--border-color,#e1e7ef)}.shg-faq summary{font-weight:700;cursor:pointer}.shg-faq details p{line-height:1.6}.shg-error{color:#b42318;font-weight:700}.shg-status{font-size:.9rem;color:var(--muted-color,#5b6677)}@media(max-width:720px){.shg-tabs{grid-template-columns:1fr}.shg-fields{grid-template-columns:1fr}.shg-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shg-hero{padding-top:1.5rem}.shg-card{border-radius:12px}.shg-actions>*{flex:1 1 100%}}

/* SHG accessibility and related-calculator actions */
.shg-check-label{display:flex;align-items:center;gap:.6rem;line-height:1.45}
.shg-check-label input{width:1.1rem;height:1.1rem;flex:0 0 auto}
.shg-related-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.shg-link-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px;padding:.7rem 1rem;border:1px solid var(--accent-color,#1457a6);border-radius:10px;background:var(--accent-color,#1457a6);color:#fff!important;text-decoration:none!important;font-weight:700;line-height:1.35}
.shg-link-button:hover,.shg-link-button:focus-visible{filter:brightness(.94);text-decoration:none}
.shg-link-secondary{background:transparent;color:var(--text-color,#172033)!important;border-color:var(--border-color,#ccd5e1)}
@media print{
 [data-component="header"],[data-component="footer"],.shg-language,.shg-tabs,.shg-actions,.shg-quickrates,.shg-related,.shg-related-actions,.shg-faq{display:none!important}
 .shg-hero{padding:.5rem 0;background:none;border-bottom:2px solid #000}
 .shg-card{box-shadow:none!important;border:1px solid #ccc;break-inside:avoid;margin-bottom:.75rem}
 .shg-table{min-width:100%;font-size:.8rem}
 .shg-table input{border:0;padding:0;width:auto;text-align:right;background:transparent;appearance:textfield}
 .shg-table input::-webkit-outer-spin-button,.shg-table input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
}
