.bean-library{--stroke:#cbb8d9;--plum:#3a2458;--leaf:#266863}
.bean-reading{padding-top:20px;padding-bottom:78px}
.bean-breadcrumb ol{list-style:none;margin:0 0 19px;padding:0;display:flex;gap:10px;flex-wrap:wrap;font-weight:650;font-size:.84rem}
.bean-breadcrumb li+li::before{content:"›";margin-right:10px;color:#654b7e}
.bean-breadcrumb a{display:inline-block;line-height:1.7}
.bean-intro{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 48px;
 padding:clamp(24px,6vw,65px);border:1px solid #b9a2d4;border-radius:42px 22px 50px 23px;
 background:radial-gradient(circle at 88% 55%,#ffedaf 0 9%,transparent 10%),
 repeating-linear-gradient(0deg,#7f5ca310 0 1px,transparent 1px 25px),#e8ddf7;
}
.bean-intro h1{font-size:clamp(2.8rem,7.6vw,6.65rem);color:var(--plum)}
.bean-intro p{margin-top:14px;max-width:52ch;color:#483961;font-size:clamp(1.02rem,1.7vw,1.24rem)}
.bean-intro img{width:clamp(72px,16vw,150px);border-radius:50%;border:5px solid #fff5da;outline:2px dashed #8466a3;outline-offset:2px;transform:rotate(9deg)}
.bean-search{margin:22px 0;max-width:740px}
.bean-search .guide-search-line input{max-width:none}
#bean-count{min-height:1.6em;margin-top:6px;font-size:.88rem;font-weight:680;color:#524365}
.bean-shelves ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:18px 0 40px}
.bean-shelves li{padding:9px 11px;border-radius:9px 21px 14px 8px;border:1px solid #cdb9dd;background:#f1e6fb}
.bean-shelves li:nth-child(3n+2){background:#e8f2e8;border-color:#b5cdbb}
.bean-shelves li:nth-child(3n){background:#faeed4;border-color:#d7c29d}
.bean-shelves li a{display:inline-flex;align-items:center;min-height:40px;font-weight:780}
.bean-shelves li p{font-size:.85rem;color:#4e425e;line-height:1.34;padding:0 0 3px}
.bean-feature{max-width:100%;padding:22px 24px;background:#e7f1e8;border:1px solid #b1c6b5;border-radius:15px 24px 15px 24px}
.bean-feature h2,.bean-chapter h2{font-size:clamp(2rem,4vw,3.15rem);margin-bottom:10px}
.bean-entries{list-style:none;margin:0;padding:0;min-width:0}
.bean-entries li{padding:11px 0;border-bottom:1px dashed #c6b6d1;overflow-wrap:anywhere}
.bean-entries li:last-child{border-bottom:0}
.bean-entries a{display:inline-block;min-height:36px;font-weight:760;font-size:1.05rem;line-height:1.4;padding:4px 0;color:#362555}
.bean-entries a:hover{color:#266863}
.bean-entries p{color:#534760;font-size:.93rem;max-width:65ch}
.bean-chapter{padding:34px 0 7px}
.bean-chapter>h2{padding-bottom:10px;border-bottom:2px solid #ab8bc2}
.bean-shelf-results{margin:12px 0 18px;max-width:900px;padding:14px 17px;border-left:4px solid #85ad9c;background:#fffdf8}
.bean-shelf-results h3{font-size:1.59rem}
.bean-shelf-entries{max-width:900px;padding:5px 9px 0;margin:20px 0}
.bean-return,.bean-footer{display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between;padding-block:16px}
.bean-return a,.bean-footer a:last-child{min-height:44px;display:inline-flex;align-items:center;font-weight:720}
.bean-article{max-width:1000px}
.bean-article-head{border-top:5px solid #84b2a6;padding:17px 0 12px}
.bean-subject{display:inline-block;background:#e8daf7;border-radius:4px 10px 4px 6px;padding:5px 10px;font-size:.78rem;font-weight:800}
.bean-article h1{font-size:clamp(2.55rem,6.4vw,5.25rem);margin:10px 0;max-width:23ch;text-wrap:balance}
.bean-byline{font-size:.84rem;font-weight:700;color:#59476d;margin-bottom:12px}
.bean-answer{background:#e3f1e6;border-left:5px solid #518b7d;border-radius:0 13px 13px 0;padding:12px 17px;max-width:740px;font-size:clamp(1.03rem,1.6vw,1.21rem);line-height:1.54}
.bean-answer strong{display:block;text-transform:uppercase;font-size:.72rem;letter-spacing:.1em;color:#3f665c;margin-bottom:4px}
.bean-article-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.95fr);gap:21px 43px;align-items:start}
.bean-prose{padding:4px 2px 0;min-width:0}
.bean-prose h2,.bean-source h2,.bean-related h2{font-size:clamp(1.65rem,3vw,2.28rem);margin:21px 0 8px}
.bean-prose p{font-size:1.032rem;line-height:1.65;max-width:60ch}
.bean-card{margin-top:18px;background:#efe3f9;border:1px solid #bea8d2;border-radius:14px 24px 13px 10px;padding:18px;box-shadow:4px 4px 0 #e1d0e9}
.bean-card h2{font-size:2rem;margin-bottom:10px}
.bean-card-fields{display:grid;gap:10px}
.bean-card label{display:grid;gap:4px;font-size:.87rem;font-weight:740}
.bean-card input{min-width:0;width:100%;min-height:42px;border:1px solid #bba7d0;border-radius:6px;background:#fffbf3;color:#34234e;padding:6px 8px}
.bean-privacy{color:#5e4f73;font-size:.83rem;margin:10px 0}
.bean-source,.bean-related{margin-top:20px;padding:3px 15px 11px;background:#f2ecf6;border-left:3px solid #9374ad;border-radius:0 11px 11px 0}
.bean-related{background:#e9f1e7;border-color:#80a38d}
.bean-source ul,.bean-related ul{margin:0;padding-left:21px}
.bean-source a,.bean-related a{display:inline-flex;align-items:center;min-height:40px;font-size:.92rem}
@media(max-width:850px){.bean-shelves ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
 .bean-reading{padding-top:12px;padding-bottom:37px}
 .bean-shelves ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bean-article-grid{grid-template-columns:1fr;gap:7px}
 .bean-intro{padding:23px 15px;gap:9px;border-radius:23px 15px 28px 14px}
 .bean-intro h1{font-size:clamp(2.5rem,9.1vw,4.56rem)}
 .bean-intro img{border-width:3px}
 .bean-feature{padding:14px}.bean-article-head{padding-top:10px}
}
@media print{
 .bean-library header.mast,.bean-library footer,.bean-breadcrumb,.bean-related,.bean-print,.bean-privacy{display:none!important}
 .bean-reading{width:100%;padding:0}.bean-article-grid{display:block}
 .bean-card,.bean-answer,.bean-source{background:white;border:1px solid #555;box-shadow:none}
 .bean-card{break-inside:avoid}.bean-card input{border:0;border-radius:0;border-bottom:1px solid #555;background:white}
}
.bean-shelf-first{margin:16px 0;background:#e7f1e8;border:1px solid #a9c4b3;border-radius:0 13px 13px 0;border-left:4px solid #6ea28f;padding:11px 15px}
.bean-shelf-first strong{display:inline-block;margin-right:6px}
.bean-jumps{display:flex;flex-wrap:wrap;gap:1px 13px;margin-top:13px;font-size:.86rem;font-weight:720}
.bean-jumps a{display:inline-flex;align-items:center;min-height:44px}
.bean-decisions{margin-top:23px;padding:11px 16px 5px;background:#eaf2e7;border:1px solid #b5c8b4;border-radius:0 16px 16px 0;border-left:4px solid #6d9d84}
.bean-decisions h2{margin:8px 0 10px;font-size:clamp(1.54rem,3.4vw,2.08rem)}
.bean-decisions dl{margin:0}
.bean-decisions dl>div{padding:11px 0 12px;border-top:1px dashed #acbfb0}
.bean-decisions dt{font-size:.92rem;font-weight:800;color:#314f40}
.bean-decisions dd{margin:4px 0 0;font-size:1rem;line-height:1.56}
.bean-article #choices,.bean-article #bean-card-heading,.bean-article #bean-sources{scroll-margin-top:16px}
@media print{.bean-jumps{display:none}.bean-decisions{background:white}.bean-decisions dl>div{break-inside:avoid}}

.bean-prose .story-note h2{margin:0 0 .55rem}
