:root{--navy:#0F172A;--ocean:#0284C7;--background:#F8FAFC;--surface:#FFFFFF;--sage:#0D9488;--border:#E2E8F0;--link:#0369A1;--download:#0F766E}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#F8FAFC;color:#0F172A;font:18px/1.7 system-ui,sans-serif}a{color:#0369A1;text-underline-offset:4px}a:hover{color:#075985}header{background:white;border-bottom:1px solid #E2E8F0}nav{max-width:1180px;margin:auto;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.brand{color:#0F172A;font:bold 25px Georgia;text-decoration:none}nav .links{display:flex;gap:24px;flex-wrap:wrap}nav .links a{font-size:16px;text-decoration:none}main{max-width:1180px;margin:auto;padding:48px 28px}h1,h2,h3{font-family:Georgia,serif;line-height:1.15;color:#0F172A}h1{font-size:clamp(2.3rem,5vw,4.5rem);letter-spacing:-.04em;margin:12px 0 22px}h2{font-size:2rem;margin-top:46px}h3{font-size:1.5rem}p{margin:16px 0}.eyebrow{font-size:14px;letter-spacing:.12em;font-weight:700;color:#0369A1}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}.hero img{width:100%;height:430px;object-fit:cover;border-radius:6px}.lead{font-size:21px;max-width:650px}.button{display:inline-block;background:#0F172A;color:white;padding:12px 22px;text-decoration:none;border-radius:4px;font-size:16px;margin:10px 8px 0 0}.button:hover{background:#075985;color:white}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid #E2E8F0;padding:28px;border-radius:6px}.card a{text-decoration:none}.card p{font-size:17px}.number{color:#0369A1;font:32px Georgia}.strip{background:#0F172A;color:white;padding:32px;margin:44px 0;border-radius:6px}.strip h2{color:white;margin:0}.strip a{color:white}.article{max-width:780px;margin:auto}.article h1{font-size:clamp(2.2rem,4vw,3.4rem)}.meta{font-size:14px;color:#475569}.note{background:#E0F2FE;border-left:4px solid #0284C7;padding:18px 22px;font-size:16px}.sources{font-size:16px;border-top:1px solid #E2E8F0;margin-top:36px;padding-top:20px}footer{background:white;border-top:1px solid #E2E8F0;padding:28px;text-align:center;font-size:14px;color:#475569}table{width:100%;border-collapse:collapse;font-size:16px}td,th{border:1px solid #E2E8F0;padding:12px;text-align:left}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;padding:10px}a:focus-visible,button:focus-visible{outline:3px solid #0369A1;outline-offset:4px}button{font:inherit;cursor:pointer} @media(max-width:800px){.hero{grid-template-columns:1fr;gap:24px}.hero img{height:280px}.grid{grid-template-columns:1fr}main{padding:30px 20px}nav{padding:18px 20px}.links{gap:14px!important}h2{font-size:1.7rem}}@media print{header,footer,.button,.no-print{display:none}body{background:white;color:black;font-size:12pt}main{padding:0;max-width:none}h1{font-size:26pt}.note{background:none}tr{break-inside:avoid}a{color:black}.sources{font-size:10pt}}
.consent-panel{position:fixed;bottom:20px;left:20px;right:20px;margin:auto;max-width:760px;max-height:80vh;overflow:auto;z-index:100;background:white;border:2px solid #0F172A;box-shadow:0 8px 36px #0F172A30;padding:22px;border-radius:6px}.consent-panel[hidden]{display:none}.consent-panel h2{font-size:1.4rem;margin:0}.consent-panel p{font-size:16px}.consent-panel .button{border:0}.analytics-settings{display:block;margin:14px auto 0;border:1px solid #0F172A;background:white;color:#0F172A;padding:8px 14px;font-size:14px}

.brand{display:inline-flex;align-items:center;gap:10px}.brand-icon{width:42px;height:42px;border-radius:9px;flex-shrink:0}

.article{background:var(--surface);padding:32px;border:1px solid var(--border);border-radius:8px}.button{background:var(--navy)}.button:hover{background:#075985}.download-button{background:var(--download)}.download-button:hover{background:#115E59}.eyebrow{color:var(--link)}.number{color:var(--link)}.consent-panel{border-color:var(--navy)}.analytics-settings{border-color:var(--navy);color:var(--navy)}@media(max-width:800px){.article{padding:22px 18px}}@media print{.article{border:0;padding:0}}

.worksheet-cell{width:58%;min-width:160px}.worksheet-input{display:block;width:100%;min-height:64px;resize:vertical;border:1px solid #64748B;border-radius:4px;padding:10px;font:inherit;font-size:16px;line-height:1.5;color:#0F172A;background:#FFFFFF;overflow:hidden}.worksheet-input:focus-visible{outline:3px solid #0369A1;outline-offset:2px}.worksheet-print-value{display:none}@media print{.worksheet-input{display:none!important}.worksheet-print-value{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-height:42px;font:11pt/1.4 system-ui,sans-serif}table{table-layout:fixed}th,td{padding:8px}thead{display:table-header-group}.article h1{font-size:24pt}}

.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.category-grid .card{background:#F1F5F9;padding:20px 16px;border-top:4px solid #0284C7}.category-grid h3{font:700 18px/1.35 system-ui,sans-serif;margin:0 0 12px}.category-grid p{font-size:15px;line-height:1.55}.category-grid a{font-size:15px}.foundation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.latest-grid .card{background:transparent;border:0;border-top:2px solid #CBD5E1;border-radius:0;padding:22px 0}.local-section{margin-top:44px;padding:28px;background:#F1F5F9;border-radius:6px}.local-section h2{margin-top:8px}.strip{margin:36px 0 44px}.consent-panel{max-width:1100px;bottom:16px;left:16px;right:16px;padding:20px 24px;border-radius:12px;box-shadow:0 8px 32px #0F172A30}.consent-panel h2{margin:0}.consent-panel p{margin:8px 0}.consent-panel .button{min-height:44px}.analytics-settings[hidden]{display:none}@media(max-width:1050px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.latest-grid{grid-template-columns:1fr}.foundation-grid{grid-template-columns:1fr}.consent-panel{padding:18px;bottom:10px;left:10px;right:10px}.local-section{padding:22px}}@media(max-width:480px){.category-grid{grid-template-columns:1fr}}@media print{body{padding-bottom:0!important}}

.guides-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.5rem;margin-top:1.5rem}.grid-4-items{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;margin-top:1.5rem}@media(min-width:640px){.grid-4-items{grid-template-columns:repeat(2,minmax(0,1fr))}}

.card{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:8px;padding:1.5rem;transition:transform .15s ease,box-shadow .15s ease}.category-grid .card-category{background:#F8FAFC;border-top:1px solid #E2E8F0;border-left:4px solid #1E3A8A}.card:hover,.card:focus-within{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.05)}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}.card:hover,.card:focus-within{transform:none}}@media print{.card{transform:none!important;box-shadow:none!important}}

.consent-content{display:flex;align-items:center;gap:24px}.consent-content p{flex:1}.consent-actions{display:flex;gap:12px;flex-wrap:wrap}.consent-actions .button{margin:0;white-space:nowrap}.consent-actions .btn-outline{background:#FFFFFF;color:#0F172A;border:2px solid #0F172A}.consent-actions .btn-outline:hover{background:#F1F5F9}@media(max-width:800px){.consent-content{flex-direction:column;align-items:stretch;gap:12px}.consent-actions .button{flex:1}}
.site-header{background:#FFFFFF;border-bottom:1px solid #E2E8F0}.header-inner{max-width:1180px;margin:auto;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.site-logo{display:inline-flex;align-items:center;gap:10px;color:#0F172A;text-decoration:none;font:25px Georgia,serif}.site-logo .logo-mark{width:42px;height:42px;flex-shrink:0}.site-nav{padding:0;margin:0;max-width:none;display:flex;gap:24px;flex-wrap:wrap}.site-nav a{font-size:16px;text-decoration:none}@media(max-width:800px){.header-inner{padding:18px 20px}.site-nav{gap:14px}}

.site-footer{padding:0;background:#FFFFFF;border-top:1px solid #E2E8F0;color:#475569}.footer-inner{max-width:1180px;margin:auto;padding:30px 28px;display:flex;justify-content:space-between;align-items:center;gap:24px;text-align:left}.footer-meta{margin:0;max-width:740px;font-size:14px;line-height:1.7}.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex-shrink:0}.footer-links a{font-size:14px}.footer-links .btn-text{display:block;margin:0;border:0;background:transparent;padding:0;color:#0369A1;text-decoration:underline;text-underline-offset:4px;font-size:14px;min-height:24px}.footer-links .btn-text[hidden]{display:none}@media(max-width:800px){.footer-inner{padding:24px 20px;flex-direction:column;align-items:flex-start;gap:16px}.footer-links{flex-direction:row;flex-wrap:wrap;gap:16px}}
.breadcrumbs{padding:0;margin:0 0 28px;display:block;font-size:14px;line-height:1.7}.breadcrumbs span[aria-hidden]{margin:0 8px}.topic-hub{max-width:1000px;margin:auto}.topic-hub h1{font-size:clamp(2.2rem,4vw,3.4rem)}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.card-link{display:block;text-decoration:none;color:#0F172A}.card-link .card{height:100%}.card-link h3{margin-top:0}.card-link p{color:#475569;font-size:17px;line-height:1.65}.read-guide{color:#0369A1;text-decoration:underline;text-underline-offset:4px;font-size:16px}.guidance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.guidance-block{padding:24px;background:#F1F5F9;border-left:4px solid #1E3A8A;border-radius:6px}.guidance-block h3{margin-top:0}.guidance-block p{font-size:17px}.topic-next-step{padding:28px;background:#E0F2FE;border-radius:8px;margin-top:36px}.topic-next-step h2{margin-top:0}@media(max-width:639px){.card-grid,.guidance-grid{grid-template-columns:minmax(0,1fr)}.topic-next-step{padding:22px}}@media print{.card-grid,.guidance-grid{display:block}.card,.guidance-block{break-inside:avoid;margin-bottom:16px}}
/* Resource hub and consent refinements */
.breadcrumbs{font-size:.875rem;color:#64748B;margin-bottom:1.5rem}.breadcrumbs a{color:#1E293B;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.25rem;margin:1.5rem 0}.card-link{text-decoration:none;color:inherit}.card{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:8px;padding:1.25rem;transition:transform .15s ease,box-shadow .15s ease}.card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.05)}
.footer-links .btn-link{background:none;border:none;color:#475569;text-decoration:underline;cursor:pointer;font-size:.875rem;padding:0;font-family:inherit}.footer-links .btn-link:hover{color:#0F172A}
.consent-banner{position:fixed;bottom:0;left:0;right:0;max-width:none;background:#0F172A;color:#FFFFFF;padding:1rem 1.5rem;box-shadow:0 -4px 20px rgba(0,0,0,.15);z-index:9999;border:0;border-radius:0}.consent-banner .consent-content{max-width:1180px;margin:auto}.consent-banner a{color:#BAE6FD}.consent-banner .btn-primary{background:#FFFFFF;color:#0F172A;border:2px solid #FFFFFF}.consent-banner .btn-primary:hover{background:#E0F2FE;border-color:#E0F2FE}.consent-banner .btn-secondary{background:transparent;color:#FFFFFF;border:2px solid #FFFFFF}.consent-banner .btn-secondary:hover{background:#1E293B}.consent-banner a:focus-visible,.consent-banner button:focus-visible{outline-color:#7DD3FC}@media(prefers-reduced-motion:reduce){.card{transition:none}.card:hover,.card:focus-within{transform:none}}

/* Homepage editorial layout */
.hero-section{padding:3rem 0 2rem}.hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:2.5rem;align-items:center}.hero-title{font-family:Georgia,serif;font-size:clamp(2.2rem,4vw,2.75rem);line-height:1.15;color:#0f172a;margin:.5rem 0 1rem}.hero-lead{font-size:1.125rem;color:#334155;margin-bottom:1.5rem}.hero-actions{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;margin-bottom:1rem}.hero-actions .button{margin:0}.hero-grid img{display:block;width:100%;height:430px;object-fit:cover;border-radius:6px}.section-container{margin-top:2.5rem}
.five-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.category-card{background:#f8fafc;border:1px solid #e2e8f0;border-top:4px solid #0284c7;border-radius:4px;padding:1.25rem;display:flex;flex-direction:column}.category-card h3{font-size:1rem;color:#0f172a;margin:0 0 .5rem}.category-card p{font-size:.875rem;color:#475569;margin-bottom:1.25rem}.card-action{margin-top:auto;color:#0369a1;text-decoration:underline;font-size:.875rem;font-weight:500}
.banner-cta{background:#0b1329;color:white;padding:2.5rem 2rem;border-radius:6px;margin:3rem 0}.banner-cta h2{font-family:Georgia,serif;font-size:1.85rem;margin:0 0 .75rem;color:white}.btn-banner{display:inline-block;color:white;text-decoration:underline;font-weight:600;margin-top:1rem}.btn-banner:hover{color:#bae6fd}
.card-grid-2x2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-top:1.5rem}.foundation-card{display:flex;flex-direction:column;background:white;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;color:#0f172a;text-decoration:none}.foundation-card h3{margin-top:0}.card-link-text{margin-top:auto;color:#0369a1;text-decoration:underline}.foundation-card:hover{box-shadow:0 4px 12px #0f172a0d}.latest-card{border-top:2px solid #cbd5e1;padding:1.25rem 0}.latest-card h3{margin-top:0}.latest-card p{font-size:1rem;color:#475569}.download-callout{margin-top:1.5rem}.signpost-box{margin-top:3rem;padding:1.75rem;background:#f1f5f9;border-radius:6px}.signpost-box h2{margin-top:.5rem}
.site-footer{margin-top:4rem;text-align:center;font-size:.875rem}.site-footer .footer-inner{flex-direction:column;text-align:center;padding:2rem 1.75rem;gap:1rem}.site-footer .footer-links{flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap}.footer-links .btn-link{color:#0369a1}.footer-links .btn-link:hover{color:#075985}
@media(max-width:1050px){.five-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.hero-grid{grid-template-columns:1fr;gap:1.5rem}.hero-section{padding:1rem 0}.hero-grid img{height:280px}.five-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:639px){.card-grid-2x2{grid-template-columns:1fr}.banner-cta{padding:1.5rem}}@media(max-width:480px){.five-card-grid{grid-template-columns:1fr}}@media print{.hero-grid,.five-card-grid,.card-grid-2x2{display:block}.hero-grid img{height:auto}.banner-cta{background:white;color:black}.banner-cta h2,.banner-cta a{color:black}}

/* Smart-home resource and planning layout */
.single-card-grid{display:grid;grid-template-columns:minmax(0,550px);gap:1.25rem;margin-bottom:2.5rem}.resource-card{background:white;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem}.resource-card h3{font-family:Georgia,serif;font-size:1.35rem;margin:0 0 .5rem;color:#0f172a}.resource-card p{color:#475569;font-size:.95rem;margin-bottom:1rem}.resource-card .card-link-action{color:#0369a1;text-decoration:underline;font-weight:500;font-size:.9rem}.side-by-side-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.25rem;margin-top:1rem}.accent-left{background:#f8fafc;border-left:4px solid #1e3a8a;border-radius:0 8px 8px 0;padding:1.5rem}.accent-left h3{font-family:Georgia,serif;font-size:1.2rem;margin:0 0 .5rem;color:#0f172a}.accent-left p{font-size:.925rem;color:#334155;margin:0;line-height:1.5}.cta-banner-box{background:#e0f2fe;border-radius:8px;padding:2rem;margin-top:3rem}.cta-banner-box h2{font-family:Georgia,serif;font-size:1.65rem;color:#0f172a;margin:0 0 .75rem}.cta-banner-box p{color:#334155;font-size:1rem;margin-bottom:1.5rem}.cta-actions{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}.btn-primary-green{display:inline-block;background:#0f766e;color:white;padding:.75rem 1.25rem;border-radius:4px;text-decoration:none;font-weight:600;font-size:.925rem;transition:background-color .15s ease}.btn-primary-green:hover{background:#115e59;color:white}.link-secondary-inline{color:#0369a1;text-decoration:underline;font-weight:500;font-size:.925rem}@media(max-width:480px){.cta-banner-box{padding:1.25rem}}@media(prefers-reduced-motion:reduce){.btn-primary-green{transition:none}}

/* Costs hub cards and shared footer alignment */
.card-grid-3col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.25rem;margin-top:1.25rem;margin-bottom:3rem}.resource-card{display:flex;flex-direction:column;box-shadow:0 1px 3px rgba(0,0,0,.04)}.resource-card h3{margin:0 0 .75rem;line-height:1.25}.resource-card p{font-size:.9375rem;line-height:1.5;margin-bottom:1.5rem}.resource-card .card-link-action{margin-top:auto;font-size:.9375rem;color:#0369a1}.resource-card .card-link-action:hover{color:#075985}.cta-banner-box{padding:2.25rem 2rem}.cta-banner-box h2{font-size:1.75rem}.btn-primary-green,.link-secondary-inline{font-size:.9375rem}
.site-footer .footer-inner{flex-direction:row;justify-content:space-between;align-items:flex-end;text-align:left;padding:2.5rem 1.75rem;gap:2rem;flex-wrap:wrap}.site-footer .footer-links{flex-direction:column;align-items:flex-end;gap:.5rem}.footer-links a,.footer-links .btn-link{color:#0369a1}.footer-links a:hover,.footer-links .btn-link:hover{color:#075985}@media(max-width:800px){.site-footer .footer-inner{flex-direction:column;align-items:flex-start;padding:2.5rem 1.25rem}.site-footer .footer-links{align-items:flex-start}}@media(max-width:480px){.cta-banner-box{padding:1.25rem}}

/* Worksheets resource listing */
.container-narrow{max-width:760px;margin:0 auto;padding:2.5rem 1.5rem}.page-header{background:transparent;border:0}.page-header h1{font-family:Georgia,serif;font-size:clamp(2rem,5vw,2.5rem);color:#0f172a;margin:.5rem 0 1rem;line-height:1.15}.page-header .lead{font-size:1.05rem;color:#334155;line-height:1.5;margin-bottom:2rem}.worksheet-card{background:white;border:1px solid #e2e8f0;border-radius:8px;padding:1.75rem;margin-bottom:1.25rem;box-shadow:0 1px 3px rgba(0,0,0,.03)}.worksheet-card h2{font-family:Georgia,serif;font-size:1.6rem;color:#0f172a;margin:0 0 1.25rem}.card-actions{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}.link-download-csv{color:#0369a1;text-decoration:underline;font-weight:500;font-size:.9375rem}.link-download-csv:hover{color:#075985}.disclaimer-callout{background:#f8fafc;border-left:3px solid #64748b;padding:1rem 1.25rem;border-radius:0 4px 4px 0;margin:2rem 0}.disclaimer-callout p{font-size:.875rem;color:#475569;line-height:1.5;margin:0}.additional-resources{margin-top:2.5rem}.additional-resources h2{font-family:Georgia,serif;font-size:1.75rem;color:#0f172a;margin-bottom:1rem}.resource-links{list-style-type:disc;padding-left:1.25rem}.resource-links a{color:#0369a1;text-decoration:underline;font-size:1rem;font-weight:500}@media(max-width:480px){.container-narrow{padding:1rem 0}.worksheet-card{padding:1.25rem}}@media print{.container-narrow{padding:0}.page-header{display:block}.worksheet-card{break-inside:avoid;box-shadow:none}}

.worksheet-card>p{font-size:1rem;color:#475569;line-height:1.6;margin:0 0 1.25rem}.worksheet-card .card-actions a{overflow-wrap:anywhere}.worksheet-card h2{margin-bottom:.75rem}

/* Readable worksheet type and separated actions */
.container-narrow .worksheet-card h2{font-size:1.625rem;line-height:1.25}.container-narrow .worksheet-card>p,.container-narrow .page-header .lead{font-size:1.125rem;line-height:1.65}.container-narrow .card-actions{gap:1rem 1.5rem}.container-narrow .card-actions a{font-size:1rem;line-height:1.5;min-height:44px;display:inline-flex;align-items:center}.container-narrow .disclaimer-callout p{font-size:1rem;line-height:1.6}.container-narrow .breadcrumbs{font-size:1rem}@media(max-width:480px){.container-narrow .card-actions{flex-direction:column;align-items:flex-start}.container-narrow .worksheet-card h2{font-size:1.5rem}}

/* Shared foundation-guide presentation */
.article-narrow{max-width:760px;margin:0 auto;padding:2rem 1.5rem;background:white;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.02)}.article-header{background:transparent;border:0}.article-header h1{font-size:clamp(2rem,5vw,2.5rem);line-height:1.15;margin:.5rem 0 .75rem}.article-header .lead{font-size:1.125rem;color:#334155;line-height:1.65;margin-bottom:1.5rem}.foundation-guide p,.foundation-guide li{font-size:1.125rem;line-height:1.65}.foundation-guide .eyebrow,.foundation-guide .meta{font-size:1rem}.foundation-guide h2{font-size:1.65rem;margin-top:2rem;margin-bottom:.75rem}.foundation-guide li{margin-bottom:.5rem}.notice-box.accent-blue{background:#e0f2fe;border-left:4px solid #0284c7;padding:1rem 1.25rem;border-radius:0 6px 6px 0;margin-bottom:2rem;font-size:1rem;line-height:1.6}.article-actions{display:flex;align-items:center;gap:1rem;margin-top:1.5rem;flex-wrap:wrap}.article-actions a,.article-actions button{font-size:1rem;line-height:1.5;min-height:44px}.btn-secondary-dark{background:#0f172a;color:white;padding:.75rem 1.25rem;border:0;border-radius:4px;font-weight:600;cursor:pointer}.btn-secondary-dark:hover{background:#1e293b;color:white}.sources-section h2,.related-resources-section h2{font-size:1.5rem}.sources-section p,.sources-section li{font-size:1rem;line-height:1.6}.table-scroll{overflow-x:auto}.foundation-guide table{font-size:1rem;min-width:480px}.related-resources-section{margin-top:2rem}@media(max-width:480px){.article-narrow{padding:1.25rem}.article-actions{flex-direction:column;align-items:flex-start}}@media print{.breadcrumbs,.article-actions,.related-resources-section{display:none!important}.article-header{display:block}.article-narrow{max-width:100%;border:0;box-shadow:none;padding:0;margin:0}.foundation-guide p,.foundation-guide li{font-size:11pt}.article-header h1{font-size:24pt}.table-scroll{overflow:visible}.foundation-guide table{min-width:0;font-size:10pt}}

/* Guide pages follow the category hub structure */
.guide-page{max-width:1000px;margin:auto;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}.guide-page h1{font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.15}.guide-page .lead{font-size:1.3125rem;line-height:1.65;max-width:850px}.guide-page>p,.guide-page>ul,.guide-page>ol,.guide-page>aside,.guide-page .guide-heading{max-width:850px}.guide-page p,.guide-page li{font-size:1.125rem;line-height:1.7}.guide-page .meta,.guide-page .eyebrow{font-size:1rem}.guide-page h2{font-size:2rem;margin-top:2.5rem}.guide-page li{margin-bottom:.5rem}.guide-page .sources p,.guide-page .sources li{font-size:1rem}.guide-page .topic-next-step h2{margin-top:0}.guide-actions{display:flex;gap:1.25rem;align-items:center;flex-wrap:wrap}.guide-actions .button{margin:0}.guide-page .topic-next-step p{font-size:1.125rem}.guide-page .article-actions{margin-bottom:1.5rem}.guide-page table{font-size:1rem}.guide-page .table-scroll{overflow-x:auto}@media(max-width:800px){.guide-page h2{font-size:1.7rem}}@media print{.guide-page{max-width:none;padding:0}.guide-page h1{font-size:24pt}.guide-page h2{font-size:16pt}.guide-page p,.guide-page li{font-size:11pt}.guide-page .table-scroll{overflow:visible}}

/* Foundation guides use category-style content cards */
.foundation-topic-card h3{margin:0 0 1rem;font-size:1.5rem}.foundation-topic-card p,.foundation-topic-card li{font-size:1.0625rem;line-height:1.65}.foundation-topic-card ul,.foundation-topic-card ol{padding-left:1.25rem}.foundation-hub .guidance-block h3{margin-top:0;font-size:1.5rem}.foundation-hub .guidance-block p{font-size:1.0625rem}.foundation-hub .card-grid{align-items:stretch}.foundation-hub .table-scroll{margin-top:1.5rem}.foundation-hub .card:hover{transform:none}@media print{.foundation-hub .card-grid,.foundation-hub .guidance-grid{display:block}.foundation-topic-card{break-inside:avoid;margin-bottom:1rem;box-shadow:none}.foundation-topic-card p,.foundation-topic-card li{font-size:11pt}}

/* Supporting pages share the category hub structure */
.support-hub{max-width:1000px;margin:auto}.support-hub h1{font-size:clamp(2.2rem,4vw,3.4rem)}.support-hub>.support-heading p,.support-hub>p{font-size:1.3125rem;line-height:1.65;max-width:850px}.support-hub .eyebrow{font-size:1rem}.support-card h3{margin-top:0;font-size:1.5rem}.support-card p,.support-card li{font-size:1.0625rem;line-height:1.65}.support-card h4{font:700 1rem/1.4 system-ui,sans-serif;margin:0 0 .75rem}.support-card .sources{margin-top:1.5rem}.worksheets-hub .worksheet-card{margin:0;padding:1.5rem;display:flex;flex-direction:column}.worksheets-hub .worksheet-card h2{font-size:1.5rem;margin:0 0 1rem}.worksheets-hub .worksheet-card p{font-size:1.0625rem;line-height:1.65}.worksheets-hub .card-actions{margin-top:auto;gap:1rem;align-items:flex-start;flex-direction:column}.worksheets-hub .card-actions a{font-size:1rem;min-height:44px;display:inline-flex;align-items:center}.support-hub .disclaimer-callout p{font-size:1rem}.support-card{scroll-margin-top:1.5rem}@media print{.support-hub .card-grid{display:block}.support-card{break-inside:avoid;margin-bottom:1rem}.support-hub{max-width:none}}

/* Printable worksheets follow the category palette and layout */
.worksheet-hub{max-width:1000px;margin:auto;background:transparent;border:0;padding:0;border-radius:0}.worksheet-hub h1{font-size:clamp(2.2rem,4vw,3.4rem)}.worksheet-hub h2{font-size:2rem}.worksheet-hub p{font-size:1.125rem;line-height:1.7}.worksheet-hub .eyebrow,.worksheet-hub .meta{font-size:1rem}.worksheet-hub .worksheet-actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin:1.5rem 0}.worksheet-hub .worksheet-actions .button{margin:0;min-height:44px;font-size:1rem;border:0}.worksheet-hub .download-button{background:#0f766e;color:white}.worksheet-hub .download-button:hover{background:#115e59;color:white}.worksheet-hub .worksheet-secondary{background:#0f172a;color:white}.worksheet-hub .worksheet-secondary:hover{background:#1e293b;color:white}.worksheet-hub .worksheet-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px;background:white}.worksheet-hub table{margin:0;font-size:1rem}.worksheet-hub thead{background:#f1f5f9;color:#0f172a}.worksheet-hub tbody th{background:#f8fafc;color:#0f172a;font-weight:600;width:42%}.worksheet-hub td,.worksheet-hub th{border-color:#e2e8f0;padding:1rem}.worksheet-hub .worksheet-input{font-size:1rem;color:#0f172a;background:white;border-color:#64748b}.worksheet-hub .worksheet-input:focus-visible{outline-color:#0369a1}.worksheet-hub .sources p,.worksheet-hub .sources li{font-size:1rem}.worksheet-hub .topic-next-step h2{margin-top:0}@media(max-width:480px){.worksheet-hub td,.worksheet-hub th{padding:.5rem}.worksheet-hub .worksheet-actions{align-items:flex-start;flex-direction:column}.worksheet-hub h2{font-size:1.7rem}}@media print{.worksheet-hub{max-width:none;padding:0}.worksheet-hub .worksheet-record h2{display:none}.worksheet-hub .worksheet-table-wrap{border:0;border-radius:0;overflow:visible}.worksheet-hub table{font-size:11pt;table-layout:fixed}.worksheet-hub td,.worksheet-hub th{padding:8px;background:white!important;color:black}.worksheet-hub p{font-size:11pt}.worksheet-hub h1{font-size:24pt}.worksheet-hub h2{font-size:16pt}}

/* Topic illustrations */
.page-visual{margin:1.75rem 0 2rem;max-width:100%;}.page-visual img{display:block;width:100%;height:auto;border-radius:12px;}.page-visual figcaption{font-size:1rem;line-height:1.5;color:#475569;margin-top:.65rem;}@media(max-width:600px){.page-visual{margin:1.25rem 0;}}@media print{.page-visual{display:none!important;}}

.search-tools{display:grid;gap:.65rem;max-width:650px;margin:2rem 0}.search-tools input,.search-tools select{font:inherit;padding:.65rem;border:1px solid #64748b;border-radius:6px;max-width:100%;width:100%;background:white;color:#0f172a}.search-tools label{font-weight:600}#search-results h2{font-size:1.5rem;margin:0 0 1rem}.worksheet-save-controls{background:#f1f5f9;padding:1rem;border-radius:8px;margin:1.5rem 0}.worksheet-save-controls label{font-weight:600}.worksheet-save-controls p{font-size:1rem;margin:.5rem 0}.worksheet-save-controls input{width:20px;height:20px;vertical-align:middle}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0369a1;outline-offset:4px}@media print{.no-print,.search-tools,#search-status{display:none!important}body,main,article,section,.card{background:white!important;color:black!important}.site-header,.site-footer,.consent-panel,.breadcrumbs,.worksheet-actions{display:none!important}}

@media print{@page{margin:12mm}.worksheet-hub .sources{display:none!important}h1,h2,h3,p,li,th,td{color:black!important}}

.progress-badge{display:inline-block;background:#e0f2fe;color:#0f172a;padding:.4rem .8rem;border-radius:6px;font-weight:600}.checklist-details,.checklist-detail{margin:1rem 0}.checklist-details label,.checklist-detail label{display:block;font-weight:600;margin:.75rem 0 .35rem}.worksheet-hub form{margin:0}.worksheet-hub form th[scope="row"]{width:auto}@media print{.checklist-details,.checklist-detail{margin:.5rem 0}.checklist-details label,.checklist-detail label{margin:.25rem 0}.worksheet-hub .worksheet-print-value:empty{border-bottom:1px solid #64748b}}

@media print{.checklist-next{break-before:page}.checklist-detail{break-inside:avoid}}

/* Ramp tool, using the category palette */
.ramp-fields,.ramp-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.ramp-fields label{display:block;font-weight:700;margin-bottom:.5rem}.ramp-fields input,.ramp-fields select{font:inherit;width:100%;max-width:100%;min-width:0;min-height:48px;padding:.7rem;border:1px solid #64748b;border-radius:6px;background:white;color:#0f172a;box-sizing:border-box}.ramp-fields p{font-size:1rem}.ramp-results-grid>div{padding:1.25rem;background:#f1f5f9;border-radius:8px}.ramp-results-grid dt{font-size:1rem;color:#334155}.ramp-results-grid dd{margin:.5rem 0 0;font-weight:700;font-size:1.25rem;color:#0f172a}.ramp-tool [hidden]{display:none!important}#ramp-error{color:#991b1b;font-weight:700}.ramp-tool .calculator-card h2{margin-top:0}.ramp-tool form .button{margin:1.5rem 0}@media(max-width:640px){.ramp-fields,.ramp-results-grid{grid-template-columns:1fr}}

/* Bathroom budgeting tool */
.budget-tool fieldset{border:1px solid #cbd5e1;border-radius:8px;padding:1rem;margin:1.5rem 0;min-width:0}.budget-tool legend{font-weight:700;font-size:1.25rem}.budget-option{display:flex;align-items:flex-start;gap:.75rem;margin:.8rem 0;min-height:44px}.budget-option input,.budget-table input[type=checkbox]{width:22px;height:22px;flex-shrink:0;accent-color:#0369a1}.budget-table{width:100%;min-width:560px}.budget-table input[type=number]{font:inherit;width:100%;min-width:100px;box-sizing:border-box;padding:.6rem;border:1px solid #64748b;border-radius:4px;color:#0f172a;background:white}.budget-table th{width:50%}.budget-table caption{text-align:left;margin:1rem 0;font-size:1rem}.budget-tool [hidden]{display:none!important}#budget-error{color:#991b1b;font-weight:700}.budget-tool .calculator-card h2{margin-top:0}.budget-tool form>.button{margin:1rem 0}.budget-tool .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Condition directory: shared category cards with readable status labels. */
.condition-hub .card-tag{align-self:flex-start;display:inline-block;font-size:1rem;font-weight:600;color:#075985;background:#F0F9FF;border:1px solid #BAE6FD;border-radius:4px;padding:.25rem .5rem;margin-bottom:1rem}
.condition-hub .card-link-action{margin-top:auto}

.form-print-value{display:none}.ramp-fields textarea{width:100%;max-width:100%;font:inherit;padding:.7rem;border:1px solid #64748b;border-radius:6px;color:#0f172a;background:white}
@media print{
 @page{margin:15mm;size:auto}
 .site-header,.site-footer,.breadcrumbs,.consent-banner,.consent-panel,.no-print,.btn,.button,button,nav,.worksheet-save-controls,.progress-badge,.cta-banner-box,.topic-next-step{display:none!important}
 body{background:white!important;color:black!important;font-size:11pt;line-height:1.4}
 main.container,.article-container,.topic-hub{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
 main::before{content:"Accessible Home Hub — Home planning record";display:block;font-size:13pt;font-weight:700;border-bottom:2px solid black;padding-bottom:6pt;margin-bottom:12pt}
 .has-print-value{display:none!important}.form-print-value{display:inline-block;white-space:pre-wrap;overflow-wrap:anywhere;color:black!important;font:11pt/1.4 system-ui,sans-serif}
 .ramp-fields,.ramp-results-grid,.result-grid{display:block}.ramp-fields>div{margin-bottom:10pt}.ramp-results-grid>div,.result-box,.notice-box{background:white!important;color:black!important;border:1px solid #666;padding:8pt;break-inside:avoid;margin-bottom:10pt}
 .table-scroll,.worksheet-table-wrap{overflow:visible!important}table.budget-table,table.worksheet-table{min-width:0!important;width:100%!important;table-layout:auto}
 thead{display:table-header-group}tr{break-inside:avoid}td,th{border:1px solid #666!important;padding:6pt!important}h2,h3{break-after:avoid}p,li{orphans:3;widows:3}
}

.resource-card[hidden],#funding-empty[hidden],#door-results[hidden],#door-error[hidden]{display:none!important}
/* Shared planning questionnaire and country resource controls. */
#audit-quiz-form .form-group{display:grid;gap:.5rem;margin:1.25rem 0}
#audit-quiz-form label,label[for="directory-country"]{font-size:1rem;font-weight:600;line-height:1.5}
#audit-quiz-form select,#directory-country{font:inherit;font-size:1rem;min-height:44px;padding:.65rem;border:1px solid #64748b;border-radius:4px;background:#fff;color:#0f172a;max-width:100%;width:100%}
#directory-country{max-width:28rem;margin:.5rem 0 1rem}
#quiz-results[hidden]{display:none!important}
#quiz-results li{margin:.8rem 0;line-height:1.6}
@media print{#quiz-results{break-before:auto}#audit-quiz-form .form-group{break-inside:avoid}}

#analytics-toggle{display:block;font:inherit;min-height:44px;padding:.65rem;max-width:100%;margin:.5rem 0;border:1px solid #64748b;background:#fff;color:#0f172a}

.discharge-item{padding:1rem 0;border-bottom:1px solid #e2e8f0}.discharge-item label{display:block;font-weight:600;margin:.75rem 0 .3rem}.discharge-item select,.discharge-item textarea{width:100%;box-sizing:border-box;font:inherit;min-height:44px;padding:.65rem;border:1px solid #64748b;border-radius:4px;background:#fff;color:#0f172a}.discharge-item h3{font-size:1.2rem}@media print{.discharge-item{break-inside:avoid}}

/* Shared page alignment and keyboard focus across guides and resources. */
main > .breadcrumbs{max-width:1000px;margin-left:auto;margin-right:auto}
textarea:focus-visible{outline:3px solid #0369a1;outline-offset:4px}
