/* UX revision: a shared, relative type scale and comfortable interaction sizes. */
:root{--ink:#493e5b;--muted:#665d70;--purple:#715083;--pink-ink:#93445f;--reading:1.125rem}
body{font-size:1rem;line-height:1.75}
.announcement{font-size:.8125rem;line-height:1.5;padding:6px 18px;text-align:center;color:#665174}
.site-header nav{font-size:.9375rem;gap:22px}.site-header nav a{padding:10px 0}
.header-inner{gap:16px}.icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
.list-button{font-size:.9375rem;min-height:44px}.list-button b,.tiny-badge{font-size:.8125rem}
.button,.hero .button,.comparison .button,.closing .button,.quiz-actions .button,.quiz-result-links .button,.add-item-form .button,.mala-add-form button{font-size:1rem;min-height:48px;white-space:normal}
.subtle-link,.hero .subtle-link,.card-link,.guide-copy .card-link{font-size:.9375rem;line-height:1.6}
.pill,.hero .pill,.article-hero .pill,.page-hero .pill,.tool-card .eyebrow,.eyebrow,.guide-tag{font-size:.8125rem;letter-spacing:.04em;color:#665174}
.hero h1{font-size:clamp(2.5rem,1.25rem + 3.5vw,4.0625rem);line-height:1.14}
.hero-copy>p,.article-hero>div>p,.page-hero>div>p{font-size:var(--reading);line-height:1.8;max-width:62ch}
.hero-copy>p{max-width:44ch}.hero-assurances{font-size:.875rem;flex-wrap:wrap;gap:8px 16px}
.hero-actions{flex-wrap:wrap}.hero-world>small{font-size:.8125rem;color:var(--muted)}
.float-note{font-size:.8125rem}.category p,.start-path p{font-size:.9375rem}.start-path b{font-size:1rem}
.category h3{font-size:1.375rem}.category{min-width:0}.category-top{color:var(--muted)}
.section-heading>p,.planner-home>div>p,.journey-copy p,.method-section>div>p,.tool-card p,.guide-copy p,.comparison>p,.closing p,.tool-panel>p,.sidebar-tip p,.tool-explainer p,.quiz-shell #quiz-content>p,#fit-result p,.quiz-result-card p{font-size:1rem;line-height:1.8}
.small-note,.journey-section .small-note,.method-points small,.range-endpoints,.article-meta,.article-body .source,.article-disclosure{font-size:.875rem!important;line-height:1.75;color:var(--muted)}
.home-budget-row,.summary-row,.stage-total-row,.dimension-result>div,.checklist-progress>span{font-size:.9375rem;flex-wrap:wrap}
.method-points b,.home-budget label,.soft-bullets li,.journey-links a{font-size:1rem}
summary{font-size:1rem;min-height:48px}details>p{font-size:1rem;line-height:1.8}
.footer-grid>div:not(:first-child){font-size:.9375rem;gap:0}.footer-grid>div>b{font-size:1rem}
.footer-grid a:not(.brand){padding:10px 0;min-height:44px}.footer-grid>div>p{font-size:.9375rem}
.footer-bottom{font-size:.8125rem;align-items:center;flex-wrap:wrap}.footer-bottom a{min-height:44px;display:flex;align-items:center}
.breadcrumb{font-size:.875rem;line-height:1.6}.breadcrumb a{min-height:44px;display:flex;align-items:center}
.article-layout{grid-template-columns:250px minmax(0,1fr);gap:50px}.article-body{width:100%;max-width:70ch;min-width:0}
.article-body p,.article-body li,.article-body .scenario p,.prose-page p,.prose-page li{font-size:var(--reading);line-height:1.8;color:var(--muted)}
.article-body h2,.prose-page h2{font-size:1.875rem;line-height:1.3}.article-body a,.prose-page a{text-underline-offset:4px}
.contents-links>a{font-size:.9375rem;min-height:44px}.contents-links>a>span{font-size:.8125rem;color:var(--muted)}
.article-toc summary{font-size:.875rem;color:#665174}.toc-tip p{font-size:.875rem}
.editorial-note{font-size:.9375rem;color:#74536a;align-items:flex-start}
.article-body table{font-size:.9375rem;line-height:1.7;table-layout:fixed}.article-body th,.article-body td{overflow-wrap:anywhere}
.article-check{font-size:1rem;min-height:48px;align-items:flex-start}.article-check input{width:24px;height:24px;margin-top:3px}
.article-tool-callout{flex-wrap:wrap}.article-tool-callout .button{font-size:.9375rem}.article-tool-callout p{font-size:.9375rem}
.topic-label{display:block;font-size:.875rem;color:var(--purple);font-weight:800;margin-bottom:8px}
input[type=search],input[type=text],input[type=number],input:not([type]),select,#search-input,.planner-item input,.dimension-inputs input,.add-item-form input,.mala-add-form input,.mala-add-form select{font-size:1rem;min-height:48px;height:auto}
input[type=range]{min-height:44px}input::placeholder{color:#706778;opacity:1}
.library-controls>label,.tool-panel>label,.planner-item label,.add-item-form label,.mala-add-form label,.dimension-inputs label,legend{font-size:.9375rem;color:var(--ink)}
.filter-chips button,.budget-presets button,.small-button{font-size:.9375rem;min-height:44px}
.stage-tabs,.journey-tabs{flex-wrap:wrap}.stage-tabs button,.journey-tabs button{font-size:.9375rem;min-height:48px;white-space:normal;line-height:1.5}
.planner-item{grid-template-columns:minmax(0,1fr) 135px 90px 44px;gap:14px}
.planner-item .item-name{font-size:1rem}.planner-item .item-name small{font-size:.8125rem}.planner-item .item-subtotal{font-size:.9375rem;color:#715083}
.remove-item,.mala-row button,.saved-row button{width:44px;height:44px;min-width:44px;min-height:44px;font-size:1.5rem;color:#765182;border-radius:50%;background:#f5eef9}
.add-item-form{grid-template-columns:1.5fr 1fr 100px}.budget-input input{font-size:2rem}
.quiz-top{font-size:.9375rem;flex-wrap:wrap}.quiz-option b{font-size:1rem}.quiz-option small{font-size:.9375rem;line-height:1.65}
.quiz-result-card h3{font-size:1.125rem}.quiz-result-links{flex-wrap:wrap}.quiz-instruction{font-size:.9375rem;color:var(--muted)}
.field-error{font-size:.875rem;color:#99304d;display:block;margin-top:8px}.field-error:empty{display:none}input[aria-invalid=true]{border:2px solid #a24460}
.fit-space>span,#fit-item span{font-size:.875rem;color:#514363}
.dimension-result>div{gap:6px 14px}.fit-layout .tool-panel{min-width:0}
.mala-row{grid-template-columns:24px minmax(0,1fr) 44px;gap:12px;font-size:1rem}.mala-row input,.saved-row input{width:24px;height:24px}
.mala-row label{min-height:44px;display:flex;align-items:center;cursor:pointer}.mala-group h3{font-size:1.25rem}
.saved-row{grid-template-columns:minmax(0,1fr) auto 44px;font-size:1rem;gap:12px}
.saved-row label{display:flex;gap:12px;align-items:flex-start;min-height:44px;cursor:pointer}.saved-row input{flex-shrink:0;margin-top:4px}
.saved-row small{font-size:.8125rem}.saved-row strong{font-size:.9375rem}.saved-row.done .saved-name{color:var(--muted)}
.search-result{font-size:1rem}.search-result small{font-size:.875rem}#saved-total{font-size:1rem;flex-wrap:wrap;gap:12px}
#helper-toggle{font-size:.875rem}#helper-panel a{font-size:.9375rem;min-height:48px}#helper-panel small{font-size:.8125rem}
[hidden]{display:none!important}:focus-visible{outline:3px solid #715083;outline-offset:4px}
@media(max-width:1100px){.site-header nav{display:none}.mobile-menu{display:grid}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-page-layout{grid-template-columns:1fr}.tool-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:24px}.planner-home{gap:32px}}
@media(max-width:900px){.article-layout{grid-template-columns:1fr;gap:24px}.article-body{max-width:70ch;margin:auto}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fit-layout,.checklist-layout{grid-template-columns:1fr}.hero{grid-template-columns:1fr 1fr}.hero-world>img{height:auto}.hero h1{font-size:clamp(2.5rem,1.7rem + 2vw,3.2rem)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){
 .announcement{font-size:.8125rem;min-height:34px}.announcement .icon{display:none}.header-inner{min-height:76px;gap:4px}.header-actions{gap:0}.brand{font-size:1.5rem}.brand-cloud{width:28px;margin-right:5px}.brand b{display:none}.list-button{padding:8px;gap:4px;min-width:48px}.list-button b{font-size:.8125rem}.icon-button{width:44px;height:44px}
 .hero{display:flex;padding-top:28px}.hero h1{font-size:clamp(2.4rem,1.4rem + 4vw,3.125rem);letter-spacing:-.06rem}.hero-copy>p{font-size:1.125rem}.hero .pill{font-size:.8125rem}.hero .button{font-size:1rem}.hero-world>img{height:auto}.float-note{font-size:.8125rem}.note-one{bottom:24px}.note-two{top:-4px}.hero-world>small{margin-top:22px}
 .tool-grid{grid-template-columns:1fr}.tool-card{padding:26px}.tool-card h3{font-size:1.5rem}.category{padding:18px 14px}.category h3{font-size:1.25rem}.category p{font-size:.9375rem}.category .illustration{height:120px}
 .journey-tabs button{flex:1 1 140px;justify-content:center}.stage-tabs button{flex:1 1 90px;padding:12px 8px;font-size:.875rem}.journey-copy h3{font-size:1.75rem}
 .page-hero h1,.article-hero h1,.page-hero.compact h1{font-size:clamp(1.875rem,1.4rem + 2vw,2.25rem)}.page-hero,.article-hero,.page-hero.compact{padding:24px}.article-meta{font-size:.875rem}.article-body h2{font-size:1.625rem}.article-body table{font-size:.9375rem}.article-body td,.article-body th{padding:12px 10px}
 .planner-item{grid-template-columns:minmax(0,1fr) minmax(0,.7fr) 44px;gap:12px;padding:22px 0}.planner-item .item-name{grid-column:1/-1}.planner-item label{font-size:.9375rem}.planner-item input{font-size:1rem;padding:10px}.planner-item .remove-item{align-self:end;margin-bottom:2px}.add-item-form{grid-template-columns:1fr 1fr;gap:16px}.add-item-form label:first-child{grid-column:1/-1}.add-item-form input{font-size:1rem}
 .tool-sidebar{display:block}.summary-row strong{font-size:1.125rem}.summary-row,.stage-total-row{font-size:.9375rem;gap:8px}.summary-card .button{font-size:1rem}.quiz-shell h2{font-size:1.625rem}.quiz-top .pill{font-size:.8125rem}.quiz-option b{font-size:1rem}.quiz-option small{font-size:.9375rem}
 .dimension-inputs{grid-template-columns:1fr;gap:16px}.dimension-inputs label{font-size:.9375rem}.dimension-inputs input{font-size:1rem}.dimension-result>div{font-size:.9375rem}.mala-row{font-size:1rem}.mala-add-form label{font-size:.9375rem}
 .footer-grid{grid-template-columns:1fr;gap:24px}.footer-grid>div>p{font-size:.9375rem}.footer-grid>div:not(:first-child){font-size:.9375rem}.footer-bottom{font-size:.8125rem}.footer-bottom span{width:100%}
 dialog{padding:24px 18px;max-height:90dvh}.dialog-top{gap:10px}.dialog-top h2{font-size:1.625rem}.saved-row{grid-template-columns:minmax(0,1fr) 44px;gap:8px}.saved-row label{grid-column:1}.saved-row strong{grid-column:1;padding-left:36px}.saved-row button{grid-column:2;grid-row:1/3}.saved-row small{font-size:.8125rem}
 body:is([data-page=planejador],[data-page=qual-carrinho],[data-page=cabe-no-espaco],[data-page=mala-maternidade]) #helper-toggle{display:none}#toast{bottom:16px;max-width:calc(100% - 32px);font-size:1rem}
 html{scroll-padding-top:100px}.article-body>section{scroll-margin-top:100px}
}
@media(max-width:350px){.wrap{width:calc(100% - 28px)}.brand{font-size:1.375rem}.brand-cloud{display:none}.hero h1{font-size:2.25rem}.category-grid{grid-template-columns:1fr}.category .illustration{height:150px}.hero-assurances{gap:6px 12px}.home-budget-row{display:grid;grid-template-columns:22px 1fr}.home-budget-row strong{grid-column:2}.article-checklist{padding:18px}.budget-input input{max-width:100%}.panel-top{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.motion-paused{scroll-behavior:auto}.motion-paused *,.motion-paused *::before,.motion-paused *::after{animation:none!important;transition:none!important}.motion-paused .js-reveal{opacity:1;transform:none}.motion-paused #confetti{display:none}#motion-toggle[aria-pressed=true]{background:var(--purple);color:white}
@media(max-width:600px){body:not([data-page=home]) #helper-toggle{display:none}}

.journey-illustration>span:last-child{color:#765164}.budget-presets button{color:#81425d}.sidebar-tip a{color:#715083}.mala-row.done label{color:var(--muted)}summary>span{color:#765182}

/* Reflow when the user enlarges the browser's default text size. */
.header-inner{flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.header-actions{margin-left:auto}.site-header nav{flex-wrap:wrap}.wrap>*{min-width:0}h1,h2,h3,p,label,.eyebrow,.pill,.button,.subtle-link,.item-name,.saved-name{overflow-wrap:anywhere}.planner-home>div,.hero-copy,.page-hero>div,.article-hero>div{min-width:0}.footer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}
html{scroll-padding-top:calc(var(--header-height,90px) + 16px)}.article-body>section{scroll-margin-top:0}

.skip{top:0;max-width:calc(100% - 40px);transform:translateY(-150%);overflow-wrap:anywhere}.skip:focus{top:10px;transform:none}.list-button b,.tiny-badge{min-width:1.6em;width:auto;height:1.6em;padding:0 .2em;line-height:1}

output,strong{overflow-wrap:anywhere}.home-budget output{max-width:100%}.helper-face{font-size:14px}.category-top>span{min-width:1.4em;width:1.4em;height:1.4em;line-height:1}.float-note{max-width:90%}
@media(max-width:600px){.float-note{transform:none}.home-budget output{font-size:2.375rem}}

@media(min-width:901px){.hero h1{font-size:clamp(2.5rem,1rem + 3.2vw,3.75rem)}}body:not([data-page=home]) #helper-toggle{display:none}
