:root {
  --ink: #202b24;
  --soft-ink: #5e6c62;
  --forest: #234c3c;
  --mint: #eaf3eb;
  --cream: #f7f6f0;
  --stroke: #dce3da;
}
body { background: var(--cream); color: var(--ink); }
button { min-height: 42px; }
a { color: var(--forest); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #ae6839; outline-offset: 3px; }
.muted { color: var(--soft-ink); }
.primary, .nav .active, .chips .active, .side .active { background: var(--forest); }
.header { background: #183b30; padding: 16px clamp(18px, 4vw, 48px); }
.header-brand, .welcome-brand, .login-brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid; position: relative; place-items: center; width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 12px; background: #cce4c8; color: #204637;
}
.brand-mark i { width: 19px; height: 19px; border: 2px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 3px #cce4c8, inset 0 0 0 4px currentColor; }
.nav { padding-inline: clamp(14px, 4vw, 48px); border-color: var(--stroke); }
.nav button { padding-inline: 18px; }
.panel, .metric, .table, .product { border-color: var(--stroke); }
.panel, .metric { box-shadow: 0 2px 6px #203b2510; }
.table, .product { transition: background-color .15s, border-color .15s, box-shadow .15s; }
.table:not(:disabled):hover, .product:not(:disabled):hover { background: #f8fbf6; border-color: #9ab69c; box-shadow: 0 6px 16px #25392a14; filter: none; }
.table.occupied { background: var(--mint); border-color: #98baa2; }
.product .price { color: var(--forest); }
.page h1 { letter-spacing: -.035em; font-size: clamp(26px, 4vw, 36px); }
.page-title { margin-bottom: 24px; }
.login { min-height: 100svh; padding: 16px; grid-template-columns: minmax(0, 1fr) minmax(390px, .88fr); gap: 12px; background: #f9f7ee; align-items: stretch; }
.welcome-art {
  position: relative; display: flex; width: 100%; min-height: 580px; overflow: hidden;
  border-radius: 24px; padding: clamp(25px, 4vw, 58px); color: #f8f2df; background: #173d30;
  background-image: radial-gradient(ellipse at 70% 65%, #4f765c 0, transparent 68%), repeating-linear-gradient(45deg,#ffffff06 0 1px,transparent 1px 8px);
}
.welcome-brand { position: relative; z-index: 1; align-self: flex-start; font: 600 clamp(24px, 3vw, 37px)/1.2 Georgia, serif; }
.welcome-brand .brand-mark { background: #dcdfab; }
.welcome-brand .brand-mark i { box-shadow: inset 0 0 0 3px #dcdfab, inset 0 0 0 4px currentColor; }
.place-setting { position: absolute; width: min(83%, 570px); aspect-ratio: 1; top: 54%; left: 49%; transform: translate(-50%, -50%) rotate(-14deg); }
.place-setting span { position: absolute; display: block; }
.placemat { inset: 9% 7% 8% 9%; border: 1px solid #e3cfa278; border-radius: 16% 18% 15% 19%; background: repeating-linear-gradient(96deg,#d4bf8e22 0 1px,transparent 1px 5px), #b5a5774f; box-shadow: 0 24px 52px #112a2680; }
.plate { inset: 18%; border-radius: 50%; background: radial-gradient(circle, #e4dbc2 0 47%, #f6eed9 48% 67%, #c5b294 70%, #f4edd9 72%); box-shadow: 0 18px 30px #12241f80, inset 0 0 0 2px #f2ead5; }
.plate-small { inset: 30%; border-radius: 50%; box-shadow: 1px 9px 12px #65543d4d; background: radial-gradient(circle, #e7dec5 0 50%, #f7efdb 52% 69%, #d2c3a4 71%, #fbf4df 75%); }
.napkin { top: 36%; left: 40%; width: 21%; height: 30%; transform: rotate(24deg); border-radius: 4px; background: repeating-linear-gradient(95deg, transparent 0 3px,#fff3 3px 4px), #bb674e; box-shadow: 3px 7px 8px #59423155; border: 1px solid #d68d6a; }
.fork,.knife { top: 37%; width: 2.2%; height: 37%; border-radius: 8px; background: linear-gradient(90deg,#a78c60,#f4e3ba,#ab8b55); box-shadow: 2px 5px 8px #173a2a60; }
.fork { left: 12%; } .knife { right: 12%; }
.glass { right: 3%; top: 5%; width: 24%; aspect-ratio: 1; border: 4px double #fcf1c77d; border-radius: 50%; background: radial-gradient(circle,#fff2 15%,#173d3033 64%,#fff4 68%); box-shadow: 6px 12px 20px #173b2b66; }
.login-main { width: 100%; align-self: center; padding: 34px clamp(24px, 5vw, 78px); }
.login-card { width: min(100%, 470px); margin: 0 auto; padding: 0; background: transparent; border: 0; }
.login-brand { display: none; }
.login-card h1 { margin: 0 0 9px; color: #183b30; font: 500 clamp(42px, 5vw, 66px)/1.02 Georgia, serif; letter-spacing: -.055em; }
.login-intro { color: var(--soft-ink); margin: 0 0 24px; }
.login-card input, .login-card select { min-height: 47px; border-color: #cfd8cd; }
.field-hint { color: var(--soft-ink); font-size: 13px; margin: 6px 0 14px; }
.login-submit { margin-top: 22px; } .login-submit button { width: 100%; min-height: 48px; }
.login-card .names .active { background: var(--forest); }
.login-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--stroke); margin-top: 24px; padding-top: 12px; }
.login-tools button { padding-inline: 8px; }
.windows-download { padding: 9px 12px; border-radius: 10px; background: var(--mint); font-weight: 700; }
.windows-download[hidden] { display: none; }
.preview-note { background: #f0ead9; color: #55492e; border-radius: 10px; padding: 10px 13px; font-size: 14px; }
@media (max-width: 800px) {
  .login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 10px; gap: 0; }
  .welcome-art { min-height: 170px; padding: 22px; border-radius: 17px; }
  .place-setting { left: 82%; top: 66%; width: min(300px, 55%); }
  .login-main { align-self: start; padding: 26px 22px 30px; }
  .login-card h1 { font-size: clamp(36px, 8vw, 52px); }
}
@media (max-width: 460px) {
  .header-user > span { display: none; }
  .welcome-art { min-height: 135px; }
  .login-main { padding-inline: 12px; }
}
.tap-options,.line-tools { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.tap-options button,.line-tools button { min-width:40px; min-height:40px; padding:7px 10px; font-size:14px; }
.line-tools { justify-content:flex-end; margin:0; }
.pin-pad:not([hidden]) { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:12px; }
.pin-pad button { min-height:43px; }
@media (max-width:800px) {
  .pin-pad:not([hidden]) { grid-template-columns:repeat(3,minmax(44px,1fr)); }
  .line-tools { justify-content:flex-start; }
}
