/* Equipment cards and filters use the exact backpack component and sizes. */
.smith-workshop{color:#efe6d5;min-width:0}.smith-workshop-body{padding:4px 0 8px}.smith-heading{font:inherit;font-size:16px;font-weight:600;margin:10px 0}.smith-home .smith-workshop-body{padding:0}.smith-scene .tavern-background{object-fit:cover}.sheet .smith-scene .smith-craft-npc{left:7%;right:auto;bottom:22%;width:48%;height:auto;aspect-ratio:2/3}.sheet .smith-scene .smith-refine-npc{right:4%;bottom:15%;width:37%;height:auto;aspect-ratio:1}.smith-refine-npc .tavern-npc-label{bottom:74%}.smith-scene .smith-menu-icon{width:100%;height:100%;object-fit:contain}.smith-scene .tavern-npc-label{font-family:inherit}.smith-back,.smith-action,.smith-selection-tools button{font:inherit;font-size:12px;min-height:32px;padding:6px 10px;border:1px solid #8e7958;border-radius:5px;color:#efe1bc;background:#2b3c34;cursor:pointer}.smith-selection-tools{display:flex;gap:6px;margin:8px 0}.smith-selection-tools .smith-auto-select{flex:1}.smith-help{font-size:11px;color:#bbc8bd;margin:8px 0;line-height:1.6}.smith-help summary{cursor:pointer}.smith-intro{font-size:11px;line-height:1.7;white-space:pre-line}.smith-guide{font-size:12px;line-height:1.65;color:#efd7a5;margin:8px 0}.smith-item-list{margin:8px 0}.smith-material{cursor:pointer}.sheet .equip-item.smith-material.selected{border-color:#e5c078;box-shadow:inset 0 0 0 1px #e5c078;background:linear-gradient(160deg,#3d4231,#24322a)}.smith-material.selected .equip-slot-actions button{color:#ffe6ad;border-color:#bc9a5a}.smith-action-dock{position:sticky;bottom:-12px;z-index:4;background:#172828f5;border:1px solid #7b7459;border-radius:7px;padding:8px;margin:10px 0 0;box-shadow:0 -6px 18px #08141a88}.smith-selection-tray{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.sheet .smith-tray-item{min-height:34px;height:36px;padding:0;background:#101e22;border:1px solid #66756a55;display:grid;place-items:center;overflow:hidden}.smith-tray-item .item-art{width:32px;height:32px;margin:0}.smith-tray-item:disabled{color:#72847c;opacity:.6}.smith-craft-range{margin:5px 0;font-size:11px;line-height:1.5;text-align:center;color:#e5d6b7}.smith-craft-submit{width:100%;margin:0;min-height:38px;background:#345140;border-color:#c6a365}.smith-action:disabled,.smith-selection-tools button:disabled{opacity:.45;cursor:default}.smith-guide-target{outline:2px solid #e5c078;outline-offset:1px}.smith-power{font-size:12px;line-height:1.6;white-space:pre-line;font-variant-numeric:tabular-nums;margin:8px 0}.smith-workshop .smith-power.positive{color:#74e39a}.smith-workshop .smith-power.negative{color:#ff867f}.smith-power.neutral{color:#c0c9c2}.smith-compare-title{font-size:12px;font-weight:600;margin:6px 0;color:#ead5ad}.smith-result{border-bottom:1px solid #8a795a66;margin:8px 0 12px;padding-bottom:10px}.smith-result h3{font-size:14px}.smith-hint{font-size:11px;line-height:1.6;color:#aebeb3;margin:10px 0}.smith-overlay{z-index:106}.smith-overlay .smith-guide-sheet{position:absolute;inset:0;width:100%;max-width:none;max-height:none;height:100%;overflow:auto;box-sizing:border-box;border-radius:0;padding:12px}.smith-overlay .smith-workshop-body{padding-bottom:env(safe-area-inset-bottom,0px)}.smith-overlay .smith-action-dock{bottom:-12px}.smith-overlay .smith-guide-sheet .equip-item{min-width:0}.songshan-story-event{z-index:105}


.sheet .smith-scene>.smith-craft-npc{left:5%;right:auto;bottom:10%;width:49%;height:auto;aspect-ratio:2/3}
.sheet .smith-scene>.smith-refine-npc{right:4%;bottom:10%;width:37%;height:auto;aspect-ratio:1}

.sheet .smith-refine-item.equip-slot-row{border:2px solid #d5ae60;box-shadow:inset 0 0 0 1px #d5ae6038}.sheet .smith-refine-item.equip-slot-row .gear-category{color:#ffe1a0;font-weight:800}

.smith-selection-tools { flex-wrap: wrap; }
.smith-selection-tools .smith-batch-craft { flex: 1; white-space: nowrap; }
