.tool-hero--homestead { background: radial-gradient(ellipse at 82% 42%, #514d2d, #263623 47%, #19251d 82%); }
.homestead-panel { margin: .8rem 0; padding: clamp(.9rem, 2.5vw, 1.45rem); border: 1px solid #4a5742; border-radius: .8rem; background: #19231b; scroll-margin-top: 6rem; }
.homestead-panel h2 { margin: 0 0 .55rem; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; }
.homestead-panel p { color: #c1cfba; margin: .45rem 0; }
.homestead-tabs { margin: .85rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.homestead-tabs a, .homestead-related a, .homestead-materials a { display: flex; align-items: center; gap: .5rem; color: #e3efd6; }
.homestead-tabs a, .homestead-related a { background: #283629; border: 1px solid #526955; border-radius: .55rem; min-height: 44px; padding: .35rem .65rem; }
.homestead-tabs a[aria-current], .homestead-tabs a:hover, .homestead-related a:hover { border-color: #bfd894; }
.homestead-tabs a[aria-current] { background: #c6dfa4; color: #1c2b1b; }
.homestead-tabs img { width: clamp(28px, 8vw, 52px); height: auto; flex-shrink: 0; }
.homestead-related { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0; }
.homestead-materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; gap: .55rem; list-style: none; margin: .75rem 0 0; }
.homestead-materials li { min-width: 0; padding: .45rem .55rem; background: #253228; border-radius: .45rem; border: 1px solid #415844; display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
.homestead-materials strong { color: #d8edb6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.homestead-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: .8rem; }
.homestead-layout .homestead-panel { margin: 0; }
.homestead-panel label { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.homestead-fields, .homestead-results dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: .75rem 0; }
.homestead-panel input { width: 100%; min-width: 0; min-height: 44px; padding: .45rem .65rem; color: #eff5ea; background: #111914; border: 1px solid #627e64; border-radius: .45rem; font: inherit; }
#homestead-recipe input { max-width: 15rem; }
.homestead-actions { margin: .7rem 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.homestead-actions button { min-height: 44px; margin: 0; padding: .45rem .65rem; background: #2a3b2b; color: #eef6df; border: 1px solid #6a8261; border-radius: .45rem; font: inherit; cursor: pointer; }
.homestead-results h2 { display: flex; align-items: center; gap: .55rem; }
.homestead-results dl > div { min-width: 0; border: 1px solid #49664b; border-radius: .55rem; background: #24362a; padding: .65rem; }
.homestead-results dt { line-height: 1.2; font-size: .9rem; color: #d6e1cf; }
.homestead-results dd { margin: .25rem 0 0; color: #e1f4be; font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.1; overflow-wrap: anywhere; }
.homestead-panel ol { padding-inline-start: 1.3rem; }
.homestead-panel ol h3 { font-size: 1.13rem; margin: .65rem 0 .2rem; }
.homestead-panel [hidden], [data-homestead-controls][hidden] { display: none !important; }
.homestead-panel :focus-visible, .homestead-tabs :focus-visible { outline: 2px solid #daefaa; outline-offset: 3px; }
@media (max-width: 720px) {
  .homestead-layout, .homestead-materials { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .tool-hero--homestead .tool-hero-items img { animation: homestead-float 5s ease-in-out infinite; }
  .tool-hero--homestead .tool-hero-items img:nth-child(2) { animation-delay: -1s; }
  .tool-hero--homestead .tool-hero-items img:nth-child(3) { animation-delay: -2s; }
  @keyframes homestead-float { 50% { translate: 0 -5px; } }
}
