* { box-sizing: border-box; }
body { margin: 0; background: #f2f2f2; color: #1c1c1c; font: 16px system-ui, sans-serif; }
 .workspace { display: grid; grid-template-columns: 15rem minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; overflow: auto; background: #111; color: white; padding: 1rem; }
.brand { display: block; margin: 0 auto 1rem; width: fit-content; }
.brand img { display: block; object-fit: contain; }
.sidebar nav { display: grid; gap: .15rem; }
.sidebar nav + nav { border-top: 1px solid #484848; margin-top: .7rem; padding-top: .7rem; }
.sidebar nav a { color: #fff; text-decoration: none; border-radius: .4rem; padding: .55rem .65rem; }
.sidebar nav a:hover, .sidebar nav a[aria-current="page"] { background: #404040; }
main { min-width: 0; padding: 1.25rem clamp(1rem, 3vw, 2.75rem); }
header { color: #4b4b4b; font-size: .875rem; text-align: right; }
:focus-visible { outline: 2px solid #858585; outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
button { background: #252525; color: white; padding: .7rem 1rem; border: 0; border-radius: .45rem; font: inherit; cursor: pointer; }
article, form { background: white; border: 1px solid #d9d9d9; border-radius: .7rem; padding: 1rem; margin: 1rem 0; }
label { display: grid; gap: .35rem; margin: .7rem 0; }
input, select { font: inherit; padding: .6rem; border: 1px solid #737373; border-radius: .35rem; }
button:disabled { opacity: .55; cursor: default; }
#feedback { min-height: 1.4rem; }
.erp-content h1 { margin: .15rem 0 1rem; }
.erp-content h2 { margin-top: 0; font-size: 1.1rem; }
.erp-content a { color: #252525; font-weight: 650; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .65rem; }
.metrics article { display: grid; gap: .5rem; margin: 0 0 1rem; }
.metrics strong { font-size: 1.35rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border-bottom: 1px solid #d9d9d9; padding: .7rem .45rem; }
th { background: #f2f2f2; }
@media (max-width: 620px) {
  .workspace { grid-template-columns: 7.25rem minmax(0, 1fr); }
  .sidebar { padding: .6rem .35rem; }
  .brand img { width: 6rem; height: auto; }
  .sidebar nav a { font-size: .78rem; padding: .5rem .35rem; overflow-wrap: anywhere; }
  main { padding: .8rem; }
  main h1 { font-size: 1.35rem; }
  input, select { min-width: 0; width: 100%; }
}
.reservation-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0 1rem; margin-bottom: 1rem; }
.reservation-fields input, .reservation-fields select { width: 100%; min-width: 0; }
dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem .7rem; }
dt { font-weight: 650; }
dd { margin: 0; overflow-wrap: anywhere; }
#reservation-label { display: none; }
@media print {
  @page { margin: 3mm; }
  .workspace { display: none; }
  body { background: white; color: black; }
  #reservation-label { display: block; width: 100%; max-width: 72mm; font: 10pt system-ui, sans-serif; }
  #reservation-label h1 { font-size: 16pt; margin: 2mm 0; overflow-wrap: anywhere; }
  #reservation-label dl { grid-template-columns: max-content minmax(0, 1fr); }
}
