* { box-sizing: border-box; }
:root {
  color: #243839;
  background: #f4f6f5;
  font: 1rem/1.45 system-ui, "Segoe UI", sans-serif;
}
body { margin: 0 auto; max-width: 76rem; padding: .75rem clamp(.8rem, 3vw, 2rem); }
.top { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; min-height: 2.4rem; }
.top img { object-fit: contain; }
h1, h2, p { margin: 0; }
h1 { font-size: 1.05rem; }
h2 { font-size: 1.22rem; line-height: 1.25; }
.top a { margin-left: auto; color: #315c54; font-size: .875rem; text-underline-offset: .16em; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.card { border: 1px solid #d5dfdc; border-radius: .85rem; min-height: 5.4rem; }
.active { background: #eaf3ef; padding: clamp(.85rem, 2vw, 1.35rem); }
.spare { background: #edf1f4; }
.spare:nth-child(3n) { background: #f1eef5; }
.spare:nth-child(3n + 1) { background: #eef2ec; }
.intro, #summary { color: #45605b; margin-top: .3rem; }
form { display: grid; gap: .7rem; margin-top: .75rem; }
.fields { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; align-content: start; gap: .22rem; font-size: .9rem; font-weight: 600; }
small { color: #4d625e; font-size: .82rem; font-weight: 400; }
input, button { font: inherit; }
input:not([type=checkbox]) { width: 100%; min-height: 2.5rem; padding: .4rem .55rem; background: #fff; border: 1px solid #778e87; border-radius: .4rem; color: inherit; font-size: 1rem; }
.confirm { display: flex; align-items: flex-start; gap: .55rem; padding: .55rem; border: 1px solid #d1e0d8; border-radius: .45rem; background: #f6faf8; cursor: pointer; }
.confirm input { width: 1.23rem; height: 1.23rem; flex: 0 0 auto; margin: .05rem 0 0; accent-color: #305f52; }
button { justify-self: start; border: 0; border-radius: .45rem; padding: .52rem .85rem; min-height: 2.6rem; color: #fff; background: #315f53; font-weight: 650; cursor: pointer; }
button:hover { background: #254d43; }
button:disabled { opacity: .7; cursor: wait; }
:focus-visible { outline: 3px solid #2e665b; outline-offset: 3px; }
#feedback:empty { display: none; }
#feedback[data-error] { color: #832e33; }
.requests { padding: 0; margin: .6rem 0; list-style: none; max-height: 24rem; overflow: auto; }
.requests li { border-top: 1px solid #c8d9d1; padding: .55rem .2rem; overflow-wrap: anywhere; }
.requests time { display: block; color: #45605b; font-size: .85rem; }
@media (max-width: 44rem) { .active { grid-column: 1 / -1; } .card.spare { min-height: 3.5rem; } }
@media (max-width: 25rem) { .fields { grid-template-columns: 1fr; } .top a { text-align: right; } }
