:root { color-scheme: light; font: 100% system-ui, sans-serif; background: #f3f6f1; color: #182f28; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #17352d; color: #fff; }
.wrap { max-width: 76rem; margin: auto; padding: 1.25rem clamp(1rem, 3vw, 2rem); }
.bar, .actions { display: flex; align-items: center; justify-content: space-between; gap: .65rem; flex-wrap: wrap; }
.bar strong { font-size: 1.15rem; }
.bar span { color: #d2e3d8; font-size: .875rem; display: inline-block; margin-left: .5rem; font-weight: normal; }
.bar button { border-color: #c1decb; background: transparent; }
h1 { margin: .5rem 0 1rem; font-size: clamp(1.7rem, 5vw, 2.8rem); letter-spacing: -.05em; }
h2, h3, p { margin: 0 0 .7rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.08rem; margin-top: 1.2rem; }
.muted { color: #50645c; }
.layout { display: grid; grid-template-columns: minmax(15rem, 1fr) minmax(0,2fr); gap: 1rem; align-items: start; }
.card { background: #fff; border-radius: .85rem; border: 1px solid #d2ded6; padding: 1.15rem; min-width: 0; }
.narrow { max-width: 25rem; }
form { display: grid; gap: .65rem; margin: .85rem 0; }
label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 650; }
input, select, button { min-height: 2.65rem; padding: .5rem .65rem; border: 1px solid #8a9f91; border-radius: .45rem; font: inherit; }
input, select { width: 100%; background: #fff; color: inherit; }
button { background: #1b5844; color: #fff; font-weight: 680; border-color: transparent; cursor: pointer; }
button.secondary { background: #fff; color: #174937; border-color: #8a9f91; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #8b4b09; outline-offset: 2px; }
.notice { padding: .65rem .8rem; color: #104831; background: #e0efdf; border-radius: .45rem; }
.notice:empty { display: none; }
.notice[data-error="true"] { color: #80280c; background: #fff0e7; }
.total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem; padding: .8rem; background: #e6f1df; border-radius: .55rem; margin: .85rem 0; }
.total strong { font-size: 1.45rem; }
#add-item { grid-template-columns: minmax(8rem,2fr) minmax(4rem,.65fr) minmax(8rem,1fr) auto; align-items: end; }
#reception, #account-actions { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid #d2ded6; }
ul { list-style: none; margin: 0 0 .65rem; padding: 0; }
li { padding: .5rem 0; overflow-wrap: anywhere; }
.entry { display: flex; align-items: center; justify-content: space-between; gap: .65rem; border-bottom: 1px solid #dbe4dc; }
.entry > div { min-width: 0; }
.entry button { flex-shrink: 0; }
#orders > li { border-top: 1px solid #dbe4dc; padding: .75rem 0; }
#orders li li { padding: .15rem 0; }
small { display: block; color: #50645c; }
[hidden] { display: none !important; }
@media (max-width: 58rem) { #add-item { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .item-name, #add-item button { grid-column: 1 / -1; } }
@media (max-width: 42rem) { .layout { grid-template-columns: 1fr; } }
@media print {
  header, .notice, #identity, .controls, #manage-bands, #order-panel, #account-actions, button { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .layout { display: block; }
  .card { border: 0; }
}
