/* Shared geometry: one 92% body grid, with clean hero edges. */
.page{max-width:none}.inner{width:92%;max-width:1100px;margin:0 auto}.header,.footer{width:92%;max-width:1100px;margin-left:auto;margin-right:auto}.header{height:60px;padding:0;display:flex;justify-content:space-between;gap:20px}.header nav{position:static;gap:28px;flex-wrap:wrap}.header nav a,.header nav a:nth-child(-n+3){width:auto;font-size:13px}.header img{width:auto;height:32px}.footer{position:static;display:grid;grid-template-columns:1fr auto auto;height:auto;min-height:88px;padding:16px 0;gap:25px}.footer>div,.footer nav,.footer>button{position:static}.footer nav{gap:20px}.footer nav a,.footer nav a:nth-child(n){width:auto;font-size:12px}.footer>button{font-size:11px}.canonical-heart{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:7px;background:#00bed2;mask:url('/assets/canonical-heart-mask.png') center/contain no-repeat;-webkit-mask:url('/assets/canonical-heart-mask.png') center/contain no-repeat}.guide{position:static;height:auto;min-height:220px;grid-template-columns:1fr 1.1fr 1.1fr;gap:20px;padding:16px 18px;align-items:center}.guide>div{padding:0}.guide figure{height:auto}.guide img{position:static;transform:none;max-width:100%;height:184px}.guide figcaption{position:static;font-size:12px}.guide form{position:static;grid-column:auto;padding-left:15px}.guide h2{font-size:23px;line-height:1.25}.guide ul{font-size:12px;line-height:1.7}.guide .connection,.guide .note{font-size:10px;line-height:1.45}.guide .field>span{font-size:12px}.guide input{height:34px;font-size:13px}.guide button{height:auto;min-height:38px;font-size:12px}.ad-slot{height:170px}.day-hero{max-width:1195.65px;height:260px;margin:0 auto 24px;background:url('/assets/pool-day-art.webp') center/cover;display:flex;align-items:flex-start;padding-top:18px}.day-hero>div{width:92%;max-width:1100px;margin:auto}.day-hero h1{font-size:38px;line-height:1.12;margin:0 0 48px;max-width:52%}.day-hero p{font-size:16px;line-height:1.5;max-width:54%;margin-bottom:0}.day-hero .eyebrow{font-size:11px;font-weight:800;color:var(--accent);margin-bottom:12px}.day-workspace,.day-share,.day-tips{padding:18px;border:1px solid var(--line);border-radius:6px;margin-bottom:20px}.day-workspace h2,.day-share h2,.day-tips h2,.day-faq h2{font-size:28px;line-height:1.2}.day-workspace p,.day-share>p{font-size:14px;line-height:1.5}.day-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 26px}.day-inputs .field:nth-last-child(-n+2){grid-column:span 2}.day-inputs .field>span{font-size:12px}.day-inputs input{height:38px;font-size:15px}.day-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.day-stats article{padding:12px;background:white;border:1px solid var(--line);border-radius:5px}.day-stats b,.day-stats small{display:block;font-size:12px}.day-stats strong{display:block;color:var(--accent);font-size:25px;line-height:1.25;margin:10px 0 14px}.day-checks{display:grid;gap:6px;font-size:14px;margin:12px 0 18px}.day-checks label{display:flex;gap:8px;align-items:center}.day-checks input{height:16px;width:16px}.private-options{margin-top:20px;font-size:12px}.private-options .actions{margin:12px 0;flex-wrap:wrap}.private-options summary{cursor:pointer}.private-options input[type=file]{height:auto}.day-share{background:white}.day-share .formats{height:auto;margin:14px 0 18px;grid-template-columns:repeat(4,minmax(0,1fr))}.day-share .formats button{height:auto;min-height:50px;padding:7px 14px;font-size:13px}.day-share .formats button:before{display:none}.day-share .formats small{display:block}.day-share-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:26px}.day-share-grid>*{min-width:0}.day-preview canvas{width:100%;max-height:650px;object-fit:contain;object-position:top left}.day-actions{display:flex;flex-direction:column;gap:12px}.day-actions .field>span{font-size:12px;text-transform:uppercase}.day-actions input{height:38px;font-size:14px;font-weight:500}.day-actions ul{font-size:13px;line-height:2;margin:6px 0 12px;padding-left:18px}.day-actions button{height:auto;min-height:36px;font-size:13px}.day-actions .small{font-size:11px}.day-actions .actions{flex-wrap:wrap}.day-tips .steps{margin:12px 0 0}.day-tips h3{font-size:14px;line-height:1.3}.day-tips p{font-size:12px;line-height:1.5}.day-faq{padding:0;margin:0}.day-faq details{padding:9px 13px;margin:8px 0;font-size:14px;line-height:1.5}.day-faq h2{margin-bottom:14px}.pool.reference-home .hero{max-width:1195.65px;height:260px;object-fit:contain;margin:auto;background:#eef9ff}.pool.reference-home #calculator-panel{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:20px;height:auto;min-height:559px}.pool.reference-home #calculator,.pool.reference-home .results{position:static;width:auto;height:auto;min-width:0}.pool.reference-home #calculator .field,.pool.reference-home #calculator>p.small,.pool.reference-home #calculator>.actions,.pool.reference-home #error,.pool.reference-home #status{position:static;margin-top:14px}.pool.reference-home .results{padding:16px;border-left:1px solid var(--line)}.pool.reference-home .results:before{display:none}.pool.reference-home #calculator>.actions{flex-wrap:wrap}.pool.reference-home .teaser{height:auto}.pool.reference-home .how{height:auto;padding:20px 0}.pool.reference-home .how .steps{height:auto}.pool.reference-home .examples{height:auto}.pool.reference-home .faq{height:auto}.pool.reference-home .inner>section{margin-bottom:20px}.pool.reference-home .examples .shapes{height:auto}.pool.reference-home .examples figure{height:auto}.pool.reference-home .header,.day-planner .header{height:60px}
@media(max-width:800px){.header nav{gap:16px}.header nav a{font-size:12px}.guide{gap:12px;padding:14px;grid-template-columns:1fr 1.1fr 1.1fr}.guide h2{font-size:21px}.guide img{height:170px}.day-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.day-inputs .field:nth-last-child(-n+2){grid-column:span 1}.day-hero h1{font-size:34px}.footer{grid-template-columns:1fr auto;gap:18px}.footer>button{grid-column:2;grid-row:1}.footer nav{grid-column:1/-1}.day-stats strong{font-size:22px}}
@media(max-width:600px){.header,.pool.reference-home .header,.day-planner .header{height:auto;min-height:90px;padding:12px 0;flex-direction:column;align-items:flex-start;gap:12px}.header nav{width:100%;justify-content:space-between;gap:8px}.header nav a{font-size:12px}.day-hero{height:260px;background-position:60% center}.day-hero h1{max-width:90%;font-size:32px;margin-bottom:35px}.day-hero p{max-width:84%;font-size:14px;background:#ffffffd9;padding:4px}.day-hero .eyebrow{background:transparent}.day-inputs{grid-template-columns:1fr}.day-stats{grid-template-columns:1fr}.day-share-grid{grid-template-columns:1fr}.day-preview{max-width:420px;margin:auto;width:100%}.day-workspace h2,.day-share h2,.day-tips h2,.day-faq h2{font-size:25px}.day-share .formats{grid-template-columns:repeat(2,minmax(0,1fr))}.day-tips .steps{grid-template-columns:1fr}.guide{grid-template-columns:120px 1fr;padding:14px;gap:14px}.guide img{height:150px;max-width:120px}.guide form{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.guide h2{font-size:20px}.guide ul{font-size:11px}.footer{grid-template-columns:1fr;gap:14px}.footer>button,.footer nav{grid-column:auto;grid-row:auto}.footer nav{gap:20px}.pool.reference-home #calculator-panel{grid-template-columns:1fr;gap:15px;padding:16px}.pool.reference-home .results{border-left:0}.pool.reference-home .hero{height:260px}.pool.reference-home .examples .shapes{display:grid;grid-template-columns:1fr}.pool.reference-home .examples figure{border:0}.ad-slot{height:100px}.private-options .actions>*{flex:1 1 45%}}
@media print{.day-hero,.day-share,.day-tips,.day-faq,.tip,.ad-slot,.guide,.header,.footer,.private-options{display:none!important}.day-workspace{border:0}}
.day-teaser{background:url('/assets/pool-day-art.webp') center/cover;min-height:215px;padding:18px 22px;border-radius:4px}.day-teaser>div{max-width:48%}.day-teaser .kicker{font-size:11px;font-weight:800;color:var(--accent);margin-bottom:8px}.day-teaser h2{font-size:29px;line-height:1.12;margin-bottom:10px}.day-teaser p{font-size:14px;line-height:1.4}.day-teaser a.button{font-size:14px;padding:8px 20px;height:auto}.day-teaser a{min-width:230px}@media(max-width:600px){.day-teaser>div{max-width:100%;background:#ffffffdc;padding:12px;border-radius:3px}.day-teaser{padding:18px;background-position:65% center}.day-teaser h2{font-size:26px}.day-teaser a{min-width:0;width:100%}}
/* The regenerated art canvas has vertical padding; the clean stage crops it. */
.pool-home-hero,.day-hero{height:clamp(180px,22.17vw,260px);max-width:1195.65px;margin:0 auto 24px}.pool-home-hero{background:url('/assets/pool-home-reconstructed-v1.webp') center/100% auto no-repeat;display:flex;align-items:center}.pool-home-hero>div{width:92%;max-width:1100px;margin:auto;padding-left:15px}.pool-home-hero h1{font-size:clamp(35px,4.8vw,48px);line-height:1.02;color:#03204c;letter-spacing:-1px;margin:0 0 12px;max-width:53%}.pool-home-hero p{font-size:clamp(13px,1.75vw,18px);line-height:1.3;color:#03204c;max-width:52%;margin:0}.day-hero{padding-top:0}.day-hero h1{font-size:clamp(30px,4.4vw,42px);margin-bottom:35px}.day-hero .eyebrow{margin-bottom:10px}.day-hero p{font-size:clamp(13px,1.7vw,18px)}
@media(max-width:600px){.pool-home-hero,.day-hero{height:260px}.pool-home-hero{background-size:auto 150%;background-position:30% center}.pool-home-hero>div{padding-left:0}.pool-home-hero h1{font-size:36px;max-width:100%;text-shadow:0 1px 8px white}.pool-home-hero p{font-size:15px;max-width:90%;background:#ffffffdd;padding:6px;border-radius:3px}.day-hero h1{font-size:32px;max-width:90%}.day-hero p{font-size:14px}}
/* Result children stay inside their grid column, including at desktop widths. */
.pool.reference-home .results #pool-diagram{position:static;inset:auto;width:100%;max-width:none;height:auto;max-height:290px;aspect-ratio:300/250;display:block;margin:10px 0 14px}
.pool.reference-home .results #formula,.pool.reference-home .results>p.small{position:static;inset:auto;width:auto;max-width:100%;height:auto;margin:12px 0 0;overflow-wrap:anywhere}
.pool.reference-home .results #formula{font-size:12px;line-height:1.5}
.pool.reference-home .results>p.small{font-size:11px;line-height:1.5}
.pool.reference-home .results #use-volume{position:static!important;inset:auto;width:auto;height:auto!important;opacity:1;padding:8px 12px!important;font-size:12px!important;margin:14px 0 0}
