.tool-hero--tea { --aura: #735037; }
.tea-tool { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.tea-tool .field-output { position: static; min-width: 0; max-height: none; overflow: visible; }
.tea-choices, .tea-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.tea-tiers { display: flex; flex-wrap: wrap; }
.tea-tool legend { margin-bottom: .55rem; color: #efeadb; font-weight: 700; }
.tea-tool :is(.tea-choice, .tea-tier) {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: .22rem;
  padding: .3rem .4rem;
  border: 1px solid #66755a;
  border-radius: 8px;
  background: #232f25;
  font-size: .84rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.tea-tool :is(.tea-choice, .tea-tier):has(:checked) {
  color: #fff6e1;
  background: #503b2b;
  border-color: #e9b473;
  box-shadow: inset 0 0 0 1px #e9b4734f;
}
.tea-tool :is(.tea-choice, .tea-tier):has(:focus-visible) { outline: 2px solid #ffc998; outline-offset: 2px; }
.tea-tool :is(.tea-choice, .tea-tier) input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tea-choice img { width: clamp(28px, 4vw, 42px); height: auto; }
.tea-tool .tea-tier { padding-inline: .7rem; }
.tea-inventory { scroll-margin-top: 105px; border-block: 1px solid #56634c; }
.tea-inventory summary { min-height: 44px; padding-block: .58rem; cursor: pointer; font-weight: 700; }
.tea-stocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding-bottom: .75rem; }
.tea-stock-field span { display: flex; min-width: 0; align-items: center; gap: .3rem; overflow-wrap: anywhere; }
.tea-tool .tea-available { color: #f8d9ab; font: 800 clamp(2rem, 5vw, 3.4rem)/1 ui-monospace, monospace; }
.tea-tool .field-output h3 { margin-top: 1.35rem; color: #f4e1bf; }
.tea-item { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; color: #f1e9cb; overflow-wrap: anywhere; }
.tea-item:hover { color: #ffd49b; }
.tea-item img, .tea-slot-list img { flex: none; object-fit: contain; aspect-ratio: 1; }
.tea-needs, .tea-slot-list, .tea-recipes { padding: 0; list-style: none; }
.tea-needs { display: grid; gap: .45rem; margin: .55rem 0; }
.tea-needs > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .8rem;
  padding: .32rem .54rem .5rem;
  border: 1px solid #56634c;
  border-radius: 8px;
  background: #19241c;
  font-size: .83rem;
}
.tea-needs > li > a { flex-basis: 100%; font-size: .92rem; font-weight: 700; }
.tea-needs .field-emphasis { color: #ffc680; }
.tea-plan { display: grid; gap: .65rem; margin-top: .6rem; }
.tea-step { min-width: 0; padding: .45rem .65rem .65rem; border: 1px solid #56634c; border-radius: 9px; }
.tea-step > a:first-child { font-weight: 700; }
.tea-step p { font-size: .86rem; }
.tea-slot-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .32rem; margin: .35rem 0 0; counter-reset: tea-slot; }
.tea-slot-list li {
  position: relative;
  min-width: 0;
  border: 1px solid #6a6f54;
  border-radius: 7px;
  background: radial-gradient(ellipse at 50% 22%, #60503a, transparent 72%), #222c24;
  text-align: center;
  counter-increment: tea-slot;
}
.tea-slot-list li::before {
  position: absolute;
  top: .15rem;
  left: .25rem;
  color: #efcf9b;
  font: 700 .72rem ui-monospace, monospace;
  content: counter(tea-slot);
}
.tea-slot-list a {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: .18rem;
  padding: .4rem .14rem;
  font-size: .72rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.tea-slot-list a:hover { background: #ffffff12; }
.tea-dairy { display: flex; align-items: center; gap: .4rem; }
.tea-recipes { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
.tea-recipes > li { padding: .7rem; border: 1px solid #56634c; border-radius: 8px; }
.tea-recipes > li > a { display: inline-flex; padding-block: .44rem; font-size: .82rem; }
@media (max-width: 800px) {
  .tea-tool { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 370px) {
  .tea-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tea-choice img { transition: transform .2s ease; }
  .tea-choice:is(:hover,:focus-within) img { transform: translateY(-3px) rotate(-5deg); }
}
