:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #172f29;
  background: #f5f4ed;
  --accent: #165746;
  --line: #d7ded4;
  --muted: #4a6257;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.shell { width: min(100% - 2rem, 66rem); margin-inline: auto; }
.masthead { background: #173d32; color: #fffdf3; padding-block: 1.45rem; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: clamp(1.7rem, 6vw, 2.7rem); letter-spacing: -.045em; }
h2 { font-size: 1.25rem; margin-bottom: 1rem; }
main { padding-block: 1.25rem 3rem; }
.panel, .store {
  padding: clamp(1rem, 3vw, 1.55rem);
  border-radius: 1.05rem;
  border: 1px solid var(--line);
  background: #fffefa;
  margin-bottom: 1rem;
}
label { display: block; font-weight: 650; }
input, button, select { font: inherit; }
input:not([type=checkbox]), select {
  min-height: 2.8rem; width: 100%; padding: .6rem .7rem;
  border: 1px solid #81978b; border-radius: .55rem;
  background: white; color: inherit;
}
button {
  background: var(--accent); color: white; border: 1px solid transparent;
  border-radius: .55rem; min-height: 2.75rem; padding: .55rem .85rem;
  font-weight: 650; cursor: pointer;
}
button:disabled { opacity: .53; cursor: default; }
.quiet { background: transparent; color: var(--accent); border-color: var(--line); }
#details-toggle { border-color: transparent; padding-left: 0; }
:focus-visible { outline: 3px solid #a04818; outline-offset: 3px; }
.entry { display: flex; gap: .55rem; margin-top: .35rem; }
.entry input { min-width: 0; }
.details { display: grid; grid-template-columns: minmax(4rem, 1fr) minmax(0, 3fr); gap: .75rem; }
.details input { margin-top: .35rem; }
.item-list { padding: 0; list-style: none; }
.item-list li {
  border-top: 1px solid var(--line); padding-block: .65rem;
  overflow-wrap: anywhere;
}
.item-list li button { margin: .2rem .3rem .2rem 0; }
.stores { display: grid; gap: .8rem; }
.store { margin: 0 0 .4rem; display: flex; flex-direction: column; min-width: 0; }
.store > button { margin-top: auto; align-self: flex-start; }
.status { color: var(--muted); font-size: .94rem; }
.status:empty { display: none; }
.check-label { display: flex; gap: .65rem; min-height: 2.75rem; align-items: center; }
.check-label input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); }
a { color: var(--accent); }
@media (min-width: 52rem) { .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
