/* Readable utility text, with room to wrap at narrow widths. */
body{font-size:18px;line-height:1.55}
.projection-svg text,.pillar-chart svg text{font-size:var(--axis-font,32px)!important}
button,input,select,textarea{font-size:16px}
small{font-size:16px}
footer{font-size:16px!important;line-height:1.6;gap:22px;flex-wrap:wrap}
footer>span,footer>button,footer>a:not(.brand){font-size:16px!important;white-space:normal}
footer>span:first-of-type{font-size:18px!important}
.privacy-note,.result-note,.guide-hint{line-height:1.6}
.detail-row,.graph-heading,.panel-heading{gap:12px;flex-wrap:wrap}
.detail-row>span,.detail-row>strong{min-width:0;overflow-wrap:anywhere}
.calendar-event,.pillar-calendar-value{overflow-wrap:anywhere}
.calculator-guide-link{display:block;padding:0 24px 20px;font-size:16px;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
#cards>.card{display:flex;flex-direction:column;min-width:0;height:auto}
#cards>.card>.card-open{height:auto;flex:1 0 auto;min-width:0}
#cards>.card>.calculator-guide-link{flex:0 0 auto;min-height:44px;box-sizing:border-box;overflow-wrap:anywhere}
.seo-landing #main>.hero{display:none!important}
.seo-landing #main>.bottom-banner{display:none}
.calculator-guide-page{max-width:900px;margin:32px auto 56px;padding:clamp(22px,5vw,48px);background:var(--surface);border-radius:28px;box-shadow:0 12px 40px #0000000c;line-height:1.65}
.calculator-guide-page h1{font-size:clamp(32px,5vw,52px);line-height:1.15;margin:22px 0}
.calculator-guide-page h2{font-size:clamp(23px,3vw,30px);line-height:1.3;margin:0 0 16px}
.calculator-guide-page section{margin-top:36px}
.calculator-guide-page p,.calculator-guide-page li,.calculator-guide-page dt,.calculator-guide-page dd{font-size:18px}
.calculator-guide-page li{margin-bottom:10px}
.guide-intro{font-size:21px!important;color:var(--muted)}
.guide-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;font-size:16px}
.guide-breadcrumb>a{display:inline-flex!important;font-size:16px}
.panel-heading button{color:var(--text)}
.guide-launch{display:inline-flex;align-items:center;min-height:48px;padding:12px 20px;border-radius:14px;margin:12px 0 0;white-space:normal;font-size:18px}
.guide-hint,.guide-updated{font-size:16px!important;color:var(--muted)}
.guide-example{background:var(--accent-soft);padding:24px;border-radius:20px}
.guide-example dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:12px 0}
.guide-example dt{color:var(--muted)}.guide-example dd{margin:0;text-align:right;overflow-wrap:anywhere}
.guide-answer{display:grid;gap:8px;margin-top:20px}.guide-answer strong{font-size:32px;overflow-wrap:anywhere;color:var(--accent)}
.guide-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.guide-links>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-radius:16px;background:var(--accent-soft);font-size:18px;line-height:1.4}
.guide-sources a,.calculator-guide-page p a,.calculator-guide-page>a:not(.primary),.guide-breadcrumb a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){footer{align-items:flex-start!important;flex-direction:column!important;padding:28px 20px!important}.calculator-guide-page{margin:20px 0 36px;padding:24px 20px}.guide-links{grid-template-columns:1fr}.guide-example{padding:18px}.guide-example dl>div{grid-template-columns:1fr;gap:4px}.guide-example dd{text-align:left}.graph-heading{display:block}.graph-live{margin-top:8px;display:inline-block}.theme-picker-footer{flex-wrap:wrap}.ws-heading p:last-child{line-height:1.6}}
.guide-live{margin-top:24px;border-radius:20px;overflow:hidden;box-shadow:0 6px 30px #0001}.guide-live iframe{display:block;width:100%;height:900px;border:0}html[data-embed] body>header,html[data-embed] body>main,html[data-embed] body>footer,html[data-embed] #search-shortcut,html[data-embed] #food-reminder{display:none!important}html[data-embed] dialog[open]{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}html[data-embed] .workspace-sidebar,html[data-embed] .ws-topline{display:none!important}html[data-embed] #workspace{grid-template-columns:1fr!important;padding:0}html[data-embed] .workspace-main{padding:20px}html[data-embed] .dialog-top button[aria-label*=Close]{display:none}
.public-tool-directory{max-width:1200px;margin:32px auto;padding:24px;font-size:18px;line-height:1.6}.public-tool-directory summary{cursor:pointer;padding:12px 0;font-size:20px}.public-tool-directory .guide-links{margin-top:20px}.calculator-guide-page h3{font-size:21px;line-height:1.4;margin:24px 0 12px}
