:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243146;background:#f7f9fc;font-synthesis:none;font-size:16px;--blue:#2e4cb4;--muted:#657184;--border:#e1e6ef}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7499ef;outline-offset:3px}header{height:88px;padding:0 5%;display:flex;align-items:center;gap:65px;background:white;border-bottom:1px solid var(--border)}.brand{font-size:25px;font-weight:750;letter-spacing:-1.1px;display:flex;align-items:center;color:#263c76}.brand>span:not(.brand-icon){font-weight:400}.brand-icon{display:inline-grid;place-items:center;background:var(--blue);color:white;border-radius:10px;width:34px;height:34px;margin-right:11px;font-size:29px}nav{display:flex;gap:30px;height:100%;align-items:center;font-size:14px}nav a{height:100%;display:grid;align-items:center}nav a.active{color:var(--blue);border-bottom:2px solid var(--blue);font-weight:600}.header-note{margin-left:auto;color:var(--muted);font-size:13px}main{max-width:1280px;margin:auto;padding:45px 32px 20px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;gap:24px}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:700;color:var(--blue);margin:0 0 12px}h1{font-size:37px;letter-spacing:-1.3px;line-height:1.2;margin:0 0 12px;font-weight:650}.intro p:not(.eyebrow){color:var(--muted);margin:0;font-size:16px}.source-pill{border:1px solid #d8e2ef;padding:11px 15px;border-radius:30px;color:#526585;font-size:12px;white-space:nowrap;background:#fff}.workspace{display:grid;grid-template-columns:365px 1fr;gap:28px;align-items:start}.panel{background:white;border:1px solid var(--border);border-radius:14px}.entry{padding:26px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}h2{font-size:20px;letter-spacing:-.5px;margin:0;font-weight:650}.entry h2{font-size:18px}.step{color:#a1acbe;font-size:13px}.muted{color:var(--muted)}.small{font-size:13px;line-height:1.55}.entry>.small{margin:10px 0 24px}fieldset{border:0;padding:0;margin:0 0 21px}legend,label{font-size:14px;font-weight:550}legend{margin-bottom:9px}.segmented{display:flex;background:#f5f7fb;border:1px solid var(--border);padding:4px;border-radius:8px}.segmented label{flex:1;position:relative}.segmented input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.segmented span{display:block;text-align:center;padding:9px;border-radius:5px;color:#6a7487}.segmented input:checked+span{background:white;box-shadow:0 1px 4px #15284018;color:var(--blue)}.segmented input:focus-visible+span{outline:2px solid var(--blue)}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}input:not([type=radio]),select{background:#fff;border:1px solid #dce1ea;border-radius:7px;color:#243146;padding:11px 12px;width:100%;min-width:0}input[type=date]{font-size:12px;padding:11px 7px}label{display:block;margin-bottom:17px}label input{margin-top:8px}.form-divider{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);margin:5px 0 17px;padding-top:18px}.form-divider>span{font-size:12px;letter-spacing:1.4px;color:var(--muted)}.form-divider select{width:auto;padding:5px 8px;font-size:12px}.input-wrap{display:block;position:relative}.input-wrap input{padding-right:45px}.unit{position:absolute;right:14px;top:20px;color:#7f8999;font-size:13px;font-weight:400}small{font-size:12px;font-weight:400;color:var(--muted);display:block;margin-top:6px}.primary{border:0;background:var(--blue);color:white;width:100%;border-radius:8px;padding:14px 15px;font-size:14px;font-weight:600;display:flex;justify-content:space-between}.primary:hover{background:#233c92}.privacy{font-size:12px;text-align:center;color:#748093;margin:16px 0 0;line-height:1.5}#error{font-size:13px;color:#b23935}.result-heading{display:flex;justify-content:space-between;align-items:center;margin:5px 0 23px;gap:15px}.result-heading .eyebrow{font-size:12px;margin-bottom:9px}.result-heading h2{font-size:22px}.badge{font-size:12px;border:1px solid #dce2ee;border-radius:5px;padding:6px 9px;color:#6e7a90;background:#fff;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.stat{border:1px solid var(--border);border-radius:10px;background:white;padding:17px}.stat>span{font-size:12px;color:var(--muted)}.stat strong{font-size:31px;display:block;margin-top:10px;color:#2e4cb4;font-weight:600}.stat strong small{display:inline;font-size:12px}.stat:nth-child(2) strong{color:#aa6a2b}.stat:nth-child(3) strong{color:#4c7e78}.chart-panel{padding:23px 24px 0;overflow:hidden}.chart-top{display:flex;justify-content:space-between;gap:15px;align-items:center}h3{font-size:16px;font-weight:600;margin:0}.chart-top p{margin:6px 0}.chart-tabs{display:flex;background:#f3f5f9;border-radius:6px;padding:3px}.chart-tabs button{border:0;padding:7px 12px;font-size:12px;color:#69788f;background:transparent;border-radius:4px}.chart-tabs button.selected{background:white;color:var(--blue);box-shadow:0 1px 4px #20335418}#chart{min-height:270px}#chart svg{display:block;width:100%;height:auto;overflow:visible}.chart-legend{display:flex;justify-content:center;gap:25px;font-size:12px;color:#6a7689;margin:0 0 18px}.chart-legend span{display:flex;align-items:center;gap:7px}.dot{width:7px;height:7px;background:#2e4cb4;border-radius:50%}.line{width:16px;border-top:2px solid #96a9d1}.chart-caption{background:#f9fafc;border-top:1px solid #ecf0f5;margin:0 -24px;padding:12px 24px;font-size:12px;color:#7c8696;text-align:center}.insight{display:flex;gap:13px;padding:21px 3px 10px}.info-icon{border:1px solid #8598c2;flex:none;border-radius:50%;width:19px;height:19px;text-align:center;font-size:12px;color:#5c76af}.insight h3{font-size:14px}.insight p{font-size:13px;line-height:1.7;color:#647187;margin:6px 0}.save-row{display:flex;gap:15px;align-items:center;margin:9px 0}.secondary{padding:11px 15px;border-radius:7px;background:white;border:1px solid #cfd8ea;color:#34529a;font-size:13px;white-space:nowrap}.save-row .small{font-size:12px}.history{padding:27px;margin-top:30px}.history .eyebrow{font-size:12px;margin-bottom:8px}.text-button{border:0;background:none;color:var(--blue);font-size:13px}.empty{padding:26px 0 12px;text-align:center;color:#8792a2;font-size:14px}.learn{margin:48px 0 30px}.learn h2{font-size:26px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:24px}.guide-grid>a{border-top:2px solid #c7d3e7;padding:21px 0 15px}.guide-number{font-size:12px;letter-spacing:1.2px;color:#7b89a0}.guide-grid h3{font-size:19px;line-height:1.5;max-width:240px;margin:14px 0 21px}.guide-grid>a>span:last-child{font-size:12px;color:#4765a6}.medical-note{font-size:12px;color:#8290a3;line-height:1.7;border-top:1px solid var(--border);padding:21px 0}footer{display:flex;align-items:center;gap:27px;padding:24px 5%;border-top:1px solid var(--border);background:white;color:#6f7d90;font-size:12px}footer .brand{font-size:20px}footer>span{margin-right:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:14px 10px;text-align:left;border-bottom:1px solid var(--border)}th{color:#6b7a92;font-size:12px}td button{border:0;background:none;color:#8c4b4b;font-size:12px}.table-wrap{overflow:auto}.article{max-width:780px;margin:20px auto 50px}.article p,.article li{line-height:1.85;color:#556379}.article h2{margin:35px 0 12px}.article a{color:var(--blue);text-decoration:underline}.article .primary{display:inline-block;width:auto;text-decoration:none;color:white;margin:20px 0}.article h1{font-size:40px}.article .eyebrow{color:var(--blue)}.article table{background:white}.guide-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guide-list a{display:block;background:white;padding:18px;border:1px solid var(--border);border-radius:8px;font-size:14px} @media(max-width:1050px){.header-note{display:none}.source-pill{display:none}.workspace{grid-template-columns:320px 1fr;gap:20px}.entry{padding:20px}.stats{gap:7px}.stat{padding:12px}.stat strong small{display:block}.chart-panel{padding:18px 16px 0}.chart-caption{margin:0 -16px}.chart-tabs button{padding:7px 9px}}@media(max-width:760px){header{height:72px;padding:0 20px;gap:25px;justify-content:space-between}.brand{font-size:22px}.brand-icon{width:29px;height:29px}nav{gap:15px}nav a{font-size:12px}nav a:last-child{display:none}main{padding:29px 18px 15px}.intro{margin-bottom:25px}.intro .eyebrow{font-size:12px}h1{font-size:30px}.intro p:not(.eyebrow){font-size:14px}.workspace{grid-template-columns:1fr}.entry{padding:22px}.two input{font-size:14px}.result-heading{margin-top:18px}.result-heading h2{font-size:20px}.stat{padding:15px 11px}.stat>span{font-size:12px}.stat strong{font-size:29px}.chart-panel{padding:20px 14px 0}.chart-caption{margin:0 -14px}.chart-legend{font-size:12px;gap:13px}.chart-top h3{font-size:15px}.history{padding:20px}.history .section-heading{align-items:start}.text-button{font-size:12px;max-width:130px;text-align:right;line-height:1.6}.guide-grid{grid-template-columns:1fr;gap:5px}.guide-grid h3{max-width:none;margin:10px 0 15px}.learn{margin-top:35px}.save-row{flex-wrap:wrap}footer{flex-wrap:wrap;gap:18px}footer>span{width:65%;font-size:12px}.article h1{font-size:31px}.guide-list{grid-template-columns:1fr}}@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,color .15s}html{scroll-behavior:smooth}}

/* Readable supporting text and touch controls. */
.small,.insight p,.history p,.chart-tabs button,.text-button,.secondary{font-size:14px} .intro .eyebrow{font-size:12px} .entry>.small{font-size:14px} #chart{overflow-x:auto} #chart svg{min-width:480px} .chart-legend{flex-wrap:wrap} @media(max-width:760px){.chart-tabs button{min-height:40px}.chart-top{flex-wrap:wrap}.result-heading{flex-wrap:wrap}.stat strong small{font-size:12px}.stat>span{font-size:12px}h1{overflow-wrap:break-word} .guide-number{font-size:12px}}
.workspace>*{min-width:0}.stats>*{min-width:0}.results{min-width:0}.chart-panel{min-width:0}header nav{flex-shrink:0}@media(max-width:420px){header{gap:12px;padding:0 16px}.brand{font-size:20px}.brand-icon{width:26px;height:26px;margin-right:7px}nav{gap:12px}.chart-legend{justify-content:flex-start}.source-pill{white-space:normal}.history .section-heading{flex-wrap:wrap}.history .text-button{max-width:none;text-align:left}}

[hidden]{display:none!important}.optional{font-style:normal;font-size:12px;font-weight:400;color:#657184;margin-left:8px}.stats.two-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#reference-note{padding:10px 12px;background:#f2f5fc;border-radius:7px;line-height:1.6}#error:not([hidden]){padding:12px;background:#fff0ee;border:1px solid #e6b4b0;border-radius:7px;line-height:1.5}#results{scroll-margin-top:24px}#result-title:focus{outline:0}#result-status:empty{display:none}#retry-data{margin-bottom:12px}.chart-legend .dot{width:8px;height:8px;background:#d64545}.projection-line{width:18px;border-top:2px dashed #d64545}.projection-point{cursor:pointer}.projection-point:focus{outline:none;stroke-width:3}.results:not(.has-result){background:#fff;border:1px dashed #ccd5e5;border-radius:14px;padding:28px}.results:not(.has-result) .stats,.results:not(.has-result) .chart-panel,.results:not(.has-result) .insight,.results:not(.has-result) .save-row{display:none}.results.has-result .empty-results{display:none}.empty-results{color:var(--muted);font-size:14px;line-height:1.6;margin:8px 0 0;max-width:470px}.chart-controls{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.projection-toggle{display:flex;align-items:center;gap:7px;margin:0;color:#657184;font-size:13px;font-weight:500}.projection-toggle input{margin:0}.projection-tooltip{background:#fff5f3;border:1px solid #e6b4b0;border-radius:7px;color:#743b38;font-size:13px;line-height:1.5;margin:0 0 14px;padding:10px 12px}.answer-box{background:#f2f5fc;border-left:3px solid var(--blue);border-radius:7px;padding:18px 20px;margin:22px 0}.answer-box h2{margin:0 0 8px}.answer-box p{margin:0}.review-note{border-top:1px solid var(--border);font-size:13px;margin-top:34px;padding-top:18px}.article .review-note{color:#6b7789}@media(max-width:760px){.results:not(.has-result){padding:22px}.chart-controls{align-items:flex-start;width:100%}.projection-toggle{order:2}.chart-tabs{order:1}.projection-tooltip{font-size:14px}}

.diaper-calculator{padding:24px;margin:26px 0}.diaper-input-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 180px;gap:14px;align-items:end}.diaper-input-row label{margin:0}.diaper-input-row .primary{margin:0}.fit-check{border-top:1px solid var(--border);margin:22px 0 0;padding-top:18px}.fit-check legend{padding:0 8px 0 0}.fit-check label{display:inline-flex;align-items:center;gap:7px;margin:8px 22px 0 0;font-weight:400}.fit-check input{margin:0}.diaper-results{scroll-margin-top:24px}.brand-result{display:grid;grid-template-columns:minmax(180px,1fr) 1.4fr auto;align-items:center;gap:22px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px;margin:14px 0}.brand-result p{margin:5px 0!important}.brand-result .eyebrow{margin:0 0 7px!important}.brand-result>a{font-size:13px;white-space:nowrap}.size-chips{display:flex;flex-wrap:wrap;gap:9px}.size-chip{display:flex;align-items:center;gap:9px;border:1px solid #cfd8ea;border-radius:999px;padding:7px 11px;color:#34529a}.size-chip b{font-size:18px}.size-chip small{margin:0;white-space:nowrap}.fit-guidance{background:#fff8ed;border:1px solid #ead5b3;border-radius:10px;padding:18px 20px;line-height:1.7;color:#66523b;margin:18px 0 30px}.article #diaper-error:not([hidden]){padding:12px;background:#fff0ee;border:1px solid #e6b4b0;border-radius:7px;color:#b23935}.article .diaper-input-row .primary{display:flex;width:100%;text-decoration:none}@media(max-width:760px){nav a:nth-of-type(n+3){display:none}.diaper-input-row{grid-template-columns:1fr 110px}.diaper-input-row .primary{grid-column:1/-1}.brand-result{grid-template-columns:1fr}.brand-result>a{white-space:normal}.fit-check label{display:flex;margin-right:0}}
