body[data-page="topic-guide"].brewing-topic{--topic-accent:#f5d6df;--topic-accent-strong:#ad647d;--topic-tint:#fff7fa}.brewing-topic .topic-hero h1{font-size:clamp(3rem,5.2vw,5rem)}.brewing-topic .chapter-links{gap:25px}.brewing-topic .chapter-links a{font-size:.875rem}.brewing-explorer{border:1px solid var(--line);border-top:5px solid #f5d6df;border-radius:24px;padding:30px;margin:30px 0}.brewing-controls button{font-size:.9375rem}.brewing-ingredient-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:35px 0}.brewing-ingredient-grid>section{min-width:0;border:1px solid var(--line);border-top:4px solid #f5d6df;border-radius:22px;padding:25px}.brewing-ingredient-grid .topic-cue{margin-bottom:22px;background:#f5d6df}.brewing-ingredient-grid .reference-label{font-size:.75rem;line-height:1.6;letter-spacing:.04em}.topic-section .brewing-ingredient-grid p{font-size:1rem;line-height:1.7}.brewing-ingredient-grid>section:nth-child(2){border-top-color:#c7dff5}.brewing-ingredient-grid>section:nth-child(2) .topic-cue{background:#e6eefb}.brewing-ingredient-grid>section:nth-child(3){border-top-color:#c5e8d8}.brewing-ingredient-grid>section:nth-child(3) .topic-cue{background:#dcf0e7}.brewing-ingredient-grid>section:nth-child(4){border-top-color:#decdf2}.brewing-ingredient-grid>section:nth-child(4) .topic-cue{background:#e9def8}.topic-section .ingredient-memory{font-size:.9375rem;margin:0;padding-top:18px;border-top:1px solid var(--line);font-weight:600}.polishing-lab{border:1px solid var(--line);border-radius:22px;background:#fff8fb;padding:28px;margin:30px 0}.polishing-control label{display:block;font-size:1rem;font-weight:600;margin-bottom:12px}.polishing-control input{display:block;width:100%;height:34px;accent-color:var(--navy);cursor:pointer;margin:0 0 25px}.polishing-reading{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:0 0 20px}.polishing-reading .reference-label{font-size:.75rem;margin:0 0 8px}.polishing-reading strong{display:block;font-size:2.6rem;line-height:1.3;letter-spacing:-.04em}.polishing-weight{height:20px;display:flex;border:1px solid #30356540;overflow:hidden;border-radius:10px}.weight-remains{background:#303565}.weight-removed{background:#f1bfd1}.topic-section .polishing-lab p{font-size:.9375rem;margin:20px 0 0}.rice-prep-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:35px 0}.rice-prep-steps li{border-top:1px solid var(--line);padding-top:25px;min-width:0}.rice-prep-steps .topic-cue{margin-bottom:22px;background:#e6eefb}.rice-prep-steps li:nth-child(2) .topic-cue{background:#e9def8}.rice-prep-steps li:nth-child(3) .topic-cue{background:#fbe4d4}.topic-section .rice-prep-steps p{font-size:1rem;margin-bottom:0}.koji-reference{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}.koji-reference>*{min-width:0}.koji-reference figure{margin:0}.koji-reference img{width:100%;height:auto;object-fit:contain}.koji-reference figcaption{font-size:.875rem;text-align:center;color:var(--muted);line-height:1.6;margin-top:18px}.fermentation-flow{display:grid;grid-template-columns:1fr .7fr 1fr .6fr 1.2fr;gap:16px;align-items:center;margin:38px 0;border:1px solid var(--line);border-radius:24px;padding:28px}.fermentation-flow>div{text-align:center;min-width:0}.fermentation-flow .topic-cue{display:flex;margin:0 auto 20px;background:#f5d6df}.fermentation-flow>div:nth-child(3) .topic-cue{background:#dcf0e7}.fermentation-flow>div:nth-child(5) .topic-cue{background:#e9def8}.fermentation-flow strong{display:block;font-size:1.1rem;line-height:1.5}.fermentation-flow span:not(.topic-cue){display:block;font-size:.875rem;line-height:1.6;color:var(--muted);margin-top:8px}.fermentation-flow .flow-connector strong{font-size:.875rem}.fermentation-flow .flow-connector span{font-size:1.75rem;color:var(--navy)}.starter-comparison,.pressing-split{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:32px 0}.starter-comparison>section,.pressing-split>section{min-width:0;padding:28px;border:1px solid var(--line);border-radius:22px;background:#fff7fa}.starter-comparison>section:nth-child(2),.pressing-split>section:first-child{background:#f3f7fd}.starter-comparison .topic-cue,.pressing-split .topic-cue{margin-bottom:22px;background:#f5d6df}.starter-comparison>section:nth-child(2) .topic-cue,.pressing-split>section:first-child .topic-cue{background:#e6eefb}.topic-section .starter-comparison p,.topic-section .pressing-split p{font-size:1rem;margin-bottom:0}.brew-tag{display:inline-block;max-width:100%;font-size:.875rem;font-weight:600;line-height:1.5;border-radius:10px;padding:8px 12px;background:#f5d6df;margin:0 0 18px}.brew-tag--blue{background:#e6eefb}.brew-tag--mint{background:#dcf0e7}.brew-tag--cream{background:#f8edcd}.mash-days{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:28px 0;padding:0}.mash-days li{min-width:0;border:1px solid var(--line);padding:24px;border-radius:18px;background:#fff7fa}.mash-days li:nth-child(2){background:#f5f8fd}.mash-days .day-label{display:block;font-size:.75rem;letter-spacing:.05em;font-weight:800;margin-bottom:18px}.mash-days h4{font-size:1.2rem;line-height:1.4;margin:0 0 12px}.topic-section .mash-days p{font-size:1rem;line-height:1.65;margin:0}.finishing-reference{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:32px 0}.finishing-reference>section{min-width:0;padding:28px;border:1px solid var(--line);border-radius:22px;border-top:4px solid #c7dff5}.finishing-reference>section:nth-child(2){border-top-color:#f1c5d3}.finishing-reference>section:nth-child(3){border-top-color:#c5e8d8}.finishing-reference>section:nth-child(4){border-top-color:#eddfa9}.finishing-reference .topic-cue{margin-bottom:22px;background:#e6eefb}.finishing-reference>section:nth-child(2) .topic-cue{background:#f5d6df}.finishing-reference>section:nth-child(3) .topic-cue{background:#dcf0e7}.finishing-reference>section:nth-child(4) .topic-cue{background:#f8edcd}.topic-section .finishing-reference p{font-size:1rem;line-height:1.7}.finishing-reference .brew-tag{margin-bottom:0}.polishing-control input:focus-visible{outline:3px solid var(--navy);outline-offset:5px}
@media(max-width:1050px){.brewing-ingredient-grid{grid-template-columns:1fr 1fr}.mash-days{grid-template-columns:1fr 1fr}.fermentation-flow{gap:10px;padding:25px 20px}}
@media(max-width:760px){.brewing-topic .topic-hero h1{font-size:clamp(2.2rem,10.5vw,4.3rem)}.brewing-explorer{padding:22px}.brewing-ingredient-grid,.rice-prep-steps,.koji-reference,.starter-comparison,.pressing-split,.finishing-reference{grid-template-columns:1fr}.brewing-ingredient-grid>section,.starter-comparison>section,.pressing-split>section,.finishing-reference>section{padding:25px}.polishing-lab{padding:23px}.polishing-reading strong{font-size:2.2rem}.koji-reference{gap:25px}.koji-reference img{max-height:290px}.fermentation-flow{grid-template-columns:1fr;padding:25px;gap:18px}.fermentation-flow .flow-connector span{transform:rotate(90deg);margin:0}.fermentation-flow .topic-cue{margin-bottom:12px}.mash-days{gap:14px}.mash-days li{padding:20px}.mash-days h4{font-size:1.125rem}}
@media(max-width:420px){.mash-days{grid-template-columns:1fr}}
/* Allow a long heading word to wrap when the reader enlarges the text. */
.brewing-topic .topic-hero h1{overflow-wrap:anywhere}
