.yeast-panel { margin-block: 1.5rem; }
.yeast-study [hidden] { display: none !important; }
.yeast-study :is(a, p, dd, h3) { overflow-wrap: anywhere; }
.yeast-study :is(a, button, input, select):focus-visible { outline: 3px solid #356b54; outline-offset: 3px; }
.yeast-comparison, .yeast-results, .yeast-conclusion, .yeast-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.yeast-limits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yeast-chart, .yeast-source-card, .yeast-results li, .yeast-limits div, .yeast-conclusion div { margin: 0; padding: .9rem; border: 1px solid #cad8cd; border-radius: .7rem; background: #fffdf8; }
.yeast-chart { background: #eff5ee; }
.yeast-source-card { background: #faf0e2; }
.yeast-source-card :is(p,h3), .yeast-results :is(p,h3) { margin: 0 0 .5rem; }
.yeast-chart figcaption, .yeast-status, .yeast-results [data-yeast-result], .yeast-conclusion dt, .yeast-limits dt { font-weight: 700; }
.yeast-big { font-size: 1.65rem; font-weight: 700; }
.yeast-chart ul, .yeast-results { padding: 0; list-style: none; margin-block: .8rem; }
.yeast-chart li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem .6rem; margin-block: .6rem; }
.yeast-chart li span { grid-column: 1 / -1; }
.yeast-chart strong { min-width: 5rem; text-align: right; white-space: nowrap; }
.yeast-chart meter { width: 100%; height: .9rem; }
.yeast-chart meter::-webkit-meter-bar { background: #dbe8de; border: 0; }
.yeast-chart meter::-webkit-meter-optimum-value { background: #9b5538; }
.yeast-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; align-items: end; margin-block: 1rem; }
.yeast-form label { min-width: 0; display: grid; font-weight: 650; gap: .35rem; }
.yeast-form .yeast-query { grid-column: span 2; }
.yeast-form :is(input, select), .yeast-study button { min-height: 2.75rem; box-sizing: border-box; padding: .42rem .55rem; color: inherit; font: inherit; border: 1px solid #849e8e; border-radius: .5rem; background: #fffdf9; }
.yeast-form :is(input, select) { width: 100%; min-width: 0; }
.yeast-study button { cursor: pointer; }
.yeast-limits dd, .yeast-conclusion dd { margin: .35rem 0 0; }
.yeast-limits dd strong { font-size: 1.3rem; }
@media (max-width: 720px) {
  .yeast-comparison, .yeast-results, .yeast-conclusion, .yeast-limits { grid-template-columns: minmax(0, 1fr); }
  .yeast-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
