/* Card palette is injected from DrinkCard.TOKENS, shared with SVG exports. */
:root{--bg:#f9f7f2;--ink:#302f2a;--line:#e3ded4;--green:#716a54}html{background:#e8e5de}body{max-width:480px;background:var(--bg);color:var(--drink-ink)}header{background:#f9f7f2ee;height:64px;border-bottom:1px solid var(--line)}header .brand b{font-size:19px;font-weight:500;letter-spacing:-1px}header .brandmark{font:24px Georgia;color:#877257}header nav{gap:14px;font-size:10px}header nav a{color:#777164}.btn{background:#494b3e;color:#fffdf7;border:1px solid #494b3e;border-radius:9px;min-height:46px;font-size:12px}.btn.secondary{background:transparent;color:#5a594e;border-color:#c9c5bb}.btn.full{display:flex;justify-content:center;align-items:center;gap:28px}.eyebrow{color:#928a79;font-family:monospace;letter-spacing:1.8px;font-size:9px}.textlink{color:#716754}.blend-intro{text-align:center;padding:43px 16px 28px}.blend-intro h1{font-family:Georgia,'Noto Serif KR',serif;font-weight:400;font-size:37px;line-height:1.55;letter-spacing:-1.7px;margin:19px 0 12px;color:#393a30}.blend-intro h1 em{font-style:normal;color:#7c8066}.blend-intro p{font-size:12px;line-height:1.9;color:#8d887c}.intro-art{width:222px;margin:25px auto 20px;transform:rotate(-5deg);filter:drop-shadow(10px 15px 14px #4e433c16)}.intro-art svg{display:block;width:100%;height:auto}.intro-caption{display:block;font:7px monospace;letter-spacing:1.4px;color:#999181;margin:25px 0}.blend-intro>.btn{margin-top:25px}.form-card{background:#fffdf9;border-color:#e3ded4;box-shadow:none}.form-top h2{color:#4e4e40}.form-card .step{color:#a0947d}.segments button.active{background:#e8e8dc;color:#575c45}.field input,.field select{background:#f9f8f3;border-color:#dedbd1;color:#55564c}.field input:focus{border-color:#8f947b;outline-color:#8f947b}.form-card{scroll-margin-top:80px}.form-card .desc,.form-note{color:#8c887b}.blend-about{text-align:center;padding:40px 10px 46px}.blend-about h2,.blend-next h2{font-family:serif;font-size:25px;font-weight:400;line-height:1.5;color:#4d4d40}.blend-about p,.blend-next p{font-size:12px;line-height:1.9;color:#8b8578}.blend-about a{display:block;font-size:12px;margin-top:25px}.blend-heading{text-align:center;padding:32px 0 24px}.blend-heading h1{font-family:serif;font-size:27px;font-weight:400;letter-spacing:-1px;margin:16px 0 10px;overflow-wrap:anywhere}.blend-heading p{font-size:12px;color:#898375;line-height:1.8;margin:0 10px}.flip-scene{perspective:1200px;max-width:340px;margin:auto}.blend-flip{display:block;width:100%;aspect-ratio:340/504;background:none;border:0;padding:0;cursor:pointer;border-radius:16px;-webkit-tap-highlight-color:transparent}.flip-inner{display:block;position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.2,.65,.3,1)}.blend-flip[aria-pressed=true] .flip-inner{transform:rotateY(180deg)}.card-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;filter:drop-shadow(0 12px 15px #473a2b12)}.card-face svg{display:block;width:100%;height:100%}.face-back{transform:rotateY(180deg)}.blend-flip:focus-visible{outline:2px solid #767a60;outline-offset:7px}.flip-hint{text-align:center;font-size:10px;letter-spacing:.1px;color:#999080;margin:20px 0}.card-controls{display:grid;grid-template-columns:1.2fr 1fr;gap:9px;max-width:340px;margin:0 auto}.card-controls .btn{padding:12px 7px}.export-meta{display:flex;justify-content:center;gap:25px;margin:16px 0 10px}.export-meta .textlink{font-size:10px;background:transparent;border:0;padding:6px}.export-note{text-align:center;font-size:9px;margin-bottom:28px}.drink-result .notice{margin:20px 0}.blend-strip{display:flex;justify-content:space-between;gap:5px;padding:23px 4px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.blend-strip span{font-size:10px;color:#8c8375;text-align:center}.blend-strip i{display:inline-block;width:5px;height:5px;border-radius:100%;margin:0 4px 2px 0}.blend-strip b{display:block;font:21px Georgia;color:#5b574c;margin-top:7px;font-weight:400}.drink-result>.small-note{font-size:10px;color:#91897b;line-height:1.8}.recipe-section{padding:30px 4px 27px;border-bottom:1px solid var(--line)}.recipe-section h2{font-family:serif;font-size:25px;font-weight:400;letter-spacing:-.6px;margin:13px 0 20px;color:#4c4c3f}.recipe-section p{font-size:13px;line-height:2;color:#797365;word-break:keep-all;overflow-wrap:break-word;margin:16px 0}.ingredient-bars{margin:25px 0}.ingredient-bars>div{display:grid;grid-template-columns:65px 1fr 36px;gap:13px;align-items:center;margin:13px 0;font-size:11px;color:#77705f}.ingredient-bars small{font-size:9px;color:#a39986}.ingredient-bars>div>div{height:5px;background:#eae6dd;border-radius:4px;overflow:hidden}.ingredient-bars i{height:100%;display:block;border-radius:4px}.ingredient-bars b{font:11px monospace;text-align:right}.treat-list{list-style:none;padding:0;margin:22px 0 0}.treat-list li{display:flex;align-items:baseline;gap:14px;padding:14px 0;border-top:1px dashed #ded8cb;font-size:12px;color:#706b5e;line-height:1.8}.treat-list span{font:italic 16px Georgia;color:#a69a83}.blend-next{padding:33px 5px 40px;text-align:center}.blend-next .btn{margin:24px 0 18px}.blend-next .textlink{font-size:12px}.report-blend{text-align:center;background:#f0ede5;border:1px solid #e1dccf;border-radius:14px;padding:30px 14px;margin-bottom:20px}.report-blend h2{font-family:serif;font-size:25px;line-height:1.6;font-weight:400;color:#66604f}.report-drink-art{width:210px;max-width:80%;margin:20px auto;transform:rotate(3deg)}.report-drink-art svg{width:100%;height:auto;display:block}.report-blend p{font-size:11px;color:#8b806c}.report-gate{background:linear-gradient(150deg,#fffdf8,#efede3)}.card{border-color:#e4dfd5;background:#fffdf9}.tabs{gap:18px}.tabs a{font-size:11px}.report-text{color:#756e61}.tip,.action-list li{background:#efeee4;color:#7b745f}.card h2,.key-line{color:#676650}.trait-tabs button{background:#f4f2e9;border-color:#e0dccf;color:#a0937d}.trait-tabs button[aria-selected=true]{background:#e9e8d9;border-color:#a1a386;color:#5b6346}.notice{background:#eeeae0;color:#8e836d}.brandmark{color:#8b7a5e}.end-card{background:#eeece3}footer{border-top:1px solid var(--line)}footer p{color:#8b8274}footer .brand b{font-size:22px}footer small{color:#a39a8b}#birth-entry{scroll-margin-top:80px}button:focus-visible,a:focus-visible{outline:2px solid #828767;outline-offset:4px}
@media(max-width:360px){.blend-intro{padding-left:5px;padding-right:5px}.blend-heading h1{font-size:25px}.card-controls{gap:6px}.card-controls .btn{font-size:11px}.recipe-section p{font-size:12px}.tabs{gap:12px}}
@media(prefers-reduced-motion:reduce){.flip-inner{transition:none}}
@media print{.card-controls,.export-meta,.export-note,.flip-hint,.blend-next{display:none!important}.flip-scene{max-width:340px}.recipe-section{break-inside:avoid}.report-drink-art{width:130px}.blend-flip{display:block!important}.face-back{display:none}.blend-flip[aria-pressed=true] .face-back{display:block}.blend-flip[aria-pressed=true] .face-front{display:none}}
.recipe-stories{max-width:420px;margin:auto}.recipe-section p{font-size:15px;line-height:1.9}.recipe-section .eyebrow{font-size:10px}
/* The paper card keeps its pigment colors in dark surroundings, including exports. */
:root[data-theme=dark]{--bg:#242722;--ink:#eee8db;--line:#494b40}
:root[data-theme=dark] body{color:var(--ink)}
:root[data-theme=dark] header{background:#242722f2}
:root[data-theme=dark] .blend-intro h1,:root[data-theme=dark] .blend-heading h1,:root[data-theme=dark] .blend-about h2,:root[data-theme=dark] .recipe-section h2,:root[data-theme=dark] .blend-next h2{color:#e5dfcf}
:root[data-theme=dark] .recipe-section p,:root[data-theme=dark] .blend-heading p,:root[data-theme=dark] .blend-about p,:root[data-theme=dark] .blend-next p,:root[data-theme=dark] .blend-strip b,:root[data-theme=dark] .treat-list li{color:#c4bdac}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#242722;--ink:#eee8db;--line:#494b40}html:not([data-theme=light]){background:#191c18}:root:not([data-theme=light]) body{color:var(--ink)}:root:not([data-theme=light]) header{background:#242722f2}:root:not([data-theme=light]) .blend-intro h1,:root:not([data-theme=light]) .blend-heading h1,:root:not([data-theme=light]) .blend-about h2,:root:not([data-theme=light]) .recipe-section h2,:root:not([data-theme=light]) .blend-next h2{color:#e5dfcf}:root:not([data-theme=light]) .recipe-section p,:root:not([data-theme=light]) .blend-heading p,:root:not([data-theme=light]) .blend-about p,:root:not([data-theme=light]) .blend-next p,:root:not([data-theme=light]) .blend-strip b,:root:not([data-theme=light]) .treat-list li{color:#c4bdac}}
@media(max-width:375px){.recipe-section p{font-size:14px}}
.card,.form-card,dialog{color:#535548}header .brand{color:#8d806a}
.cup-mark{width:25px;height:31px;display:inline-flex}.cup-mark svg{width:100%;height:100%}.blend-strip small{font-size:9px;opacity:.8}.ingredient-bars>div{grid-template-columns:76px 1fr 36px}.trait-tabs span svg{display:block;width:38px;height:38px;margin:0 auto}.trait-panel .tip{margin-top:22px}.balance-meter{margin:24px 0 20px}.balance-track{height:12px;display:flex;position:relative;border-radius:9px}.balance-track>span:nth-child(1){width:40%;background:#b8cad4;border-radius:9px 0 0 9px}.balance-track>span:nth-child(2){width:20%;background:#d6d4b4}.balance-track>span:nth-child(3){width:40%;background:#8a9b79;border-radius:0 9px 9px 0}.balance-track i{position:absolute;top:-5px;width:8px;height:22px;transform:translateX(-50%);background:#575b45;border:2px solid #fffdf9;border-radius:5px;box-shadow:0 1px 4px #0002}.balance-scale{display:flex;justify-content:space-between;font-size:11px;color:#89917c;margin-top:11px}.balance-meter p{font-size:10px;text-align:center;color:#8f9683}.balance-meter.is-unknown .balance-track{opacity:.4}.purchase-cta{font-size:16px!important;min-height:62px!important;padding:18px 8px!important;margin-top:25px;box-shadow:0 5px 14px #494b3e18}.purchase-once{font-size:11px!important;margin:10px 0!important}.account-status{font-size:11px;color:#8c8374;margin:15px 0}.account-login p{font-size:13px;line-height:1.9}.account-login .btn{margin-top:24px}.shelf-cards>h2{font-size:17px;font-weight:500;margin:26px 3px 16px}.legacy-shelf{margin:28px 0 40px;font-size:12px}.legacy-card{display:flex;flex-wrap:wrap;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.legacy-card span{flex:1}.legacy-card button{font-size:10px}.account-report{display:flex;justify-content:space-between;background:none;border:0;border-bottom:1px solid var(--line);width:100%;padding:15px 0;font-size:13px}.account-report span{font-size:11px}.report-blend>.textlink{font-size:11px}.report-gate .locked-chapters div{padding:13px 0}.blend-strip{gap:3px}.blend-strip span{white-space:nowrap}
.signature-caption{max-width:340px;margin:24px auto;text-align:center}.signature-caption h2{font-family:Georgia,serif;font-weight:400;font-size:26px;overflow-wrap:anywhere;margin:12px 0}.signature-caption p{font-size:14px;line-height:1.9;color:var(--drink-ink)}.signature-caption details{font-size:12px;color:var(--drink-mute);text-align:left}.signature-caption summary{cursor:pointer;text-align:center;padding:10px}.signature-caption details p{font-size:12px}.card-face svg{overflow:hidden}
/* October review: compact title, readable theme colors, one chapter per page. */
.blend-intro h1{font-size:clamp(22px,5.65vw,29px);letter-spacing:-1.3px;white-space:nowrap;line-height:1.5}.blend-intro h1 em{color:#9b654e}.blend-intro>p{font-size:clamp(10px,2.7vw,12px);white-space:nowrap;letter-spacing:-.4px}.signature-caption,.signature-caption h2,.signature-caption p,.signature-caption details,.signature-caption summary{color:var(--ink,#302f2a)}.signature-caption details{opacity:.85}.content>#strength{margin-top:24px}.chart-grid{margin-bottom:24px}
.chapter-menu{margin:24px 0;background:#eee9dd;border:1px solid #dcd4c3;border-radius:16px;padding:16px;color:#514d40}.menu-heading{display:flex;justify-content:space-between;align-items:center;margin:0 2px 15px}.menu-heading>span:last-child{font:9px monospace;color:#817866;letter-spacing:1px}.chapter-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.chapter-choice{display:grid;grid-template-columns:20px 1fr 20px;gap:6px;align-items:center;text-align:left;border:1px solid #ded7c8;border-radius:9px 9px 9px 2px;background:#fffdf8;color:#5d5749;padding:13px 9px;min-height:62px;font:inherit;font-size:12px;line-height:1.5;cursor:pointer}.chapter-choice span:nth-child(2){font-size:12px;word-break:keep-all}.chapter-index{font:italic 16px Georgia;color:#ad8f69}.chapter-choice small{font-size:9px;color:#877b64;text-align:right}.chapter-choice.selected{background:#555d47;border-color:#555d47;color:#fffdf4;box-shadow:0 3px 7px #3a40251a}.chapter-choice.selected .chapter-index,.chapter-choice.selected small{color:#e9d8b5}.reading-page{margin:0;padding:27px 22px;border-radius:3px 16px 16px 16px;box-shadow:0 6px 20px #463b2010}.reading-page-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.reading-page-top>span:last-child{font:10px monospace;color:#928977}.reading-page h2{font-family:serif;font-size:25px;line-height:1.5}.reading-page .report-text{font-size:15px;line-height:1.95}.reading-page .key-line{font-family:serif;font-size:20px;line-height:1.7;margin-bottom:25px}#chapter-reader{scroll-margin-top:80px;outline:none}.reader-pagination,.reader-end{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 26px}.reader-pagination button:disabled{opacity:.35;cursor:default}.reader-end .btn{text-align:center;font-size:11px;padding:14px 5px}.reader-note{text-align:center}.takeaway-card{margin:28px 0;padding:20px}.takeaway-card summary{display:grid;grid-template-columns:1fr auto;gap:9px;cursor:pointer;list-style:none}.takeaway-card summary .eyebrow{grid-column:1/-1}.takeaway-card strong{font-size:14px;font-weight:500}.takeaway-card p{font-size:12px;line-height:1.8}.report-card-fold{font-size:12px;color:var(--ink);margin:30px 0}.report-card-fold>summary{padding:16px;text-align:center;cursor:pointer}.report-card-fold .report-blend{margin-top:16px}.trait-tabs span svg{width:42px;height:42px}.trait-panel{padding-top:12px}.report-reader-wrap .page-title h1{font-size:27px;line-height:1.5}.report-reader-wrap .page-title p{font-size:13px;line-height:1.8}
@media(max-width:360px){.chapter-choice{grid-template-columns:18px 1fr;gap:4px;padding:10px 7px}.chapter-choice small{display:none}.chapter-choice span:nth-child(2){font-size:11px}.reading-page{padding:23px 17px}}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .blend-intro h1 em{color:#d8ad8c}:root:not([data-theme=light]) .blend-intro>p{color:#c4bdac}}
:root[data-theme=dark] .blend-intro h1 em{color:#d8ad8c}:root[data-theme=dark] .blend-intro>p{color:#c4bdac}
