/* HiddenHelp v20 product polish: safer final layer */
html,body{overflow-x:hidden!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
body:not(.hh-a11y-dyslexia):not(.hh-dyslexia):not(.dyslexia-mode):not(.dyslexia){font-size:16px!important;letter-spacing:normal!important;word-spacing:normal!important}
/* Sitewide menu: never overflow, switch to calm dropdown before wrapping badly */
.hh-sitewide-header,.topbar.hh-sitewide-header{max-width:min(1180px,calc(100% - 18px))!important;margin:10px auto 18px!important;overflow:visible!important}
.hh-desktop-nav,.hh-nav.nav,.nav.hh-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:7px!important;width:100%!important;max-width:100%!important;margin:12px auto 0!important}
.hh-desktop-nav a,.hh-nav.nav a,.nav.hh-nav a{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;padding:8px 11px!important;min-height:38px!important;font-size:clamp(.76rem,.78vw,.92rem)!important;line-height:1.1!important;border-radius:999px!important}
@media(max-width:1240px){.hh-desktop-nav,.hh-nav.nav,.nav.hh-nav{display:none!important}.hh-mobile-menu{display:block!important;width:min(420px,100%)!important;margin:12px auto 0!important}.hh-mobile-menu summary{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;border-radius:999px!important;background:linear-gradient(135deg,#fbf2ff,#eef8ff)!important;border:2px solid rgba(126,87,139,.16)!important;font-weight:950!important}.hh-mobile-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important}.hh-mobile-nav a{min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;border-radius:18px!important;background:#fff!important;border:2px solid rgba(126,87,139,.14)!important;font-weight:900!important}}
@media(max-width:560px){.hh-mobile-nav{grid-template-columns:1fr!important}}
/* Global calmer desktop type */
@media(min-width:900px){h1{font-size:clamp(2rem,3.2vw,3.45rem)!important;line-height:1.04!important}h2{font-size:clamp(1.28rem,1.75vw,1.9rem)!important}h3{font-size:clamp(1rem,1.05vw,1.18rem)!important}p,li,label,.lead,.muted{font-size:clamp(.9rem,.9vw,.99rem)!important}.hero,.panel,.section,.card,.tool{padding:clamp(16px,1.6vw,24px)!important}}
/* Home hero: one job, normal premium CTA, no giant mobile pill */
#home .hero{align-items:stretch!important;gap:14px!important}
#home .hero .panel{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:10px!important}
#home .hero h1{max-width:780px!important;margin-bottom:2px!important}
#home .hero .lead{max-width:720px!important;margin-top:0!important}
#home .hero-start-actions,.hero-start-actions{width:auto!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;margin-top:4px!important}
#home a.hero-start-btn,#home .hero-start-btn,.hero-start-btn{display:inline-flex!important;width:auto!important;max-width:260px!important;min-width:0!important;min-height:46px!important;padding:11px 18px!important;font-size:.96rem!important;border-radius:999px!important;line-height:1.1!important;flex:0 0 auto!important;align-self:flex-start!important;white-space:nowrap!important;text-align:center!important;justify-content:center!important}
#home .tiny-copy{display:none!important}
@media(max-width:640px){#home .hero{display:grid!important;grid-template-columns:1fr!important}#home .hero .panel{align-items:flex-start!important}#home a.hero-start-btn,#home .hero-start-btn,.hero-start-btn{width:auto!important;max-width:230px!important;min-height:44px!important;padding:10px 16px!important;font-size:.93rem!important;margin:4px 0 0!important}.hero-start-actions{justify-content:flex-start!important;width:auto!important}}
/* Home support results: old beautiful swipe tiles restored visually */
#routePanel.hh-swipe-route,.hh-swipe-route{background:linear-gradient(135deg,#fff,#fbf4ff 55%,#eefaff)!important;border:2px solid rgba(126,87,139,.16)!important;border-radius:28px!important;box-shadow:0 18px 48px rgba(126,87,139,.10)!important;padding:16px!important;margin-top:16px!important}
.hh-route-card-rail,.hh-route-card-slot{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(250px,88%)!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding:6px 2px 12px!important;-webkit-overflow-scrolling:touch!important}
.hh-route-card-rail .result-card,.hh-route-card-slot .result-card,[data-route-card]{scroll-snap-align:start!important;min-height:210px!important;border:2px solid rgba(126,87,139,.15)!important;border-radius:24px!important;background:linear-gradient(135deg,#fff,#fff8fd)!important;box-shadow:0 14px 32px rgba(126,87,139,.09)!important;padding:16px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.hh-route-card-rail .result-card h3,.hh-route-card-slot .result-card h3{font-size:1.08rem!important;line-height:1.18!important;margin:.1rem 0!important}.hh-route-card-rail .result-card p,.hh-route-card-slot .result-card p{font-size:.93rem!important;line-height:1.45!important;margin:0!important}
/* Bill tracker: compact dashboard, centred controls, swipe with no redundant controls */
body:has(#billType) .dash,#dash.dash{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:14px auto!important;max-width:980px!important}
body:has(#billType) .kpi,#dash .kpi{min-height:92px!important;padding:13px!important;border-radius:22px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important}.kpi span{font-size:.78rem!important}.kpi strong{font-size:clamp(1.1rem,1.8vw,1.55rem)!important;line-height:1.05!important}
@media(max-width:780px){body:has(#billType) .dash,#dash.dash{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kpi{min-height:82px!important}}
.hh-month-control-wrap,.monthPanel,#monthPanel,.periodPanel,.bill-period-panel,.saveLoadPrintPanel{max-width:720px!important;margin:14px auto!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}.monthYear,.month-year,.periodControls,.monthControls{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:end!important;gap:10px!important;width:100%!important}.monthYear label,.month-year label,.periodControls label,.monthControls label{max-width:210px!important;flex:1 1 160px!important;text-align:left!important}.saveLoad,.save-load,.tracker-actions,.print-actions{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:9px!important;width:100%!important}.saveLoad button,.save-load button,.tracker-actions button,.print-actions button{width:auto!important;min-width:140px!important;max-width:230px!important}.swipeHint span{font-size:.88rem!important}
#prevBillBtn,#nextBillBtn,[data-action="prev-bill"],[data-action="next-bill"]{display:none!important;visibility:hidden!important}.oneThingControls{justify-content:center!important}.oneThingControls .btn{width:auto!important;max-width:230px!important}
#billSwipeHint{max-width:760px!important;margin:12px auto!important;text-align:center!important}.list{scroll-padding-inline:12px!important}.bill.hh-simple-bill{min-height:0!important;padding:14px!important;border-radius:22px!important}.bill.hh-simple-bill h3{font-size:1.03rem!important}.hh-bill-money strong{font-size:1.35rem!important}.billActions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.billActions button{min-height:38px!important;padding:8px 10px!important;font-size:.86rem!important}
/* Support Plan: turn it into dashboard cards */
.hh-support-hero .links,.hh-core-cta-row{gap:9px!important;flex-wrap:wrap!important}.hh-support-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}.hh-support-column{min-height:260px!important}.hh-support-column h2{font-size:1.25rem!important}.hh-provider-card,.hh-next-action-card{border:2px solid rgba(126,87,139,.14)!important;border-radius:22px!important;background:linear-gradient(135deg,#fff,#fbf4ff)!important;padding:13px!important;margin:10px 0!important;box-shadow:0 12px 28px rgba(126,87,139,.08)!important}.hh-provider-card h3,.hh-next-action-card h3{margin:.1rem 0 .3rem!important;font-size:1.03rem!important}.hh-provider-card .hh-card-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:9px!important}.hh-provider-card .hh-card-actions a,.hh-provider-card .hh-card-actions button{min-height:38px!important;border-radius:999px!important;padding:8px 11px!important;background:#fff!important;border:2px solid rgba(126,87,139,.14)!important;font-weight:900!important;font-size:.86rem!important}
@media(max-width:760px){.hh-support-grid{grid-template-columns:1fr!important}.hh-support-column{min-height:0!important}}
/* Guides: make it feel like Free Activities without deleting content */
.guide-grid{align-items:stretch!important}.guide-card{height:100%!important;min-height:230px!important;border-radius:24px!important;overflow:hidden!important}.guide-card h2{font-size:1.1rem!important;line-height:1.18!important}.guide-card p{font-size:.92rem!important}.chips{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:8px!important}.chips button{min-height:40px!important;border-radius:999px!important;padding:8px 12px!important;background:linear-gradient(135deg,#fff,#f4efff)!important}.chips button.active{background:linear-gradient(135deg,#eadcff,#e8f7ff)!important}.guide-count{display:inline-flex!important;align-items:center!important;border-radius:999px!important;background:#fff!important;border:2px solid rgba(126,87,139,.14)!important;padding:7px 11px!important}.hh-v20-guide-meta{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.hh-v20-guide-meta span{font-size:.78rem;font-weight:900;border-radius:999px;padding:5px 8px;background:#fff;border:1px solid rgba(126,87,139,.12);color:#5e5367}
/* Free activities and life situations consistent cards */
.city-card,.activity-card,.place-card,.life-card,.situation-card,[data-life-card]{height:100%!important;min-height:210px!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;word-break:normal!important;overflow-wrap:break-word!important}.life-grid,.situations-grid,.city-grid,.activity-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:14px!important;align-items:stretch!important}.life-grid>*,.situations-grid>*,.city-grid>*,.activity-grid>*{min-width:0!important}
/* Organisation-ready strip */
.hh-org-ready{margin:18px 0;padding:16px;border-radius:26px;border:2px solid rgba(126,87,139,.14);background:linear-gradient(135deg,#fff,#f5fbff 55%,#fff8fd);box-shadow:0 12px 30px rgba(126,87,139,.08)}.hh-org-ready h2{margin:.1rem 0 .35rem}.hh-org-ready ul{margin:.5rem 0 0;padding-left:1.15rem}.hh-org-ready li{margin:.2rem 0}
