:root{--ink:#1e2a25;--muted:#69736d;--green:#2d5f45;--green-soft:#e7eee5;--lime:#c9e397;--paper:#f5f5ef;--line:#dde2d8;--white:#fff;--amber:#96622e;--amber-soft:#fbefda;--radius:14px;--shadow:0 8px 26px #263c2b08;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #659b74;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit}svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.skip-link{position:absolute;left:16px;top:-80px;background:white;padding:16px;z-index:99}.skip-link:focus{top:8px}
.workshop-header{height:70px;background:#18251f;color:#e9eee6}.header-inner{max-width:1680px;margin:auto;height:100%;padding:0 40px;display:flex;align-items:center;gap:25px}.workshop-brand{display:flex;align-items:center;font-family:"Outfit",sans-serif;font-size:1.08rem;font-weight:600;letter-spacing:-.02em;color:#e6edf3;white-space:nowrap}.header-divider{height:20px;width:1px;background:#5e6b5e}.header-label{font-size:10px;letter-spacing:2px;color:#a5b4a5}.header-links{margin-left:auto;display:flex;gap:26px;font-size:12px;color:#c9d6c6}.header-links a:hover{color:white}.header-links span{color:var(--lime);margin-left:5px}
.workshop-shell{max-width:1680px;margin:auto;padding:39px 40px 0}.workshop-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:29px}.eyebrow{font-size:10px;letter-spacing:1.6px;line-height:1.6;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;background:#729351;border-radius:50%;display:inline-block}.edition{margin-left:8px;color:#92998e;font-size:9px}.workshop-heading h1{font-size:42px;line-height:1.08;letter-spacing:-1.5px;font-weight:650;margin:12px 0}.heading-dot{color:#80a055}.workshop-heading p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.version-stamp{padding:13px 17px;border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;gap:4px;font-size:11px;min-width:173px;transform:rotate(1deg);background:#f9faf5}.version-stamp strong{font-size:11px;letter-spacing:1.7px}.version-stamp span{color:var(--muted)}
.workshop-tabs{display:flex;align-items:center;gap:25px;border-bottom:1px solid #cfd8cb;margin-bottom:29px}.workshop-tabs a{display:flex;align-items:center;gap:8px;padding:0 1px 15px;font-size:13px;font-weight:600;color:#7a837a;border-bottom:3px solid transparent;transform:translateY(1px)}.workshop-tabs a[aria-current=page]{color:var(--green);border-color:var(--green)}.workshop-tabs svg{width:19px;height:19px}.tabs-caption{margin-left:auto;font-size:10px;color:var(--muted);padding-bottom:15px}.load-state{padding:70px 20px;text-align:center;border:1px dashed #c4cebf;border-radius:var(--radius);color:var(--muted)}
.craft-layout{display:grid;grid-template-columns:178px minmax(320px,1fr) 365px;gap:26px;align-items:start}.rail-section+.rail-section{margin-top:29px}.rail-section h2{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;margin:0 0 12px;color:var(--muted);font-weight:700}.rail-options{display:flex;flex-direction:column;gap:4px}.rail-options button{display:flex;align-items:center;gap:8px;background:none;border:0;border-radius:7px;padding:10px 12px;text-align:left;line-height:1.2;font-size:12px;color:#5b685d;min-height:37px}.rail-options button span:last-child{margin-left:auto;font-size:10px;color:#8c9688}.rail-options button[aria-pressed=true]{background:var(--green-soft);color:var(--green);font-weight:650}.rail-options button[aria-pressed=true] span:last-child{color:var(--green)}.rail-options button:hover{background:#eaf0e5}.rail-symbol{font-size:14px;width:15px}.rail-note{border-top:1px solid var(--line);margin-top:25px;padding:15px 10px;display:flex;gap:9px}.note-mark{color:#8b9d7c;font-size:23px}.rail-note p{font-size:11px;line-height:1.6;color:#7d8778;margin:0}
.search-box{position:relative;display:flex;align-items:center;gap:11px;border:1px solid #cdd7c7;border-radius:10px;background:white;padding:0 14px;height:49px}.search-box svg{width:20px;height:20px;color:#6e806c;flex-shrink:0}.search-box input{border:0;outline:none;background:transparent;flex:1;min-width:0;font-size:12px;height:100%;color:var(--ink)}.search-box:focus-within{box-shadow:0 0 0 3px #d4e2cc}.search-box kbd{border:1px solid var(--line);padding:1px 6px;border-radius:4px;font-size:11px;color:#8b9486}.ingredient-filter{display:flex;align-items:center;gap:11px;margin:12px 0 24px;font-size:11px;color:var(--muted)}.ingredient-filter label{font-weight:650;white-space:nowrap;color:#6a7a63}.ingredient-filter input{border:0;border-bottom:1px dashed #c1cbb9;background:none;outline:none;min-width:0;flex:1;padding:7px 0;font-size:11px}.text-button{font-size:11px;color:var(--green);border:0;background:none;padding:8px 3px;font-weight:600}.text-button:hover{text-decoration:underline}.mobile-filters{display:none}.results-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px;gap:12px}.results-bar h2{font-size:15px;font-weight:600;margin:0}.results-bar span{font-size:10px;color:var(--muted)}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.recipe-card{border:1px solid #dce3d7;border-radius:var(--radius);background:#fff;position:relative;box-shadow:var(--shadow);overflow:hidden;transition:border-color .15s,transform .15s}.recipe-card:hover{border-color:#98b58a;transform:translateY(-2px)}.recipe-card.is-selected{border:1px solid #4e8155;box-shadow:0 0 0 2px #d9e5d2}.recipe-open{border:0;background:none;padding:17px 17px 42px;display:block;width:100%;text-align:left;min-height:190px}.card-topline{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-right:17px;min-height:17px}.card-category{font-size:8px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#819077}.mini-badge{font-size:8px;line-height:1.5;background:var(--amber-soft);color:var(--amber);border-radius:4px;padding:2px 5px;white-space:nowrap;font-weight:600}.recipe-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#f0f3ec;border:1px solid #e9eee3;border-radius:10px;color:#64805c;margin:15px 0 12px}.recipe-icon svg{width:23px;height:23px}.recipe-card h3{font-size:15px;line-height:1.35;margin:0 0 8px;font-weight:650;letter-spacing:-.25px}.card-ingredients{font-size:10px;color:#7e8977;line-height:1.65;display:block;overflow-wrap:anywhere}.card-bottom{display:flex;justify-content:space-between;align-items:center;position:absolute;bottom:13px;left:17px;right:17px;pointer-events:none;font-size:10px;color:#7b8873}.card-bottom span:last-child{color:#5b7e4c}.save-recipe{position:absolute;right:10px;top:12px;background:none;border:0;color:#98a28f;font-size:19px;line-height:20px;padding:4px;z-index:1}.save-recipe[aria-pressed=true]{color:#95783c}.empty-state{background:#edf1e8;border:1px dashed #c1ceb7;text-align:center;padding:45px 20px;border-radius:12px}.empty-symbol{font-size:37px;color:#8d9e80}.empty-state h3{font-size:17px}.empty-state p{font-size:12px;color:var(--muted)}
.recipe-detail{background:white;border:1px solid #d8e0d2;border-radius:var(--radius);box-shadow:0 9px 35px #2d4b2510;position:sticky;top:22px;overflow:hidden;min-width:0}.detail-head{background:#edf2e7;border-bottom:1px solid #dce6d5;padding:24px}.detail-meta{display:flex;gap:8px;align-items:center;justify-content:space-between}.detail-category{font-size:9px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;color:#6e8662}.detail-head h2{font-size:26px;line-height:1.15;letter-spacing:-.8px;font-weight:650;margin:14px 0 12px;overflow-wrap:anywhere}.detail-summary{display:flex;gap:15px;font-size:11px;color:#6f7d66}.detail-body{padding:22px 24px}.section-label{font-size:9px;font-weight:700;letter-spacing:1.3px;color:var(--muted);text-transform:uppercase;margin:0 0 12px}.batch-control{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;font-size:12px}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden}.stepper button{border:0;background:#f4f6f0;width:28px;height:29px;font-size:16px}.stepper input{border:0;text-align:center;width:45px;appearance:textfield;-moz-appearance:textfield;padding:4px}.stepper input::-webkit-inner-spin-button{appearance:none}.ingredient-block{position:relative;padding:12px 13px;border:1px solid #e1e6db;border-radius:9px;margin-bottom:10px}.ingredient-head{display:flex;align-items:center;gap:8px}.qty-badge{font-size:14px;font-weight:700;min-width:28px;color:var(--green)}.ingredient-head select{min-width:0;width:100%;border:0;background:#fff;font-size:12px;font-weight:600;color:var(--ink);padding:4px 0}.ingredient-head strong{font-size:12px;font-weight:600}.ingredient-note{font-size:10px;line-height:1.5;color:#7f8a77;margin:5px 0 0 36px}.quantity-note{font-size:10px;color:#8b6b39}.ingredient-join{font-size:17px;color:#9bac8d;text-align:center;margin:-4px 0 5px}.result-arrow{text-align:center;color:#88a271;font-size:22px;margin:10px 0}.recipe-results{background:#edf4e6;border:1px solid #d9e8cc;border-radius:9px;padding:15px;margin-bottom:23px}.output-row{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;font-weight:600}.output-row+.output-row{border-top:1px solid #dae5d2;margin-top:8px;padding-top:8px}.output-row span:last-child{font-size:10px;color:#728265;text-align:right}.result-note{font-size:10px;color:#6f8065;line-height:1.6;margin:9px 0 0}.recipe-notes{margin:0;padding:0;list-style:none}.recipe-notes li{font-size:11px;line-height:1.7;color:#697961;position:relative;padding-left:12px;margin-bottom:9px}.recipe-notes li:before{content:"";position:absolute;left:0;top:8px;width:4px;height:4px;border-radius:50%;background:#9dae8c}.game-details{margin-top:18px;border-top:1px solid #e5eadf;padding-top:14px;font-size:10px;color:#7f8976;line-height:1.6}.game-details summary{cursor:pointer;font-weight:600;color:#58754a}.game-details dl{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;margin-bottom:0}.game-details dt{color:#899580}.game-details dd{margin:0;text-align:right;overflow-wrap:anywhere}.linked-recipe{border:0;background:none;color:var(--green);padding:0;font-size:10px;text-decoration:underline;text-underline-offset:2px}.prerequisite-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.primary-button,.secondary-button{border-radius:8px;padding:12px 16px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px}.primary-button{background:var(--green);color:white;border:1px solid var(--green)}.primary-button:hover{background:#244d37}.secondary-button{background:#fff;border:1px solid #cdd9c4;color:var(--green)}.secondary-button:hover{background:#eef3e7}.wide{width:100%}
.building-intro{display:flex;align-items:center;gap:12px;background:#eaf0e4;border:1px solid #dce6d3;border-radius:9px;padding:12px 16px;margin:-9px 0 23px;color:#6d7d62}.building-intro svg{width:24px;height:24px;color:#799363;flex-shrink:0}.building-intro p{font-size:11px;line-height:1.6;margin:0}.building-intro strong{color:#435e36;font-weight:600;margin-right:5px}.build-layout{display:grid;grid-template-columns:210px minmax(330px,1fr) 340px;gap:25px;align-items:start}.build-kind-toggle{display:flex;background:#e8ede1;padding:4px;border-radius:8px;gap:3px}.build-kind-toggle button{flex:1;background:none;border:0;font-size:11px;padding:8px;border-radius:5px;color:#738267}.build-kind-toggle button[aria-pressed=true]{background:#fff;color:var(--green);box-shadow:0 1px 5px #2637210a;font-weight:650}.structure-search{margin-top:15px}.structure-search input{width:100%;border:1px solid #d6dfce;background:#fff;border-radius:7px;padding:10px;font-size:11px}.rail-context{font-size:10px;line-height:1.6;color:#7d8b73;margin:13px 3px}.structure-list{display:flex;flex-direction:column;gap:6px;max-height:750px;overflow-y:auto;padding:2px}.structure-choice{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #dde4d6;border-radius:10px;padding:13px 12px;font-size:12px;min-height:69px}.structure-choice[aria-pressed=true]{background:#eaf1e3;border-color:#77976a}.structure-choice svg{width:29px;height:29px;color:#8a9d7b;flex-shrink:0}.structure-choice strong{display:block;font-size:12px;font-weight:600}.structure-choice small{display:block;font-size:9px;color:#839076;margin-top:4px;line-height:1.4}.build-workbench{background:white;border:1px solid #dbe3d4;border-radius:var(--radius);overflow:hidden}.build-heading{padding:22px 24px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.build-heading h2{font-size:27px;line-height:1.2;margin:7px 0;letter-spacing:-.8px;font-weight:650}.build-heading p{font-size:10px;color:#7e8b74;margin:0}.structure-number{font-size:10px;color:#96a48b;letter-spacing:1px;writing-mode:vertical-rl}.blueprint{background-color:#20372c;background-image:linear-gradient(#7d9d7012 1px,transparent 1px),linear-gradient(90deg,#7d9d7012 1px,transparent 1px);background-size:22px 22px;height:210px;position:relative;color:#c2d7af;display:flex;align-items:center;justify-content:center;overflow:hidden}.blueprint svg{width:90%;height:184px;stroke-width:1.5}.blueprint-caption{position:absolute;bottom:11px;left:17px;right:17px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#91b283}.blueprint .bp-filled{fill:#92b57828}.blueprint .bp-selected{stroke:#d0eaaa;stroke-width:2.5;fill:#bbdb932b}.blueprint .bp-dashed{stroke-dasharray:4 5;stroke:#718e65}.blueprint text{fill:#9fbb8e;stroke:none;font-size:8px;letter-spacing:1.5px}.preset-bar{display:flex;align-items:center;gap:12px;padding:16px 24px;border-bottom:1px solid #e6ebdf}.preset-bar>span{font-size:10px;color:#849176;white-space:nowrap}.preset-bar>div{display:flex;gap:5px;flex-wrap:wrap}.preset-button{border:1px solid #dbe4d2;background:#f7f9f3;border-radius:5px;font-size:9px;padding:7px 8px;color:#678257;min-height:29px}.preset-button:hover{border-color:#7d9e6c;background:#eaf1e2}.stages-toolbar{padding:23px 24px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.stages-toolbar h2{font-size:14px;margin:0 0 5px;font-weight:600}.stages-toolbar p{font-size:10px;color:#87947c;margin:0}.build-stages{padding:0 24px 18px;max-height:600px;overflow-y:auto}.stage-group{border:1px solid #e0e7d8;border-radius:8px;overflow:hidden;margin-bottom:9px}.stage-group summary{font-size:10px;font-weight:650;padding:11px 12px;background:#f6f8f1;cursor:pointer;color:#6c805e;list-style-position:inside}.stage-group summary span{float:right;font-size:9px;color:#93a486;font-weight:400}.stage-row{padding:11px 12px;border-top:1px solid #edf1e7;display:flex;align-items:start;gap:10px;cursor:pointer}.stage-row:hover{background:#fafbf6}.stage-row input{accent-color:#507e3e;margin:3px 0 0;width:14px;height:14px;flex-shrink:0}.stage-row strong{display:block;font-size:11px;font-weight:600}.stage-row small{display:block;font-size:9px;color:#829177;line-height:1.6;margin-top:4px}.stage-row .stage-meta{margin-left:auto;font-size:8px;color:#859775;white-space:nowrap;max-width:80px;text-align:right;line-height:1.5}.add-plan-bar{display:flex;align-items:center;justify-content:space-between;padding:15px 24px;background:#f3f6ee;border-top:1px solid #dfe8d6;gap:15px}.add-plan-bar label{font-size:11px;color:#7c8e6f;white-space:nowrap}.add-plan-bar input{width:52px;border:1px solid #d3dfc9;border-radius:5px;background:white;padding:8px 5px;margin-left:6px;text-align:center}.build-notes{padding:15px 24px;font-size:10px;line-height:1.7;color:#819073}.build-notes p{margin:0 0 8px}.build-notes p:last-child{margin:0}
.materials-panel{background:#fff;border:1px solid #d9e3d1;border-radius:var(--radius);position:sticky;top:22px;overflow:hidden}.material-tabs{display:flex;border-bottom:1px solid #dfe8d6;background:#f2f5ec;padding:8px 10px 0;gap:9px}.material-tabs button{flex:1;border:0;border-bottom:2px solid transparent;background:none;padding:10px 4px 14px;font-size:11px;color:#88967c;font-weight:600}.material-tabs button[aria-pressed=true]{border-color:#60824d;color:#3e6630}.material-tabs button span{border-radius:4px;background:#dde8d1;font-size:8px;padding:2px 5px;margin-left:3px}.materials-body{padding:23px}.bill-title h2{font-size:23px;letter-spacing:-.6px;font-weight:650;margin:7px 0}.bill-title p{font-size:10px;color:#819075;line-height:1.6;margin:0 0 18px}.material-row{padding:11px 0;border-bottom:1px solid #edf0e7;display:flex;align-items:center;gap:10px}.material-dot{width:28px;height:30px;background:#eef3e7;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:650;color:#7b956a;flex-shrink:0}.material-row strong{display:block;font-size:11px;font-weight:600}.material-row small{display:block;font-size:9px;line-height:1.5;margin-top:3px;color:#8a977f}.material-total{font-size:18px;font-weight:600;margin-left:auto;letter-spacing:-.5px;color:#4e7140;white-space:nowrap}.have-control{font-size:9px;color:#95a18b;text-align:center}.have-control input{display:block;width:43px;border:1px solid #dce4d2;padding:5px 2px;border-radius:5px;text-align:center;font-size:11px;margin-top:3px}.material-row.is-stocked .material-dot{background:#dceacc}.material-row.is-stocked .material-total{color:#8fa77e;text-decoration:line-through}.kit-list,.tool-list{padding-top:18px}.kit-list h3,.tool-list h3{font-size:9px;color:#7f9172;letter-spacing:1px;text-transform:uppercase;margin:0 0 9px}.kit-list p,.tool-list p{font-size:10px;line-height:1.7;color:#859678;margin:0 0 9px}.tool-chip{display:inline-block;border:1px solid #e0e8d7;border-radius:5px;font-size:9px;padding:5px 7px;margin:0 5px 5px 0;background:#f8faf4;color:#738967}.tool-alternative{font-size:10px;color:#728668;line-height:1.7;display:block;margin-bottom:8px}.materials-body>.secondary-button{margin-top:20px}.plan-storage{font-size:9px;line-height:1.6;text-align:center;color:#9aa58f;margin:10px 0 0}.project-entry{background:#f4f7ee;border:1px solid #e0e8d5;border-radius:7px;padding:11px;margin-bottom:8px;display:flex;gap:10px;align-items:center}.project-entry strong{font-size:11px;font-weight:600;display:block}.project-entry small{font-size:9px;color:#8a9a7e;display:block;margin-top:4px}.project-entry button{margin-left:auto;border:0;background:none;font-size:19px;color:#8fa47f;padding:2px 5px}.project-empty{padding:20px 10px;background:#f5f8ee;border:1px dashed #d7e2cb;border-radius:8px;text-align:center;font-size:11px;line-height:1.7;color:#8b9a7e}.project-toolbar{display:flex;align-items:center;gap:8px;font-size:10px;color:#839676;margin-top:15px;padding-bottom:5px}.project-toolbar span:last-child{margin-left:auto}
.workshop-footer{border-top:1px solid #d6dfce;margin-top:40px;padding:21px 0 28px;display:flex;align-items:center;gap:24px;color:#939e8a}.workshop-footer>span{font-size:8px;letter-spacing:1.4px;white-space:nowrap;font-weight:600}.workshop-footer p{font-size:9px;line-height:1.7;margin:0;max-width:650px}.workshop-footer a{margin-left:auto;font-size:10px;white-space:nowrap;color:#6a835a}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#223d29;color:#edf6e6;border:1px solid #6e915c;border-radius:9px;padding:13px 20px;font-size:12px;z-index:99;max-width:90vw;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 5px 20px #162b1726}.toast.is-visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){.craft-layout{grid-template-columns:190px minmax(320px,1fr) 400px;gap:32px}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.build-layout{grid-template-columns:230px minmax(350px,1fr) 370px;gap:32px}}
@media(max-width:1180px){.workshop-shell{padding:30px 25px 0}.header-inner{padding:0 25px}.craft-layout{grid-template-columns:150px minmax(280px,1fr) 320px;gap:18px}.build-layout{grid-template-columns:180px minmax(290px,1fr) 300px;gap:18px}.detail-head,.detail-body{padding:20px}.recipe-grid{gap:10px}.recipe-open{padding:14px 13px 38px;min-height:192px}.card-bottom{left:13px;right:13px}.card-topline{flex-wrap:wrap}.card-category{font-size:7px}.recipe-card h3{font-size:14px}.materials-body{padding:19px}.build-heading,.preset-bar,.stages-toolbar,.add-plan-bar,.build-notes{padding-left:19px;padding-right:19px}.build-stages{padding-left:19px;padding-right:19px}}
@media(max-width:980px){.craft-layout{grid-template-columns:minmax(300px,1fr) 350px;gap:22px}.browse-rail{display:none}.mobile-filters{display:flex;gap:14px;margin:-5px 0 20px}.mobile-filters label{font-size:10px;color:#809175;flex:1}.mobile-filters select{display:block;width:100%;margin-top:5px;padding:7px;background:#fff;border:1px solid #d5dfcc;border-radius:6px;font-size:11px}.build-layout{grid-template-columns:180px minmax(300px,1fr)}.materials-panel{grid-column:2;position:static}.structure-rail{grid-row:1/3}.tabs-caption{font-size:9px}.header-label{display:none}.build-stages{max-height:none}}
@media(max-width:720px){.workshop-header{height:60px}.header-inner{padding:0 18px;gap:13px}.workshop-brand{font-size:1rem}.header-divider{display:none}.header-links{gap:18px;font-size:11px}.workshop-shell{padding:27px 18px 0}.workshop-heading{padding-bottom:23px;align-items:start}.workshop-heading h1{font-size:33px;letter-spacing:-1px;margin:11px 0}.workshop-heading p{font-size:12px;max-width:240px}.eyebrow{font-size:8px;letter-spacing:1px}.edition{display:none}.version-stamp{min-width:0;padding:10px;font-size:9px;transform:none;margin-left:10px}.version-stamp strong{font-size:8px;letter-spacing:1px}.workshop-tabs{gap:23px;margin-bottom:22px;flex-wrap:wrap}.workshop-tabs a{font-size:12px;padding-bottom:12px}.workshop-tabs svg{width:16px}.tabs-caption{display:none}.craft-layout{display:flex;flex-direction:column;gap:23px}.recipe-browser,.recipe-detail{width:100%}.recipe-detail{position:static;scroll-margin-top:15px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.recipe-open{min-height:184px;padding:13px 12px 35px}.recipe-card h3{font-size:14px}.card-topline{min-height:23px;padding-right:12px;gap:4px}.card-category{font-size:7px;letter-spacing:.6px}.mini-badge{font-size:7px}.card-ingredients{font-size:9px}.save-recipe{right:6px;top:8px}.recipe-icon{margin:10px 0;width:31px;height:31px}.recipe-icon svg{width:21px}.card-bottom{font-size:9px}.ingredient-filter{margin-bottom:20px}.search-box{height:46px}.search-box input{font-size:11px}.detail-head h2{font-size:27px}.build-layout{display:flex;flex-direction:column;gap:20px}.structure-rail,.build-workbench,.materials-panel{width:100%}.structure-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px;gap:8px}.structure-choice{min-height:64px;padding:10px;gap:9px}.structure-choice strong{font-size:11px}.structure-choice svg{width:25px}.rail-section h2{margin-bottom:9px}.build-kind-toggle{max-width:300px}.structure-search{margin-top:10px}.rail-context{margin:10px 2px}.building-intro{padding:11px 12px;margin-top:-4px}.building-intro p{font-size:10px}.building-intro strong{display:block}.blueprint{height:190px}.blueprint svg{height:166px}.preset-bar{gap:9px}.materials-panel{position:static}.workshop-footer{gap:12px;align-items:start;flex-wrap:wrap;margin-top:28px}.workshop-footer>span{order:1}.workshop-footer p{order:3;width:100%}.workshop-footer a{order:2}.add-plan-bar{gap:8px}.add-plan-bar .primary-button{font-size:11px;padding:11px}.stage-row .stage-meta{font-size:8px;max-width:60px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.workshop-header,.workshop-tabs,.browse-rail,.structure-rail,.recipe-browser,.blueprint,.preset-bar,.build-stages,.add-plan-bar,.build-notes,.workshop-footer,.toast,#download-plan{display:none!important}.workshop-shell{padding:15px}.craft-layout,.build-layout{display:block}.recipe-detail,.materials-panel{position:static;box-shadow:none;width:100%;border:1px solid #ddd}.build-workbench{border:0}.material-row{break-inside:avoid}.version-stamp{display:none}.workshop-heading h1{font-size:30px}}
.stage-main{display:flex;align-items:flex-start;gap:10px;flex:1;min-width:0;cursor:pointer}.existing-toggle{display:block;border:1px solid #d3ddc9;border-radius:4px;background:#f6f8f0;color:#5b764a;font-size:9px;padding:4px 5px;margin-top:6px;margin-left:auto}.existing-toggle[aria-pressed=true]{background:#e0edd4;border-color:#9fb88d}.ingredient-note,.recipe-notes li,.card-ingredients,.build-notes{color:#5e7055}.ingredient-note,.recipe-notes li{font-size:12px}.stage-row small,.material-row small,.bill-title p,.build-heading p{color:#617456}.stage-row strong,.material-row strong{font-size:12px}.stage-row small{font-size:10px}.stage-main>span{min-width:0}.stage-row .stage-meta{max-width:115px;white-space:normal}.recipe-detail .section-label{font-size:10px;color:#62735b}
.detail-back{display:none}.repair-target{background:#f5f7ef;border:1px solid #e0e7d7;border-radius:8px;padding:12px;margin:0 0 20px}.repair-target label{display:block;font-size:11px;font-weight:600;margin-bottom:8px;color:#526a46}.repair-target input{width:100%;min-width:0;background:#fff;border:1px solid #cfdbc4;border-radius:5px;padding:9px;font-size:11px}.repair-target .result-note{margin-top:9px}.stage-main input{min-width:14px}@media(min-width:721px){.blueprint{height:145px}.blueprint svg{height:132px}.build-heading{padding-top:18px;padding-bottom:16px}.build-heading h2{font-size:25px}.add-plan-bar{border-bottom:1px solid #dfe8d6;border-top:0}}@media(max-width:720px){.detail-back{display:block;background:none;border:0;color:#466438;font-size:11px;font-weight:600;padding:0 0 17px}.stage-row .stage-meta{max-width:90px}.blueprint{height:155px}.blueprint svg{height:137px}}
.mobile-pack-link{display:none}#material-budget,#build-configuration{scroll-margin-top:18px}@media(max-width:720px){.mobile-pack-link{display:inline-block;font-size:11px;color:#406236;margin-top:12px;font-weight:600}.materials-body>a.detail-back{padding-bottom:15px}}
@media(max-width:720px){.craft-layout .recipe-detail{display:none}.craft-layout.is-detail .recipe-detail{display:block}.craft-layout.is-detail .recipe-browser{display:none}.build-layout .materials-panel{display:none}.build-layout.is-bill .structure-rail,.build-layout.is-bill .build-workbench{display:none}.build-layout.is-bill .materials-panel{display:block}}
/* Link the active recipe card to its details without changing either layout. */
body[data-workshop="crafting"] { --recipe-selection: #2d7753; }
.recipe-card.is-selected,
.recipe-detail.has-selection {
  border-color: var(--recipe-selection);
  box-shadow: 0 0 0 2px var(--recipe-selection), 0 8px 24px #263c2b0d;
}
.recipe-card.is-selected { background: #f2f7ed; }
.recipe-card.is-selected .recipe-icon { background: #e0edd7; color: var(--recipe-selection); }
.recipe-card.is-selected .card-selection-status { color: var(--recipe-selection); font-weight: 700; }
.detail-selection-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--recipe-selection);
  font-size: 11px;
  font-weight: 700;
}
