/* Blood Vintners: a legible nocturnal workbook, with a separate paper sheet. */
:root{--ink:#100e12;--panel:#1b171d;--raised:#241e26;--line:#51414a;--muted:#c0b3ba;--paper:#f1e9df;--gold:#d2b48a;--blood:#9d3448;--bright:#e78d9b}
body{background:radial-gradient(ellipse at 85% 0,#3c192733,transparent 50%),var(--ink);color:var(--paper);font:16px/1.6 'Segoe UI',sans-serif}
::selection{background:#853247;color:#fff}button{border-color:var(--line);border-radius:5px}button:hover:not(:disabled){background:#34212c;border-color:var(--bright)}button.primary{background:#962f44;color:#fff3ec;border-color:#be5367;font-weight:650}button.primary:hover{background:#b13b54}button:disabled{opacity:.43}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #e8bc91;outline-offset:3px}
a{color:var(--gold)}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:2.7rem;letter-spacing:-.045em}h2{font-size:clamp(2rem,3vw,3.3rem)}h3{font-size:1.55rem}.eyebrow{color:var(--gold);font-size:.67rem;letter-spacing:.15em}.masthead{background:#130f14;border-bottom:1px solid #743044;min-height:88px;padding:1rem 2.5vw}.brand{font-size:1.07rem;color:var(--paper)}.brand span{color:var(--muted)}.save-area{font-size:.8rem}#save-status{color:#d1c0c7}
.layout{max-width:1720px;grid-template-columns:235px minmax(0,1fr) 235px;gap:0}.journey{padding:2.5rem 1.5rem;border-color:#372833}.journey h1{font-size:2.5rem;line-height:1.05}.invitation{color:var(--muted);font-size:.8rem}#steps{gap:4px;margin:2rem 0}#steps button{font-size:.85rem;color:#c9bac2;padding:.75rem .6rem;gap:.8rem}#steps button span{color:var(--gold)}#steps button[aria-current=step]{background:linear-gradient(90deg,#61223780,#3a202640);border-color:#9d5365;color:#fff0e8;border-left:3px solid #e28e9d}.local-note{color:#c1adb7;line-height:1.7}.journey{align-self:start;position:sticky;top:0}
main{padding:2.4rem clamp(1.3rem,3vw,3rem);min-width:0}.chapter{margin-bottom:.8rem}.draft-badge{border-color:#795461;color:#ddbac5}p.intro{color:#cbbfc5;font-size:.95rem;max-width:72ch;margin:1rem 0 1.8rem}#editor{gap:1.4rem}input,textarea,select{border-color:#69535e;background:#120f15;color:#fff4ec;border-radius:4px;min-height:48px}input::placeholder,textarea::placeholder{color:#aa97a2}textarea{min-height:115px}.field>span{color:#eee0e4;font-size:.88rem}.field-help,small{color:#c0adb9;font-size:.8rem}.field-help{line-height:1.65}.wide{grid-column:1/-1}
.profile-banner{background:#1a141b;border-color:#51313e;font-size:.76rem;margin-bottom:1.8rem;padding:.85rem 1rem}.profile-banner p{color:#cbb5bf}.profile-banner button{font-size:.7rem;min-height:38px}.profile-notes{color:var(--paper)}.snapshot{position:sticky;top:1.8rem;background:linear-gradient(145deg,#271924,#181219);border:1px solid #70505d;margin:2.4rem 1.2rem 1rem 0;padding:1.25rem}.seal{border-color:#be8e72;color:#dab08a;width:65px;height:65px;border-radius:0;transform:rotate(45deg);font:italic 32px Georgia,serif;margin:1.7rem auto}.snapshot .seal{transform:none;border-radius:50%;box-shadow:0 0 0 6px #38242c,0 0 0 7px #72515e}.snapshot h2{font-size:1.75rem}.snapshot p:not(.eyebrow){color:#d0c0c8}.snapshot dl{border-color:#65414f}.snapshot dt{color:#d5b192}.snapshot dd{color:#f1e1e7}.snapshot-traits{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.snapshot-traits div{padding:.5rem;background:#130e15;border:1px solid #4f3542}.snapshot-traits span{display:block;font-size:.62rem;color:#c5a6b4}.snapshot-traits strong{font:1.5rem Georgia,serif}.aside-note{border-color:#61404f}.aside-note p{color:#dfbf9b!important}.aside-note span{color:#baa5b0}
.explanation{background:#241a22;border-color:#b26d78;color:#e0d0d8;font-size:.87rem}.builder-heading p{color:#c9b6c1;font-size:.9rem}.builder-row,.power-slot{background:#1d151e;border-color:#654551;border-radius:5px}.power-slot>p{color:#e9bc91}.power-help{color:#ded1d8;font-size:.9rem}.power-slot{padding:1.3rem}.remove-row{color:#f0b2b3}.player-guide{background:#1d151e;border-color:#563c49;color:#d6c4cf;border-radius:5px;font-size:.88rem}.player-guide>summary{color:#e7cda7;padding:.85rem 1rem;font-size:.87rem}.player-guide>summary:hover{background:#31202b}.player-guide[open]>summary{border-color:#634452}.guide-cards article{border-color:#654854}.guide-cards h4,.clan-detail h4{color:#e5bc9e}.play-example{border-color:#ac6e7e;color:#d2beca;font-size:.86rem}.clan-detail{line-height:1.8}.clan-detail p{font-size:.87rem}.role-card{border-color:#624650;background:#1d151d;border-radius:5px;padding:1.2rem}.role-card:has(input:checked){background:#4e203280;border-color:#c57c89}.role-card strong{font-size:.91rem}.role-card small{font-size:.82rem;color:#cbb7c3}.role-card input{accent-color:#c05671}.checks{background:#21171f;border-color:#b47783;color:#ddcbd6;font-size:.83rem;padding:1.1rem}.checks h3{color:#eac6b5}.checks details{margin-top:.65rem}.checks summary{cursor:pointer;color:#e7cda7;min-height:32px}.checks li{margin:.4rem 0}.step-footer{border-color:#613746;margin-top:2rem;padding-top:1.3rem}.step-footer p{color:#bf9fac}.step-footer .primary{min-width:155px}#message{background:#402731;border-color:#c07889;color:#ffedef}.review-notice{color:#cbbac4}.text-button{border:0;padding:.3rem .4rem;background:transparent;font-size:.76rem;color:#ddb4be;min-height:36px}
.substeps{grid-column:1/-1;display:flex;gap:5px;border-bottom:1px solid #714654;padding-bottom:1rem;margin-bottom:.4rem}.substeps button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;border-color:#4f3745;font-size:.85rem;color:#c9b5c1;padding:.6rem .5rem}.substeps button>span{border:1px solid #735361;border-radius:50%;width:24px;height:24px;font-size:.72rem;display:grid;place-items:center;flex-shrink:0}.substeps button[aria-current=step]{color:#ffece2;border-color:#bb6b7b;background:#60233866}.substeps button[aria-current=step]>span{background:#a9475d;border-color:#a9475d}
.allocation,.ritual-picker,.chosen-list,.catalog-layout,.catalog-toolbar,.catalog-grid,.budget-grid,.xp-shop,.section-heading,.section-copy,.catalog-toolbar+.section-copy{grid-column:1/-1;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:.2rem 0 1rem}.section-heading h3{margin-top:.3rem;font-size:1.9rem}.completion-pill{display:inline-block;white-space:nowrap;background:#432332;color:#efd4bd;border:1px solid #9f6071;font-size:.76rem;padding:.4rem .65rem;border-radius:3px}.section-copy{font-size:.89rem;line-height:1.75;color:#d2beca;margin:.5rem 0 1rem}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1.5rem 0}.choice-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:.6rem;background:#211820;border:1px solid #684550;padding:1rem;min-width:0;height:100%;border-radius:5px}.choice-card strong{font-family:Georgia,serif;font-weight:400;font-size:1.23rem;color:#f4e5db}.choice-card>span:not(.eyebrow){font-size:.84rem;line-height:1.6;color:#d1bdc8}.choice-card small{font-size:.77rem}.choice-card.selected{background:linear-gradient(125deg,#522237,#2b1b29);border-color:#d08d9c;box-shadow:inset 3px 0 #d38798}.choice-card b{font-size:.76rem;color:#f3c59b;margin-top:auto}.choice-card.selected b{color:#ffd9df}.choice-card:disabled{opacity:.57}.allocation-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:1.2rem 0 1.5rem;position:sticky;top:0;z-index:2;background:#100e12ef;padding:.65rem 0}.rating-token{display:flex;flex-direction:column;align-items:center;text-align:center;padding:.7rem .3rem;border:1px solid #a46a7d;border-radius:5px;background:#3f1d2d;gap:.3rem}.rating-token>span:first-child{font-size:.69rem;color:#e0bda9}.rating-token strong{font-size:.74rem;font-weight:500;color:#fae9de}.rating-token.used{background:#1f1820;border-color:#4e3b47}.rating-token.used strong{color:#a391a0}.mini-dots{color:#efb7bf;font-size:.86rem;letter-spacing:2px}.trait-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.trait-groups>section>h4{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:#d1af8c;font-weight:500;border-bottom:1px solid #88616f;padding:0 0 .6rem;margin:0 0 .9rem}.trait-card{border:1px solid #503746;padding:1rem .75rem;background:#1d151f;border-radius:5px;margin-bottom:.7rem}.trait-top{display:flex;justify-content:space-between;gap:.5rem}.trait-top strong{font-size:.9rem;font-weight:600}.trait-value{font-family:Georgia,serif;font-size:1.1rem;color:#e7bda3}.trait-card>p{font-size:.78rem;line-height:1.65;color:#cbb6c4;min-height:3.5em;margin:.4rem 0}.trait-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.1rem}.dot-picker{display:flex;gap:0}.dot-picker button{padding:0;border:0;border-radius:50%;width:30px;min-height:40px;background:transparent;color:#725c6c}.dot-picker button span{font-size:22px}.dot-picker .filled{color:#edabbc;text-shadow:0 0 12px #a3335c55}.dot-picker button:hover:not(:disabled){background:#6d304b}.dot-picker button:disabled{opacity:.3}.trait-card details{border-top:1px solid #4f3747;margin-top:.6rem;padding-top:.4rem}.trait-card summary{font-size:.72rem;color:#d8b893;cursor:pointer;min-height:30px}.trait-card details p{font-size:.76rem;color:#cfbaca}.over-budget{border-color:#ed796f!important}.inline-warning{padding:.8rem;border:1px solid #d67570;background:#572a30;color:#ffe8d9;font-size:.84rem;margin:1rem 0}
.budget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.budget-grid>div{padding:.85rem 1rem;border:1px solid #825565;background:linear-gradient(130deg,#35202c,#1e161f);border-radius:5px}.budget-grid span,.budget-grid small{display:block;font-size:.71rem;color:#d3b2c0}.budget-grid strong{display:block;font:2.5rem/1.3 Georgia,serif;color:#ffe1ce}.chosen-list{margin:.5rem 0 1rem}.chosen-list h3{font-size:1.3rem;margin-bottom:.8rem}.empty-state{padding:1rem;border:1px dashed #694252;color:#c8aab9;font-size:.85rem}.automatic-package{background:#251e27;border:1px solid #534354;padding:.8rem 1rem;margin-bottom:.9rem}.automatic-package p{display:flex;justify-content:space-between;gap:1rem;font-size:.8rem;margin-top:.4rem}.automatic-package p span{color:#d3b1bf}.selected-resource{padding:1rem;background:#281a25;border:1px solid #785366;border-radius:5px;margin:.7rem 0}.selected-resource>div{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.7rem}.selected-resource strong{font:1.2rem Georgia,serif}.selected-resource>div>span{font-size:.75rem;color:#d8b7c5}.selected-resource button{margin-left:auto;font-size:.72rem;min-height:34px;padding:.3rem .6rem}.selected-resource .field>span{font-size:.75rem}.selected-resource input{min-height:42px;font-size:.85rem}.catalog-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.9fr);gap:1.2rem;align-items:start}.catalog-options{display:grid;grid-template-columns:1fr;gap:.65rem;max-height:660px;overflow:auto;padding:3px 8px 3px 3px;scrollbar-color:#956170 #1b141c}.catalog-options .choice-card{width:100%;padding:.9rem 1rem}.catalog-options .choice-card strong{font-size:1.25rem}.purchase-preview{position:sticky;top:1rem;border:1px solid #936275;background:#2b1b27;padding:1.3rem;border-radius:5px}.purchase-preview h3{margin:.45rem 0 .8rem;font-size:1.8rem}.purchase-preview>p:not(.eyebrow){font-size:.86rem;color:#dac0cf;margin:.7rem 0}.purchase-preview .field{margin:1rem 0}.purchase-preview>.purchase-cost{font:1.7rem Georgia,serif!important;color:#ffddc1!important}.purchase-preview>button{width:100%}.availability{font-size:.76rem!important}.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;margin:1rem 0}.ritual-picker{margin-top:1.2rem}.ritual-card{padding:1.25rem}.custom-resource{display:grid;grid-template-columns:1fr 85px;gap:1rem;margin-top:1rem}.custom-resource button{grid-column:1/-1}.xp-shop{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1.3rem;border:1px solid #936275;border-radius:5px;background:#251923}.xp-preview{grid-column:1/-1;padding-top:1rem;border-top:1px solid #71515f;display:flex;justify-content:space-between;gap:1rem}.xp-preview span{font-size:.7rem;color:#d3adbc;display:block}.xp-preview strong{font:1.4rem Georgia,serif;display:block;margin:.4rem 0}.xp-preview p{font-size:.8rem;color:#d4b6c5}.xp-preview>div:last-child{text-align:right;flex-shrink:0}.xp-preview button{font-size:.8rem}.ledger-row{display:flex;gap:1rem;justify-content:space-between;align-items:center;padding:.85rem;border-bottom:1px solid #5a3d4c}.ledger-row strong{font-size:.85rem}.ledger-row button{font-size:.75rem;min-height:36px}.ledger-row small{margin:.25rem 0}
.dot-picker button:disabled:has(.filled){opacity:1}.sheet-running-header{border-bottom:2px solid #754459;padding-bottom:.7rem;margin-bottom:1rem;color:#52283b;break-inside:avoid}.sheet-running-header strong{font:1.3rem Georgia,serif}.sheet-running-header span{float:right;font-size:.65rem;letter-spacing:.1em;padding-top:.3rem}.sheet-header{break-inside:avoid}
@media(max-width:650px){.journey h1 br{display:inline}.sheet-running-header span{float:none;display:block}.sheet-running-header strong{font-size:1.1rem}}
@media print{.sheet-running-header{color:#222;border-color:#777;padding-bottom:6pt;margin-bottom:8pt}.sheet-running-header strong{font:13pt Georgia,serif}.sheet-running-header span{float:right;font-size:6pt}.sheet-header{break-inside:avoid}}
@media print{.sheet-running-header{padding-top:8pt;min-height:28pt}.sheet-running-header strong{display:inline-block;line-height:1.5}.sheet-running-header span{line-height:1.5}}
/* The printable character sheet has its own visual vocabulary and contrast. */
.reviewing .layout{grid-template-columns:235px minmax(0,1fr)}.reviewing .snapshot{display:none}.reviewing main{max-width:1100px;width:100%;margin:auto}.character-sheet{color:#2a2024}.sheet-page{background:#f5efe5;padding:2.2rem;margin:1.5rem 0;border:1px solid #b09a87;box-shadow:0 15px 40px #0005;font:14px/1.5 'Segoe UI',sans-serif;overflow-wrap:anywhere}.sheet-header{display:flex;justify-content:space-between;gap:1rem;border-bottom:3px double #742b40;padding-bottom:1rem;margin-bottom:1.2rem}.sheet-header .eyebrow{color:#7b3148;font-size:.6rem;letter-spacing:.14em}.sheet-header h2{font-size:2.5rem;color:#381c29;margin:.4rem 0}.sheet-header p:last-child{font-style:italic;font-size:.9rem;color:#59424c}.sheet-chapter{font-size:.56rem;letter-spacing:.13em;color:#7b3148;white-space:nowrap;align-self:flex-start;border:1px solid #986e7a;padding:.4rem}.sheet-identity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem 1rem}.sheet-identity>div{border-bottom:1px solid #c5b3b7;padding-bottom:.4rem}.sheet-identity>div>span{display:block;color:#754757;font-size:.62rem;text-transform:uppercase;letter-spacing:.1em}.sheet-identity strong{font-weight:500;font-size:.86rem}.sheet-section{margin:1.3rem 0}.sheet-section>h3{font:1.4rem Georgia,serif;border-bottom:1px solid #875364;color:#64233b;margin-bottom:.7rem;padding-bottom:.35rem}.sheet-section h4{font-size:.7rem;font-weight:600;color:#754153;letter-spacing:.06em;margin:.4rem 0 .6rem}.sheet-trait-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}.sheet-rating{display:flex;justify-content:space-between;align-items:center;gap:.3rem;border-bottom:1px solid #dacdd0;padding:.25rem 0;font-size:.76rem}.sheet-dots{font-size:.8rem;white-space:nowrap;letter-spacing:1px;color:#6c2941;flex-shrink:0}.sheet-specialties{columns:2;gap:1.5rem;font-size:.76rem}.sheet-specialties p{break-inside:avoid;margin:.25rem 0}.sheet-tracks{display:grid;grid-template-columns:1fr 1fr;gap:.7rem 1rem;border:1px solid #9e7885;padding:.8rem}.sheet-tracks h4{font-size:.66rem;text-transform:uppercase;letter-spacing:.07em;margin:0 0 .3rem;color:#6d4052}.track-boxes{font-size:1.3rem;letter-spacing:4px;color:#652d42;line-height:1.3;white-space:nowrap}.sheet-footer{font-size:.63rem;border-top:1px solid #aa8b95;margin-top:1rem;padding-top:.6rem;color:#674b56}.sheet-power-group{margin:1rem 0}.sheet-power-group>h4{display:flex;justify-content:space-between;font:1rem Georgia,serif;background:#e9dde0;padding:.45rem .7rem;color:#542337}.sheet-power{padding:.35rem 0;break-inside:avoid}.sheet-power>strong{font-size:.82rem}.sheet-power strong small{display:inline;color:#795968;font-size:.64rem;font-weight:400;margin-left:.5rem}.sheet-power p,.sheet-pair p{font-size:.78rem;line-height:1.55}.sheet-pair{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.sheet-resource{margin:.6rem 0;break-inside:avoid}.sheet-resource>div{display:flex;justify-content:space-between;gap:.7rem;font-size:.8rem}.sheet-resource small{color:#735663;font-size:.73rem;white-space:pre-wrap;line-height:1.5}.sheet-conviction{border-left:3px solid #8e5169;padding:.25rem .8rem;margin:.8rem 0;break-inside:avoid}.sheet-conviction h4{font:1.12rem Georgia,serif;color:#622640;margin:0 0 .4rem}.sheet-conviction>strong{font-size:.82rem}.sheet-conviction p{font-size:.8rem;white-space:pre-wrap}.sheet-narrative{margin:0;columns:2;column-gap:1.5rem}.sheet-narrative>div{break-inside:avoid;margin:0 0 .9rem}.sheet-narrative dt{font-size:.69rem;color:#7e445c}.sheet-narrative dd{font-size:.8rem;margin:.25rem 0;white-space:pre-wrap}.preserve-lines{white-space:pre-wrap}.sheet-page p{overflow-wrap:anywhere}
@media(min-width:1500px){.trait-card{padding:1rem}.dot-picker button{width:34px}}
@media(max-width:1250px){.layout{grid-template-columns:220px minmax(0,1fr)}.snapshot{display:none}.journey{padding:2rem 1.2rem}main{padding:2rem 1.8rem}.reviewing .layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:850px){.layout,.reviewing .layout{grid-template-columns:185px minmax(0,1fr)}.journey h1{font-size:2rem}.trait-groups{grid-template-columns:1fr}.trait-card{display:grid;grid-template-columns:1fr auto;gap:.1rem .8rem}.trait-top,.trait-card>p,.trait-card>details{grid-column:1}.trait-card>p{min-height:0}.trait-controls{grid-column:2;grid-row:1/4;align-self:center;display:block;text-align:right}.dot-picker button{width:34px}.trait-card details{margin-top:.2rem}.trait-top{justify-content:flex-start}.template-grid{grid-template-columns:1fr}.template-grid .choice-card{gap:.35rem}.catalog-layout{grid-template-columns:1fr}.purchase-preview{position:static}.catalog-options{grid-template-columns:1fr 1fr;max-height:340px}.sheet-page{padding:1.4rem}.sheet-trait-columns{gap:.65rem}.sheet-dots{font-size:.69rem;letter-spacing:0}.sheet-header{display:block}.sheet-chapter{display:inline-block;margin-top:.7rem}}
@media(max-width:650px){.layout,.reviewing .layout{display:block}.journey{position:static;padding:1.25rem 1rem .6rem;border-right:0}.journey h1{font-size:2.2rem;margin:.55rem 0}.journey h1 br{display:none}.journey h1 br:after{content:' '}.invitation,.local-note{display:none}.masthead{padding:1rem;gap:.8rem}.save-area{width:100%;gap:.4rem}.save-area button{font-size:.77rem;padding:.45rem .65rem}.brand{font-size:.95rem}#save-status{font-size:.72rem;margin:0}#steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:1rem 0 .4rem}#steps button{font-size:.72rem;padding:.55rem .4rem;gap:.35rem}#steps button span{font-size:.6rem}main{padding:1.5rem 1rem}h2{font-size:2.2rem}p.intro{font-size:.9rem}.profile-banner{padding:.8rem;font-size:.73rem}.profile-banner button{margin:.65rem 0 0}.substeps{gap:4px}.substeps button{font-size:.76rem;gap:.35rem;padding:.6rem .25rem}.substeps button>span{width:21px;height:21px}.section-heading{align-items:flex-start;gap:.5rem}.section-heading h3{font-size:1.65rem}.completion-pill{font-size:.66rem;margin-top:.3rem;padding:.35rem .45rem}.section-heading .eyebrow{font-size:.58rem}.allocation-bank{gap:.35rem;top:0}.rating-token{padding:.6rem .15rem}.rating-token>span:first-child{font-size:.6rem}.rating-token strong{font-size:.62rem}.mini-dots{font-size:.7rem;letter-spacing:1px}.trait-card{padding:.85rem .7rem}.trait-card>p{font-size:.8rem}.trait-top strong{font-size:.93rem}.dot-picker button{width:30px}.trait-controls .text-button{padding-right:0}.budget-grid{gap:.35rem}.budget-grid>div{padding:.7rem .55rem}.budget-grid span,.budget-grid small{font-size:.63rem}.budget-grid strong{font-size:2rem}.catalog-toolbar,.xp-shop{grid-template-columns:1fr}.catalog-options .choice-card{padding:.8rem}.catalog-options .choice-card strong{font-size:1.15rem}.catalog-options .choice-card>span:not(.eyebrow){font-size:.77rem}.catalog-options .eyebrow{font-size:.56rem}.catalog-grid{grid-template-columns:1fr}.automatic-package p{display:block}.automatic-package p span{display:block}.xp-preview{display:block}.xp-preview>div:last-child{text-align:left;margin-top:1rem}.xp-preview button{width:100%}.sheet-page{padding:1rem;font-size:12px}.sheet-trait-columns{grid-template-columns:1fr}.sheet-identity{grid-template-columns:1fr 1fr}.sheet-rating{font-size:.82rem;padding:.25rem 0}.sheet-dots{font-size:.85rem;letter-spacing:1px}.sheet-pair{grid-template-columns:1fr;gap:.5rem}.sheet-header h2{font-size:2rem}.sheet-specialties,.sheet-narrative{columns:1}.sheet-tracks{grid-template-columns:1fr}.sheet-chapter{font-size:.53rem}.review-tools button{font-size:.8rem}.reviewing main{padding:1.25rem .7rem}.settings-main{padding:1.5rem 1rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{@page{size:A4;margin:11mm 12mm;@bottom-right{content:counter(page) ' / ' counter(pages);font:8pt Georgia,serif;color:#666}}html,body{background:#fff!important;color:#111;font:9pt/1.35 'Segoe UI',sans-serif}.layout,.reviewing .layout{display:block}.reviewing main,main{padding:0;max-width:none;width:auto;margin:0}.character-sheet{color:#111}.sheet-page{background:white;border:0;box-shadow:none;padding:0;margin:0;font-size:9pt;break-after:page;overflow:visible}.sheet-page:last-child{break-after:auto}.sheet-header{display:flex;margin-bottom:8pt;padding-bottom:8pt;border-color:#333}.sheet-header h2{font-size:25pt;color:#111;margin:5pt 0}.sheet-header .eyebrow,.sheet-header p:last-child,.sheet-chapter{color:#333}.sheet-header p:last-child{font-size:9pt}.sheet-header .eyebrow{font-size:6pt}.sheet-chapter{font-size:6pt;margin:0;border-color:#888}.sheet-identity{grid-template-columns:repeat(3,minmax(0,1fr));gap:5pt 12pt}.sheet-identity>div>span{font-size:6pt;color:#444}.sheet-identity strong{font-size:8pt}.sheet-section{margin:10pt 0}.sheet-section>h3{font-size:14pt;color:#111;margin-bottom:6pt;padding-bottom:3pt;border-color:#666;break-after:avoid}.sheet-section h4{color:#333;font-size:7pt;margin:3pt 0 4pt;break-after:avoid}.sheet-trait-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:15pt}.sheet-rating{font-size:8pt;padding:2.5pt 0;border-color:#ddd;break-inside:avoid}.sheet-dots{font-size:9pt;letter-spacing:.8pt;color:#111}.sheet-specialties{columns:2;font-size:8pt}.sheet-tracks{grid-template-columns:1fr 1fr;gap:7pt;padding:8pt;break-inside:avoid;border-color:#888}.sheet-tracks h4{font-size:7pt;color:#333}.track-boxes{color:#111;font-size:15pt;letter-spacing:3pt}.sheet-footer{font-size:6.5pt;color:#555;padding-top:5pt;margin-top:8pt;border-color:#999}.sheet-power-group{margin:8pt 0}.sheet-power-group>h4{font:11pt Georgia,serif;background:#eee;color:#111;padding:4pt 6pt}.sheet-power{padding:3pt 0}.sheet-power>strong{font-size:8.5pt}.sheet-power strong small{font-size:7pt;color:#555}.sheet-power p,.sheet-pair p{font-size:8pt;line-height:1.4}.sheet-pair{grid-template-columns:1fr 1fr;gap:16pt}.sheet-resource{margin:5pt 0}.sheet-resource>div{font-size:8pt}.sheet-resource small{font-size:7.5pt;color:#444}.sheet-conviction{margin:8pt 0;padding:3pt 8pt;border-color:#777}.sheet-conviction h4{font:11pt Georgia,serif;color:#111}.sheet-conviction strong,.sheet-conviction p{font-size:8pt}.sheet-narrative{columns:2;column-gap:18pt}.sheet-narrative>div{margin-bottom:8pt}.sheet-narrative dt{font-size:7pt;color:#444}.sheet-narrative dd{font-size:8pt}.review-block.checks{background:white;color:#333;border-color:#888;break-inside:auto;font-size:8pt;margin-top:12pt}.checks h3{font-size:12pt;color:#111}.checks h4{color:#333}.checks li{break-inside:avoid}.print-only{display:block}.review-tools,.screen-only{display:none!important}.sheet-section>p{font-size:8pt}}
/* Draft B: the personal grimoire. Scoped to the dossier, including print. */
.grimoire{--g-ink:#252329;--g-red:#861e35;--g-muted:#69616a;--g-line:#d2c8c7;color:var(--g-ink)}
.grimoire .g-page{background:#fff;padding:32px;margin:24px 0;border:1px solid var(--g-line);border-top:6px solid var(--g-red);font:14px/1.42 'Segoe UI',sans-serif;color:var(--g-ink);overflow-wrap:anywhere}
.grimoire p,.grimoire small{color:inherit;margin:0}.grimoire p+p{margin-top:7px}.grimoire h3,.grimoire h4,.grimoire h5{margin:0}
.g-header{border-bottom:1px solid var(--g-line);padding-bottom:18px;margin-bottom:20px;break-inside:avoid}
.g-kicker{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--g-red);margin-bottom:16px}.g-kicker span{color:var(--g-muted)}
.g-header h2{font:bold 32px/1.2 Georgia,serif;color:var(--g-ink);margin:0 0 9px}.g-header>p{font-size:13px;color:var(--g-muted)}
.g-identity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 22px;margin-bottom:24px}.g-identity span{display:block;text-transform:uppercase;font-size:9px;color:var(--g-muted);letter-spacing:.04em}.g-identity strong{font-size:13px;font-weight:500}
.g-traits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0 0 24px}.grimoire h3{font:bold 11px/1.4 'Segoe UI',sans-serif;text-transform:uppercase;color:var(--g-red);border-bottom:1px solid var(--g-red);padding-bottom:8px;margin-bottom:12px;break-after:avoid}
.g-rating{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 0;font-size:12px;break-inside:avoid}.g-unset{font-size:10px;color:var(--g-muted)}
.g-dots,.g-boxes{display:inline-flex;gap:5px;align-items:center;flex-shrink:0;vertical-align:middle}.g-dots i{display:block;width:8px;height:8px;border:1px solid var(--g-muted);border-radius:50%;background:white}.g-dots i.filled{background:var(--g-red);border-color:var(--g-red)}
.g-boxes{flex-wrap:wrap;max-width:100%;gap:5px}.g-boxes i{width:14px;height:14px;display:block;border:1px solid #a7989a;background:#fff}
.g-specialties{font-size:12px;margin:0 0 25px}.g-tracks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:24px 0}.g-tracks h4{font:bold 12px/1.4 'Segoe UI',sans-serif;color:var(--g-red);text-transform:uppercase;margin:0 0 10px}.grimoire .g-tracks small{font-size:10px;color:var(--g-muted);margin-top:8px}
.g-humanity{grid-column:1/-1;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.g-humanity h4{margin:0}.g-humanity>span:last-child{display:flex;gap:8px;flex:1;min-width:160px;font-size:11px}.g-rule{display:inline-block;border-bottom:1px solid var(--g-line);flex:1;min-width:35px;min-height:16px}
.g-roll-help{font-size:12px}.g-footer{border-top:1px solid var(--g-line);padding-top:10px;margin-top:25px;font-size:9px;color:var(--g-muted);display:flex;justify-content:space-between;gap:12px;break-inside:avoid}
.g-columns,.g-ritual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}.g-columns>div{min-width:0}.g-section{margin-bottom:22px}.g-section:last-child{margin-bottom:0}
.grimoire .g-card h4{font:bold 20px/1.2 Georgia,serif;margin-bottom:8px}.g-card{margin-bottom:22px;break-inside:avoid}.g-card:last-child{margin-bottom:0}.grimoire .g-meta{font-size:9px;text-transform:uppercase;font-weight:600;color:var(--g-red);margin-bottom:10px}.g-card p{font-size:12px}.g-card .g-mechanics{font-weight:600}.grimoire .g-example{font-size:11px;color:var(--g-muted)}
.g-resource-group>h4{font:bold 11px 'Segoe UI',sans-serif;margin:12px 0 8px;color:var(--g-muted)}.g-resource{margin-bottom:10px;break-inside:avoid}.g-resource>div{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.g-resource p{font-size:11px;margin-top:3px;white-space:pre-wrap}.grimoire .g-resource small{font-size:9px;color:var(--g-muted);margin-top:2px}
.g-note{margin-bottom:10px}.g-note>strong{font-size:12px}.g-note>p,.g-preserve{font-size:12px;white-space:pre-wrap}.g-conviction{border-left:2px solid var(--g-line);padding-left:10px;margin-bottom:12px;break-inside:avoid}.g-conviction .g-note{margin-bottom:6px}.g-xp{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin-bottom:6px;break-inside:avoid}.g-xp strong{white-space:nowrap}
.g-writing{margin-top:12px}.g-writing span{display:block;border-bottom:1px solid var(--g-line);height:28px}.g-casting{background:#f5f0e9;padding:16px;margin-bottom:25px;break-inside:avoid}.g-casting strong{color:var(--g-red);font-size:14px}.g-casting p{font-size:12px;margin-top:7px}.g-ritual-grid{row-gap:30px}.g-ritual-log{margin-top:25px}.grimoire h5{font:bold 11px 'Segoe UI',sans-serif;text-transform:uppercase;color:var(--g-red);border-bottom:1px solid var(--g-red);padding-bottom:10px;margin-bottom:16px}.g-night-log{margin:12px 0}.g-night-log p{display:flex;align-items:center;gap:9px;margin-bottom:15px}.g-reference{font-size:10px;margin-top:35px!important;color:var(--g-muted)!important}.g-warning{font-weight:600;color:var(--g-red)!important}.g-story{columns:2;column-gap:28px}.g-story .g-note{margin-bottom:18px}.g-story .g-note>strong{display:block;break-after:avoid}
@media screen and (max-width:700px){.grimoire .g-page{padding:20px}.g-kicker{display:block}.g-kicker span{display:block;margin-top:5px}.g-header h2{font-size:27px}.g-identity{grid-template-columns:1fr 1fr}.g-traits,.g-columns,.g-ritual-grid,.g-tracks{grid-template-columns:1fr}.g-story{columns:1}.g-humanity{grid-column:auto}.g-footer{display:block}.g-footer span{display:block;margin-top:5px}.g-rating{font-size:14px}.g-dots i{width:9px;height:9px}.g-traits{gap:20px}.g-card p,.g-note>p,.g-resource p{font-size:13px}}
@media print{
 @page{size:letter;margin:10mm 12mm;@bottom-right{content:counter(page) ' / ' counter(pages);font:8pt 'Segoe UI',sans-serif;color:#69616a}}
 .review-block.checks{display:none!important}
 .grimoire{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .grimoire .g-page{padding:10pt 0 0;margin:0;border:0;border-top:3pt solid var(--g-red);box-shadow:none;min-height:0;font-size:9pt;break-after:page;overflow:visible}
 .grimoire .g-page:last-child{break-after:auto}
 .g-header{padding-bottom:10pt;margin-bottom:13pt}.g-kicker{font-size:7pt;margin-bottom:10pt}.g-header h2{font-size:25pt}.g-header>p{font-size:9pt}
 .g-identity{gap:7pt 15pt;margin-bottom:18pt}.g-identity span{font-size:6.5pt}.g-identity strong{font-size:9pt}
 .g-traits{gap:16pt;margin-bottom:18pt}.grimoire h3{font-size:8pt;padding-bottom:6pt;margin-bottom:8pt}.g-rating{font-size:9pt;padding:3pt 0}.g-unset{font-size:7pt}
 .g-dots{gap:3pt}.g-dots i{width:5.5pt;height:5.5pt}.g-boxes{gap:3pt}.g-boxes i{width:10pt;height:10pt}
 .g-specialties,.g-roll-help{font-size:8.5pt}.g-specialties{margin-bottom:16pt}.g-tracks{gap:16pt;margin:18pt 0}.g-tracks h4{font-size:8.5pt;margin-bottom:7pt}.grimoire .g-tracks small{font-size:7pt}.g-humanity h4{margin:0}.g-humanity>span:last-child{font-size:8pt}
 .g-columns,.g-ritual-grid{gap:20pt}.g-section{margin-bottom:14pt}.g-card{margin-bottom:15pt}.grimoire .g-card h4{font-size:14pt}.grimoire .g-meta{font-size:6.7pt;margin-bottom:6pt}.g-card p{font-size:8.5pt}.grimoire .g-example{font-size:8pt}
 .g-resource-group>h4{font-size:8pt;margin:6pt 0}.g-resource{margin-bottom:6pt}.g-resource>div{font-size:8.5pt}.g-resource p{font-size:8pt}.grimoire .g-resource small{font-size:6pt}
 .g-note{margin-bottom:6pt}.g-note>strong{font-size:8.5pt}.g-note>p,.g-preserve{font-size:8.5pt}.g-conviction{margin-bottom:8pt}.g-conviction .g-note{margin-bottom:4pt}.g-xp{font-size:8.5pt;margin-bottom:4pt}
 .g-casting{padding:12pt;margin-bottom:18pt}.g-casting strong{font-size:10pt}.g-casting p{font-size:8.5pt}.g-ritual-grid{row-gap:22pt}.g-ritual-log{margin-top:20pt}.grimoire h5{font-size:8pt}.g-writing span{height:22pt}.g-reference{font-size:7pt;margin-top:22pt!important}.g-story{column-gap:20pt}.g-story .g-note{margin-bottom:14pt}
 .g-footer{font-size:6.5pt;margin-top:18pt;padding-top:7pt}
}
.grimoire .g-resource small{display:inline;margin:0}.g-session-notes{break-inside:avoid}.g-note>strong{break-after:avoid}
@media print{.g-card p+p{margin-top:4pt}.g-resource p{margin:0}.g-resource{margin-bottom:7pt}.g-note>strong{display:block}.g-story{columns:1}.g-story .g-note{break-inside:auto}.g-footer{break-before:avoid}}
.g-columns .g-note>strong,.g-columns .g-note>p{display:inline}.g-columns .g-note>strong::after{content:': '}
