.chest-controls,.medicine-chest{color:#351b10;background:#efdab0 url('/assets/merch-parchment-frame-75.png') center/cover;border:2px solid #b88d49;border-radius:8px;padding:1.2rem;margin:1rem 0}
.chest-controls{background:#e7cc97;display:grid;gap:.7rem}
.chest-controls label,.medicine-chest label{display:grid;gap:.35rem;font-weight:bold}
.chest-controls select,.chest-controls input,.medicine-chest input,.medicine-chest select,.medicine-chest textarea{background:#fff4dc;color:#29190f;border:1px solid #816135;padding:.65rem;width:100%;box-sizing:border-box;font:inherit;min-width:0}
.chest-button{background:repeating-linear-gradient(2deg,#482216 0px,#5b3020 3px,#3d2016 6px);color:#ffe3a4;border:3px ridge #b48a45;border-radius:5px;padding:.8rem 1.2rem;font:bold 1.1rem Georgia,serif;cursor:pointer;box-shadow:0 4px 7px #0005;text-align:center}
.chest-button:hover{filter:brightness(1.2)}
.chest-button:focus-visible,.medicine-chest :focus-visible,.chest-controls :focus-visible{outline:3px solid #9b391f;outline-offset:3px}
.chest-button:disabled{opacity:.55;cursor:not-allowed}
.medicine-chest{max-width:1000px;margin:2rem auto;padding:clamp(1rem,4vw,3rem);background:#efd7a4;border:8px ridge #9d7237}
.medicine-chest h2{font:700 clamp(2rem,5vw,3rem) Georgia,serif;color:#4b1614;margin:0 0 .6rem}
.medicine-chest p{color:#351b10;line-height:1.6}
.chest-link{display:block;max-width:360px;margin:1.5rem auto;text-decoration:none}
.chest-line{display:grid;grid-template-columns:1fr 75px auto;gap:.75rem;align-items:center;border-bottom:1px solid #a58350;padding:1rem 0}
.chest-line button{background:none;border:0;color:#69221a;text-decoration:underline;cursor:pointer;font:inherit;padding:.6rem}
.chest-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.4rem 0}
.chest-wide{grid-column:1/-1}.chest-total{font-size:1.4rem;font-weight:bold}.chest-honey{position:absolute;left:-10000px}.chest-status{min-height:1.6em}
@media(max-width:550px){.chest-fields{grid-template-columns:1fr}.chest-line{grid-template-columns:1fr 65px}.chest-line button{grid-column:1/-1;text-align:left}.medicine-chest{margin:1rem .5rem}.chest-button{width:100%}}
