/* Papagayo za mizo: table menu, bar screen, reservations, QR sheet.
   Builds on style.css (tokens, fonts, buttons). */

[hidden] { display: none !important; }
.btn--xl { min-height: 58px; font-size: 1.06rem; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* =========================================================
   TABLE MENU (meni/?miza=N)
   ========================================================= */
.table-bar { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 16px; }
.table-bar__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.table-pill {
  flex: none; padding: 8px 18px; border-radius: 999px;
  font-family: var(--display); font-size: 1.5rem; font-weight: 560; line-height: 1.1; color: var(--night);
  background: radial-gradient(130% 160% at 28% 12%, #8ff9ee 0%, #3ee3d1 45%, #19aea2 100%);
  box-shadow: 0 0 22px -4px rgba(63, 240, 220, .7);
}
.table-bar__lead { font-size: .92rem; line-height: 1.4; color: var(--cream-2); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick__btn {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
  min-height: 74px; padding: 12px 16px; border-radius: 18px; cursor: pointer; text-align: left;
  font-weight: 750; font-size: 1rem; line-height: 1.2;
  border: 1px solid rgba(255, 180, 94, .45); color: var(--cream);
  background: linear-gradient(160deg, rgba(255, 180, 94, .16), rgba(255, 180, 94, .04));
  transition: transform .15s, background .2s, border-color .2s;
}
.quick__btn .ico { width: 24px; height: 24px; color: var(--amber); }
.quick__btn--bill { border-color: rgba(226, 171, 128, .45); background: linear-gradient(160deg, rgba(122, 70, 40, .55), rgba(43, 23, 13, .5)); }
.quick__btn--bill .ico { color: var(--cocoa); }
.quick__btn:active { transform: scale(.98); }
.quick__btn.is-sent { border-color: rgba(63, 240, 220, .7); background: linear-gradient(160deg, rgba(63, 240, 220, .2), rgba(63, 240, 220, .05)); }
.quick__btn.is-sent .ico { color: var(--neon); }
.track { margin-top: 12px; display: grid; gap: 6px; }
.track__row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: .92rem; font-weight: 650; background: rgba(246, 236, 218, .06); border: 1px solid var(--line); }
.track__status { color: var(--amber-2); }
.track__row--prep .track__status { color: var(--amber); }
.track__row--served .track__status { color: var(--neon); }

.no-table { max-width: 760px; margin: 0 auto 14px; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .92rem; color: var(--cream-2); }

/* items with + / - */
.is-table .mi--order { grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; }
.mi__text { display: grid; gap: 3px; }
.mi--order .mi__text { grid-column: 1; }
.stepper { display: none; align-items: center; gap: 4px; }
.is-table .stepper, .cart .stepper, .people { display: inline-flex; }
.stepper__btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--cream); background: rgba(246, 236, 218, .07); border: 1px solid rgba(246, 236, 218, .24);
  transition: transform .12s, background .2s;
}
.stepper__btn .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.stepper__btn:active { transform: scale(.92); }
.stepper__btn--plus { color: #03191a; border-color: transparent; background: radial-gradient(130% 160% at 28% 12%, #8ff9ee, #3ee3d1 45%, #17a99c); box-shadow: 0 6px 18px -8px rgba(63, 240, 220, .9); }
.stepper__btn.is-pop { animation: pop .3s ease; }
@keyframes pop { 40% { transform: scale(1.18); } }
.stepper__qty { min-width: 26px; text-align: center; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.stepper:not(.has-qty) .stepper__qty { display: none; }
.mi.is-picked .mi__name { color: var(--neon-2); }

/* bottom cart bar */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(4, 22, 26, 0), rgba(4, 22, 26, .92) 30%);
  animation: rise .3s ease;
}
@keyframes rise { from { transform: translateY(100%); } }
.cartbar__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 720px; margin: 0 auto; min-height: 60px;
  padding: 0 18px 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 800; font-size: 1.05rem; color: #03191a;
  background: radial-gradient(130% 160% at 28% 12%, #a8fff5, #3ee3d1 45%, #17a99c);
  box-shadow: 0 0 0 1px rgba(63, 240, 220, .4), 0 14px 34px -12px rgba(63, 240, 220, .8);
}
.cartbar__count { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 999px; background: var(--night); color: var(--neon); font-size: 1.1rem; }
.cartbar__label { flex: 1; text-align: left; }
body.has-cart .mfoot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* sheets (dialog) */
.sheet {
  width: 100%; max-width: 640px; max-height: min(92svh, 860px); margin: auto auto 0; padding: 0;
  border: 1px solid rgba(63, 240, 220, .25); border-bottom: 0; border-radius: 26px 26px 0 0;
  color: var(--cream); background: linear-gradient(180deg, #08282b, #04161a 70%);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
  overflow: auto; overscroll-behavior: contain;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
.sheet::backdrop { background: rgba(1, 8, 10, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: 26px; border-bottom: 1px solid rgba(63, 240, 220, .25); } }
.sheet--small { max-width: 480px; }
.sheet__body { padding: 20px var(--gutter) 10px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sheet__title { font-size: 1.6rem; }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: rgba(246, 236, 218, .05); color: var(--cream); cursor: pointer; }
.sheet__foot { position: sticky; bottom: 0; display: grid; gap: 8px; padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(4, 22, 26, 0), #04161a 24%); }
.sheet__keep, .sheet__wide { width: 100%; }
.sheet__empty { color: var(--cream-2); margin: 10px 0 18px; }
.cart { list-style: none; margin: 0 0 16px; padding: 0; }
.cart__line { padding: 12px 0; border-bottom: 1px dashed rgba(246, 236, 218, .14); }
.cart__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart__name { font-family: var(--display); font-size: 1.24rem; line-height: 1.2; }
.cart__note input { margin-top: 8px; }
input[type="text"], input[type="tel"], input[type="date"], input[type="time"], input[type="number"], textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 14px;
  font: 500 1rem/1.35 var(--body); color: var(--cream);
  background: rgba(246, 236, 218, .06); border: 1px solid rgba(246, 236, 218, .22);
  transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: rgba(207, 198, 180, .62); }
input:focus, textarea:focus { outline: none; border-color: var(--neon); background: rgba(63, 240, 220, .06); box-shadow: 0 0 0 3px rgba(63, 240, 220, .2); }
textarea { resize: vertical; }
input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(.85); }
.field { display: grid; gap: 7px; }
.field__label { font-size: .86rem; font-weight: 700; color: var(--cream); }
.field__opt { font-weight: 500; color: var(--cream-2); }
.field__err { min-height: 0; font-size: .86rem; font-weight: 600; color: #ffb7a0; }
.field__err:empty { display: none; }
.field.has-err input { border-color: #ff9a7a; }
.done-badge { display: grid; place-items: center; width: 64px; height: 64px; margin: 6px 0 14px; border-radius: 50%; color: var(--night); background: var(--neon); box-shadow: 0 0 0 8px rgba(63, 240, 220, .14), 0 0 40px rgba(63, 240, 220, .6); animation: pop .5s ease; }
.done-badge .ico { width: 34px; height: 34px; stroke-width: 2.6; }
.done-lead { color: var(--cream-2); margin: 8px 0 18px; }
.steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps__item { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .82rem; font-weight: 700; color: var(--cream-2); position: relative; }
.steps__item:not(:first-child)::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: rgba(246, 236, 218, .15); z-index: 0; }
.steps__item.is-done:not(:first-child)::before, .steps__item.is-now:not(:first-child)::before { background: var(--neon); }
.steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0a2a2d; border: 2px solid rgba(246, 236, 218, .2); }
.steps__dot .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.steps__item.is-done .steps__dot, .steps__item.is-now .steps__dot { background: var(--neon); border-color: var(--neon); color: var(--night); }
.steps__item.is-now { color: var(--cream); }
.steps__item.is-now .steps__dot { box-shadow: 0 0 0 6px rgba(63, 240, 220, .18); }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.pay__btn { display: grid; justify-items: center; gap: 10px; padding: 22px 10px; border-radius: 20px; cursor: pointer; font-weight: 800; font-size: 1.08rem; color: var(--cream); background: rgba(246, 236, 218, .06); border: 1px solid rgba(246, 236, 218, .25); }
.pay__btn .ico { width: 34px; height: 34px; color: var(--amber); }
.pay__btn:hover, .pay__btn:focus-visible { border-color: var(--neon); background: rgba(63, 240, 220, .08); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 70;
  width: max-content; max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 16px;
  font-weight: 700; font-size: .95rem; line-height: 1.35; color: var(--night); background: var(--cream);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px); pointer-events: none;
  transition: opacity .2s, transform .25s, visibility 0s .25s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s; }
.toast--ok { background: #c8fff6; }
.toast--warn { background: #ffd9c4; }
body:not(.has-cart) .toast { bottom: calc(24px + env(safe-area-inset-bottom)); }

/* =========================================================
   BAR SCREEN (sank/)
   ========================================================= */
.page-sank { min-height: 100vh; background: radial-gradient(60% 40% at 100% 0%, rgba(255, 170, 80, .1), transparent 70%), #031417; }
.shead { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 16px var(--gutter); border-bottom: 1px solid rgba(246, 236, 218, .08); }
.shead__brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.shead__name { font-family: var(--display); font-size: 1.9rem; font-weight: 560; line-height: 1; text-shadow: 0 0 16px rgba(63, 240, 220, .35); }
.shead__name em { color: var(--amber); font-weight: 400; }
.live-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; border: 1px solid var(--line); color: var(--cream-2); }
.live-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cream-2); }
.live-chip[data-state="live"] { color: var(--neon-2); border-color: rgba(63, 240, 220, .4); }
.live-chip[data-state="live"] .live-chip__dot { background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: pulse 2.4s ease-out infinite; }
.live-chip[data-state="local"] { color: var(--amber-2); border-color: rgba(255, 180, 94, .4); }
.live-chip[data-state="local"] .live-chip__dot { background: var(--amber); }
.stats { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.stats div { padding: 8px 16px; border-radius: 14px; background: rgba(10, 49, 52, .6); border: 1px solid rgba(63, 240, 220, .15); min-width: 120px; }
.stats dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); }
.stats dd { margin: 0; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.shead__tools { display: flex; gap: 8px; margin-left: auto; position: relative; }
.tool { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--cream); background: rgba(246, 236, 218, .05); border: 1px solid rgba(246, 236, 218, .24); list-style: none; }
.tool::-webkit-details-marker { display: none; }
.tool .ico-on { display: none; }
.tool.is-on { color: var(--night); background: var(--neon); border-color: var(--neon); }
.tool.is-on .ico-on { display: inline; }
.tool.is-on .ico-off { display: none; }
.demo-menu { position: relative; }
.demo-menu__pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; min-width: 270px; padding: 6px; border-radius: 16px; background: #0a2a2d; border: 1px solid rgba(63, 240, 220, .25); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.demo-menu__item { display: block; padding: 12px 14px; border: 0; border-radius: 10px; background: none; color: var(--cream); font: 600 .95rem var(--body); text-align: left; text-decoration: none; cursor: pointer; }
.demo-menu__item:hover, .demo-menu__item:focus-visible { background: rgba(63, 240, 220, .1); }
.demo-menu__item--danger { color: #ffb7a0; }

.stabs { display: flex; gap: 6px; padding: 14px var(--gutter) 0; }
.stab { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px 14px 0 0; cursor: pointer; font-weight: 800; font-size: 1rem; color: var(--cream-2); background: transparent; border: 1px solid transparent; border-bottom: 0; }
.stab[aria-selected="true"] { color: var(--cream); background: rgba(10, 49, 52, .7); border-color: rgba(63, 240, 220, .2); }
.stab__badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; font-size: .85rem; color: var(--night); background: var(--amber); }
.stab__badge.is-flash { animation: flash 1s steps(2, jump-none) infinite; }
@keyframes flash { 50% { background: #fff1d6; box-shadow: 0 0 16px rgba(255, 180, 94, .9); } }
.sbody { padding: 0 var(--gutter) 30px; }
.sview { padding: 18px; border-radius: 0 18px 18px 18px; background: rgba(10, 49, 52, .35); border: 1px solid rgba(63, 240, 220, .12); min-height: 60vh; }
.sview:focus { outline: none; }

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.tgroup { display: grid; gap: 10px; padding: 12px; border-radius: 20px; background: rgba(4, 22, 26, .7); border: 1px solid rgba(246, 236, 218, .08); }
.tgroup.is-new { border-color: rgba(255, 180, 94, .5); box-shadow: 0 0 0 1px rgba(255, 180, 94, .25), 0 0 30px -10px rgba(255, 180, 94, .6); }
.tgroup__head { display: flex; align-items: baseline; gap: 8px; font-family: var(--body); padding: 2px 4px; }
.tgroup__label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
.tgroup__num { font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--cream); }
.tgroup__kinds { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--cream-2); }

.scard, .rcard { position: relative; padding: 14px 14px 12px; border-radius: 16px; border: 1px solid rgba(63, 240, 220, .25); background: linear-gradient(170deg, rgba(10, 49, 52, .9), rgba(6, 30, 33, .95)); }
.scard__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.scard__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; color: var(--neon); background: rgba(63, 240, 220, .12); }
.scard__title { font-family: var(--body); font-size: 1rem; font-weight: 800; }
.scard__new { padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--night); background: var(--amber); animation: flash 1s steps(2, jump-none) infinite; }
.scard__time { margin-left: auto; font-size: .84rem; font-weight: 700; color: var(--cream-2); font-variant-numeric: tabular-nums; }
.scard__items { list-style: none; margin: 12px 0 8px; padding: 0; display: grid; gap: 6px; }
.scard__items li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; font-size: 1.08rem; }
.scard__qty { color: var(--neon); font-variant-numeric: tabular-nums; }
.scard__item { font-weight: 650; }
.scard__inote { grid-column: 2; font-size: .9rem; font-style: italic; font-weight: 600; color: var(--amber-2); }
.scard__note { margin: 6px 0 8px; padding: 8px 12px; border-radius: 10px; font-size: .92rem; font-weight: 600; color: #ffe2bd; background: rgba(255, 180, 94, .1); border-left: 3px solid var(--amber); }
.scard__msg { margin: 10px 0 8px; font-size: 1rem; color: var(--cream); }
.scard__actions { display: flex; gap: 8px; margin-top: 10px; }
.cbtn { flex: 1; min-height: 46px; padding: 0 14px; border-radius: 12px; cursor: pointer; font: 800 .95rem var(--body); color: var(--cream); background: rgba(246, 236, 218, .06); border: 1px solid rgba(246, 236, 218, .25); }
.cbtn--prep.is-active { color: var(--night); background: var(--amber); border-color: var(--amber); }
.cbtn--done { color: var(--night); border-color: transparent; background: radial-gradient(130% 160% at 28% 12%, #8ff9ee, #3ee3d1 45%, #17a99c); }
.cbtn--ghost { background: transparent; }
.scard.is-prep { border-color: rgba(255, 180, 94, .55); }
.scard.is-new { animation: card-in .5s cubic-bezier(.2, .9, .3, 1.2); box-shadow: 0 0 0 2px rgba(255, 180, 94, .55), 0 0 26px -6px rgba(255, 180, 94, .7); }
@keyframes card-in { from { transform: translateY(-10px) scale(.97); opacity: 0; } }
.scard--call { border-color: rgba(255, 180, 94, .6); background: linear-gradient(170deg, rgba(120, 72, 22, .85), rgba(60, 34, 12, .95)); }
.scard--call .scard__icon { color: var(--night); background: var(--amber); }
.scard--bill { border-color: rgba(226, 171, 128, .55); background: linear-gradient(170deg, rgba(92, 54, 32, .95), rgba(43, 23, 13, .98)); }
.scard--bill .scard__icon { color: var(--night); background: var(--cocoa); }

.empty { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; max-width: 760px; margin: 30px auto; padding: 26px; border-radius: 22px; border: 1px dashed rgba(63, 240, 220, .3); color: var(--cream-2); }
.empty[hidden] { display: none; }
.empty--res { grid-template-columns: 1fr; }
.empty__qr { width: 170px; padding: 12px; border-radius: 16px; background: var(--cream); }
.empty__title { font-size: 1.7rem; color: var(--cream); margin-bottom: 8px; }
.empty p + p { margin-top: 8px; }
.empty__try { color: var(--neon-2); font-weight: 600; }
.empty a { color: var(--neon-2); }
@media (max-width: 560px) { .empty { grid-template-columns: 1fr; justify-items: start; } }

.history { margin-top: 20px; }
.history summary { cursor: pointer; padding: 10px 4px; font-weight: 800; color: var(--cream-2); }
.history__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.history__list li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; background: rgba(246, 236, 218, .04); color: var(--cream-2); }
.history__list b { color: var(--cream); }
.history__time { white-space: nowrap; }
@media (max-width: 560px) { .history__list li { grid-template-columns: 1fr; gap: 2px; } }

.resv { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.rcard { border-color: rgba(255, 180, 94, .35); }
.rcard.is-new { box-shadow: 0 0 0 2px rgba(255, 180, 94, .55), 0 0 26px -6px rgba(255, 180, 94, .7); animation: card-in .5s cubic-bezier(.2, .9, .3, 1.2); }
.rcard.is-ok { border-color: rgba(63, 240, 220, .5); }
.rcard.is-no { opacity: .6; }
.rcard .scard__icon { color: var(--night); background: var(--amber); }
.rcard__occ { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: rgba(246, 236, 218, .1); }
.rcard__occ--vip { color: var(--night); background: linear-gradient(90deg, #ffd08a, #ffb45e); }
.rcard__occ--rojstni { color: var(--night); background: #f7b3c8; }
.rcard__occ--zaprta { color: var(--night); background: #b7c7ff; }
.rcard__when { margin: 12px 0 4px; font-size: 1.04rem; }
.rcard__when b { color: var(--cream); }
.rcard__tel { display: inline-block; font-weight: 700; color: var(--neon-2); text-underline-offset: 3px; }
.rcard__got { margin-top: 6px; font-size: .82rem; color: var(--cream-2); }
.rcard__state { font-weight: 700; color: var(--neon-2); padding: 10px 0 2px; }
.rcard.is-no .rcard__state { color: var(--cream-2); }
.sfoot { padding: 0 var(--gutter) 30px; font-size: .82rem; color: var(--cream-2); text-align: center; }

/* =========================================================
   RESERVATIONS (rezervacija/)
   ========================================================= */
.page-res { background: radial-gradient(90% 40% at 100% 0%, rgba(255, 170, 80, .14), transparent 70%), var(--night); }
.page-res .mhead__zoe { display: block; }
.rbody { max-width: 760px; margin: 0 auto; padding: 4px var(--gutter) 30px; }
.rintro h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-bottom: 12px; }
.rintro p { color: var(--cream-2); max-width: 52ch; margin-bottom: 24px; }
.rform { display: grid; gap: 22px; }
.rform[hidden] { display: none; }
.occ { margin: 0; padding: 0; border: 0; min-width: 0; }
.occ legend { padding: 0; margin-bottom: 10px; font-size: .86rem; font-weight: 700; }
.occ__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.occ__opt { position: relative; }
.occ__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.occ__card { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; border-radius: 16px; cursor: pointer; font-weight: 750; border: 1px solid rgba(246, 236, 218, .22); background: rgba(246, 236, 218, .05); transition: border-color .2s, background .2s; }
.occ__card .ico { width: 24px; height: 24px; color: var(--amber); flex: none; }
.occ__opt input:checked + .occ__card { border-color: var(--neon); background: linear-gradient(160deg, rgba(63, 240, 220, .16), rgba(23, 169, 156, .05)); box-shadow: 0 0 22px -8px rgba(63, 240, 220, .8); }
.occ__opt input:checked + .occ__card .ico { color: var(--neon); }
.occ__opt input:focus-visible + .occ__card { outline: 2px solid var(--neon); outline-offset: 3px; }
.occ__hint { margin-top: 10px; font-size: .9rem; color: var(--amber-2); }
.occ__hint:empty { display: none; }
.rgrid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.rgrid .field:nth-child(1), .rgrid .field:nth-child(2), .field--wide { grid-column: 1 / -1; }
.people { align-items: center; gap: 8px; }
.people input { width: 84px; text-align: center; font-weight: 800; font-size: 1.15rem; -moz-appearance: textfield; }
.people input::-webkit-outer-spin-button, .people input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rform__demo { margin-bottom: -8px; }
.rform__err { color: #ffb7a0; font-weight: 700; }
.rform__err:empty { display: none; }
.rdone { padding: 20px 0; }
.rdone:focus { outline: none; }
.rdone h2 { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 12px; }
.rdone__sum { color: var(--cream-2); font-size: 1.05rem; max-width: 52ch; }
.rdone__state { margin: 18px 0 24px; padding: 14px 16px; border-radius: 14px; font-weight: 700; color: var(--amber-2); background: rgba(255, 180, 94, .1); border: 1px solid rgba(255, 180, 94, .3); }
.rdone__state.is-ok { color: var(--night); background: var(--neon); border-color: var(--neon); }
.rdone__state.is-no { color: var(--cream); background: rgba(246, 236, 218, .08); border-color: var(--line); }
@media (min-width: 600px) {
  .occ__grid { grid-template-columns: repeat(4, 1fr); }
  .occ__card { flex-direction: column; justify-content: center; text-align: center; min-height: 92px; }
  .rgrid .field:nth-child(1), .rgrid .field:nth-child(2) { grid-column: auto; }
}

/* =========================================================
   QR CARDS (qr/)
   ========================================================= */
.qr-tools { max-width: 1100px; margin: 0 auto; padding: 22px var(--gutter) 6px; display: grid; gap: 12px; }
.qr-tools h1 { font-size: 1.8rem; }
.qr-tools p { color: var(--cream-2); font-size: .94rem; max-width: 70ch; }
.qr-tools .cta { align-items: center; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 650; font-size: .92rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { width: 46px; height: 26px; border-radius: 999px; background: rgba(246, 236, 218, .2); position: relative; transition: background .2s; flex: none; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); transition: transform .2s; }
.switch input:checked + .switch__ui { background: var(--neon); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--neon); outline-offset: 3px; }
.qr-sheet { max-width: 1100px; margin: 0 auto; padding: 18px var(--gutter) 50px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.qr-page { display: contents; }
.tcard {
  container-type: inline-size; position: relative; overflow: hidden; aspect-ratio: 105 / 148; border-radius: 14px; color: var(--cream);
  background: radial-gradient(70% 40% at 85% 6%, rgba(255, 170, 80, .3), transparent 70%), radial-gradient(70% 40% at 0% 60%, rgba(63, 240, 220, .14), transparent 70%), linear-gradient(180deg, #06201f, #04161a 60%, #2b170d);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(246, 236, 218, .1);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.tcard__in { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 7cqw 8cqw 6cqw; }
.tcard__brand { align-self: flex-start; font-family: var(--display); font-size: 7cqw; font-weight: 560; letter-spacing: -.01em; text-shadow: 0 0 2cqw rgba(63, 240, 220, .45); }
.tcard__brand em { color: var(--amber); font-weight: 400; }
.tcard__table { align-self: flex-start; margin-top: 3cqw; font-family: var(--display); line-height: 1; }
.tcard__label { font-size: 9cqw; font-style: italic; color: var(--amber); }
.tcard__num { font-size: 20cqw; font-weight: 600; text-shadow: 0 0 3cqw rgba(63, 240, 220, .45); }
.tcard__qr { position: relative; margin: 7cqw 0 4cqw; padding: 5cqw; width: 56cqw; border-radius: 4cqw; background: var(--cream); box-shadow: 0 0 0 1.2cqw rgba(63, 240, 220, .25), 0 0 8cqw rgba(63, 240, 220, .3); }
.tcard__zoe { position: absolute; right: -6cqw; top: calc(-24cqw * .86 + .4cqw); width: 24cqw; height: 24cqw; transform: scaleX(-1); overflow: visible; }
.tcard__cta { font-family: var(--display); font-size: 8.4cqw; line-height: 1.05; font-weight: 500; }
.tcard__en { font-size: 4.2cqw; color: var(--cream-2); margin-top: 1cqw; font-weight: 600; }
.tcard__feat { margin-top: auto; font-size: 3.3cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-2); font-weight: 700; }
.qr__code { width: 100%; height: auto; display: block; }
.is-light .tcard { color: #10201f; background: #f8f1e3; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.is-light .tcard__brand, .is-light .tcard__num { text-shadow: none; }
.is-light .tcard__brand em, .is-light .tcard__label { color: #b05a12; }
.is-light .tcard__en { color: #3a4846; }
.is-light .tcard__feat { color: #8a4a12; }
.is-light .tcard__qr { background: #fff; box-shadow: 0 0 0 1.2cqw #1aa79c; }
@media print {
  @page { size: A4 portrait; margin: 0; }
  html, body { background: #fff !important; }
  body::before, .qr-tools, .topbar, .sprite + .qr-tools { display: none !important; }
  .qr-sheet { display: block; max-width: none; padding: 0; margin: 0; }
  .qr-page { display: grid; grid-template-columns: 105mm 105mm; grid-template-rows: 148mm 148mm; width: 210mm; height: 296mm; break-after: page; page-break-after: always; overflow: hidden; }
  .qr-page:last-child { break-after: auto; page-break-after: auto; }
  .tcard { width: 105mm; height: 148mm; aspect-ratio: auto; border-radius: 0; box-shadow: none; outline: .2mm dashed rgba(128, 128, 128, .6); outline-offset: -.1mm; }
}
