.elendris-alchemy{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:#100c09d9;padding:20px;color:#382411;font-family:Georgia,'Times New Roman',serif}.elendris-alchemy *{box-sizing:border-box}.elendris-alchemy section{width:min(1120px,100%);max-height:92vh;overflow:auto;background:#f0e2bc;border:3px solid #84602e;border-radius:14px;box-shadow:0 14px 70px #0009}.elendris-alchemy header{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;background:linear-gradient(120deg,#302014,#594021);color:#f6df9c;border-bottom:3px double #be9852}.elendris-alchemy h2{margin:5px 0;font-size:32px;color:inherit}.elendris-alchemy small{letter-spacing:.08em;font:700 11px/1.6 system-ui,sans-serif}.elendris-alchemy button{cursor:pointer;border:1px solid #836331;border-radius:6px;background:#68451e;color:#fff1cd;padding:9px 15px;font:600 14px/1.3 system-ui,sans-serif}.elendris-alchemy button:hover{background:#8c622e}.elendris-alchemy button:focus-visible,.elendris-alchemy select:focus-visible,.elendris-alchemy input:focus-visible{outline:3px solid #2375a0;outline-offset:3px}.elendris-alchemy button:disabled{opacity:.5;cursor:not-allowed}.elendris-alchemy header button{font-size:28px;background:transparent;border:0}.alchemy-intro,.alchemy-message{margin:16px 26px}.elendris-alchemy nav{display:flex;gap:8px;flex-wrap:wrap;padding:0 26px}.elendris-alchemy nav button[aria-pressed=true]{background:#f5d992;color:#362410;box-shadow:inset 0 -3px #906a32}.alchemy-content{padding:18px 26px 28px}.alchemy-filters{display:grid;grid-template-columns:2fr 1.4fr 1fr 1fr;gap:9px;margin-bottom:20px}.elendris-alchemy input,.elendris-alchemy select{max-width:100%;padding:10px;border:1px solid #ae9159;border-radius:5px;background:#fff7e3;color:#382411;font:14px system-ui,sans-serif}.alchemy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.alchemy-card{display:flex;gap:15px;border:1px solid #b18b4f;border-top:3px solid #925f28;background:linear-gradient(140deg,#fff6df,#e9d6a9);border-radius:8px;padding:20px;box-shadow:0 3px 8px #563e1216;min-width:0}.alchemy-card>div:last-child{flex:1;min-width:0}.alchemy-card h3{font-size:21px;margin:5px 0 12px}.alchemy-card p{font:14px/1.55 system-ui,sans-serif;margin:9px 0;overflow-wrap:anywhere}.alchemy-card ul{font:13px/1.6 system-ui,sans-serif;padding-left:18px}.alchemy-seal{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:52px;height:64px;border:2px double #ae8748;border-radius:40% 40% 48% 48%;font-size:29px;background:#d0ae68;color:#47321b}.alchemy-meta{color:#6e572d}.alchemy-effect{display:flex;gap:16px;align-items:center;padding:16px;background:#f9edcf;border:1px solid #b89b64;margin-bottom:10px;border-radius:6px}.alchemy-effect strong{flex:1}.alchemy-phases{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.alchemy-phase{padding:16px;background:#ddc99e;border:2px solid transparent;border-radius:7px}.alchemy-phase.is-current{border-color:#277043;background:#e4ebca}.alchemy-phase input{width:100%;padding:0;margin:10px 0;accent-color:#68451e}.alchemy-phase output{display:block;margin-bottom:10px}.alchemy-job{padding:20px;border:1px solid #aa8345;border-radius:8px;background:#fff2d2;margin-bottom:20px}.alchemy-job>button{margin-top:18px}.alchemy-job>p{font:14px/1.6 system-ui,sans-serif}.alchemy-message{font:600 14px/1.5 system-ui,sans-serif;color:#30512b;min-height:20px}.alchemy-message.is-error,.is-missing{color:#9a3024}.alchemy-empty,.alchemy-note{font:15px/1.6 system-ui,sans-serif}.alchemy-card label{display:block;font:13px system-ui,sans-serif;margin:10px 0}.alchemy-card label select{display:block;width:100%}@media(max-width:700px){.elendris-alchemy{padding:5px}.elendris-alchemy section{max-height:98dvh}.elendris-alchemy header{padding:14px 16px}.alchemy-intro,.alchemy-message{margin:12px 16px}.elendris-alchemy nav{padding:0 16px}.alchemy-content{padding:16px}.alchemy-grid,.alchemy-phases{grid-template-columns:1fr}.alchemy-filters{grid-template-columns:1fr 1fr}.alchemy-card{padding:14px}.alchemy-seal{width:40px;height:50px;font-size:24px}.alchemy-effect{flex-wrap:wrap}.alchemy-effect strong{flex-basis:65%}}

.alchemy-filters>*{min-width:0;width:100%}.alchemy-seal svg{display:block}.alchemy-seal{height:72px;width:52px;background:#e6cc93;border:0;border-radius:6px}.alchemy-message:empty{min-height:0;margin-top:8px;margin-bottom:8px}@media(max-width:700px){.alchemy-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.alchemy-seal{width:38px;height:60px}.alchemy-seal svg{width:32px;height:44px}}

/* Manuscript paintings are shared by family; the visible Roman seal identifies the tier. */
.alchemy-source-map{padding:18px;margin-top:24px;border:1px solid #ae9159;background:#fff3d6;border-radius:6px;font:14px/1.6 system-ui,sans-serif}.alchemy-source-map summary{cursor:pointer;font-weight:700;padding:8px 0}.alchemy-source-map details{border-top:1px solid #d2b985}.alchemy-source-map li{overflow-wrap:anywhere}.alchemy-content>h3{font-size:23px;margin-top:30px}
.alchemy-workshop-controls{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0}.alchemy-workshop-controls label{flex:1;min-width:200px;font:600 14px/1.6 system-ui,sans-serif}.alchemy-workshop-controls select{display:block;width:100%;margin-top:5px}.alchemy-timing-track{position:relative;height:36px;margin:18px 4px;background:#aa795150;border:2px solid #806039;border-radius:6px;overflow:visible}.alchemy-target-zone{position:absolute;top:0;height:100%;background:#4b8a54;border-left:2px solid #315e37;border-right:2px solid #315e37}.alchemy-pointer{position:absolute;top:-7px;height:46px;width:5px;transform:translateX(-50%);background:#482114;box-shadow:0 0 0 2px #fff3ce;border-radius:2px}.alchemy-phase-status{min-height:36px;font:13px/1.4 system-ui,sans-serif}.alchemy-phase button{min-height:44px}.alchemy-workshop-controls+.alchemy-note{margin-bottom:18px}.alchemy-grid{margin-top:14px}
.alchemy-art{position:relative;flex:0 0 160px;width:160px;aspect-ratio:1;margin:0;align-self:flex-start;overflow:hidden;border:1px solid #80552c;border-radius:3px;background:#dfc893;box-shadow:0 2px 7px #53351229}
.alchemy-art-image{display:block;width:100%;height:100%;object-fit:contain;background:#e5cd91}
.alchemy-art-image[hidden],.alchemy-art-fallback[hidden]{display:none}
.alchemy-art-fallback{display:flex;width:100%;height:100%;min-height:120px;align-items:center;justify-content:center;background:#eee0bc}
.alchemy-art-fallback svg{width:37px;height:48px}
.alchemy-tier{position:absolute;right:7px;bottom:7px;min-width:32px;padding:3px 8px;text-align:center;border:1px solid #e4c078;border-radius:3px;background:#4f2d1cf2;color:#fff1c9;font:700 17px/1.3 Georgia,serif;box-shadow:0 1px 4px #24150b55}
.alchemy-card h3{line-height:1.22;overflow-wrap:anywhere}.alchemy-card>div:last-child{padding-top:1px}
.alchemy-effect .alchemy-art{flex-basis:120px;width:120px}.alchemy-effect-copy{flex:1;min-width:0}.alchemy-effect-copy strong,.alchemy-effect-copy>span{display:block;margin-bottom:10px;overflow-wrap:anywhere}.alchemy-effect-copy strong{font-size:20px;line-height:1.3}.alchemy-effect-copy button{max-width:100%}
.alchemy-job-heading{display:flex;align-items:center;gap:22px;margin-bottom:20px}.alchemy-job-heading>div{min-width:0}.alchemy-job-heading h3{font-size:25px;line-height:1.25;margin:6px 0 10px;overflow-wrap:anywhere}.alchemy-job-heading p{font:14px/1.5 system-ui,sans-serif}
@media(min-width:701px) and (max-width:960px){.alchemy-grid{grid-template-columns:1fr}.alchemy-art{flex-basis:180px;width:180px}}
@media(max-width:700px){.alchemy-art{flex-basis:150px;width:150px}.alchemy-effect{flex-wrap:nowrap;gap:14px}.alchemy-effect-copy strong{font-size:18px}.alchemy-job-heading{gap:16px}.alchemy-job-heading h3{font-size:22px}}
@media(max-width:480px){.alchemy-card{display:block}.alchemy-card .alchemy-art{width:180px;margin:0 auto 16px}.alchemy-job-heading{display:block}.alchemy-job-heading .alchemy-art{width:180px;margin:0 auto 16px}.alchemy-effect{align-items:flex-start}.alchemy-effect-copy button{padding:8px;font-size:13px}.alchemy-effect .alchemy-art{flex-basis:120px;width:120px}}
.elendris-alchemy button.alchemy-source-link{display:inline;padding:0;border:0;background:none;box-shadow:none;border-radius:0;color:#633d1c;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:2px;min-height:0}
.alchemy-source-map summary{cursor:pointer;padding:10px 0;font-weight:700}.alchemy-source-map>details{padding-left:16px;border-top:1px solid #b8915155}.alchemy-source-map li{margin:7px 0;line-height:1.5}

/* The journal and the physical tower use the same accessible brewing controls. */
.elendris-alchemy>section{border:5px double #806334;border-radius:5px;background:radial-gradient(ellipse at 15% 20%,#fff9e755,transparent 65%),repeating-linear-gradient(83deg,#59371703 0 1px,transparent 1px 4px),#eee0bd;box-shadow:0 20px 90px #000b,inset 0 0 80px #92703a22}
.elendris-alchemy header{background:linear-gradient(110deg,#43241d,#6e3928 65%,#3e291d);border-bottom:5px double #bc934b;padding:19px 28px}
.elendris-alchemy header small{color:#e0bd78;letter-spacing:.17em}.elendris-alchemy h2{font-weight:500;letter-spacing:.02em}.elendris-alchemy h3{color:#572c20}
.elendris-alchemy nav{padding-top:4px;gap:5px}.elendris-alchemy nav button{background:transparent;color:#69472a;border:1px solid #9d784d66;border-bottom:3px solid #a78653;border-radius:3px;padding:10px 15px}.elendris-alchemy nav button[aria-pressed=true]{background:#763b29;color:#fff2cc;border-color:#783b27;box-shadow:none}
.elendris-alchemy button{border-radius:3px;min-height:42px}.elendris-alchemy button.alchemy-primary{background:#753828;border:2px solid #b99859;box-shadow:0 0 0 1px #5b3021;padding:13px 24px;font-size:15px}.elendris-alchemy button.alchemy-primary:hover{background:#8b4930}
.alchemy-card{border-radius:2px;border:1px solid #ac844f;border-top:3px double #93523a;background:linear-gradient(145deg,#fff5dbb3,#e6d3a573);box-shadow:none}
.alchemy-book-banner{position:relative;min-height:250px;padding:32px 48% 28px 30px;margin:24px 0;background:linear-gradient(90deg,#f5e7c5d9 0%,#f4e5c1a8 33%,transparent 65%),url('../images/alchemy/workbench-illuminated-v1.webp') center/cover;border:5px double #856039;box-shadow:inset 0 0 0 5px #ead8ae70}.alchemy-book-banner h3{font-size:31px;font-weight:500;line-height:1.12;margin:12px 0}.alchemy-book-banner p{font:15px/1.6 Georgia,serif;color:#402a18}.alchemy-book-heading{padding-bottom:12px;border-bottom:3px double #ac814b}
.alchemy-preparation{padding:24px;margin:22px 0 30px;border:5px double #9e7845;background:#fff5daa8;position:relative}.alchemy-preparation:before,.alchemy-preparation:after{content:'❧';position:absolute;color:#8e462b;font-size:30px;top:-19px;background:#f3e5c4;padding:0 7px;line-height:1}.alchemy-preparation:before{left:14px}.alchemy-preparation:after{right:14px;transform:scaleX(-1)}
.alchemy-preparation-heading{display:flex;align-items:center;gap:26px}.alchemy-preparation-heading h3{font-size:31px;margin:8px 0 14px;line-height:1.18}.alchemy-preparation-heading p{font:14px/1.65 system-ui,sans-serif}.alchemy-preparation-heading .alchemy-art{flex-basis:180px;width:180px}
.alchemy-workflow{list-style:none;display:flex;gap:0;padding:0;margin:24px 0;border-block:1px solid #b69a64;font:600 13px/1.5 system-ui,sans-serif;counter-reset:brew}.alchemy-workflow li{flex:1;padding:12px 8px;color:#7c6949}.alchemy-workflow li:before{counter-increment:brew;content:counter(brew) ' · ';color:#945339}.alchemy-workflow .is-current{color:#5d3020;background:#c6ab7040}
.alchemy-ingredient-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.alchemy-ingredient-slot{text-align:center;border:1px solid #bda16b;border-radius:46% 46% 4px 4px;padding:12px 10px;background:radial-gradient(ellipse at top,#e4deb6,#f9edce 65%);min-width:0}.alchemy-ingredient-mark{display:block;font-size:38px;color:#4d6540;line-height:1.2}.alchemy-ingredient-slot.is-missing{background:#e7ccb9;color:#863e2f}.alchemy-ingredient-slot button.alchemy-source-link{display:block;text-align:center;font:600 13px/1.5 system-ui,sans-serif;width:100%;min-height:39px}.alchemy-ingredient-slot strong,.alchemy-ingredient-slot small{display:block;margin-top:5px}.alchemy-ingredient-slot strong{font:700 17px/1.4 Georgia,serif}.alchemy-ingredient-slot small{font-size:10px;letter-spacing:.03em}
.alchemy-batch-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 12px;padding:16px 0;border-block:1px solid #b69a64}.alchemy-batch-summary dt{font:12px/1.5 system-ui,sans-serif;color:#765b35}.alchemy-batch-summary dd{margin:4px 0 0;font:700 17px/1.4 Georgia,serif}.alchemy-fineprint{font:12px/1.5 system-ui,sans-serif;color:#715a39;margin-bottom:0}
.alchemy-field-bag{display:flex;align-items:center;gap:16px;background:#e0d5ac;border:1px solid #9f8753;padding:12px 16px;margin-bottom:20px}.alchemy-field-bag>div{flex:1}.alchemy-field-bag p{font:12px/1.5 system-ui,sans-serif;margin:6px 0}.alchemy-field-bag button{white-space:nowrap}
.alchemy-job{border:5px double #9e7845;border-radius:2px;background:#f7eaca;padding:24px}.alchemy-job-heading{padding-bottom:18px;border-bottom:1px solid #ae8753}.alchemy-job-heading .alchemy-art{width:140px;flex-basis:140px}.alchemy-phase{background:#dfcca1;border:1px solid #b89a61;border-radius:3px;padding:16px}.alchemy-phase.is-current{border:2px solid #63824d;background:#f1eed0;box-shadow:0 0 0 3px #6481461c}.alchemy-step-number{display:inline-flex;border:1px solid #ad8347;border-radius:50%;width:26px;height:26px;align-items:center;justify-content:center;margin-right:5px;background:#f7e6bc;color:#793a29}.alchemy-phase>p{font:13px/1.5 system-ui,sans-serif}.alchemy-phase-status{min-height:20px;margin-bottom:0}.alchemy-phase>strong{font-size:18px}.alchemy-phase button{width:100%;background:#613e26}.alchemy-phase.is-current button{background:#4d673b}.alchemy-phase input[type=range]{min-height:34px;cursor:ew-resize}.alchemy-phase output{font:700 20px Georgia,serif}.alchemy-timing-track{height:30px;background:repeating-linear-gradient(90deg,#a2845028 0 9%,#a2845066 9% 10%);border-color:#a08148}.alchemy-target-zone{background:repeating-linear-gradient(45deg,#5d8250 0 4px,#75945e 4px 8px)}.alchemy-pointer{top:-7px;height:40px;background:#7b3025;box-shadow:0 0 0 2px #fff5d7}
.alchemy-job-footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.alchemy-refund-note{margin-top:16px;font:12px/1.6 system-ui,sans-serif;color:#765c3a}.alchemy-refund-note summary{cursor:pointer}.alchemy-job-picker{display:block;font:600 13px system-ui,sans-serif;margin-bottom:12px}.alchemy-job-picker select{display:block;margin-top:5px;width:100%}
.elendris-alchemy.is-spatial{padding:0;background:transparent;pointer-events:none;align-items:stretch}.elendris-alchemy.is-spatial>section{position:relative;width:100%;height:100dvh;max-height:100dvh;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;pointer-events:none}.is-spatial header,.is-spatial nav,.is-spatial .alchemy-content,.is-spatial .alchemy-message{pointer-events:auto}.is-spatial header{position:absolute;right:18px;top:16px;width:420px;padding:10px 16px;border:3px double #b38d4c}.is-spatial header h2{font-size:25px;margin:3px 0}.is-spatial header small{font-size:9px}.is-spatial .alchemy-intro{display:none}.is-spatial nav{position:absolute;right:18px;top:103px;width:420px;padding:0}.is-spatial nav button{background:#e9d8ae;font-size:12px;min-height:36px;flex:1;padding:7px}.is-spatial .alchemy-message{position:absolute;right:18px;top:146px;width:420px;margin:0;padding:8px 12px;background:#f4e6c5;border:1px solid #947346;font-size:12px;max-height:70px;overflow:auto}.is-spatial .alchemy-message:empty{display:none}.is-spatial .alchemy-content{position:absolute;right:18px;bottom:16px;top:222px;width:420px;padding:16px;overflow:auto;overscroll-behavior:contain;border:4px double #9d7541;background:#f2e3bff5;box-shadow:0 8px 36px #0006}
.is-spatial .alchemy-grid{grid-template-columns:1fr}.is-spatial .alchemy-card{padding:12px;gap:12px}.is-spatial .alchemy-card .alchemy-art{width:120px;flex-basis:120px;margin:0}.is-spatial .alchemy-card h3{font-size:20px}.is-spatial .alchemy-card p,.is-spatial .alchemy-card ul{font-size:12px}.is-spatial .alchemy-preparation{padding:14px;margin-block:20px}.is-spatial .alchemy-preparation-heading{gap:12px}.is-spatial .alchemy-preparation-heading .alchemy-art{width:120px;flex-basis:120px}.is-spatial .alchemy-preparation-heading h3{font-size:22px}.is-spatial .alchemy-preparation-heading p{font-size:12px}.is-spatial .alchemy-workshop-controls{gap:10px}.is-spatial .alchemy-workshop-controls label{min-width:150px;font-size:12px}.is-spatial .alchemy-book-banner{padding:20px 30% 20px 18px;min-height:200px}.is-spatial .alchemy-book-banner h3{font-size:25px}.is-spatial .alchemy-field-bag{display:block}.is-spatial .alchemy-ingredient-slots{gap:6px}.is-spatial .alchemy-ingredient-slot{padding:10px 5px}.is-spatial .alchemy-ingredient-slot button.alchemy-source-link{font-size:11px}.is-spatial .alchemy-filters{grid-template-columns:1fr 1fr}.is-spatial .alchemy-batch-summary dd{font-size:15px}
.is-spatial[data-view=jobs] .alchemy-content{top:auto;bottom:16px;left:50%;right:auto;transform:translateX(-50%);width:min(980px,calc(100% - 32px));max-height:49dvh;padding:14px}.is-spatial .alchemy-job{padding:0;border:0;background:transparent;margin:0}.is-spatial .alchemy-job-heading{gap:12px;margin-bottom:12px;padding-bottom:10px}.is-spatial .alchemy-job-heading .alchemy-art{width:72px;flex-basis:72px;margin:0}.is-spatial .alchemy-job-heading h3{font-size:23px;margin:0 0 4px}.is-spatial .alchemy-job-heading p{margin:2px 0;font-size:12px}.is-spatial .alchemy-job-instructions{font-size:12px;margin:10px 0}.is-spatial .alchemy-phase{padding:10px}.is-spatial .alchemy-phase>strong{font-size:16px}.is-spatial .alchemy-phase:not(.is-current)>p:not(.alchemy-phase-status),.is-spatial .alchemy-phase:not(.is-current)>input,.is-spatial .alchemy-phase:not(.is-current)>output,.is-spatial .alchemy-phase:not(.is-current)>.alchemy-timing-track,.is-spatial .alchemy-phase:not(.is-current)>button{display:none}.is-spatial .alchemy-phase p{margin:6px 0}.is-spatial .alchemy-phase input[type=range]{margin:0}.is-spatial .alchemy-phase output{display:inline-block;margin:0 0 6px}.is-spatial .alchemy-job-footer{margin-top:10px}.is-spatial .alchemy-refund-note{margin-top:8px}
@media(max-width:700px){.alchemy-book-banner{min-height:230px;padding:24px 35% 20px 20px}.alchemy-book-banner h3{font-size:26px}.alchemy-preparation{padding:16px}.alchemy-preparation-heading{gap:15px}.alchemy-preparation-heading h3{font-size:25px}.alchemy-preparation-heading .alchemy-art{width:140px;flex-basis:140px}.alchemy-ingredient-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.alchemy-batch-summary dd{font-size:15px}.alchemy-workflow{font-size:11px}.alchemy-field-bag{display:block}.alchemy-job{padding:16px}.alchemy-job-heading{display:flex}.alchemy-job-heading .alchemy-art{width:120px;flex-basis:120px;margin:0}.alchemy-phases{gap:10px}.is-spatial header{top:8px;right:8px;width:min(350px,calc(100% - 16px));padding:7px 12px}.is-spatial header h2{font-size:21px}.is-spatial nav{top:80px;right:8px;width:min(350px,calc(100% - 16px))}.is-spatial .alchemy-message{right:8px;top:122px;width:min(350px,calc(100% - 16px));max-height:55px}.is-spatial .alchemy-content,.is-spatial[data-view=jobs] .alchemy-content{top:auto;bottom:8px;right:8px;left:8px;transform:none;width:calc(100% - 16px);height:auto;max-height:55dvh;padding:12px}.is-spatial .alchemy-phases{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.is-spatial .alchemy-phase.is-current{grid-column:1/-1;order:-1}.is-spatial .alchemy-phase:not(.is-current){padding:8px 5px}.is-spatial .alchemy-phase>strong{font-size:12px}.is-spatial .alchemy-step-number{width:20px;height:20px;margin-right:1px}.is-spatial .alchemy-phase-status{font-size:10px;min-height:0}.is-spatial .alchemy-job-instructions{display:none}.is-spatial .alchemy-job-heading .alchemy-art{width:58px;flex-basis:58px}.is-spatial .alchemy-job-heading h3{font-size:18px}.is-spatial .alchemy-job-heading small{display:none}.is-spatial .alchemy-job-footer button{font-size:12px;padding:8px}.is-spatial .alchemy-card{display:flex}.is-spatial .alchemy-preparation-heading{display:flex}.is-spatial .alchemy-preparation-heading .alchemy-art{width:120px;flex-basis:120px}}
@media(max-width:420px){.alchemy-preparation-heading{display:block}.alchemy-preparation-heading .alchemy-art{width:180px;margin:0 auto 16px}.alchemy-batch-summary{gap:5px}.alchemy-batch-summary dd{font-size:14px}.alchemy-preparation-heading h3{font-size:27px}.alchemy-field-bag button{white-space:normal}.alchemy-workshop-controls label{min-width:100%}.is-spatial .alchemy-preparation-heading .alchemy-art{margin:0}.is-spatial .alchemy-preparation-heading h3{font-size:20px}.is-spatial .alchemy-ingredient-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.elendris-alchemy *{scroll-behavior:auto!important}}
.elendris-alchemy:not(.is-spatial)>section>header{position:sticky;top:0;z-index:5}.alchemy-preparation{scroll-margin-top:125px}.alchemy-ingredient-slot strong:before{content:''}
@media(min-width:1000px){.elendris-alchemy:not(.is-spatial) .alchemy-ingredient-slots{grid-template-columns:repeat(5,minmax(0,1fr))}}
.is-spatial .alchemy-job-instructions{display:none}.is-spatial .alchemy-phase input[type=range]{display:inline-block;width:calc(100% - 48px);vertical-align:middle}.is-spatial .alchemy-phase output{width:42px;text-align:right;vertical-align:middle}.is-spatial .alchemy-phase:not(.is-current)>input,.is-spatial .alchemy-phase:not(.is-current)>output{display:none}
.alchemy-preparation-heading{padding:20px;min-height:220px;border:1px solid #a58047;background:linear-gradient(90deg,#f5e7c8ed 0%,#f5e7c8d9 53%,#f5e7c83d 78%),url('../images/alchemy/workbench-illuminated-v1.webp') center/cover}.alchemy-preparation-heading>div{max-width:55%}.alchemy-preparation-heading .alchemy-art{width:150px;flex-basis:150px}.alchemy-preparation-heading h3{text-shadow:0 1px #fff4d9}.alchemy-ingredient-slot{border-radius:3px;padding:8px;background:linear-gradient(#f9edce,#e6d6b1)}.alchemy-ingredient-slot button.alchemy-source-link{min-height:30px}.alchemy-ingredient-slot strong{margin-top:3px;font-size:16px}.alchemy-ingredient-mark{height:72px;display:grid;place-items:center;font-size:35px}.alchemy-ingredient-painting{display:block;width:72px;height:72px;margin:0 auto 7px;background-image:url('../images/alchemy/ingredients-illuminated-v1.webp');background-repeat:no-repeat;background-size:400% 200%;border:1px solid #b18e58;border-radius:2px}.alchemy-ingredient-slot small{font-size:9px}.alchemy-workflow{margin-block:16px}.alchemy-batch-summary{margin-top:16px;padding-block:12px}
.is-spatial .alchemy-preparation-heading{padding:12px;min-height:175px}.is-spatial .alchemy-preparation-heading>div{max-width:none}.is-spatial header{padding:6px 14px}.is-spatial header small{display:none}.is-spatial header h2{font-size:23px}.is-spatial nav{top:76px}.is-spatial .alchemy-message{top:122px;padding:6px 12px}.is-spatial .alchemy-content{top:196px}.is-spatial.is-preparing .alchemy-job-footer{display:flex;flex-wrap:nowrap;gap:7px}.is-spatial.is-preparing .alchemy-job-footer button{font-size:11px;padding:6px 9px;min-height:34px}.is-spatial.is-preparing .alchemy-refund-note{font-size:11px;margin-top:5px}.is-spatial .alchemy-job-heading .alchemy-art{width:58px;flex-basis:58px}.is-spatial .alchemy-job-heading small{display:none}.is-spatial .alchemy-job-heading{margin-bottom:9px;padding-bottom:8px}.is-spatial .alchemy-ingredient-slot{padding:8px 5px}.is-spatial .alchemy-ingredient-painting{width:64px;height:64px}
@media(max-width:700px){.alchemy-preparation-heading>div{max-width:none}.alchemy-preparation-heading{padding:14px}.is-spatial header{top:8px;padding:3px 10px}.is-spatial header h2{font-size:20px}.is-spatial nav{top:61px}.is-spatial .alchemy-message{top:104px}.is-spatial .alchemy-content{top:auto}.is-spatial[data-view=jobs] .alchemy-content{max-height:49dvh}.is-spatial .alchemy-phase.is-current>strong{font-size:15px}.is-spatial .alchemy-phase.is-current{padding:8px}.is-spatial .alchemy-phase p{margin:4px 0}.is-spatial .alchemy-phase:not(.is-current){padding:5px}.is-spatial .alchemy-phase button{min-height:36px;padding:7px}.is-spatial .alchemy-phase-status{font-size:10px}.is-spatial .alchemy-job-heading h3{font-size:17px}.is-spatial .alchemy-job-heading .alchemy-art{width:48px;flex-basis:48px}.is-spatial .alchemy-job-heading p{font-size:11px}.is-spatial .alchemy-job-heading .alchemy-tier{font-size:12px;right:2px;bottom:2px;padding:1px 4px;min-width:18px}}

/* Shared place gathering uses the existing illuminated ingredient paintings. */
.elendris-alchemy nav[hidden]{display:none}.elendris-alchemy.is-gathering section{width:min(930px,100%)}.alchemy-gathering-summary{display:flex;gap:18px;align-items:center;justify-content:space-between;border-bottom:2px double #ab8546;padding-bottom:14px}.alchemy-gathering-summary h3{font:700 27px/1.25 Georgia,serif;margin:7px 0}.alchemy-gathering-summary p{font:14px/1.55 system-ui,sans-serif;margin:8px 0 0}.alchemy-gathering-summary button{flex-shrink:0;min-height:44px}.alchemy-gathering-skill{background:#42613b13;border-left:3px solid #627a46;padding:12px 15px}.alchemy-gathering-card{align-items:flex-start}.alchemy-gathering-card>.alchemy-ingredient-painting,.alchemy-gathering-card>.alchemy-ingredient-mark{flex:0 0 76px;width:76px;height:76px;margin:4px 0 0}.alchemy-gathering-card button{min-height:44px;max-width:100%}.alchemy-gathering-card .alchemy-gathering-reason:empty,[data-gathering-location-status]:empty{display:none}.alchemy-gathering-footnote{font-size:13px;color:#6a5939;border-top:1px solid #c5ad7a;padding-top:15px}.alchemy-gathering-grid+.alchemy-note{margin-bottom:18px}
@media(max-width:700px){.alchemy-gathering-summary{align-items:flex-start;flex-direction:column;gap:12px}.alchemy-gathering-summary h3{font-size:23px}.alchemy-gathering-card>.alchemy-ingredient-painting,.alchemy-gathering-card>.alchemy-ingredient-mark{flex-basis:64px;width:64px;height:64px}.alchemy-gathering-card h3{font-size:20px}.is-gathering header h2{font-size:27px}.is-gathering header>div{min-width:0}.is-gathering header small{overflow-wrap:anywhere}}
