/* Character sheets and talent paths share the game's quiet parchment-and-iron theme. */
.character-sheet,.talent-studio{--panel-line:var(--ui-line,#aab5b425);--panel-muted:var(--ui-muted,#aab5b4);color:var(--ui-text,#eee3ca);min-width:0}
.sheet-crest{display:grid;place-items:center;width:42px;height:42px;flex:none;color:var(--ui-gold,#d8b477);border:1px solid var(--panel-line);transform:rotate(45deg)}
.sheet-crest .icon{width:24px;height:24px;transform:rotate(-45deg)}
.sheet-vitals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:16px 0 19px;border-block:1px solid var(--panel-line);margin-bottom:20px}
.sheet-vitals>div{min-width:0}.sheet-vitals span{display:block;font-size:.72rem;color:var(--panel-muted)}
.sheet-vitals strong{display:block;font-size:1.15rem;margin-top:6px;font-weight:500;font-variant-numeric:tabular-nums}.sheet-vitals strong small{font-size:.73rem;font-weight:400;color:var(--panel-muted)}
.character-sheet progress{height:4px;margin:10px 0 0;accent-color:var(--ui-gold,#d8b477);background:var(--ui-bg,#101a1e)}
.sheet-vitals>div:first-child progress::-webkit-progress-value{background:#9e6e67}.sheet-vitals>div:nth-child(2) progress::-webkit-progress-value{background:#718f9f}
.sheet-vitals>div:first-child progress::-moz-progress-bar{background:#9e6e67}.sheet-vitals>div:nth-child(2) progress::-moz-progress-bar{background:#718f9f}
.sheet-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.sheet-columns h3,.sheet-training h3{display:flex;align-items:center;gap:7px;font-family:inherit;font-size:.85rem;color:var(--ui-gold,#d8b477);font-weight:500;margin:0 0 9px}.sheet-columns h3 .icon{height:17px;width:17px}
.sheet-columns dl{margin:0}.sheet-stat{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid var(--panel-line);padding:10px 0}.sheet-stat dt{font-size:.76rem;color:var(--panel-muted)}.sheet-stat dd{font-size:.84rem;text-align:right;margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.sheet-stat dd small{font-size:.64rem;color:var(--panel-muted);font-weight:400}.sheet-columns .ui-note{margin-top:12px;font-size:.73rem;line-height:1.6}
.sheet-effects{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.sheet-effects span{font-size:.68rem;line-height:1.5;border-left:2px solid #94b19b;background:#94b19b0b;padding:4px 7px;color:#b8cbb5}.sheet-effects .harmful{border-color:#c58476;color:#d7aa99;background:#c584760b}
.sheet-training{margin-top:23px}.sheet-training h3{justify-content:space-between}.sheet-training h3 small{font-size:.7rem;color:var(--panel-muted);font-weight:400}.sheet-training>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.sheet-training article{padding:11px 0;border-block:1px solid var(--panel-line)}.sheet-training header{display:flex;justify-content:space-between;gap:10px;font-size:.78rem}.sheet-training header strong{font-weight:500}.sheet-training header span,.sheet-training article>small{font-size:.7rem;color:var(--panel-muted)}.sheet-training article>small{display:block;margin-top:7px}.sheet-reference{margin-top:18px}.sheet-journey{display:flex;flex-wrap:wrap;gap:14px 22px;border-top:1px solid var(--panel-line);padding-top:14px;margin-top:20px;font-size:.72rem;color:var(--panel-muted)}.sheet-journey b{font-weight:500;color:var(--ui-text,#eee3ca);font-variant-numeric:tabular-nums;margin-right:3px}
.talent-studio .talent-heading{margin-bottom:15px}.talent-heading h2{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.talent-heading h2>span{font:500 .77rem Inter,sans-serif;letter-spacing:0;color:var(--ui-gold,#d8b477);text-transform:none;white-space:nowrap}.talent-heading .text-button{font-size:.75rem;white-space:nowrap}
.talent-studio .path-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-block:1px solid var(--panel-line);margin-bottom:18px}.talent-studio .path-selector>button{display:flex;align-items:center;gap:10px;padding:12px 13px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;min-width:0;text-align:left;color:var(--panel-muted)}.talent-studio .path-selector>button.selected{border-bottom-color:var(--path-color);background:color-mix(in srgb,var(--path-color) 6%,transparent);color:var(--ui-text,#eee3ca)}.talent-studio .path-selector .icon{height:23px;width:23px;flex:none}.talent-studio .path-selector span{min-width:0}.talent-studio .path-selector strong{font-size:.82rem;display:block;font-weight:500}.talent-studio .path-selector small{display:block;margin-top:4px;color:var(--panel-muted);font-size:.67rem}.talent-studio .path-selector button.selected .icon{color:var(--path-color)}
.talent-studio .path-identity{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:start;gap:12px;background:transparent;border:0;padding:0;margin:0 0 10px}.talent-studio .path-crest{width:36px;height:42px;border:0;background:none;color:var(--path-color);display:grid;place-items:center}.talent-studio .path-crest .icon{width:30px;height:30px}.talent-studio .path-role{font-size:.64rem;text-transform:uppercase;letter-spacing:.075em;color:var(--path-color)}.talent-studio .path-identity h3{font-size:1.1rem;line-height:1.4;margin:4px 0 7px;font-weight:500;color:var(--ui-text,#eee3ca)}.talent-studio .path-identity p{font-size:.77rem;line-height:1.6;color:var(--panel-muted);margin:0;max-width:660px}.talent-studio .specialization-badge{display:block;border:0;border-left:2px solid var(--panel-line);background:none;border-radius:0;color:var(--panel-muted);font-size:.66rem;line-height:1.5;padding:3px 0 3px 9px;max-width:135px}.talent-studio .specialization-badge.active{color:#b8c9ad;border-color:#8ca578}.talent-studio .path-role-details{margin:0 0 16px 48px;padding:0;border:0;font-size:.73rem}.talent-studio .path-role-details p{max-width:700px}
.path-depth{display:flex;align-items:baseline;justify-content:space-between;gap:8px 15px;flex-wrap:wrap;margin:0 0 20px;padding:12px 0 0;border-top:1px solid var(--panel-line);color:var(--panel-muted);font-size:.7rem}.path-depth b,.path-depth strong{color:var(--ui-text,#eee3ca);font-weight:500}.path-depth progress{flex:0 0 100%;height:3px;margin:0;background:var(--ui-bg,#101a1e)}.path-depth progress::-webkit-progress-value{background:var(--path-color)}.path-depth progress::-moz-progress-bar{background:var(--path-color)}
.talent-studio .path-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}.talent-studio .path-columns>section{min-width:0}.talent-studio .path-columns h4{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px;color:var(--ui-text,#eee3ca);font-family:inherit;font-size:.85rem;font-weight:500;padding:0 0 9px;margin:0;border-bottom:1px solid var(--panel-line)}.talent-studio .path-columns h4 span{font-size:.62rem;font-weight:400;color:var(--panel-muted)}
.talent-studio .path-node{display:grid;grid-template-columns:23px minmax(0,1fr) auto;align-items:start;column-gap:10px;padding:14px 0;margin:0;border:0;border-bottom:1px solid var(--panel-line);border-radius:0;background:none;position:relative;opacity:1;min-height:0}.talent-studio .path-node.locked{opacity:1}.talent-studio .node-symbol{display:grid;place-items:center;width:23px;height:27px;background:none;border:0;color:#73837f;border-radius:0;font-size:.75rem}.talent-studio .node-symbol .icon{width:17px;height:17px}.talent-studio .learned .node-symbol{color:var(--path-color)}.talent-studio .node-copy{min-width:0}.talent-studio .node-copy header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.talent-studio .node-copy h3{font:500 .8rem/1.4 Inter,sans-serif;margin:0;color:var(--ui-text,#eee3ca)}.talent-studio .node-copy header>span{font-size:.62rem;white-space:nowrap;color:var(--panel-muted)}.talent-studio .node-copy p{font-size:.73rem;line-height:1.55;color:var(--panel-muted);margin:6px 0 0}.talent-studio .node-copy .node-tradeoff{color:#c6a089;font-size:.69rem}.talent-studio .node-values{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:.69rem;color:#b1c6b2;background:none;border:0;border-radius:0;padding:0;margin:7px 0 0;line-height:1.5}.talent-studio .node-requirement{display:block;font-size:.62rem;line-height:1.5;color:#b6a98f;margin-top:7px}.talent-studio .node-requirement>span{display:block;font-size:.59rem;margin-top:2px;color:#83948f}.talent-studio .node-learn{min-width:47px;width:auto;height:auto;min-height:30px;max-height:none;padding:6px 8px;font-size:.65rem;line-height:1.2;align-self:center;margin:0;border-radius:3px}.talent-studio .node-learn .icon{height:15px;width:15px}.talent-studio .node-learn:disabled{opacity:.42}.talent-studio .path-node.keystone{border-left:2px solid var(--path-color);padding-left:9px;background:color-mix(in srgb,var(--path-color) 4%,transparent)}.talent-studio .path-node.dormant .node-symbol{color:#978d83}.talent-studio .path-node.dormant .node-copy header>span{color:#b1a08b}
.talent-studio .path-choice{position:relative;padding:16px 0 0;margin-top:12px;border:1px solid var(--panel-line);border-radius:3px;background:none}.talent-studio .path-choice>span{position:absolute;top:-7px;left:13px;padding:0 6px;background:var(--ui-bg,#101a1e);font-size:.61rem;color:var(--path-color);text-transform:uppercase;letter-spacing:.08em}.talent-studio .path-choice .path-node{padding:10px}.talent-studio .path-choice .path-node:last-child{border-bottom:0}.talent-studio .talent-footnote{margin:20px 0 0;padding:13px 0 0;border-top:1px solid var(--panel-line);color:var(--panel-muted);font-size:.73rem;line-height:1.6}.talent-studio .ui-detail summary,.character-sheet .ui-detail summary{cursor:pointer}.talent-studio .ui-detail p,.character-sheet .ui-detail p{font-size:.75rem;line-height:1.7;color:var(--panel-muted);margin:9px 0}
@media(max-width:1050px){.sheet-columns{grid-template-columns:1fr 1fr;gap:20px}.sheet-columns>section:last-child{grid-column:1/-1}.sheet-columns>section:last-child dl{display:grid;grid-template-columns:1fr 1fr;gap:20px}.talent-studio .path-columns{gap:18px}.talent-studio .path-identity{grid-template-columns:32px minmax(0,1fr)}.talent-studio .specialization-badge{grid-column:2;max-width:none}.talent-studio .path-role-details{margin-left:44px}}
@media(max-width:760px){.talent-studio .path-columns{grid-template-columns:1fr;gap:22px}.sheet-vitals{gap:14px}.sheet-vitals strong{font-size:1rem}.sheet-vitals strong small{display:block;margin-top:3px;font-size:.68rem}.talent-studio .path-selector>button{gap:6px;padding:11px 8px}.talent-studio .path-selector strong{font-size:.73rem}.talent-studio .path-selector small{font-size:.6rem}.talent-studio .path-selector .icon{width:18px;height:18px}.talent-studio .talent-heading h2{gap:8px}.talent-heading h2>span{font-size:.7rem}.talent-studio .node-copy h3{font-size:.82rem}.talent-studio .node-copy p{font-size:.75rem}.talent-studio .node-requirement{font-size:.66rem}.talent-studio .node-learn{min-height:35px;min-width:52px}.sheet-stat{display:block;padding:9px 0}.sheet-stat dd{text-align:left;margin-top:4px}.sheet-columns{gap:18px}.sheet-training>div{gap:18px}.sheet-training h3{flex-wrap:wrap}.sheet-training h3 small{font-size:.64rem}.sheet-journey{gap:10px 17px}.path-depth{line-height:1.5}}
@media(max-width:390px){.talent-studio .path-selector .icon{display:none}.talent-studio .path-selector>button{justify-content:center}.talent-heading h2>span{display:block;width:100%}.sheet-vitals{gap:10px}.sheet-columns>section:last-child dl{gap:14px}}
.journal-contract .reward{display:flex;flex-direction:column;gap:10px}.quest-gear-reward{display:flex;align-items:center;gap:9px;min-width:0;color:var(--ui-text,#eee3ca)}.quest-gear-reward .equipment-art{display:block;flex:0 0 36px;width:36px;height:36px;min-width:0;min-height:0}.quest-gear-reward>span:last-child{font-size:.78rem;line-height:1.5}.quest-gear-reward small{display:block;color:var(--ui-muted,#aab5b4);font-size:.67rem}
