/* DINE OUT BOOKING — shared design system
   Used by: index.html, guest.html, hotel.html, restaurant.html
*/

:root {
  --brand: #61A653;
  --brand-dark: #559147;
  --brand-deep: #3F7335;
  --brand-light: #DDEFD9;
  --brand-soft: #F1F8EF;
  --accent: #F3A013;
  --accent-dark: #C47D09;
  --accent-soft: #FFF4DE;
  --gold: #F3A013;
  --link: #225E6B;
  --link-hover: #173F49;
  --success: #24713A;
  --success-soft: #E4F3E8;
  --confirmed: #0F7188;
  --confirmed-soft: #E2F5FA;
  --served: #236D99;
  --served-soft: #E6F3FB;
  --paid: #1F6B3A;
  --paid-soft: #DCF2E4;
  --draft: #4F5B66;
  --draft-soft: #EEF1F4;
  --warning: #A76500;
  --warning-soft: #FFF0D2;
  --danger: #B42318;
  --danger-soft: #FDE7E5;
  --ink: #282B2D;
  --ink-2: #666C74;
  --ink-3: #7A828B;
  --ink-4: #A2AAB3;
  --line: #C1C6CC;
  --line-2: #E9ECEE;
  --bg: #EBECEC;
  --bg-2: #FFFFFF;
  --focus: rgba(97, 166, 83, .22);
  --shadow: 0 1px 2px rgba(40, 43, 45, .05), 0 4px 12px rgba(40, 43, 45, .07);
  --shadow-lg: 0 10px 40px rgba(40, 43, 45, .14);
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 16px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Calibri, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
  border-radius: 6px;
}
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: 0;
  font-family: Montserrat, Calibri, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
p  { margin: 0 0 12px; color: var(--ink-2); }

/* ---------- layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--brand { background: var(--brand-soft); }
.section--soft { background: #F7FAF5; }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.78); }

/* ---------- top nav (public) ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topnav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--ink);
  font-size: 17px; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--brand) url("/assets/dine-out-booking-icon.png") center / 118% 118% no-repeat;
  color: transparent; font-size: 0; font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
  flex: 0 0 auto;
  overflow: hidden;
}
.brand__name span { color: var(--brand); }
.topnav__links { display: flex; gap: 26px; align-items: center; }
.topnav__links a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.topnav__links a:hover { color: var(--brand); text-decoration: none; }
.topnav__links a.active { color: var(--brand); }
.topnav__cta { display: flex; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 6px 14px rgba(63, 115, 53, .16); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--line-2); border-color: var(--ink-4); }
.btn--soft { background: var(--brand-soft); color: var(--brand); }
.btn--soft:hover { background: var(--brand-light); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #911818; }
.btn--success { background: var(--success); color: #fff; }
.btn--success:hover { background: var(--brand-deep); }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--lg { padding: 14px 22px; font-size: 16px; }
.btn--block { width: 100%; }
.app .btn { border-radius: 12px; }
.app .btn--ghost,
.app .btn--soft,
.app .btn--sm { border-radius: 9px; }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
}
.btn:disabled,
.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(97,166,83,.18) 0%, transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(243,160,19,.2) 0%, transparent 60%),
    linear-gradient(180deg, #fff, var(--brand-soft));
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 56px; line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__sub { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero__checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 11px;
  color: var(--ink);
  font-size: 15.5px;
}
.hero__checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero__checks span {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(97,166,83,.75);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.hero__ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__visual {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-flow-card {
  padding: 34px;
}
.hero-flow-card h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 23px;
}
.hero-flow {
  position: relative;
  display: grid;
  gap: 24px;
}
.hero-flow__rail {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 8px;
  width: 2px;
  background: rgba(97,166,83,.34);
}
.hero-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding-left: 38px;
}
.hero-flow__dot {
  position: absolute;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-dark);
  box-shadow: 0 0 0 4px #fff;
}
.hero-flow__icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero-flow__step h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.hero-flow__step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}
.hero-flow__status {
  min-width: 92px;
  justify-self: end;
  text-align: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}
.hero-flow__cta {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ---------- public website pages ---------- */
.public-hero {
  padding: 82px 0 64px;
  background:
    radial-gradient(900px 420px at 86% -8%, rgba(97,166,83,.18), transparent 62%),
    linear-gradient(180deg, #fff, var(--brand-soft));
}
.public-hero--compact { padding: 70px 0 52px; }
.public-hero__content { max-width: 780px; }
.public-hero__content h1 { font-size: 48px; max-width: 760px; }
.public-hero__content p { font-size: 18px; max-width: 680px; }
.public-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 42px;
  align-items: center;
}
.public-split--reverse {
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
}
.public-checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 10px;
}
.public-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.public-checklist span { color: var(--success); font-weight: 800; }
.public-value-list {
  display: grid;
  gap: 18px;
}
.public-value {
  padding-left: 16px;
  border-left: 3px solid rgba(74, 139, 67, .22);
}
.public-value h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.public-value p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}
.public-feature-list { display: grid; gap: 14px; }
.public-feature {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 1px 2px rgba(40,43,45,.03);
}
.public-feature h3 { margin-bottom: 4px; }
.public-flow-strip {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.public-flow-strip h2 { margin: 8px 0 0; }
.public-video {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(74, 139, 67, .22);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(63,115,53,.92), rgba(97,166,83,.78)),
    radial-gradient(500px 240px at 80% 20%, rgba(243,160,19,.4), transparent 60%);
  box-shadow: var(--shadow-lg);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}
.public-video__play {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 28px;
}
.public-video-block {
  display: grid;
  gap: 28px;
}
.public-video-block__head {
  margin-bottom: 0;
}
.public-video-player {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  border: 1px solid rgba(74, 139, 67, .22);
  background:
    linear-gradient(135deg, rgba(63,115,53,.95), rgba(97,166,83,.72)),
    var(--brand-soft);
  box-shadow: var(--shadow-lg);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.workflow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(40,43,45,.03);
  padding: 18px;
}
.workflow-card .tile__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}
.workflow-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.workflow-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}
.role-view-grid .tile__icon {
  margin-bottom: 16px;
  font-weight: 800;
}
.public-contact-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(74, 139, 67, .1), transparent 32%),
    #fff;
}
.public-join-section {
  border-top: 1px solid rgba(74, 139, 67, .12);
}
.public-contact-head {
  margin-bottom: 32px;
}
.public-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.public-contact-grid--join {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}
.public-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.public-contact-card--primary {
  border-color: rgba(74, 139, 67, .22);
  box-shadow: 0 18px 44px rgba(48, 80, 43, .1);
}
.public-contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 800;
  text-decoration: none;
}
.public-contact-email:hover {
  background: #DCEFD6;
  color: var(--brand-strong);
}
.public-application {
  --application-panel-min-height: 700px;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(74, 139, 67, .2);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}
.public-application__intro {
  display: grid;
  gap: 12px;
}
.public-application__intro h2 {
  margin-bottom: 0;
}
.public-application__intro p {
  font-size: 16px;
}
.public-application__note {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid #D8EAD2;
  border-radius: var(--r);
  background: var(--brand-soft);
}
.public-application__note h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.public-application__note p {
  margin-bottom: 0;
  font-size: 14.5px;
}
.public-application__form {
  display: grid;
  gap: 14px;
  min-height: var(--application-panel-min-height);
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
}
.public-application__form[hidden] {
  display: none;
}
.public-application__form .field {
  margin-bottom: 0;
}
.public-application__form textarea {
  resize: vertical;
}
.public-application__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 4px;
}
.public-application__actions p {
  max-width: 340px;
  margin: 0;
}
.public-application__status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 600;
}
.public-application__status:not(:empty) {
  display: block;
}
.public-application__status--info {
  background: var(--brand-soft);
  border-color: #C9E4C3;
  color: var(--brand-deep);
}
.public-application__status--success {
  background: var(--success-soft);
  border-color: #86C794;
  color: var(--success);
}
.public-application__status--error {
  background: var(--danger-soft);
  border-color: #E0928A;
  color: var(--danger);
}
.public-application__success {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: var(--application-panel-min-height);
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background:
    radial-gradient(circle at 50% 0%, rgba(97, 166, 83, .16), transparent 48%),
    #fff;
  text-align: center;
}
.public-application__success[hidden] {
  display: none;
}
.public-application__success-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 26px;
  font-weight: 900;
}
.public-application__success h3 {
  margin: 0;
  font-size: 24px;
}
.public-application__success p {
  max-width: 440px;
  margin: 0;
}
.login-shell {
  min-height: calc(100vh - 65px);
  display: grid;
  place-items: center;
  padding: 56px 24px;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(97,166,83,.18), transparent 62%),
    linear-gradient(180deg, #fff, var(--brand-soft));
}
.login-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.login-card h1 { font-size: 30px; text-align: center; }

/* ---------- generic cards ---------- */
.card {
  background: var(--bg-2);
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card--flat { box-shadow: none; }
.card--pad-lg { padding: 32px; }

.tile {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: 28px;
  transition: all .15s ease;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.tile__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 20px;
}
.tile h3 { margin: 0; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tile-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- section headers ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head__eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-head h2 { font-size: 36px; }

/* ---------- restaurant cards ---------- */
.r-card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .15s ease;
  text-decoration: none; color: var(--ink);
}
.r-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.r-card__img {
  aspect-ratio: 16/10;
  background: var(--brand-soft);
  position: relative;
  display: grid; place-items: center;
  font-size: 56px;
}
.r-card__body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.r-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.r-card__title { font-weight: 700; font-size: 17px; }
.r-card__cuisine {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 600;
}
.r-card__rating { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.r-card__rating .stars { color: var(--gold); letter-spacing: 1px; }

.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .r-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .r-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand__name span { color: rgba(255,255,255,.82); }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__bar {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px;
}

/* ---------- portal layout (hotel/restaurant) ---------- */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, var(--ink) 0%, #1F2426 100%);
  color: rgba(255,255,255,.85);
  padding: 22px 14px;
  position: sticky; top: 0; align-self: start;
  height: 100vh; overflow-y: auto;
}
.sidebar .brand { color: #fff; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 18px; }
.sidebar .brand__mark { width: 30px; height: 30px; border-radius: 8px; }
.sidebar .brand__name { color: #fff; }
.sidebar .brand__name span { color: rgba(255,255,255,.82); }
.sidebar__section { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); padding: 14px 12px 6px; }
.sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-weight: 500; font-size: 14.5px;
  margin-bottom: 2px;
}
.sidebar a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.sidebar a.active {
  background: rgba(255,255,255,.105);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--brand);
}
.sidebar__icon { width: 18px; display: inline-grid; place-items: center; font-size: 16px; opacity: .9; }
.sidebar__footer { margin-top: auto; padding: 16px 12px 0; font-size: 13px; color: rgba(255,255,255,.5); }

.main { background: var(--bg); min-height: 100vh; min-width: 0; }
.appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.appbar__title { font-weight: 700; font-size: 18px; }
.appbar__user { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--line-2); color: var(--ink);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
}

.page {
  padding: 28px 32px 80px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}
.page__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; gap: 20px; flex-wrap: wrap; }
.page__head h1 { font-size: 26px; margin: 0 0 6px; }
.page__head p { color: var(--ink-3); margin: 0; }

/* ---------- focused admin screen polish ---------- */
.admin-screen { display: grid; gap: 20px; }
.admin-screen__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 2px;
}
.admin-screen__head h1 { font-size: 28px; margin: 0 0 6px; }
.admin-screen__head p { color: var(--ink-3); margin: 0; max-width: 640px; }
.admin-screen__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 1px 2px rgba(40,43,45,.03);
}
.admin-controls--filters { align-items: flex-end; }
.admin-controls--compact {
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
}
.admin-controls--compact .field {
  flex: 0 1 260px;
  min-width: 220px;
  margin-bottom: 0;
}
.admin-controls--compact .admin-filter-grid {
  flex: 0 1 360px;
  grid-template-columns: 1fr;
}
.admin-controls--compact .admin-actions {
  flex: 0 0 auto;
  justify-content: flex-start;
}
.admin-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 1fr) minmax(140px, .8fr);
  gap: 12px 14px;
  flex: 1;
}
.admin-filter-grid--reservations {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}
.admin-filter-grid--audit {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}
.admin-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  max-width: 980px;
}
.admin-filter-grid .field { margin-bottom: 0; }
.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.admin-toggle input { width: 16px; height: 16px; accent-color: var(--brand); }
.admin-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}
.admin-table-wrap .tbl { border: 0; border-radius: 0; box-shadow: none; min-width: 840px; }
.admin-table-wrap--scan .tbl { min-width: 0; }
.admin-table-wrap .tbl th,
.admin-table-wrap .tbl td { vertical-align: middle; }
#billing-run .admin-form-grid { max-width: 460px; }
#billing-run .admin-actions { justify-content: flex-start; }
.tbl tbody tr.admin-inline-detail-row:hover { background: transparent; }
.admin-inline-detail-cell {
  padding: 0 14px 18px !important;
  background: #FBFCFB;
  border-bottom: 1px solid var(--line);
  text-align: left !important;
}
.admin-inline-detail-cell > .admin-panel {
  margin-top: 10px;
  box-shadow: 0 1px 2px rgba(40,43,45,.04);
}
.admin-primary-cell { display: grid; gap: 3px; }
.admin-primary-cell strong { color: var(--ink); }
.admin-primary-cell span { color: var(--ink-3); font-size: 12.5px; }
.admin-context-cell { display: grid; gap: 3px; min-width: 120px; max-width: 220px; }
.admin-context-cell--wide { max-width: 300px; }
.admin-context-cell strong { color: var(--ink); font-weight: 650; }
.admin-context-cell--wide strong,
.admin-primary-cell strong { overflow-wrap: anywhere; }
.admin-context-cell span { color: var(--ink-3); font-size: 12.5px; text-transform: capitalize; }
.admin-meta {
  display: inline;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.admin-reference {
  color: var(--ink-3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.admin-json {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #F8F9F8;
  color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-actions .btn { min-height: 32px; }
.admin-actions-col { text-align: right; }
.admin-actions-col .admin-actions { justify-content: flex-end; }
.table-sort {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding: 0;
  text-align: left;
  text-transform: inherit;
}
.table-sort:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.table-sort:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
  border-radius: 4px;
}
.admin-empty {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.admin-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-2);
  background: #FBFCFB;
}
.admin-panel__head h2 { margin: 0 0 6px; font-size: 22px; }
.admin-panel__head p { margin: 0; color: var(--ink-3); }
.admin-panel__body { padding: 24px; }
.admin-form-section {
  padding: 20px 0;
  border-top: 1px solid var(--line-2);
}
.admin-form-section:first-child { border-top: 0; padding-top: 0; }
.admin-advanced-section {
  margin-top: 4px;
  padding: 20px;
  border: 1px solid #E0E5DE;
  border-radius: var(--r);
  background: #FBFCFA;
}
.admin-form-section__head {
  margin-bottom: 16px;
  max-width: 720px;
}
.admin-form-section__head strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.admin-form-grid .field { margin-bottom: 0; }
.admin-form-grid .field--wide { grid-column: 1 / -1; }
.admin-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-detail-summary__item {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #FBFCFB;
  min-width: 0;
}
.admin-detail-label {
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.admin-detail-value {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-detail-value--muted {
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
}
.admin-detail-section { margin-top: 24px; }
.admin-detail-section h3 { margin-bottom: 12px; }
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-detail-grid > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
}
.admin-detail-grid__wide { grid-column: 1 / -1; }
.admin-detail-grid strong { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.admin-detail-grid span:not(.chip) { color: var(--ink-3); font-size: 12.5px; overflow-wrap: anywhere; }
.admin-note {
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-2);
  line-height: 1.65;
  white-space: pre-wrap;
}

.hotel-register-form .admin-panel__body {
  background: #F8F9F7;
}
.hotel-register-form {
  max-width: 1280px;
}
.hotel-register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 20px;
  align-items: start;
}
.hotel-register-main,
.hotel-register-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.hotel-register-section {
  padding: 18px 20px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 1px 2px rgba(40,43,45,.025);
}
.hotel-register-section .admin-form-section__head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.hotel-register-section .admin-form-section__head strong {
  font-size: 15px;
}
.hotel-register-summary {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 1px 2px rgba(40,43,45,.025);
  position: sticky;
  top: 88px;
}
.hotel-register-summary h3 {
  margin: 4px 0 4px;
  font-size: 18px;
}
.hotel-register-summary > div:first-child {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.hotel-register-actions {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
}
.hotel-register-actions .btn {
  justify-content: center;
}

/* ---------- portal nav (page tabs) ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.tabs a {
  padding: 10px 14px;
  font-weight: 600; font-size: 14px;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.active { color: var(--brand); border-color: var(--brand); }

/* ---------- KPI stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.stat__label { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-weight: 500; }
.stat__value { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.stat__delta { font-size: 12.5px; margin-top: 6px; font-weight: 600; color: var(--success); }
.stat__delta--down { color: var(--danger); }
.stat__icon { float: right; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 16px; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 14px; box-shadow: 0 1px 2px rgba(40,43,45,.03); }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: #F7F8F7; font-weight: 650; font-size: 12px; text-transform: uppercase; letter-spacing: .045em; color: var(--ink-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #F8F8F6; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 8px;
  font-size: 11.5px; font-weight: 700; line-height: 1.2;
  background: var(--line-2); color: var(--ink-2);
  border: 1px solid var(--line);
}
.chip--brand    { background: #E3F2DE; color: var(--brand-deep); border-color: #95C98A; }
.chip--success  { background: var(--success-soft); color: var(--success); border-color: #86C794; }
.chip--confirmed { background: var(--confirmed-soft); color: var(--confirmed); border-color: #74C6D6; }
.chip--served   { background: var(--served-soft); color: var(--served); border-color: #88C3E3; }
.chip--paid     { background: var(--paid-soft); color: var(--paid); border-color: #73BE88; }
.chip--draft    { background: var(--draft-soft); color: var(--draft); border-color: #B9C3CC; }
.chip--warning  { background: var(--warning-soft); color: var(--warning); border-color: #E3A63A; }
.chip--danger   { background: var(--danger-soft); color: var(--danger); border-color: #E0928A; }
.chip--ghost    { background: #fff; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--focus);
}
.field input:disabled,
.field select:disabled,
.field textarea:disabled,
.field input[readonly],
.field textarea[readonly] {
  background: var(--line-2);
  color: var(--ink-2);
}
.filter {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.filter:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--focus);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field__hint { font-size: 12.5px; color: var(--ink-3); }
.field__required { color: var(--danger); font-weight: 800; }
.field__optional {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- review stars ---------- */
.stars { color: var(--gold); letter-spacing: 1px; }
.stars--lg { font-size: 22px; }
.rating-row { display: grid; grid-template-columns: 90px 1fr 60px; gap: 12px; align-items: center; font-size: 14px; margin-bottom: 6px; }
.rating-bar { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.rating-bar > div { height: 100%; background: var(--gold); border-radius: 999px; }

/* ---------- guest experience specific ---------- */
.guest-shell {
  max-width: 1120px; margin: 0 auto;
  padding: 28px 24px 80px;
}
.guest-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.guest-banner {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 34px; border-radius: var(--r-lg);
  margin-bottom: 22px;
}
.guest-banner h1 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.guest-banner p { color: rgba(255,255,255,.85); margin: 0; font-size: 16px; }
.guest-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 18px; align-items: stretch; }
.guest-hero .guest-banner { margin-bottom: 0; }
.guest-summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.guest-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guest-summary-item {
  padding: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #FAFBFA;
}
.guest-summary-item strong { display: block; margin-top: 3px; }
.guest-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 28px 0 14px; }
.guest-section-head h2 { font-size: 22px; margin: 0 0 4px; }
.guest-section-head p { margin: 0; color: var(--ink-3); }
.guest-night-list { display: grid; gap: 12px; }

.night-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 18px 20px; border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--r);
  background: #fff;
  box-shadow: 0 1px 2px rgba(40,43,45,.035);
}
.night-row__date { font-weight: 750; font-size: 16px; }
.night-row__sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.night-row a { color: var(--link); font-weight: 600; }
.night-row a:hover { color: var(--link-hover); }
.night-row__body { min-width: 0; }
.night-row__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 6px; color: var(--ink-2); font-size: 13px; }
.night-row__note { margin-top: 8px; color: var(--ink-3); font-size: 13px; }
.night-row__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.night-row--booked,
.night-row--confirmed { background: #F8FCFD; border-color: #C7E4EA; border-left-color: var(--confirmed); }
.night-row--served { background: #F8FAFB; border-color: #D2E0E5; border-left-color: var(--served); }
.night-row--pending { background: #FFFCF5; border-color: #F1DCAE; border-left-color: var(--warning); }
.night-row--danger { background: #FEF8F7; border-color: #F2C7C3; border-left-color: var(--danger); }
.guest-picker-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 18px;
  margin-bottom: 20px;
  padding: 26px;
  border: 1px solid rgba(74, 139, 67, .18);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(74, 139, 67, .10), rgba(245, 169, 35, .10)),
    #fff;
  box-shadow: var(--shadow);
}
.guest-picker-head h1 { margin: 10px 0 8px; max-width: 720px; }
.guest-picker-head p { max-width: 680px; }
.guest-picker-kicker {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.guest-picker-date-card {
  align-self: stretch;
  min-width: 210px;
  padding: 16px;
  border: 1px solid rgba(74, 139, 67, .18);
  border-radius: var(--r);
  background: rgba(255,255,255,.82);
  display: grid;
  align-content: center;
  gap: 4px;
}
.guest-picker-date-card strong { font-size: 20px; }
.guest-picker-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.guest-picker-controls {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 22px;
}
.guest-picker-controls h2 {
  margin: 0 0 6px;
  font-size: 18px;
}
.guest-picker-controls p { margin: 0 0 16px; }
.guest-picker-controls select { min-height: 46px; }
.guest-picker-help {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: 13px;
}
.guest-restaurant-section {
  display: grid;
  gap: 14px;
}
.guest-restaurant-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.guest-restaurant-section__head h2 { margin: 0 0 4px; font-size: 20px; }
.guest-restaurant-section__head p { margin: 0; color: var(--ink-3); }
.guest-restaurant-count {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 650;
}
.guest-restaurant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.guest-restaurant-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.guest-restaurant-card:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 139, 67, .28);
  box-shadow: 0 16px 34px rgba(40,43,45,.10);
}
.guest-restaurant-card__visual {
  min-height: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--brand), var(--brand-amber));
  display: block;
}
.guest-restaurant-card__visual span { display: none; }
.guest-restaurant-card__body { padding: 18px; display: grid; gap: 10px; flex: 1; }
.guest-restaurant-card__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.guest-restaurant-card__title { font-size: 19px; font-weight: 750; }
.guest-restaurant-card__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 13px; }
.guest-restaurant-card__desc { color: var(--ink-2); font-size: 14px; margin: 0; }
.guest-restaurant-card__location {
  display: grid;
  gap: 4px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 13px;
}
.guest-restaurant-card__actions { margin-top: auto; display: grid; gap: 8px; }
.guest-restaurant-card--full .guest-restaurant-card__visual {
  background: linear-gradient(90deg, #B4534A, #D98D84);
}

/* ---------- timeline / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 32px; }
.steps__step {
  text-align: center; font-size: 12px; color: var(--ink-3);
  border-top: 3px solid var(--line); padding-top: 10px;
  font-weight: 600;
}
.steps__step--done { color: var(--brand); border-color: var(--brand); }
.steps__step--current { color: var(--brand); border-color: var(--brand); }

/* ---------- alerts ---------- */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r);
  background: var(--brand-soft); border: 1px solid #C9E4C3;
  font-size: 14px;
}
.alert__icon { font-size: 18px; }
.alert--success { background: var(--success-soft); border-color: #C9E4C3; }
.alert--warning { background: var(--warning-soft); border-color: #F6D79C; }
.alert--danger { background: var(--danger-soft); border-color: #F7B8B3; }

/* ---------- two-col layout in portals ---------- */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: start; }
.two-col--rev { grid-template-columns: 1fr 2fr; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .public-split,
  .public-flow-strip,
  .public-contact-grid,
  .public-application { grid-template-columns: 1fr; }
  .public-application { --application-panel-min-height: 560px; }
  .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-grid, .tile-grid--4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .topnav__links { display: none; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .guest-hero { grid-template-columns: 1fr; }
  .guest-picker-layout { grid-template-columns: 1fr; }
  .guest-picker-controls { position: static; }
  .guest-restaurant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .two-col--rev { grid-template-columns: 1fr; }
  .hotel-register-layout { grid-template-columns: 1fr; }
  .hotel-register-summary { position: static; }
  .public-contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 30px; }
  .public-hero__content h1 { font-size: 36px; }
  .hero h1 { font-size: 38px; }
  .hero { padding: 56px 0; }
  .hero-flow-card { padding: 22px; }
  .hero-flow-card h2 { text-align: left; font-size: 20px; }
  .hero-flow { gap: 18px; }
  .hero-flow__step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding-left: 26px;
  }
  .hero-flow__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 13px;
  }
  .hero-flow__status {
    grid-column: 2;
    justify-self: start;
    min-width: 0;
    margin-top: 4px;
  }
  .hero-flow__rail { left: 6px; }
  .section { padding: 48px 0; }
  .workflow-grid { grid-template-columns: 1fr; }
  .tile-grid, .tile-grid--4, .tile-grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .public-application { --application-panel-min-height: 420px; }
  .public-application,
  .public-application__form {
    padding: 20px;
  }
  .public-application__actions {
    align-items: stretch;
  }
  .public-application__actions .btn {
    width: 100%;
  }
  .appbar { align-items: flex-start; flex-direction: column; padding: 14px 20px; }
  .appbar__user { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .page { padding: 22px 18px 64px; }
  .sidebar { padding: 18px 12px; }
  .guest-shell { padding: 18px 14px 56px; }
  .guest-banner,
  .guest-card { padding: 22px; }
  .guest-section-head,
  .guest-picker-head { align-items: stretch; flex-direction: column; }
  .guest-picker-head { display: grid; grid-template-columns: 1fr; padding: 22px; }
  .guest-summary-grid,
  .guest-restaurant-grid { grid-template-columns: 1fr; }
  .night-row { align-items: stretch; grid-template-columns: 1fr; gap: 12px; }
  .night-row__actions { justify-content: flex-start; }
  .field--row, .form-row { grid-template-columns: 1fr; }
  .admin-controls,
  .admin-empty,
  .admin-panel__head,
  .admin-screen__head { align-items: stretch; flex-direction: column; }
  .admin-form-grid,
  .admin-filter-grid,
  .admin-account-grid,
  .admin-detail-grid,
  .admin-detail-summary { grid-template-columns: 1fr; }
  .admin-actions { justify-content: flex-start; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ---------- utilities ---------- */
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.bold { font-weight: 700; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flex-gap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }

/* restaurant emoji-as-photo background variants */
.bg-italy { background: linear-gradient(135deg, #C75146 0%, #E8A87C 100%); }
.bg-greek { background: linear-gradient(135deg, #559147 0%, #9BCB8F 100%); }
.bg-french { background: linear-gradient(135deg, #6A1B9A 0%, #9C27B0 100%); }
.bg-spanish { background: linear-gradient(135deg, #E65100 0%, #FFB74D 100%); }
.bg-asian { background: linear-gradient(135deg, #C62828 0%, #E57373 100%); }
.bg-modern { background: linear-gradient(135deg, #455A64 0%, #78909C 100%); }
.bg-seafood { background: linear-gradient(135deg, #00838F 0%, #4DD0E1 100%); }
.bg-mediterranean { background: linear-gradient(135deg, #2E7D32 0%, #81C784 100%); }
.bg-steak { background: linear-gradient(135deg, #5D4037 0%, #8D6E63 100%); }
.bg-vegan { background: linear-gradient(135deg, #558B2F 0%, #AED581 100%); }
.bg-bistro { background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%); }
.bg-trattoria { background: linear-gradient(135deg, #BF360C 0%, #FF7043 100%); }
