.ashbranch-workspace{--ash-ink:#e7ddbd;--ash-muted:#a1b09d;--ash-gold:#ddbd6e;--ash-line:#806d3d66;--ash-panel:#11241dd9;color:var(--ash-ink);min-width:0;isolation:isolate;background:radial-gradient(ellipse at 32% 35%,#1a3e2a8a,transparent 60%),linear-gradient(145deg,#0b1c17,#13251d 65%,#0b1714);border:1px solid var(--ash-line);border-radius:16px;padding:22px;box-shadow:inset 0 0 80px #0005,0 14px 40px #0003}
.ashbranch-workspace *{box-sizing:border-box}
.ashbranch-workspace button,.ashbranch-workspace input,.ashbranch-workspace select{font:inherit}
.ashbranch-workspace button{min-height:44px;cursor:pointer;white-space:nowrap}
.ashbranch-workspace button:disabled{opacity:.43;cursor:default}
.ashbranch-workspace button:focus-visible,.ashbranch-workspace input:focus-visible,.ashbranch-workspace select:focus-visible,.ashbranch-workspace summary:focus-visible{outline:2px solid #f0ce7d;outline-offset:3px}
.ashbranch-header{display:flex;justify-content:space-between;gap:18px;align-items:start}
.ashbranch-header h2{font-size:27px;color:#f1d99c;margin:0 0 8px;letter-spacing:.06em}
.ashbranch-header p{margin:0 0 8px;color:var(--ash-muted);font-size:13px}
.ashbranch-kicker{font-size:10px!important;color:var(--ash-gold)!important;letter-spacing:.14em;font-weight:700;margin:0 0 8px!important}
.ashbranch-phase{border:1px solid var(--ash-line);padding:7px 12px;border-radius:999px;color:#e7cc89;font-size:12px;white-space:nowrap}
.ashbranch-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 10px}
.ashbranch-resources>div{border:1px solid #52725955;background:#1a302280;padding:12px 14px;border-radius:10px;min-width:0}
.ashbranch-resources span{display:block;color:var(--ash-muted);font-size:11px;margin-bottom:5px}
.ashbranch-resources b{font-size:19px;overflow-wrap:anywhere}
.ashbranch-resources small{font-size:11px;font-weight:400;color:#a2a991}
.ashbranch-status{font-size:12px;color:#d8c68b;min-height:18px;margin:0 0 12px}
.ashbranch-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,330px);gap:18px;align-items:start}
.ashbranch-tree-column{min-width:0}
.ashbranch-tree{min-height:510px;height:min(65vh,660px);max-height:760px;position:relative;overflow:hidden;border:1px solid #47634866;border-radius:14px;background:radial-gradient(ellipse at center,#2246347a,#0a1713 70%);box-shadow:inset 0 0 40px #0008}
.ashbranch-tree-art{position:absolute;inset:0;display:block;opacity:.83}
.ashbranch-tree-art img{width:100%;height:100%;object-fit:contain;object-position:center}
.ashbranch-tree-glow{position:absolute;inset:7% 12%;border-radius:50%;background:radial-gradient(ellipse,#d2b45b12,transparent 70%);pointer-events:none}
.ashbranch-node{position:absolute;left:var(--node-x);top:var(--node-y);transform:translate(-50%,-50%);width:86px;min-height:88px!important;border:1px solid #af985786;background:linear-gradient(145deg,#263d29ed,#10231bed);color:#e6d6a7;border-radius:50% 50% 12px 12px;box-shadow:0 5px 17px #0008,inset 0 1px 10px #c9b9681a;padding:7px 3px 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;white-space:nowrap;transition:border-color .15s,box-shadow .15s}
.ashbranch-node[aria-pressed=true]{border:2px solid #f1d382;color:#fff3c1;box-shadow:0 0 21px #d5b86861,inset 0 0 15px #c4ad4833}
.ashbranch-node.locked{background:linear-gradient(145deg,#192b23f0,#0b1713ed);color:#99a58e;border-color:#60735d77}
.ashbranch-node.bloomed{background:linear-gradient(145deg,#384931f0,#182c1bed);border-color:#dccb86}
.ashbranch-node-mark{font-size:28px;line-height:1;color:#d8bc6c;text-shadow:0 0 14px #e6c25266}
.ashbranch-node.locked .ashbranch-node-mark{color:#718777;text-shadow:none}
.ashbranch-node b{font-size:12px;line-height:1.3}
.ashbranch-node small{font-size:10px;color:#adb69a}
.ashbranch-tree-caption{position:absolute;bottom:12px;left:0;right:0;text-align:center;color:#d5c292;font-size:11px;letter-spacing:.08em;pointer-events:none}
.ashbranch-inspector{min-width:0;background:var(--ash-panel);border:1px solid #64734d66;border-radius:12px;padding:17px;box-shadow:0 10px 20px #0003}
.ashbranch-inspector h3{font-size:17px;margin:0 0 10px;color:#e9d49a}
.ashbranch-inspector h3 small{font-size:11px;color:var(--ash-muted);float:right;margin-top:5px}
.ashbranch-inspector p{font-size:12px;line-height:1.6;margin:9px 0}
.ashbranch-inspector h4{font-size:13px;color:#d9c58b;margin:0 0 5px}
.ashbranch-branch-state{color:#c5bd95}
.ashbranch-stage-track{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin:14px 0}
.ashbranch-stage-track i{height:6px;background:#2b4031;border-radius:2px}
.ashbranch-stage-track i.complete{background:#c5ad60;box-shadow:0 0 5px #c2a45a44}
.ashbranch-paths{padding:0;border:0;margin:16px 0}
.ashbranch-paths legend{font-size:11px;color:#aab29a;margin-bottom:8px}
.ashbranch-paths label{display:flex;gap:10px;align-items:center;min-height:58px;padding:10px 9px;border:1px solid #52634777;border-radius:8px;margin:6px 0;background:#10251b;cursor:pointer}
.ashbranch-paths label.selected{border-color:#b69c54;background:#2a3724}
.ashbranch-paths input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:#d7b65a}
.ashbranch-paths span{display:block;min-width:0}
.ashbranch-paths b{display:block;font-size:12px;color:#ddca93}
.ashbranch-paths small{display:block;font-size:11px;color:#b1bca4;line-height:1.45;margin-top:3px}
.ashbranch-quote-costs{margin:12px 0;background:#09181166;border-radius:8px;overflow:hidden}
.ashbranch-quote-costs>div{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-bottom:1px solid #42563a33;font-size:12px}
.ashbranch-quote-costs>div:last-child{border:0}
.ashbranch-quote-costs dt{min-width:0;color:#b6c0a8}
.ashbranch-quote-costs dd{margin:0;text-align:right;color:#e7d6a3;white-space:nowrap}
.ashbranch-quote-costs small{display:block;font-size:10px;color:#8e9e87;margin-top:2px}
.ashbranch-action{width:100%;border:1px solid #8e814e;background:#243c29;color:#ebd8a4;border-radius:8px;padding:10px 14px;white-space:nowrap;font-size:12px!important}
.ashbranch-action.primary{background:linear-gradient(135deg,#bca563,#89753b);color:#102317;border-color:#ddc486;font-weight:700;box-shadow:0 3px 12px #0004}
.ashbranch-note{color:#98a58e;font-size:11px!important;line-height:1.6}
.ashbranch-reason{color:#d7b280!important;font-size:11px!important;white-space:normal;overflow-wrap:anywhere}
.ashbranch-inspector details{margin-top:15px;border-top:1px solid #64764b55;padding-top:12px}
.ashbranch-inspector summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#d2c08d;font-size:12px;font-weight:700;min-height:44px;cursor:pointer;list-style:none}
.ashbranch-inspector summary:after{content:'＋';color:#8d9d75;font-size:16px}
.ashbranch-inspector details[open]>summary:after{content:'−'}
.ashbranch-inspector summary small,.ashbranch-inspector summary b{margin-left:auto;font-size:10px;color:#98ae89}
.ashbranch-effects{border:1px solid #55704a44;border-radius:10px;background:#11231c88;padding:14px;margin-top:14px}
.ashbranch-effects h3{font-size:12px;margin:0 0 8px;color:#cabb8b}
.ashbranch-effects p{font-size:12px;line-height:1.6;color:#adb89f;margin:0}
.ashbranch-field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#acb99f;margin:13px 0;min-width:0}
.ashbranch-field select,.ashbranch-field input,.ashbranch-nutrition-row [data-ash-number]{width:100%;max-width:100%;min-width:0;min-height:44px;background:#0b1e15;border:1px solid #62764b77;border-radius:7px;padding:9px;color:#e0d4ad}
.ashbranch-field select{font-size:12px}
.ashbranch-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;font-size:12px}
.ashbranch-toggle input{width:20px;height:20px;accent-color:#d0b567}
.ashbranch-settings-limits{display:grid;grid-template-columns:1fr;gap:0}
.ashbranch-nutrition-row{display:grid;grid-template-columns:minmax(0,1fr) 98px;gap:8px;align-items:center;border-top:1px solid #435a3b55;padding:9px 0}
.ashbranch-nutrition-row>label:first-child{display:flex;align-items:center;gap:8px;font-size:11px;min-height:44px}
.ashbranch-nutrition-row input[type=checkbox]{width:18px;height:18px;accent-color:#d0b567;flex-shrink:0}
.ashbranch-nutrition-row>label:last-child{font-size:9px;color:#8ea186}
.ashbranch-nutrition-row small{display:block;font-size:10px;color:#82967c;margin-top:3px}
.ashbranch-nutrition-row [data-ash-number]{margin-top:4px;font-size:11px}
.ashbranch-decor-list article{border:1px solid #4a633b66;border-radius:9px;padding:11px;margin:8px 0}
.ashbranch-review{background:linear-gradient(145deg,#343822,#182d1e);border:1px solid #c0a252;border-radius:10px;padding:14px;margin-bottom:18px;box-shadow:0 0 20px #b9973333}
.ashbranch-review-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin-top:12px}
.ashbranch-review-actions>button{border-radius:8px;border:1px solid #82905d77;background:#1a2f20;color:#d1c697;white-space:nowrap;font-size:12px;padding:9px}
.ashbranch-consume-warning{color:#e4b984!important;background:#76512720;border-left:2px solid #c39556;padding:10px;font-size:11px!important}
.ashbranch-consume-ack{display:flex;gap:9px;align-items:center;min-height:44px;font-size:11px;line-height:1.5;color:#e5bc8c}
.ashbranch-consume-ack input{width:20px;height:20px;flex-shrink:0;accent-color:#d6b565}
.ashbranch-quest{padding:14px;border:1px solid #82794288;border-radius:10px;margin-bottom:18px;background:#27301d99}
.ashbranch-quest ol{padding-left:19px;font-size:11px;line-height:1.9;color:#aeba9b;margin:10px 0}
.ashbranch-quest li.done{color:#cfbc7f}
.ashbranch-quest li.done::marker{color:#d0b15b}
.ashbranch-sheet-open,.ashbranch-sheet-heading,.ashbranch-sheet-backdrop{display:none}
.ashbranch-offering-tiers>div{margin:8px 0}
.ashbranch-inspector>.ashbranch-branch-inspector:first-child{padding-top:0}
@media(max-width:1100px) and (min-width:701px){.ashbranch-workspace{padding:16px}.ashbranch-main{grid-template-columns:minmax(260px,1fr) minmax(245px,300px);gap:12px}.ashbranch-tree{min-height:485px}.ashbranch-node{width:74px;min-height:79px!important}.ashbranch-node-mark{font-size:24px}.ashbranch-inspector{padding:13px}.ashbranch-resources>div{padding:10px}}
@media(max-width:700px),(max-width:1000px) and (max-height:600px) and (pointer:coarse){.ashbranch-workspace{padding:14px 10px;border-radius:12px}.ashbranch-header{gap:8px}.ashbranch-header h2{font-size:22px}.ashbranch-header p:not(.ashbranch-kicker){font-size:11px;max-width:190px;line-height:1.5}.ashbranch-phase{font-size:10px;padding:6px 9px}.ashbranch-resources{gap:6px;margin:12px 0 9px}.ashbranch-resources>div{padding:9px 7px}.ashbranch-resources span{font-size:9px}.ashbranch-resources b{font-size:16px}.ashbranch-resources small{font-size:9px;display:block;margin-top:3px}.ashbranch-status{font-size:10px;line-height:1.6}.ashbranch-main{display:block}.ashbranch-tree{min-height:410px;height:112vw;max-height:500px}.ashbranch-node{width:68px;min-height:74px!important;border-radius:50% 50% 10px 10px;padding:6px 3px}.ashbranch-node-mark{font-size:23px}.ashbranch-node b{font-size:11px}.ashbranch-node small{font-size:9px}.ashbranch-tree-caption{font-size:10px;bottom:9px}.ashbranch-sheet-open{display:flex;align-items:center;justify-content:space-between;width:100%;margin:10px 0 0;border:1px solid #938452;background:#293e28;color:#e6d7a1;border-radius:9px;min-height:44px;padding:10px 13px;white-space:nowrap;font-size:12px!important}.ashbranch-inspector{display:none;position:fixed;z-index:120;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));max-height:82dvh;overflow-y:auto;overscroll-behavior:contain;border:1px solid #9b8f58;border-radius:18px 18px 10px 10px;padding:14px;background:#12281ff5;box-shadow:0 -10px 55px #000b;max-width:480px;margin:0 auto}.ashbranch-workspace[data-sheet-open=true] .ashbranch-inspector{display:block}.ashbranch-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:-14px;background:#142a20;padding:4px 0 8px;margin-bottom:12px;border-bottom:1px solid #70845277;z-index:1;font-size:13px;color:#ded09c}.ashbranch-sheet-heading button{width:44px;min-height:44px;border:1px solid #6b7e4f77;border-radius:50%;background:#203924;color:#dcc689;font-size:16px}.ashbranch-sheet-backdrop:not([hidden]){display:block;position:fixed;z-index:119;inset:0;background:#020b07ad;border:0;cursor:default}.ashbranch-inspector h3{font-size:17px}.ashbranch-review{padding:12px}.ashbranch-quote-costs>div{gap:8px;padding:9px;font-size:11px}.ashbranch-review-actions{grid-template-columns:1fr 1.5fr}.ashbranch-paths label{min-height:60px}.ashbranch-effects{padding:12px}.ashbranch-effects p{font-size:11px}.ashbranch-nutrition-row{grid-template-columns:minmax(0,1fr) 95px}}
@media(prefers-reduced-motion:reduce){.ashbranch-node{transition:none}}
.ashbranch-workspace[data-layout=stacked] .ashbranch-main{grid-template-columns:minmax(0,1fr)}
.ashbranch-node.locked[aria-pressed=true]{border-color:#f1d382;color:#fff3c1;box-shadow:0 0 21px #d5b86861,inset 0 0 15px #c4ad4833}
.ashbranch-effect-rules{margin-top:7px;border-top:1px solid #56734644;padding-top:6px}
.ashbranch-effect-rules summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#c1b582;font-size:11px;list-style:none}
.ashbranch-effect-rules summary:after{content:'＋';margin-left:auto;color:#a6aa7d}
.ashbranch-effect-rules[open] summary:after{content:'−'}
.ashbranch-decor-light{position:absolute;inset:8%;pointer-events:none;border-radius:48%;background:radial-gradient(circle at 30% 22%,#f6c75c66,transparent 12%),radial-gradient(circle at 74% 27%,#ecd8884d,transparent 14%),radial-gradient(circle at 50% 66%,#cdba6b33,transparent 35%);box-shadow:inset 0 0 35px #c8b65925;opacity:.85}
.ashbranch-tree[data-decor=depth-50m] .ashbranch-decor-light,.ashbranch-tree[data-decor=star-canopy] .ashbranch-decor-light{background:radial-gradient(circle at 25% 20%,#d4ece566,transparent 18%),radial-gradient(circle at 76% 18%,#cceede4d,transparent 16%),radial-gradient(circle at 50% 52%,#7bd0a433,transparent 38%)}
.ashbranch-tree[data-decor=depth-100m] .ashbranch-decor-light{background:radial-gradient(circle at 35% 25%,#f1bdbe55,transparent 16%),radial-gradient(circle at 73% 34%,#e9bbd344,transparent 18%),radial-gradient(circle at 50% 50%,#c983ac33,transparent 40%)}
.ashbranch-tree[data-decor=depth-300m] .ashbranch-decor-light,.ashbranch-tree[data-decor=eternal-lantern] .ashbranch-decor-light{inset:4%;box-shadow:inset 0 0 70px #dcc7634d,0 0 24px #c7ac3d33}
.ashbranch-tree[data-decor$=-frost] .ashbranch-decor-light{background:radial-gradient(circle at 25% 20%,#c7ecfb80,transparent 18%),radial-gradient(circle at 76% 28%,#cceefa60,transparent 16%),radial-gradient(circle at 50% 52%,#71bacf44,transparent 38%)}
.ashbranch-tree[data-decor$=-abyss] .ashbranch-decor-light{background:radial-gradient(circle at 30% 22%,#a698e280,transparent 18%),radial-gradient(circle at 72% 28%,#c1a0ec55,transparent 18%),radial-gradient(circle at 50% 56%,#806bc644,transparent 40%)}
@media(max-width:700px),(max-width:1000px) and (max-height:600px) and (pointer:coarse){.ashbranch-workspace{isolation:auto}}
.ashbranch-paths .ashbranch-pvp-effect{color:#c6b18d;font-size:10px}
.ashbranch-tree{--ash-seed-filter:saturate(1.03);--ash-seed-glow:radial-gradient(ellipse,#d8b05a16,transparent 70%)}
.ashbranch-tree-art img{filter:var(--ash-seed-filter) drop-shadow(0 0 14px #b6b36e30)}
.ashbranch-tree-glow{background:var(--ash-seed-glow)}
.ashbranch-tree[data-seed=frost]{--ash-seed-filter:hue-rotate(145deg) saturate(.78) brightness(1.08);--ash-seed-glow:radial-gradient(ellipse,#80cae333,transparent 70%);background:radial-gradient(ellipse at center,#183847a8,#09151d 74%)}
.ashbranch-tree[data-seed=abyss]{--ash-seed-filter:hue-rotate(220deg) saturate(.83) brightness(.9);--ash-seed-glow:radial-gradient(ellipse,#a07adc38,transparent 70%);background:radial-gradient(ellipse at center,#342546aa,#110f1a 74%)}
.ashbranch-review [data-ash-review-heading]{scroll-margin-top:100px}
.ashbranch-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:#0c1e16;border:1px solid #64744a66;border-radius:10px;margin:0 0 16px;position:sticky;top:0;z-index:2}
.ashbranch-tabs button{min-width:44px;border:1px solid transparent;border-radius:7px;background:transparent;color:#9fac93;font-size:12px;font-weight:700;padding:8px 4px}
.ashbranch-tabs button[aria-selected=true]{border-color:#c5ad6599;background:linear-gradient(145deg,#36462b,#263a25);color:#efdaa0;box-shadow:inset 0 1px 8px #d5b86b18}
.ashbranch-tab-panel[hidden],.ashbranch-panels[hidden]{display:none!important}
.ashbranch-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ashbranch-section-heading h3{margin:0}
.ashbranch-section-heading>b{font-size:11px;border:1px solid #697e4e77;border-radius:5px;padding:5px 8px;color:#c8be89}
.ashbranch-offering-progress{font-size:12px!important;color:#d4c495!important;background:#243724;border:1px solid #667c4e44;border-radius:8px;padding:10px}
.ashbranch-offering-tiers{display:grid;gap:10px;margin:16px 0}
.ashbranch-offering-tiers article{border:1px solid #93804b88;border-radius:10px;background:linear-gradient(145deg,#2a3b25,#13271c);padding:12px}
.ashbranch-offering-tiers h4{font-size:13px;color:#e7ce8d;margin:0 0 8px}
.ashbranch-offering-tiers article p{font-size:11px;line-height:1.5;color:#bfc3a5;margin:0 0 10px;overflow-wrap:anywhere}
.ashbranch-offering-tiers article .ashbranch-action{margin:0;width:100%}
.ashbranch-quest-steps{list-style:none;padding:0!important;margin:12px 0!important;border-left:2px solid #59704755}
.ashbranch-quest-steps li{padding:5px 8px;line-height:1.6;color:#84977f}
.ashbranch-quest-steps li.active{background:#746a302a;color:#f0d89a;border-left:2px solid #d3b965;margin-left:-2px;font-weight:700}
.ashbranch-quest-steps li.done{color:#a9bd8b}
.ashbranch-quest-progress{font-size:14px!important;font-weight:700;color:#e4cf8c!important}
.ashbranch-quest-completed{font-size:11px;background:#12271c88;border-radius:8px;padding:10px;line-height:1.6}
.ashbranch-quest-completed>b{color:#b9c59b}
.ashbranch-quest-completed ul{margin:5px 0 0;padding-left:16px;color:#d4c59e}
.ashbranch-quest-completed p{font-size:11px!important;margin:4px 0 0}
.ashbranch-quest-targets ul{padding:0;list-style:none;margin:8px 0;max-height:210px;overflow-y:auto}
.ashbranch-quest-targets li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #4a663944;font-size:11px}
.ashbranch-quest-targets li span{min-width:0;overflow-wrap:anywhere}
.ashbranch-quest-targets li small{display:block;font-size:10px;color:#8fa283;margin-top:3px}
.ashbranch-quest-targets li b{font-size:10px;color:#d1c385;white-space:nowrap}
@media(max-width:700px),(max-width:1000px) and (max-height:600px) and (pointer:coarse){.ashbranch-tabs{top:42px;margin-bottom:14px}.ashbranch-sheet-heading{z-index:3}.ashbranch-offering-tiers article{padding:11px}.ashbranch-quest{padding:12px}}

.ashbranch-reallocate{margin:12px 0;border:1px solid var(--gold);border-radius:6px;padding:10px 12px}.ashbranch-reallocate>summary{cursor:pointer;color:var(--gold);font-weight:700;min-height:32px;align-content:center}
