#passive-builder{--pb-gold:#d7ad70;--pb-line:#51422e;background:#13120f;border:1px solid var(--pb-line);padding:18px;color:#d9d2c4;margin:24px 0 60px;border-radius:10px}#passive-builder button,.pb-file{background:#28241d;color:#ead9b9;border:1px solid #6b5538;border-radius:4px;padding:8px 12px;cursor:pointer;font:inherit;font-size:13px}#passive-builder button:hover,#passive-builder button:focus-visible{border-color:#efc77e;background:#3b3022}#passive-builder button:disabled{opacity:.45;cursor:default}#passive-builder input,#passive-builder select{background:#191814;border:1px solid #57472f;border-radius:4px;color:#ede3d2;font:inherit;font-size:14px;padding:9px;width:100%;min-width:0}#passive-builder label{font-size:12px;color:#c6b18d;display:grid;gap:5px;min-width:0}.pb-toolbar{display:grid;grid-template-columns:2fr 1.7fr repeat(3,1fr);gap:12px}.pb-budget{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:15px 0;font-size:14px;color:#e8c48b}.pb-budget span{font-size:11px;color:#b3aa99}.pb-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:720px;border:1px solid #443a2a}.pb-mapwrap{position:relative;overflow:hidden;background:#17130e;min-width:0}#pb-map{display:block;width:100%;height:720px;touch-action:none;cursor:grab}#pb-map:active{cursor:grabbing}.pb-mapcontrols{position:absolute;top:12px;left:12px;display:flex;flex-wrap:wrap;gap:5px}.pb-mapcontrols button{background:#171510ed!important}.pb-maphelp{position:absolute;bottom:7px;left:12px;right:12px;pointer-events:none;font-size:11px!important;color:#c2b698!important;background:#171510df;padding:6px!important;margin:0!important}.pb-sidebar{background:#1c1914;border-left:1px solid #443a2a;max-height:720px;overflow:auto;padding:18px}.pb-sidebar h2{font-size:22px!important;color:#eac58c;margin:18px 0 12px}.pb-sidebar h3{font-size:14px!important;color:#ccb58c;margin-top:24px}.pb-sidebar p,.pb-sidebar li{font-size:13px!important;line-height:1.6;color:#c9c0af}.pb-sidebar ul{padding-left:18px}.pb-sidebar .pb-node-stats{color:#a8c4e3}.pb-sidebar .pb-node-stats li{color:inherit}.pb-node-actions{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.pb-tabs{display:flex;gap:7px;border-bottom:1px solid #4d402c;padding-bottom:12px}.pb-tabs [aria-selected=true]{background:#4e3c24!important;color:#fff0d5!important}.pb-totals{margin:0}.pb-totals div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #393125;padding:9px 0;font-size:12px}.pb-totals dt{font-weight:400}.pb-totals dd{white-space:nowrap;color:#e9cc9b;margin:0}.pb-penalty dd{color:#e6a391}.pb-trait{padding:10px 0;border-bottom:1px solid #443725}.pb-trait strong{font-size:13px;color:#e2bf83}.pb-trait p{white-space:pre-line;margin:6px 0}.pb-results{display:flex;gap:6px;flex-wrap:wrap;padding-bottom:12px}.pb-results button{font-size:12px!important}.pb-savebar,.pb-saved{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-top:14px}.pb-savebar>label:first-child{flex:1;min-width:180px}.pb-saved label{flex:1;max-width:600px}.pb-file{display:block!important;padding:8px 12px!important;color:#ead9b9!important}.pb-file input{position:absolute;width:1px!important;height:1px;opacity:0}.pb-disclaimer{font-size:12px!important;line-height:1.7;color:#b3aa9a;margin-top:18px}#pb-status{margin:12px 0;font-size:13px;min-height:22px;color:#b9cba9}#pb-status.is-error{color:#f2b09a}#passive-builder:fullscreen{border-radius:0;width:100%;height:100%;overflow:auto;padding:15px;background:#13120f}#passive-builder:fullscreen .pb-workspace{min-height:0}#passive-builder:fullscreen #pb-map{height:calc(100vh - 285px);min-height:390px}#passive-builder:fullscreen .pb-sidebar{max-height:calc(100vh - 285px)}#passive-builder:fullscreen .pb-disclaimer{display:none}.spell-reference{background:#1b1d1c;border:1px solid #46504a;border-radius:5px;padding:13px;margin:15px 0}.spell-reference summary{cursor:pointer;color:#d9c69d;font-size:13px}.spell-reference p{font-size:12px;line-height:1.6;margin:9px 0;color:#b6c2b7}.spell-reference strong{color:#e7e2d4}.spell-reference-values{display:flex;gap:15px;flex-wrap:wrap;font-size:14px;margin-top:9px}.spell-reference small{color:#afa795;font-size:11px}.spell-profile{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;font-size:13px}.spell-profile select{background:#1b1b17;color:#eadac0;border:1px solid #66543a;padding:8px}@media(max-width:1050px){.pb-workspace{grid-template-columns:minmax(0,1fr) 290px}.pb-toolbar{grid-template-columns:2fr 2fr repeat(3,1fr)}.pb-sidebar{padding:13px}}@media(max-width:760px){#passive-builder{padding:10px}.pb-toolbar{grid-template-columns:repeat(3,1fr)}.pb-toolbar label:first-child{grid-column:span 2}.pb-toolbar label:nth-child(2){grid-column:span 1}.pb-workspace{grid-template-columns:1fr}.pb-sidebar{max-height:440px;border-left:0;border-top:1px solid #443a2a}#pb-map{height:550px}.pb-workspace{min-height:0}.pb-budget{font-size:12px}.pb-mapcontrols button{font-size:11px!important}#passive-builder:fullscreen #pb-map{height:52vh;min-height:250px}#passive-builder:fullscreen .pb-sidebar{max-height:32vh}}

#passive-builder [hidden]{display:none!important}
.pb-maplegend{position:absolute;right:12px;bottom:34px;display:flex;flex-wrap:wrap;gap:4px 12px;list-style:none;padding:6px 9px;margin:0;pointer-events:none;background:#171510e8;border:1px solid #51422e;border-radius:4px;color:#d7c6aa;font-size:10px}
.pb-maplegend li::before{content:'';display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#aa9675;vertical-align:1px}
.pb-maplegend li:nth-child(2)::before{background:#c892bb}
.pb-maplegend li:nth-child(3)::before{background:#89c4c5}
.pb-maplegend li:nth-child(4)::before{background:#f0d18d}
@media(max-width:760px){.pb-maplegend{left:12px;right:auto;bottom:53px;gap:4px 9px}}
.pb-sidebar .pb-class-details h2{margin:10px 0 8px}
.pb-sector-themes{color:var(--sector-accent);font-size:11px;letter-spacing:.04em;padding-left:7px;border-left:2px solid var(--sector-accent)}
.pb-sidebar .pb-class-details p,.pb-sidebar .pb-class-details .pb-node-stats{margin:8px 0}
.pb-sidebar .pb-class-details p,.pb-sidebar .pb-class-details .pb-node-stats li{line-height:1.45}
.pb-sidebar .pb-class-details .pb-node-actions{margin:12px 0}
.pb-sidebar .pb-class-notes summary{cursor:pointer;color:#e2bf83;font-size:12px}
.pb-ascendancy{border-top:1px solid #4d402c;margin-top:12px;padding-top:2px}
.pb-sidebar .pb-ascendancy h3{margin:13px 0 9px;color:#eac58c}
.pb-sidebar .pb-ascendancy-nodes{list-style:none;padding:0;margin:0;display:grid;gap:5px}
#passive-builder .pb-ascendancy-node{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;padding:6px 8px}
.pb-ascendancy-node span{font-size:11px;color:#cbbda3;white-space:nowrap}
#passive-builder .pb-ascendancy-node[aria-current=true]{border-color:#c4a36b;background:#3b3022}
.pb-sidebar .pb-ascendancy h4{margin:7px 0 4px;font-size:11px;color:#cbbda3}
.pb-sidebar .pb-ascendancy-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#passive-builder .pb-ascendancy-compact .pb-ascendancy-node{font-size:12px;line-height:1.2;min-height:29px;height:100%;padding:5px 7px}
#passive-builder .pb-ascendancy-capstone{border-color:#917447;color:#f2d494}
.spell-reference summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;list-style:none;min-height:36px}
.spell-reference summary::-webkit-details-marker{display:none}
.spell-reference-title{min-width:0;line-height:1.6}
.spell-reference-toggle{display:inline-flex;align-items:center;gap:7px;color:#e6c18a;font-size:11px;font-weight:600;letter-spacing:.035em;white-space:nowrap}
.spell-reference-toggle .spell-reference-hide{display:none}
.spell-reference[open] .spell-reference-show{display:none}
.spell-reference[open] .spell-reference-hide{display:inline}
.spell-reference-chevron{flex:none;transition:transform .15s ease}
.spell-reference[open] .spell-reference-chevron{transform:rotate(180deg)}
.spell-reference:hover,.spell-reference[open]{border-color:#a98a58}
.spell-reference summary:hover .spell-reference-toggle{color:#ffe0a9}
.spell-reference summary:focus-visible{outline:2px solid #d7ad70;outline-offset:5px;border-radius:2px}
@media(prefers-reduced-motion:reduce){.spell-reference-chevron{transition:none}}

@media(min-width:761px){.pb-toolbar:has(.pb-super-budget:not([hidden])){grid-template-columns:2fr 1.6fr repeat(4,minmax(0,1fr))}}
.pb-super{margin:16px 0;padding:11px;border:1px solid #715a86;border-radius:5px;background:linear-gradient(145deg,#33253e,#221c2a 70%)}
.pb-sidebar .pb-super h3{color:#efd2f8;margin:0 0 8px}
.pb-sidebar .pb-super p,.pb-sidebar .pb-super li{color:#d8c7dd}
.pb-super[data-state=locked]{border-color:#594a61;background:#211c26}
.pb-super-source{color:#d2b4e1;font-size:12px;margin:8px 0;line-height:1.4}
.pb-super-source summary{cursor:pointer}
.pb-super-source summary:focus-visible{outline:2px solid #d6a9ee;outline-offset:2px}
.pb-super-source ul{margin:5px 0}
.pb-super-paths{display:grid;gap:7px;margin:10px 0 1px}
.pb-super-path{display:flex;gap:4px}
#passive-builder .pb-super-node{min-width:0;flex:1;border-color:#665576;background:#2a2334;color:#f0dfef;padding:6px 4px;line-height:1.2;font-size:11px;overflow-wrap:anywhere}
#passive-builder .pb-super-node:hover,#passive-builder .pb-super-node:focus-visible,#passive-builder .pb-super-node[aria-current=true]{border-color:#cda5ed;background:#453352}
#passive-builder .pb-super-keystone{color:#f5d692;border-color:#9d7f4d}
#passive-builder .pb-super-node[data-allocated=true]{color:#ffdfa1;border-color:#d2a76a;background:#4a352d}
.pb-super-eyebrow{color:#d8b6ef}
.pb-sidebar .pb-super-description{color:#ebd8ee;white-space:pre-line}
