
/* Approved C smithy. Graphics reused from woodland-v1, scoped to this building. */
.fortress-layout:has(.smith-c-drawer){grid-template-columns:minmax(0,1fr) minmax(350px,28%)}.smith-c-drawer.panel{padding:12px;border:10px solid #77542f;border-radius:0;border-image:url('assets/woodland-panel-leather-v1.webp') 82 fill/10px;background:#21170f;margin:0;max-height:calc(100dvh - 170px);overflow:auto}.smith-design{color:#edd6ad;font-family:Georgia,serif;display:flex;flex-direction:column;gap:10px}.smith-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.smith-card-heading h2{font-size:27px;margin:0;color:#f0dab0}.smith-level-navigation{display:grid;grid-template-columns:30px auto 30px;gap:3px;align-items:center;text-align:center}.smith-level-navigation small{grid-column:1/-1;font:10px/1.2 system-ui,sans-serif;white-space:nowrap;color:#c4ad86}.smith-level-navigation>span{font-size:14px;white-space:nowrap}.smith-interior{position:relative;aspect-ratio:1672/941;overflow:hidden;border:1px solid #9b793e;isolation:isolate}.smith-interior img{width:100%;height:100%;object-fit:cover;display:block}.smith-interior i{position:absolute;pointer-events:none;background:radial-gradient(ellipse,#ffa74470,transparent 70%)}.smith-furnace-light{left:10%;top:20%;width:24%;height:42%;animation:smith-fire 3.8s ease-in-out infinite}.smith-lantern-light{left:73%;top:5%;width:12%;height:22%;animation:smith-lamp 4.9s ease-in-out infinite}.smith-tagline{margin:0;font:15px/1.4 Georgia,serif;text-align:center}.smith-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.smith-design button.smith-action-tile{border:6px solid #997343;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/6px;background:#21170f;padding:8px 4px;min-height:124px;white-space:normal}.smith-action-tile .smith-button-label{flex-direction:column;gap:5px;width:100%}.smith-action-tile img{width:65px;height:60px;object-fit:contain}.smith-action-tile strong{font-size:15px;font-weight:normal}.smith-action-tile small{font:11px/1.3 system-ui,sans-serif;color:#ceb68e;text-align:center}.smith-action-tile>.smith-button-skin{display:none!important}.smith-building-cost .cost{display:flex;justify-content:space-between;gap:6px}.smith-building-cost .cost span{font-size:13px;gap:3px}.smith-information{border:7px solid #997343;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/7px;padding:7px 9px}.smith-information summary{border:0;min-height:32px;padding:0;gap:8px}.smith-information summary img{width:33px;height:31px;object-fit:contain}.smith-information summary strong{font-size:19px;font-weight:normal}.smith-information summary>span{margin-left:auto;white-space:nowrap;font-size:13px}.smith-information p{font:13px/1.5 system-ui,sans-serif;margin:8px 0}.smith-information dl{margin:0;padding-top:8px;border-top:1px solid #a57c3b88;display:grid;gap:5px}.smith-information dl div{display:flex;justify-content:space-between;gap:8px;font:12px/1.4 system-ui,sans-serif}.smith-information dd{margin:0;text-align:right;color:#e8c785}.smith-production-strip{padding-top:9px;border-top:1px solid #9f7a42;display:grid;gap:5px}.smith-production-strip>div{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}.smith-production-strip small{font:11px/1.3 system-ui,sans-serif}.smith-production-strip .meter{margin:0;height:17px;background:linear-gradient(#090807,#292622);border-color:#bf914a}.smith-production-strip .meter i{background:linear-gradient(#ffe5a1,#e6a62d 55%,#a76413);box-shadow:0 0 8px #d7933a55}.smith-production-strip .timer{white-space:nowrap}.smith-design button[data-smith-control]{position:relative;isolation:isolate;border:0;border-radius:0;background:none!important;box-shadow:none!important;transform:none!important;display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;font:15px/1.15 Georgia,serif;transition:none;color:#edce99}.smith-design button[data-smith-control].primary{color:#2a1909;font-size:18px;min-height:48px;font-weight:bold}.smith-button-label{display:flex;align-items:center;justify-content:center;gap:6px;position:relative;z-index:1}.smith-button-skin{position:absolute;inset:0;display:grid;grid-template-columns:12px minmax(0,1fr) 12px;grid-template-rows:12px minmax(0,1fr) 12px;width:100%;height:100%;z-index:0;pointer-events:none}.smith-button-skin svg{width:100%;height:100%;min-width:0;min-height:0;display:block}.smith-button-skin.hover,.smith-button-skin.pressed,.smith-button-skin.disabled{opacity:0}.smith-design button:hover:not(:disabled)>.smith-button-skin.hover,.smith-design button:active:not(:disabled)>.smith-button-skin.pressed,.smith-design button:disabled>.smith-button-skin.disabled{opacity:1}.smith-design button:disabled{opacity:1;color:#b5a183}.smith-design button.smith-level-arrow{width:30px;height:30px;min-height:30px;padding:0;font-size:22px}.smith-card-heading .smith-back{white-space:nowrap;font-size:14px;min-height:34px}.smith-card-stage{max-height:56dvh;overflow:auto;min-height:0}.smith-card-stage>.page-heading,.smith-card-stage>.building-guide,.smith-card-stage>.build-control,.smith-card-stage>.local-tabs{display:none}.smith-card-stage .workshop-layout,.smith-card-stage .forge-upgrade-layout{display:flex;flex-direction:column;gap:10px}.smith-card-stage .panel{border:6px solid #977141;border-radius:0;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/6px;padding:9px;margin:0;background:#21170f}.smith-card-stage .panel::before{display:none}.smith-card-stage .queue{display:none}.smith-card-stage .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-height:185px;overflow:auto}.smith-card-stage .inventory-cell{min-height:90px}.smith-card-stage .inventory-cell small{font-size:11px}.smith-card-stage .inventory-panel>header h2{font-size:18px}.smith-card-stage .inventory-panel input{font-size:13px;min-height:36px}.smith-card-stage .slot-tabs{display:flex;flex-wrap:wrap;gap:3px}.smith-card-stage .slot-tabs button{font-size:11px;min-height:30px;padding:5px 7px}.smith-card-stage .recipe-art,.smith-card-stage .item-workbench{height:150px;min-height:0}.smith-card-stage .recipe-detail p{font-size:13px;margin:6px 0}.smith-card-stage .recipe-detail select{font-size:13px;min-height:36px}.smith-card-stage .actions{margin:7px 0;gap:5px}.smith-card-stage .item-detail h2{font-size:19px}.smith-card-stage .item-detail .pips{margin:6px 0}.smith-card-stage .item-detail .workbench-caption p{font-size:12px}.smith-card-stage .page-controls{display:flex;align-items:center;justify-content:space-between;gap:4px}.smith-card-stage .page-controls button{font-size:12px;min-height:34px}.smith-design[data-motion=false] .smith-interior i{animation:none}
@keyframes smith-fire{0%,100%{opacity:.33}22%{opacity:.6}52%{opacity:.36}78%{opacity:.7}}@keyframes smith-lamp{0%,100%{opacity:.4}44%{opacity:.58}76%{opacity:.36}}
@media(max-width:900px){.fortress-layout:has(.smith-c-drawer){grid-template-columns:1fr}.smith-c-drawer.panel{max-height:none}.sanctuary-v07.mobile-building-detail:has(.smith-c-drawer) .smith-c-drawer{display:block}.smith-card-stage{max-height:55dvh}.smith-actions{gap:5px}.smith-action-tile strong{font-size:14px}.smith-action-tile img{width:52px;height:48px}.smith-design button.smith-action-tile{min-height:100px}.smith-card-heading h2{font-size:24px}.smith-interior{max-height:180px}.smith-information p{font-size:12px}.smith-card-heading .smith-level-navigation{grid-template-columns:28px auto 28px}.smith-design button.smith-level-arrow{width:28px}.smith-design .smith-card-stage .inventory-grid{max-height:130px}}
@media(prefers-reduced-motion:reduce){.smith-interior i{animation:none!important}}

.smith-design button.smith-market-link{min-height:30px;font-size:12px}.smith-design .sanctuary-queue{padding-top:9px;margin:0}

.smith-building-cost .cost{width:100%;display:flex;flex-wrap:nowrap;gap:5px}.smith-building-cost .cost-caption{display:none}.smith-building-cost .cost-value{min-width:0;padding:5px!important;flex:1;gap:4px!important;height:43px}.smith-building-cost .cost-value .icon{width:25px!important;height:25px!important}.smith-building-cost .cost-value>span{display:flex;flex-direction:column;min-width:0}.smith-building-cost .cost-value small{font:10px/1.1 system-ui,sans-serif!important}.smith-building-cost .cost-value b{font:17px/1.1 Georgia,serif!important}.smith-c-drawer .smith-information{margin:0}.smith-c-drawer .smith-actions{margin:0}

/* Preserve the C tile frames over the shared button reset. */
.smith-design button[data-smith-control].smith-action-tile{border:6px solid #997343;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/6px;background:#21170f!important}.smith-design .smith-production-strip button.smith-cancel{min-height:30px;font-size:12px}
@media(max-width:900px){.smith-c-drawer.panel{padding:8px;border-width:8px;border-image-width:8px}.smith-design{gap:6px}.smith-card-heading .mobile-building-back{width:auto!important;margin:0;min-width:49px;min-height:30px!important;font-size:12px;padding:5px 9px;display:flex!important}.smith-card-heading h2{font-size:21px}.smith-interior{max-height:132px}.smith-tagline{display:none}.smith-design button.smith-action-tile{min-height:82px;padding:4px}.smith-action-tile img{width:44px;height:38px}.smith-action-tile small{font-size:10px}.smith-action-tile strong{font-size:13px}.smith-building-cost .cost-value{height:34px}.smith-design button.smith-building-upgrade{min-height:33px;font-size:13px}.smith-design button.smith-open-workshop{min-height:40px;font-size:17px}.smith-information{padding:5px 7px}.smith-information summary{min-height:25px}.smith-information summary strong{font-size:16px}.smith-production-strip{padding-top:6px;gap:4px}.smith-production-strip>div{font-size:12px}.smith-design button.smith-market-link{min-height:26px;font-size:11px}}

/* Keep queue and prices inside the same leather material as the C card. */
.smith-design .sanctuary-queue{background:#17110d;border:7px solid #997343;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/7px;padding:7px 9px;border-radius:0}.smith-building-cost .cost-value{background:#17110d;border-color:#997343}
