/* BCS Handbook — isolated, responsive standalone page */
.bcs-handbook-page{--hb-wine:#421a2b;--hb-deep:#2b101c;--hb-wine-2:#64213e;--hb-gold:#e9c58e;--hb-tan:#b77b52;--hb-paper:#fbf8f4;--hb-line:#e9d9cf;--hb-ink:#351f2b;--hb-muted:#6e6068;color:var(--hb-ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
.bcs-handbook-page *,.bcs-handbook-page *::before,.bcs-handbook-page *::after{box-sizing:border-box}
.bcs-handbook-page .hb-shell{width:min(1220px,calc(100% - clamp(36px,9vw,142px)));margin-inline:auto}
.bcs-handbook-page a{text-decoration:none}.bcs-handbook-page a:focus-visible,.bcs-handbook-page button:focus-visible,.bcs-handbook-page input:focus-visible{outline:3px solid #d5a96c;outline-offset:3px}
.bcs-handbook-page h1,.bcs-handbook-page h2,.bcs-handbook-page h3,.bcs-handbook-page p{margin-top:0}
.bcs-handbook-page .hb-hero{background:radial-gradient(circle at 82% 35%,#773b50 0%,transparent 38%),linear-gradient(120deg,#2b111e 0%,#4f2034 60%,#5b2940 100%);color:#fff;overflow:hidden}
.bcs-handbook-page .hb-hero-grid{min-height:505px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);align-items:center;gap:45px;padding-top:30px;padding-bottom:47px}
.bcs-handbook-page .hb-breadcrumb{display:flex;gap:12px;align-items:center;font-size:12px;color:#dfc2ce;margin-bottom:58px;flex-wrap:wrap}
.bcs-handbook-page .hb-breadcrumb a{color:#fff}.bcs-handbook-page .hb-breadcrumb span[aria-current]{color:#efd6b0}
.bcs-handbook-page .hb-kicker,.bcs-handbook-page .hb-overline{display:block;font-weight:800;font-size:11px;letter-spacing:.18em;color:#dfac72;margin-bottom:16px}
.bcs-handbook-page .hb-hero h1{font-size:clamp(48px,5.7vw,78px);font-weight:850;letter-spacing:-.052em;line-height:1.04;margin-bottom:22px;color:#fff}
.bcs-handbook-page em{font-family:Georgia,serif;font-style:italic;font-weight:400;color:var(--hb-gold)}
.bcs-handbook-page .hb-subtitle{font-size:clamp(19px,1.8vw,24px);line-height:1.45;max-width:660px;color:#fff2e9;margin-bottom:14px}
.bcs-handbook-page .hb-hero-caption{max-width:600px;color:#e4ced8;line-height:1.75;font-size:15px;margin-bottom:27px}
.bcs-handbook-page .hb-hero-actions{display:flex;gap:13px;flex-wrap:wrap}
.bcs-handbook-page .hb-btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:999px;font-weight:770;font-size:14px;gap:15px;transition:transform .2s,background .2s}
.bcs-handbook-page .hb-btn:hover{transform:translateY(-2px)}
.bcs-handbook-page .hb-btn-gold{background:#f0ce99;color:#351727}.bcs-handbook-page .hb-btn-gold:hover{background:#ffe3b8;color:#351727}
.bcs-handbook-page .hb-btn-outline-light{border:1px solid #a87c83;color:#fff}.bcs-handbook-page .hb-btn-outline-light:hover{background:#fff2e7;color:#381727}
.bcs-handbook-page .hb-book-visual{height:405px;display:grid;place-items:center;position:relative;perspective:1000px}
.bcs-handbook-page .hb-book-visual::before{content:"";width:430px;height:430px;border:1px solid rgba(237,201,147,.19);border-radius:50%;position:absolute}
.bcs-handbook-page .hb-book-back{position:absolute;width:270px;height:346px;transform:translate(14px,15px) rotate(10deg);background:#9f7959;border-radius:9px;box-shadow:0 20px 60px #16091355}
.bcs-handbook-page .hb-book-front{width:273px;height:353px;transform:rotate(-5deg);background:linear-gradient(140deg,#fffef9,#ead8c0);padding:12px;border-radius:9px;box-shadow:0 25px 65px #13081380}
.bcs-handbook-page .hb-book-border{height:100%;width:100%;border:1px solid #d4b996;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;color:#571d36}
.bcs-handbook-page .hb-book-small{font-size:9px;letter-spacing:.13em;font-weight:850;max-width:200px;line-height:1.8}.bcs-handbook-page .hb-book-symbol{font-size:58px;line-height:1;color:#7f3150;margin:18px 0}
.bcs-handbook-page .hb-book-border strong{font-family:Georgia,serif;font-weight:700;font-size:33px;line-height:1.08}
.bcs-handbook-page .hb-book-border small{margin-top:14px;font-size:10px;font-weight:700;letter-spacing:.05em}.bcs-handbook-page .hb-book-rule{width:55px;height:1px;background:#bc9567;margin-top:18px}.bcs-handbook-page .hb-book-motto{font-size:10px;letter-spacing:.1em;margin-top:14px}
.bcs-handbook-page .hb-intro-wrap{padding:63px 0;background:#f3eae1}
.bcs-handbook-page .hb-intro-row{display:grid;grid-template-columns:1fr .8fr;align-items:center;gap:90px}
.bcs-handbook-page .hb-intro-row h2{font-size:clamp(27px,2.7vw,38px);font-weight:820;letter-spacing:-.035em;line-height:1.18;color:#451b2e;margin-bottom:14px;max-width:580px}
.bcs-handbook-page .hb-intro-row p{color:#6d5b64;line-height:1.8;font-size:15px;margin:0}
.bcs-handbook-page blockquote{font:italic 20px/1.6 Georgia,serif;color:#5e3548;border-left:3px solid #c2955f;padding-left:22px;margin:0}.bcs-handbook-page blockquote cite{display:block;font:700 12px/1.5 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.025em;margin-top:14px;color:#866156}
.bcs-handbook-page .hb-library{background:var(--hb-paper);padding:82px 0 90px}
.bcs-handbook-page .hb-heading-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:25px}
.bcs-handbook-page .hb-heading-row h2{font-size:clamp(31px,3.4vw,48px);letter-spacing:-.045em;line-height:1.13;font-weight:850;color:#3c1a2b;margin-bottom:10px}
.bcs-handbook-page .hb-heading-row h2 em{color:#a66a4a}.bcs-handbook-page .hb-heading-row p{font-size:15px;color:#75636d;line-height:1.7;margin:0}
.bcs-handbook-page .hb-count{white-space:nowrap;font-size:12px;font-weight:750;background:#fff;border:1px solid #e5d4ca;color:#7b455a;padding:12px 16px;border-radius:99px}
.bcs-handbook-page .hb-search{background:#fff;border:1px solid var(--hb-line);border-radius:16px;padding:17px 20px;margin-bottom:27px;box-shadow:0 9px 22px #4d1e2d09}
.bcs-handbook-page .hb-search>label{display:block;color:#51253c;font-weight:790;font-size:12px;margin-bottom:9px}
.bcs-handbook-page .hb-search-controls{display:flex;gap:10px}
.bcs-handbook-page .hb-search input{flex:1;min-width:0;background:#fdfbf9;border:1px solid #eadfd9;border-radius:10px;padding:14px 15px;font-size:15px;color:#351927}
.bcs-handbook-page .hb-search button{background:#69233f;color:#fff;font-weight:800;font-size:13px;border:0;border-radius:10px;padding:13px 18px;cursor:pointer;white-space:nowrap}
.bcs-handbook-page .hb-search button:hover{background:#421426}
.bcs-handbook-page .hb-chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bcs-handbook-page .hb-chapter-card{min-width:0;min-height:245px;display:flex;flex-direction:column;background:#fff;border:1px solid #eadbd0;padding:22px;border-radius:16px;color:#3d2331;box-shadow:0 8px 21px #4d1d2b08;transition:transform .2s,box-shadow .2s,border-color .2s}
.bcs-handbook-page .hb-chapter-card:hover{transform:translateY(-4px);box-shadow:0 17px 32px #4d1d2b15;border-color:#d7b38a;color:#3d2331}
.bcs-handbook-page .hb-card-top{display:flex;justify-content:space-between;align-items:center}.bcs-handbook-page .hb-card-index{font-size:11px;font-weight:900;color:#aa7858;letter-spacing:.18em}.bcs-handbook-page .hb-card-arrow{display:grid;place-items:center;width:31px;height:31px;border:1px solid #eddacf;border-radius:50%;color:#854661;font-size:18px}
.bcs-handbook-page .hb-card-icon{display:grid;place-items:center;background:#f9efe5;color:#70233f;width:47px;height:47px;border-radius:13px;font-size:26px;margin:10px 0 12px}
.bcs-handbook-page .hb-chapter-card strong{font-size:18px;font-weight:830;letter-spacing:-.025em;line-height:1.3;margin-bottom:7px}
.bcs-handbook-page .hb-card-copy{font-size:13px;color:#776972;line-height:1.58;flex:1}
.bcs-handbook-page .hb-card-bottom{border-top:1px solid #f0e4db;display:flex;justify-content:space-between;align-items:center;padding-top:13px;margin-top:17px;color:#73253e;font-weight:800;font-size:12px}
.bcs-handbook-page .hb-reader-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}
.bcs-handbook-page .hb-reader-toc{position:sticky;top:115px;background:#fff;border:1px solid var(--hb-line);border-radius:15px;padding:18px 12px;max-height:calc(100vh - 130px);overflow-y:auto}
.bcs-handbook-page .hb-toc-title{color:#a27a63;display:flex;justify-content:space-between;gap:5px;padding:0 11px 15px;font-weight:900;font-size:10px;letter-spacing:.12em}
.bcs-handbook-page .hb-toc-title span{font-weight:700;letter-spacing:0}
.bcs-handbook-page .hb-toc-items{display:flex;flex-direction:column;gap:3px}
.bcs-handbook-page .hb-toc-items a{color:#66555f;padding:11px 12px;border-radius:8px;line-height:1.3;font-size:13px;font-weight:600}
.bcs-handbook-page .hb-toc-items a:hover,.bcs-handbook-page .hb-toc-items a[aria-current="page"]{background:#f6ece8;color:#64263f;font-weight:850}
.bcs-handbook-page .hb-reader-paper{background:#fff;border:1px solid var(--hb-line);border-radius:16px;padding:clamp(24px,4vw,60px);min-width:0;box-shadow:0 12px 32px #5726370c}
.bcs-handbook-page .hb-reader-breadcrumb{font-size:12px;margin-bottom:37px;color:#957681}.bcs-handbook-page .hb-reader-breadcrumb a{color:#723f58;font-weight:700}
.bcs-handbook-page .hb-reader-kicker{font-weight:900;font-size:11px;letter-spacing:.14em;color:#b78059;margin-bottom:14px}
.bcs-handbook-page .hb-reader-paper h2#hb-chapter-title{font-size:clamp(32px,3.6vw,48px);line-height:1.14;letter-spacing:-.04em;font-weight:830;margin-bottom:12px;color:#4f2035}
.bcs-handbook-page .hb-reader-deck{color:#816d77;font-size:15px;line-height:1.7;border-bottom:1px solid #e9ddd4;padding-bottom:27px;margin-bottom:31px}
.bcs-handbook-page .hb-read-content{max-width:780px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(17px,1.4vw,18px);line-height:1.9;color:#3e3540;overflow-wrap:anywhere}
.bcs-handbook-page .hb-read-content p{margin-bottom:1.22em;scroll-margin-top:125px}
.bcs-handbook-page .hb-read-content h2.hb-article-heading{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(20px,2vw,26px);font-weight:850;line-height:1.3;color:#612340;letter-spacing:-.027em;margin:31px 0 16px;scroll-margin-top:125px}
.bcs-handbook-page .hb-chapter-pager{border-top:1px solid #e8d9cf;display:flex;justify-content:space-between;gap:15px;margin-top:40px;padding-top:20px}
.bcs-handbook-page .hb-chapter-pager a{display:flex;flex-direction:column;gap:6px;padding:14px;flex:1;border:1px solid #f1e6e1;border-radius:12px;color:#4b2236;max-width:49%}
.bcs-handbook-page .hb-chapter-pager a:last-child{text-align:right;margin-left:auto}
.bcs-handbook-page .hb-chapter-pager span{font-size:11px;color:#9d796e;font-weight:800}.bcs-handbook-page .hb-chapter-pager strong{font-size:13px}
.bcs-handbook-page .hb-results{border:1px solid #e7d5c7;border-radius:15px;padding:21px;background:#fff9f3;margin-bottom:28px}
.bcs-handbook-page .hb-results-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.bcs-handbook-page .hb-results-title h3{font-size:20px;color:#56223b;margin:0 0 15px}.bcs-handbook-page .hb-results-title a{font-size:13px;color:#803d54;font-weight:800}
.bcs-handbook-page .hb-result-grid{display:grid;gap:9px}.bcs-handbook-page .hb-result{display:block;background:#fff;border:1px solid #e8dcd3;padding:16px;border-radius:9px;color:#39232f}.bcs-handbook-page .hb-result span{font-size:11px;font-weight:800;color:#a16c4b}.bcs-handbook-page .hb-result p{margin:7px 0;font-size:14px;line-height:1.6}.bcs-handbook-page .hb-result small{color:#6f2946;font-weight:800}
.bcs-handbook-page .hb-no-results{color:#78646c;font-size:14px}
.bcs-handbook-page .hb-source-note{display:flex;gap:12px;align-items:flex-start;max-width:1000px;margin-top:30px;background:#f3ece6;border:1px solid #e7dcd1;border-radius:12px;padding:15px 18px;color:#6f5c65;font-size:13px;line-height:1.7}.bcs-handbook-page .hb-source-note span{font-size:20px;color:#8a4c5f;line-height:1.2}.bcs-handbook-page .hb-source-note p{margin:0}
.bcs-handbook-page .hb-ending{background:#f1e9df;border-top:1px solid #e2d3c8;padding:66px 0 76px}
.bcs-handbook-page .hb-ending-grid{display:flex;justify-content:space-between;align-items:center;gap:40px}.bcs-handbook-page .hb-ending h2{font-size:clamp(29px,3.3vw,43px);max-width:700px;letter-spacing:-.04em;line-height:1.18;font-weight:830;color:#491f33;margin-bottom:10px}.bcs-handbook-page .hb-ending h2 em{color:#a46a48}.bcs-handbook-page .hb-ending p{color:#75616d;line-height:1.7;font-size:14px;margin:0}.bcs-handbook-page .hb-ending-links{display:grid;gap:12px;min-width:185px}.bcs-handbook-page .hb-ending-links a{padding:12px 14px;border:1px solid #8b6170;border-radius:12px;text-align:center;color:#64273d;font-size:13px;font-weight:820}.bcs-handbook-page .hb-ending-links a:hover{background:#63233d;color:#fff}
@media(max-width:1050px){.bcs-handbook-page .hb-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bcs-handbook-page .hb-hero-grid{gap:17px}.bcs-handbook-page .hb-intro-row{gap:40px}}
@media(max-width:760px){.bcs-handbook-page .hb-shell{width:calc(100% - 38px)}.bcs-handbook-page .hb-hero-grid{grid-template-columns:1fr;padding:27px 0 25px}.bcs-handbook-page .hb-breadcrumb{margin-bottom:36px}.bcs-handbook-page .hb-book-visual{height:265px;transform:scale(.74);margin:-28px 0 -45px}.bcs-handbook-page .hb-intro-row{grid-template-columns:1fr;gap:26px}.bcs-handbook-page .hb-library{padding:55px 0}.bcs-handbook-page .hb-heading-row{align-items:start;flex-direction:column}.bcs-handbook-page .hb-reader-layout{grid-template-columns:1fr}.bcs-handbook-page .hb-reader-toc{position:static;max-height:210px}.bcs-handbook-page .hb-ending-grid{align-items:flex-start;flex-direction:column}.bcs-handbook-page .hb-ending-links{min-width:0;width:100%;max-width:320px}}
@media(max-width:520px){.bcs-handbook-page .hb-hero h1{font-size:clamp(48px,13vw,66px)}.bcs-handbook-page .hb-chapter-grid{grid-template-columns:1fr}.bcs-handbook-page .hb-chapter-card{min-height:205px}.bcs-handbook-page .hb-search-controls{flex-direction:column}.bcs-handbook-page .hb-search button{width:100%}.bcs-handbook-page .hb-intro-wrap{padding:47px 0}.bcs-handbook-page blockquote{font-size:18px}.bcs-handbook-page .hb-chapter-pager{flex-direction:column}.bcs-handbook-page .hb-chapter-pager a{max-width:none;width:100%}.bcs-handbook-page .hb-chapter-pager a:last-child{text-align:left}}
@media(prefers-reduced-motion:reduce){.bcs-handbook-page *{transition:none!important}}
