/* The workshop is isolated from the wiki's shared article and planner styles. */
.as-upgrade-page{--uc-gold:#d7bf85;--uc-text:#ede7d7;--uc-muted:#aaa28d;--uc-line:#c4a46a26;--uc-green:#9bc9b4;max-width:1440px;color:var(--uc-text)}
.as-upgrade-page.as-info-page{padding-top:30px}.as-upgrade-page [hidden]{display:none}.as-upgrade-page .as-breadcrumbs{margin:0 0 16px;font-size:12px;color:var(--uc-muted)}
.as-upgrade-page .uc-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0 30px}.as-upgrade-page .uc-hero .as-eyebrow{font-size:10px;letter-spacing:.22em;margin:0 0 12px;color:var(--uc-gold)}
.as-upgrade-page .uc-hero h1{font:400 clamp(34px,3.6vw,52px)/1.15 Cinzel,serif;letter-spacing:-.025em;margin:0 0 14px;color:#f2ead7}.as-upgrade-page .uc-hero h1 span{color:var(--uc-gold)}.as-upgrade-page .uc-hero p:last-child{max-width:620px;color:#bcb5a3;font-size:16px;line-height:1.6;margin:0}
.as-upgrade-page .uc-paths{display:flex;gap:24px;flex-shrink:0;padding-left:26px;border-left:1px solid var(--uc-line)}.as-upgrade-page .uc-paths span{display:flex;flex-direction:column;gap:4px;color:var(--uc-muted);font-size:11px}.as-upgrade-page .uc-paths b{font:400 27px/1.2 Cinzel,serif;color:#d6c8a3}
.as-upgrade-page .uc-journey{display:flex;gap:18px;align-items:center;padding:16px 0 24px;margin-bottom:12px;border-top:1px solid var(--uc-line);font-size:12px;color:#bbb29e}.as-upgrade-page .uc-journey span{display:flex;align-items:center;gap:9px;white-space:nowrap}.as-upgrade-page .uc-journey b{font-size:10px;letter-spacing:.07em;color:var(--uc-gold);font-weight:400}.as-upgrade-page .uc-journey i{height:1px;width:36px;background:linear-gradient(90deg,#c4a46a55,transparent)}
.as-upgrade-page .uc-layout{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:28px;align-items:start}.as-upgrade-page .uc-workbench{min-width:0;display:flex;flex-direction:column;gap:30px}.as-upgrade-page .uc-panel{min-width:0;border:1px solid var(--uc-line);border-radius:10px;background:linear-gradient(140deg,#1a1812bd,#0e0e0bcc);box-shadow:0 8px 28px #00000014}
.as-upgrade-page svg{width:20px;height:20px;flex-shrink:0}.as-upgrade-page img{object-fit:contain}.as-upgrade-page button,.as-upgrade-page input,.as-upgrade-page select{font-family:'Source Sans 3',sans-serif}.as-upgrade-page button{cursor:pointer}.as-upgrade-page button:disabled{cursor:default;opacity:.4}.as-upgrade-page :is(button,a,input,select,summary):focus-visible{outline:2px solid #e2cc91;outline-offset:4px}.as-upgrade-page :is(input,select){box-sizing:border-box;min-width:0;max-width:100%;border:1px solid #c4a46a35;background:#090a08;color:#f1ebdd;border-radius:5px;font-size:16px;height:44px;padding:8px 12px}.as-upgrade-page :is(input,select):focus{border-color:#c9b17a}
.as-upgrade-page .uc-picker>summary{display:flex;align-items:center;gap:14px;padding:20px 22px;cursor:pointer;list-style:none}.as-upgrade-page summary::-webkit-details-marker{display:none}.as-upgrade-page .uc-heading-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #c4a46a30;border-radius:8px;background:#c4a46a0a;color:var(--uc-gold)}.as-upgrade-page .uc-heading-icon svg{width:26px;height:26px}.as-upgrade-page .uc-picker>summary strong{display:block;font-size:17px;line-height:1.35;font-weight:500;color:#ece3cf}.as-upgrade-page .uc-picker>summary small{display:block;font-size:12px;color:var(--uc-muted);margin-top:4px}.as-upgrade-page .uc-picker-chevron{margin-left:auto;color:var(--uc-gold);display:flex}.as-upgrade-page .uc-picker[open] .uc-picker-chevron{transform:rotate(45deg)}
.as-upgrade-page .uc-picker-body{padding:2px 22px 16px}.as-upgrade-page .uc-search{display:flex;align-items:center;gap:12px;border:1px solid #c4a46a40;border-radius:7px;background:#080a08;padding:0 14px;color:#ad9c73}.as-upgrade-page .uc-search input{width:100%;border:0;background:transparent;padding:12px 0;height:49px;font-size:15px;outline-offset:7px}.as-upgrade-page .uc-search:focus-within{border-color:#d7bf85;box-shadow:0 0 0 3px #d7bf8509}.as-upgrade-page .uc-search input:focus-visible{outline:none}
.as-upgrade-page .uc-filters{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 20px}.as-upgrade-page .uc-filters button{border:1px solid transparent;background:transparent;color:#aaa28e;border-radius:5px;padding:8px 12px;min-height:36px;font-size:12px}.as-upgrade-page .uc-filters button[aria-pressed=true]{background:#c4a46a16;color:#e1c98c;border-color:#c4a46a40}.as-upgrade-page .uc-filters button:hover{color:#e9dbb7;background:#c4a46a10}
.as-upgrade-page .uc-result-heading{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#9e947c;letter-spacing:.025em;margin-bottom:10px}.as-upgrade-page .uc-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.as-upgrade-page .uc-result{display:flex;align-items:center;text-align:left;gap:12px;padding:11px 12px;min-width:0;border:1px solid #c4a46a1f;border-radius:7px;background:#0b0d0a80;color:var(--uc-text);transition:border-color .18s,background .18s,transform .18s}.as-upgrade-page .uc-result:hover{border-color:#cdb67b90;background:#c4a46a0b;transform:translateY(-1px)}.as-upgrade-page .uc-result-art{display:grid;place-items:center;flex:0 0 52px;background:radial-gradient(ellipse,#c4a46a10,transparent 70%);height:56px}.as-upgrade-page .uc-result-art img{width:52px;height:56px}.as-upgrade-page .uc-result-copy{min-width:0;flex:1}.as-upgrade-page .uc-result-copy strong{display:block;font-size:15px;font-weight:500;line-height:1.3}.as-upgrade-page .uc-result-copy small{display:block;font-size:12px;color:#9e9785;line-height:1.5;margin-top:5px}.as-upgrade-page .uc-result-copy small span{white-space:nowrap}.as-upgrade-page .uc-result-add{color:#c3ad79;display:flex}.as-upgrade-page .uc-result-add svg{width:16px}.as-upgrade-page .uc-more{display:block;width:100%;background:transparent;border:0;color:#bcaa7d;font-size:12px;min-height:44px;margin-top:8px}.as-upgrade-page .uc-more:hover{color:#f0d491}.as-upgrade-page .uc-no-results{grid-column:1/-1;text-align:center;padding:26px;color:#bdb398;font-size:14px}.as-upgrade-page .uc-no-results p{font-size:13px;color:var(--uc-muted)}
.as-upgrade-page .uc-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 15px}.as-upgrade-page .uc-kicker{color:#a99b79;font-size:10px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;line-height:1.4;margin:0 0 7px}.as-upgrade-page h2{font:400 23px/1.3 Cinzel,serif;color:#e4d6b4;margin:0}.as-upgrade-page .uc-count{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;min-width:25px;height:25px;border:1px solid #c4a46a35;border-radius:50%;font:12px 'Source Sans 3',sans-serif;color:#c6b17f;margin-left:8px}.as-upgrade-page .uc-empty{padding:40px 24px;text-align:center;border:1px dashed #c4a46a26;border-radius:10px;background:radial-gradient(ellipse at 50% 100%,#475c4c0e,transparent)}.as-upgrade-page .uc-empty>span{display:grid;place-items:center;color:#9d8d64;margin:0 auto 15px;width:46px;height:46px}.as-upgrade-page .uc-empty svg{width:35px;height:35px}.as-upgrade-page .uc-empty h3{font:400 19px/1.4 Cinzel,serif;color:#c6b992;margin:0 0 8px}.as-upgrade-page .uc-empty p{font-size:13px;color:#948e7b;margin:0}
.as-upgrade-page [data-armaments]{display:flex;flex-direction:column;gap:14px}.as-upgrade-page .uc-armament{display:grid;grid-template-columns:114px minmax(0,1fr);overflow:hidden;position:relative}.as-upgrade-page .uc-armament-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:radial-gradient(ellipse at 50% 65%,#59745e15,transparent 75%);border-right:1px solid #c4a46a17;padding:20px 8px}.as-upgrade-page .uc-armament-art img{width:96px;height:112px}.as-upgrade-page .uc-path-tag{font-size:8px;letter-spacing:.14em;color:#9f956f;border:1px solid #c4a46a25;padding:4px 6px;border-radius:3px}.as-upgrade-page .uc-armament-main{min-width:0;padding:22px}.as-upgrade-page .uc-armament-main header{display:flex;gap:15px;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.as-upgrade-page .uc-armament-main header>div{min-width:0}.as-upgrade-page .uc-armament-main .uc-kicker{font-size:9px;margin:0 0 7px}.as-upgrade-page .uc-kicker span{color:#8e8b79;letter-spacing:.02em;text-transform:none;font-size:11px}.as-upgrade-page .uc-armament h3{font:400 23px/1.25 Cinzel,serif;margin:0;overflow-wrap:anywhere}.as-upgrade-page .uc-armament h3 a{color:#e7d6a9;text-decoration:none}.as-upgrade-page .uc-armament h3 a:hover{color:#f8e6b4}.as-upgrade-page .uc-remove{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;min-width:34px;border:1px solid transparent;border-radius:5px;background:transparent;color:#8e8c7a;margin:-7px -7px 0 0}.as-upgrade-page .uc-remove:hover{color:#e4b5a2;border-color:#b9866840;background:#b986680a}.as-upgrade-page .uc-remove svg{width:17px;height:17px}
.as-upgrade-page .uc-upgrade-fields{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) auto;gap:14px;align-items:end}.as-upgrade-page .uc-level-field{min-width:0;display:flex;flex-direction:column;gap:7px}.as-upgrade-page .uc-level-field>span,.as-upgrade-page .uc-armament-options label>span:first-child,.as-upgrade-page .uc-row-fee>span{font-size:11px;color:#a59e88}.as-upgrade-page .uc-level-field select{height:48px;width:100%;font-size:22px;font-weight:400;border-color:#c4a46a25}.as-upgrade-page .uc-target-field select{background:linear-gradient(115deg,#c4a46a12,#c4a46a05);border-color:#c4a46a65;color:#e9d39a}.as-upgrade-page .uc-level-arrow{display:grid;place-items:center;height:48px;color:#9a8962}.as-upgrade-page .uc-level-arrow svg{width:20px}.as-upgrade-page .uc-max{height:48px;white-space:nowrap;background:transparent;border:0;color:#bda77a;font-size:12px;padding:0 3px}.as-upgrade-page .uc-upgrade-track{height:2px;background:#c4a46a1c;position:relative;margin:17px 0}.as-upgrade-page .uc-upgrade-track span{display:block;position:absolute;top:0;height:2px;background:linear-gradient(90deg,#8e7e4c,#ddc483);box-shadow:0 0 8px #c4a46a20}.as-upgrade-page .uc-armament-options{display:grid;grid-template-columns:minmax(105px,1fr) 126px minmax(70px,.75fr);gap:18px;align-items:end}.as-upgrade-page .uc-armament-options label{display:flex;min-width:0;flex-direction:column;gap:7px}.as-upgrade-page .uc-armament-options select{font-size:13px;width:100%;height:38px}.as-upgrade-page .uc-copy-stepper{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;height:38px;border:1px solid #c4a46a35;border-radius:5px;overflow:hidden;background:#090a08}.as-upgrade-page .uc-copy-stepper button{padding:0;border:0;background:transparent;color:#bfb494;font-size:16px}.as-upgrade-page .uc-copy-stepper button:hover{background:#c4a46a15;color:#f1d99d}.as-upgrade-page .uc-copy-stepper input{padding:0;text-align:center;border:0;border-radius:0;height:36px;width:100%;font-size:13px;-moz-appearance:textfield}.as-upgrade-page .uc-copy-stepper input::-webkit-inner-spin-button{appearance:none}.as-upgrade-page .uc-row-fee{display:flex;flex-direction:column;gap:9px;text-align:right;align-self:stretch;justify-content:end}.as-upgrade-page .uc-row-fee strong{font-size:19px;color:#d9c68d;font-weight:400;height:38px;display:flex;align-items:center;justify-content:end;font-variant-numeric:tabular-nums}
.as-upgrade-page .uc-budget{position:sticky;top:96px;padding:26px;max-height:calc(100svh - 115px);overflow:auto;border-color:#c4a46a50;background:radial-gradient(ellipse at 90% 0,#a68b3d12,transparent 60%),linear-gradient(150deg,#1c1b14,#10110d);box-shadow:0 14px 40px #0003}.as-upgrade-page .uc-budget-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.as-upgrade-page .uc-budget-top .uc-kicker{margin:0}.as-upgrade-page .uc-live-dot{width:5px;height:5px;border-radius:50%;background:#bba675;box-shadow:0 0 9px #bba67555}.as-upgrade-page .uc-budget-label{font-size:13px;color:#c1bba9;margin:0 0 8px}.as-upgrade-page .uc-budget-amount{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.as-upgrade-page .uc-budget-amount>span{font:400 clamp(30px,3.5vw,48px)/1.2 'Source Sans 3',sans-serif;letter-spacing:-.035em;color:#e6ce8e;overflow-wrap:anywhere}.as-upgrade-page .uc-budget-amount>small{font-size:12px;color:#b5a784}.as-upgrade-page .uc-budget-context{font-size:12px;color:#9c9784;line-height:1.5;margin:8px 0 24px}.as-upgrade-page .uc-cost-lines{border-top:1px solid #c4a46a25;padding:13px 0 18px;margin:0}.as-upgrade-page .uc-cost-lines>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding:8px 0;font-size:13px}.as-upgrade-page .uc-cost-lines dt{color:#a9a38f}.as-upgrade-page .uc-cost-lines dd{margin:0;color:#dbd3bd;font-size:15px;font-variant-numeric:tabular-nums}.as-upgrade-page .uc-rune-input label{font-size:12px;color:#b9b09a;display:block;margin-bottom:8px}.as-upgrade-page .uc-rune-input>span{display:flex;align-items:center;border:1px solid #c4a46a38;border-radius:5px;background:#080a07;padding-right:12px;gap:10px}.as-upgrade-page .uc-rune-input input{border:0;background:transparent;width:100%;height:44px}.as-upgrade-page .uc-rune-input small{font-size:8px;letter-spacing:.12em;color:#8e876e}.as-upgrade-page .uc-budget-meter{height:3px;background:#c4a46a1e;border-radius:2px;overflow:hidden;margin:18px 0 10px}.as-upgrade-page .uc-budget-meter span{display:block;height:100%;background:#b5a16d}.as-upgrade-page .uc-balance{font-size:14px;color:#d6bc7f;line-height:1.5;margin:0 0 20px}.as-upgrade-page .uc-balance.uc-covered{color:var(--uc-green)}.as-upgrade-page .uc-finite{border:1px solid #ba875b30;background:#ba875b08;border-radius:5px;padding:13px;margin-bottom:18px;display:flex;flex-direction:column;gap:8px}.as-upgrade-page .uc-finite>strong{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:#d6ab79}.as-upgrade-page .uc-finite a{font-size:12px;color:#ceb595;text-decoration:none;line-height:1.4}.as-upgrade-page .uc-finite small{font-size:10px;line-height:1.5;color:#9a8b73}.as-upgrade-page .uc-cost-note{font-size:12px;line-height:1.6;color:#a39d88;padding-top:14px;border-top:1px solid #c4a46a23}.as-upgrade-page .uc-cost-note summary{cursor:pointer;color:#bcb196}.as-upgrade-page .uc-cost-note p{margin:10px 0}.as-upgrade-page .uc-budget-link{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px;padding-top:16px;border-top:1px solid #c4a46a23;color:#c9b47d;font-size:11px;text-decoration:none}.as-upgrade-page .uc-budget-link svg{width:16px}
.as-upgrade-page .uc-help{font-size:13px;line-height:1.6;color:#9e9884;margin:-3px 0 16px}.as-upgrade-page .uc-material-count{font-size:11px;color:#b9aa83;white-space:nowrap}.as-upgrade-page .uc-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.as-upgrade-page .uc-material{padding:17px}.as-upgrade-page .uc-material header{display:flex;align-items:center;gap:6px;min-height:48px;margin-bottom:18px}.as-upgrade-page .uc-material header a{display:flex;align-items:center;gap:8px;text-decoration:none;color:#dcd1b3;font-size:14px;line-height:1.35;font-weight:500;flex:1;min-width:0}.as-upgrade-page .uc-material header img{width:36px;height:40px;flex-shrink:0}.as-upgrade-page .uc-finite-tag{font-size:8px;color:#d0a67b;border:1px solid #bd8d5c42;padding:3px 5px;border-radius:3px}.as-upgrade-page .uc-material-numbers{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;align-items:start}.as-upgrade-page .uc-material-numbers>div,.as-upgrade-page .uc-material-numbers>label{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.as-upgrade-page .uc-material-numbers span{font-size:10px;color:#a29b85;white-space:nowrap}.as-upgrade-page .uc-material-numbers strong{font-size:21px;font-weight:400;height:36px;display:flex;align-items:center;color:#cbb881;font-variant-numeric:tabular-nums}.as-upgrade-page .uc-material-numbers>div:first-child strong{color:#c0b9a7}.as-upgrade-page .uc-material-numbers input{width:100%;height:36px;text-align:center;font-size:14px;padding:3px}.as-upgrade-page .uc-stock-track{height:2px;background:#c4a46a17;overflow:hidden;margin:14px 0 12px}.as-upgrade-page .uc-stock-track span{display:block;height:100%;background:#8fae97}.as-upgrade-page .uc-material-cost{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;line-height:1.5}.as-upgrade-page .uc-material-cost>span{color:#8f8b78}.as-upgrade-page .uc-material-cost strong{font-size:14px;font-weight:400;color:#c7b47f}.as-upgrade-page .uc-stock-ready{border-color:#8eaf942e}.as-upgrade-page .uc-stock-ready [data-cost],.as-upgrade-page .uc-stock-ready [data-missing]{color:var(--uc-green)}
.as-upgrade-page .uc-breakdown details{border-bottom:1px solid var(--uc-line)}.as-upgrade-page .uc-breakdown summary{display:flex;gap:12px;align-items:center;list-style:none;padding:17px 0;cursor:pointer}.as-upgrade-page .uc-breakdown summary>span:nth-child(2){flex:1;min-width:0}.as-upgrade-page .uc-breakdown summary strong{font-size:14px;color:#cec3a6;font-weight:400}.as-upgrade-page .uc-breakdown summary small{display:block;font-size:11px;color:#948e7a;margin-top:5px}.as-upgrade-page .uc-breakdown summary>b{font-size:15px;font-weight:400;color:#c9b580;white-space:nowrap}.as-upgrade-page .uc-breakdown summary>b small{display:inline;font-size:10px}.as-upgrade-page .uc-breakdown-chevron{display:flex;color:#8f835f}.as-upgrade-page .uc-breakdown-chevron svg{width:14px;height:14px}.as-upgrade-page .uc-breakdown details[open] .uc-breakdown-chevron{transform:rotate(90deg)}.as-upgrade-page .uc-step-scroll{overflow:auto;max-width:100%;margin-bottom:16px}.as-upgrade-page .uc-step-scroll table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums;min-width:460px}.as-upgrade-page .uc-step-scroll th,.as-upgrade-page .uc-step-scroll td{padding:11px 12px;text-align:left;border-bottom:1px solid #c4a46a19;font-weight:400}.as-upgrade-page .uc-step-scroll thead{background:#c4a46a06;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#b2a079}.as-upgrade-page .uc-step-scroll th:last-child,.as-upgrade-page .uc-step-scroll td:last-child{text-align:right}.as-upgrade-page .uc-step-scroll tbody{color:#beb49a}.as-upgrade-page .uc-footnote{font-size:12px;color:#817c69;line-height:1.7;margin:30px 0 0}.as-upgrade-page .uc-error,.as-upgrade-page .uc-picker-limit{color:#ecb89a;background:#b36d4610;border:1px solid #b36d4638;border-radius:5px;padding:14px 16px;font-size:13px;line-height:1.6;margin:14px 0 0}.as-upgrade-page .uc-error:empty{display:none}
@media(max-width:1200px){.as-upgrade-page .uc-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}.as-upgrade-page .uc-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.as-upgrade-page .uc-armament{grid-template-columns:90px minmax(0,1fr)}.as-upgrade-page .uc-armament-art img{width:80px;height:106px}.as-upgrade-page .uc-armament-main{padding:19px}.as-upgrade-page .uc-armament-options{gap:12px;grid-template-columns:minmax(80px,1fr) 112px minmax(66px,.7fr)}.as-upgrade-page .uc-copy-stepper{grid-template-columns:30px minmax(0,1fr) 30px}.as-upgrade-page .uc-budget{padding:23px}.as-upgrade-page .uc-result-copy small span{display:block}.as-upgrade-page .uc-paths{gap:18px;padding-left:18px}}
@media(max-width:900px){.as-upgrade-page .uc-layout{display:flex;flex-direction:column;align-items:stretch;gap:26px}.as-upgrade-page .uc-workbench{display:contents}.as-upgrade-page .uc-picker{order:0}.as-upgrade-page .uc-plan{order:1}.as-upgrade-page .uc-budget{order:2;position:static;max-height:none;overflow:visible}.as-upgrade-page .uc-material-section{order:3}.as-upgrade-page .uc-breakdown{order:4}.as-upgrade-page .uc-hero{align-items:flex-start}.as-upgrade-page .uc-paths{margin-top:29px}.as-upgrade-page .uc-budget-amount>span{font-size:46px}.as-upgrade-page .uc-budget-top{margin-bottom:16px}.as-upgrade-page .uc-hero h1{font-size:36px}.as-upgrade-page .uc-copy-stepper{grid-template-columns:40px minmax(0,1fr) 40px}.as-upgrade-page .uc-armament-options{grid-template-columns:minmax(110px,1fr) 144px minmax(80px,.7fr)}.as-upgrade-page .uc-remove{width:44px;height:44px}.as-upgrade-page .uc-armament-options select,.as-upgrade-page .uc-copy-stepper{height:44px}.as-upgrade-page .uc-copy-stepper input{height:42px;font-size:16px}.as-upgrade-page .uc-material-numbers input{height:44px;font-size:16px}.as-upgrade-page .uc-material-numbers strong{height:44px}.as-upgrade-page .uc-material header a{font-size:14px}.as-upgrade-page .uc-material-cost{font-size:11px}.as-upgrade-page .uc-filters button{min-height:44px}}
@media(max-width:600px){.as-upgrade-page.as-info-page{padding-top:22px}.as-upgrade-page .uc-hero{display:block;padding:16px 0 22px}.as-upgrade-page .uc-hero h1{font-size:32px;line-height:1.2;letter-spacing:-.02em;max-width:420px}.as-upgrade-page .uc-hero p:last-child{font-size:14px}.as-upgrade-page .uc-paths{border:0;padding:0;margin:18px 0 0;gap:16px}.as-upgrade-page .uc-paths span{flex-direction:row;align-items:baseline;gap:7px;font-size:10px}.as-upgrade-page .uc-paths b{font-size:18px}.as-upgrade-page .uc-journey{gap:10px;justify-content:space-between;font-size:10px;padding:14px 0 20px;margin-bottom:3px}.as-upgrade-page .uc-journey span{gap:5px;white-space:normal;line-height:1.4}.as-upgrade-page .uc-journey b{font-size:9px}.as-upgrade-page .uc-journey i{display:none}.as-upgrade-page .uc-picker>summary{padding:17px 16px;gap:10px}.as-upgrade-page .uc-heading-icon{width:36px;height:36px;flex-shrink:0}.as-upgrade-page .uc-picker>summary strong{font-size:15px}.as-upgrade-page .uc-picker>summary small{font-size:10px}.as-upgrade-page .uc-picker-body{padding:1px 15px 13px}.as-upgrade-page .uc-results{grid-template-columns:minmax(0,1fr)}.as-upgrade-page .uc-result{padding:9px 11px}.as-upgrade-page .uc-result-copy small span{display:inline}.as-upgrade-page .uc-filters{gap:3px;margin:11px 0 15px}.as-upgrade-page .uc-filters button{padding:6px 9px;font-size:11px}.as-upgrade-page .uc-search{padding:0 11px;gap:9px}.as-upgrade-page .uc-search input{font-size:16px;height:46px}.as-upgrade-page h2{font-size:21px}.as-upgrade-page .uc-section-head{gap:10px;flex-wrap:wrap}.as-upgrade-page .uc-armament{grid-template-columns:minmax(0,1fr)}.as-upgrade-page .uc-armament-art{position:absolute;top:17px;left:14px;width:58px;height:65px;padding:0;border:0;gap:0;pointer-events:none}.as-upgrade-page .uc-armament-art img{width:58px;height:65px}.as-upgrade-page .uc-armament-art .uc-path-tag{display:none}.as-upgrade-page .uc-armament-main{padding:18px 16px}.as-upgrade-page .uc-armament-main header{min-height:65px;padding-left:69px;margin-bottom:18px;gap:5px}.as-upgrade-page .uc-armament-main .uc-kicker{font-size:8px;letter-spacing:.08em}.as-upgrade-page .uc-kicker span{display:block;font-size:10px;line-height:1.5;letter-spacing:0}.as-upgrade-page .uc-armament h3{font-size:19px;line-height:1.35}.as-upgrade-page .uc-remove{margin:-7px -8px 0 0}.as-upgrade-page .uc-upgrade-fields{gap:10px;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr) auto}.as-upgrade-page .uc-max{font-size:10px;padding:0}.as-upgrade-page .uc-level-field select{height:48px;font-size:22px;padding:8px 10px}.as-upgrade-page .uc-level-field>span{font-size:10px}.as-upgrade-page .uc-upgrade-track{margin:15px 0}.as-upgrade-page .uc-armament-options{grid-template-columns:minmax(0,1fr) 130px;gap:12px}.as-upgrade-page .uc-armament-options select{font-size:16px}.as-upgrade-page .uc-row-fee{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #c4a46a17}.as-upgrade-page .uc-row-fee strong{height:auto;font-size:17px}.as-upgrade-page .uc-copy-stepper{grid-template-columns:36px minmax(0,1fr) 36px}.as-upgrade-page .uc-material-grid{grid-template-columns:minmax(0,1fr);gap:10px}.as-upgrade-page .uc-material{padding:16px 18px}.as-upgrade-page .uc-material header{margin-bottom:13px}.as-upgrade-page .uc-material header img{width:42px;height:44px}.as-upgrade-page .uc-material-numbers{gap:22px}.as-upgrade-page .uc-material-numbers span{font-size:11px}.as-upgrade-page .uc-material-numbers input{max-width:90px}.as-upgrade-page .uc-material-cost strong{font-size:13px}.as-upgrade-page .uc-empty{padding:30px 18px}.as-upgrade-page .uc-empty h3{font-size:17px}.as-upgrade-page .uc-budget{padding:23px}.as-upgrade-page .uc-breakdown summary{gap:8px}.as-upgrade-page .uc-breakdown summary strong{font-size:13px}.as-upgrade-page .uc-breakdown summary>b{font-size:13px}.as-upgrade-page .uc-breakdown summary>b small{display:block;text-align:right}.as-upgrade-page .uc-step-scroll table{min-width:420px}}
@media(prefers-reduced-motion:reduce){.as-upgrade-page .uc-result{transition:none}.as-upgrade-page .uc-result:hover{transform:none}}

.as-upgrade-page input[aria-invalid="true"]{border-color:#d78f70}.as-upgrade-page .uc-inline-error{font-size:10px;line-height:1.35;color:#e5a78a;text-align:center}.as-upgrade-page .uc-inline-error:empty{display:none}

@media(max-width:600px){.as-upgrade-page .uc-armament-main header{gap:0}.as-upgrade-page .uc-armament-main header>div{width:100%}.as-upgrade-page .uc-armament-main header .uc-kicker{padding-right:26px}.as-upgrade-page .uc-remove{position:absolute;top:7px;right:7px;margin:0}}
@media(max-width:380px){.as-upgrade-page .uc-armament-options>label:first-child{grid-column:1/-1}.as-upgrade-page .uc-row-fee{grid-column:auto;flex-direction:column;border-top:0;padding-top:0;gap:7px;align-items:flex-end;justify-content:end}.as-upgrade-page .uc-row-fee strong{height:44px;display:flex;align-items:center}.as-upgrade-page .uc-armament-options{grid-template-columns:130px minmax(0,1fr)}}

/* Upgrade ranges and selected-plan fees stay within each material card. */
.as-upgrade-page .uc-material-tags{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}
.as-upgrade-page .uc-stone-range{font-size:11px;line-height:1.35;white-space:nowrap;font-variant-numeric:tabular-nums;color:#d5c18d;border:1px solid #c4a46a32;border-radius:4px;padding:3px 6px;background:#c4a46a08}
.as-upgrade-page .uc-material-fee{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:5px;font-size:11px;line-height:1.5}
.as-upgrade-page .uc-material-fee>span{display:flex;flex-wrap:wrap;column-gap:4px;color:#a29b85;min-width:0}
.as-upgrade-page .uc-material-fee small{font-size:10px;color:#918a75;font-variant-numeric:tabular-nums}
.as-upgrade-page .uc-material-fee strong{font-size:14px;font-weight:400;color:#d9c79a;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Native dropdowns and the supplies view are scoped to this workshop. */
.as-upgrade-page select{color-scheme:dark}
.as-upgrade-page select option{background:#14130e;color:#f1ebdd}
.as-upgrade-page select option:checked,.as-upgrade-page select option:hover{background:#090a08;color:#f1ebdd}
.as-upgrade-page select option:disabled{color:#746e5e}
.as-upgrade-page .uc-material-controls{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.as-upgrade-page .uc-view-toggle{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#c4b184;font-size:12px;padding:6px 0;min-height:36px;white-space:nowrap}
.as-upgrade-page .uc-view-switch{position:relative;width:32px;height:18px;border:1px solid #8e7c504d;background:#090a08;display:block}
.as-upgrade-page .uc-view-switch i{position:absolute;width:8px;height:8px;left:4px;top:4px;transform:rotate(45deg);background:#726950}
.as-upgrade-page .uc-view-toggle[aria-checked="true"] .uc-view-switch{border-color:#b69c64;background:#b69c6412}
.as-upgrade-page .uc-view-toggle[aria-checked="true"] .uc-view-switch i{left:18px;background:#d5bd80}
.as-upgrade-page .uc-stone-range{max-width:112px;white-space:normal;text-align:right}
.as-upgrade-page .uc-material-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #c4a46a2e;border-radius:8px;background:#100f0b;scrollbar-color:#786844 #0b0c09;overscroll-behavior-x:contain}
.as-upgrade-page .uc-material-table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0;font-size:13px;font-variant-numeric:tabular-nums}
.as-upgrade-page .uc-material-table th,.as-upgrade-page .uc-material-table td{padding:14px 12px;border-bottom:1px solid #c4a46a1e;vertical-align:middle;text-align:center}
.as-upgrade-page .uc-material-table thead th{background:#1a1710;color:#bba777;font-size:10px;font-weight:500;white-space:nowrap}
.as-upgrade-page .uc-material-table thead small{display:block;font-size:9px;color:#8e846a;font-weight:400}
.as-upgrade-page .uc-material-table th:first-child{text-align:left;position:sticky;left:0;background:#15130e;z-index:1;min-width:170px;max-width:230px;border-right:1px solid #c4a46a1e}
.as-upgrade-page .uc-material-table th a{display:flex;align-items:center;gap:9px;font-weight:400;font-size:13px;line-height:1.35;color:#dfd0ac}
.as-upgrade-page .uc-material-table th img{width:32px;height:40px;flex-shrink:0}
.as-upgrade-page .uc-material-table th .uc-finite-tag{display:table;margin-top:5px}
.as-upgrade-page .uc-material-table tbody tr:last-child>*{border-bottom:0}
.as-upgrade-page .uc-material-table tbody tr:hover td{background:#c4a46a06}
.as-upgrade-page .uc-material-table strong{font-size:14px;font-weight:400;color:#d2bd88}
.as-upgrade-page .uc-material-table [data-cost-label]{display:block;font-size:10px;line-height:1.4;color:#938b73;min-width:92px;margin-top:4px}
.as-upgrade-page .uc-material-table .uc-stone-range{display:inline-block;border-color:transparent;background:transparent;text-align:center;max-width:105px}
.as-upgrade-page .uc-material-table .uc-table-owned{min-width:100px}
.as-upgrade-page .uc-material-table input{width:76px;height:38px;text-align:center;padding:6px;font-size:14px}
.as-upgrade-page .uc-material-table .uc-inline-error{display:block;max-width:90px;margin-top:4px;font-size:10px;line-height:1.3}
@media(max-width:600px){.as-upgrade-page .uc-material-controls{width:100%;justify-content:space-between;gap:12px}.as-upgrade-page .uc-view-toggle{min-height:44px}.as-upgrade-page .uc-material-table input{height:44px;font-size:16px}}
.as-upgrade-page .uc-material-table{table-layout:fixed}
.as-upgrade-page .uc-material-table th:first-child{width:180px;min-width:180px;max-width:180px}
.as-upgrade-page .uc-material-table [data-cost-label]{min-width:0}
.as-upgrade-page .uc-material-table-wrap{scroll-padding-inline-start:180px}
@media(max-width:600px){.as-upgrade-page .uc-material-table th:first-child{width:150px;min-width:150px;max-width:150px}.as-upgrade-page .uc-material-table-wrap{scroll-padding-inline-start:150px}}

/* Target options retain their gold identity in the native dark menu. */
.as-upgrade-page .uc-target-field select option{background:#19170f;color:#e9d39a}
.as-upgrade-page .uc-target-field select option:checked,.as-upgrade-page .uc-target-field select option:hover{background:#090a08;color:#e9d39a}
.as-upgrade-page .uc-target-field select option:disabled{color:#e9d39a}
.as-upgrade-page .uc-step-scroll table{min-width:760px}
.as-upgrade-page .uc-step-scroll caption{text-align:left;color:#948e7a;font-size:11px;line-height:1.6;padding:0 0 12px}
.as-upgrade-page .uc-step-scroll :is(th,td):nth-child(n+3){text-align:center;white-space:nowrap}
.as-upgrade-page .uc-step-scroll .uc-step-finite{display:block;font-size:10px;color:#948e7a;margin-top:4px}

/* A real DOM listbox owns hover/focus colors instead of the OS native popup. */
.as-upgrade-page .uc-target-select{position:relative;min-width:0}
.as-upgrade-page .uc-target-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:48px;padding:8px 12px;border:1px solid #c4a46a65;border-radius:5px;background:linear-gradient(115deg,#c4a46a12,#c4a46a05);color:#e9d39a;font-size:22px;text-align:left}
.as-upgrade-page .uc-target-trigger::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 3px 4px 10px}
.as-upgrade-page .uc-target-trigger[aria-expanded="true"]{border-color:#d7bf85}
.as-upgrade-page .uc-target-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;max-height:288px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#776d50 #19170f;border:1px solid #c4a46a65;border-radius:4px;background:#19170f;color:#e9d39a;box-shadow:0 12px 24px #0008}
.as-upgrade-page .uc-target-options[hidden]{display:none}
.as-upgrade-page .uc-target-options [role="option"]{min-height:40px;box-sizing:border-box;padding:7px 12px;font-size:20px;line-height:26px;cursor:pointer;color:#e9d39a;background:#19170f}
.as-upgrade-page .uc-target-options [role="option"]:is([aria-selected="true"],.uc-option-active,:hover){background:#090a08;color:#e9d39a}
.as-upgrade-page .uc-target-options [aria-disabled="true"]{opacity:.45;cursor:default}
@media(max-width:600px){.as-upgrade-page .uc-target-options [role="option"]{min-height:44px;padding-top:9px;padding-bottom:9px}.as-upgrade-page .uc-target-trigger{padding:8px 10px}}

.as-upgrade-page .uc-armament.uc-target-open{overflow:visible;z-index:31}
.as-upgrade-page .uc-target-options.uc-target-options--above{top:auto;bottom:calc(100% + 4px)}
