:root {
  --ink: #19231f;
  --muted: #617069;
  --line: #dfe8e2;
  --paper: #fbfcf8;
  --mint: #d8f0df;
  --leaf: #1f7a4d;
  --leaf-dark: #105836;
  --coral: #e66b55;
  --gold: #d69d2e;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(25, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img,
svg,
video {
  max-width: 100%;
}

.admin-locked > .topbar,
.admin-locked > .dashboard {
  display: none;
}

.admin-login {
  display: none;
}

.admin-locked .admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(216, 240, 223, 0.78), rgba(251, 252, 248, 0.88)),
    var(--paper);
}

.admin-login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin-bottom: 2px;
  font-size: 38px;
  line-height: 1;
}

.login-logo {
  width: 86px;
  height: 86px;
}

.login-error {
  min-height: 20px;
  margin: 0;
  color: #a92f25;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(251, 252, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(214, 157, 46, 0.48);
  border-radius: 8px;
  background: #151515;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 15px;
  margin-top: 2px;
}

.brand strong {
  font-size: 23px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a,
.text-button,
.language-picker {
  border: 0;
  color: var(--ink);
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-picker select {
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: 6px 28px 6px 10px;
}

.nav-links a:hover,
.text-button:hover,
.language-picker:hover {
  background: var(--mint);
}

.admin-link {
  color: var(--leaf-dark) !important;
}

.danger {
  color: #a92f25;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  max-height: 860px;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.presentation-hero {
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: start;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 6vw, 78px) clamp(42px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(216, 240, 223, 0.48), rgba(255, 255, 255, 0) 46%),
    var(--paper);
}

.presentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  direction: ltr;
}

.presentation-content {
  width: min(860px, 100%);
  padding-top: 4px;
}

.presentation-content h1 {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 54px);
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.94;
}

html[dir="rtl"] .presentation-content {
  text-align: left;
}

.bio-text {
  display: grid;
  gap: 14px;
  max-width: 780px;
  color: #26322d;
  font-size: 17px;
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-word;
}

.bio-text p {
  margin-bottom: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin-top: 28px;
}

.profile-figure {
  position: relative;
  margin: 0;
  min-height: min(650px, calc(100vh - 150px));
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.profile-figure img {
  width: 100%;
  height: 100%;
  min-height: min(650px, calc(100vh - 150px));
  object-fit: cover;
  object-position: center top;
  display: block;
}

html[dir="rtl"] .page-hero,
html[dir="rtl"] .section,
html[dir="rtl"] .panel,
html[dir="rtl"] .info-band,
html[dir="rtl"] .weekly-menu-section {
  text-align: right;
}

.choice-card {
  min-height: 166px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.choice-card:hover {
  border-color: rgba(31, 122, 77, 0.45);
  transform: translateY(-2px);
}

.choice-card span,
.choice-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.choice-card strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 26px;
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(42px, 7vw, 84px) clamp(18px, 6vw, 78px);
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251, 252, 248, 0.94), rgba(251, 252, 248, 0.34));
}

.page-hero > div {
  max-width: 760px;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 252, 248, 0.92) 0%, rgba(251, 252, 248, 0.62) 42%, rgba(251, 252, 248, 0.06) 100%),
    linear-gradient(0deg, rgba(25, 35, 31, 0.34), rgba(25, 35, 31, 0.02) 48%);
}

.hero-overlay {
  width: min(680px, calc(100% - 36px));
  margin: 0 0 clamp(52px, 9vh, 92px) clamp(18px, 6vw, 78px);
}

.hero-logo {
  display: block;
  width: clamp(120px, 16vw, 190px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 45%;
  margin-bottom: 22px;
  border: 1px solid rgba(214, 157, 46, 0.5);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(25, 35, 31, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(54px, 10vw, 132px);
  line-height: 0.86;
}

.form-title {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
}

.form-note {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.hero-copy {
  max-width: 560px;
  color: #26322d;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-grid > label {
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary {
  color: var(--white);
  background: var(--leaf);
}

.primary:hover {
  background: var(--leaf-dark);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(25, 35, 31, 0.18);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 78px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.weekly-menu-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8f4 100%);
}

.weekly-menu-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(280px, 1fr));
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
}

.menu-day {
  min-height: 560px;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 122, 77, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(25, 35, 31, 0.08);
  scroll-snap-align: start;
}

.menu-day-head {
  padding: 16px 18px;
  color: var(--white);
  background: var(--leaf);
}

.menu-day-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-day dl {
  display: grid;
  grid-template-rows: repeat(5, minmax(82px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
}

.meal-row {
  display: grid;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.meal-row.breakfast {
  border-left: 5px solid var(--gold);
}

.meal-row.snack {
  border-left: 5px solid var(--coral);
}

.meal-row.lunch {
  border-left: 5px solid var(--leaf);
}

.meal-row.dinner {
  border-left: 5px solid #5a6f9f;
}

.menu-day dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.menu-day dd {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  background: var(--white);
}

.intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.reverse {
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 0.78fr);
  background: #eef7f1;
}

.panel,
.table-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.settings-shell {
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.accounting-shell {
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.account-summary article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf6;
}

.account-summary span,
.client-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.account-summary strong {
  font-size: 28px;
}

.client-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 14px;
  margin-bottom: 16px;
}

.client-card > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf6;
}

.client-card strong {
  display: block;
  font-size: 26px;
}

.client-card small {
  color: var(--muted);
  font-weight: 700;
}

.balance-due {
  color: #a92f25;
}

.balance-clear {
  color: var(--leaf-dark);
}

.account-table table {
  min-width: 760px;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.places-editor,
.preferences-editor,
.menu-editor,
.form-actions {
  grid-column: 1 / -1;
}

.menu-editor {
  grid-column: 1 / -1;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f8faf6;
}

.menu-editor legend {
  padding: 0 8px;
  margin-bottom: 14px;
}

.menu-editor-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(220px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.menu-day-editor {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-day-editor h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.settings-form .button {
  align-self: end;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(220px, 320px) auto;
  gap: 12px;
  align-items: end;
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.calendar-controls input {
  width: auto;
  min-width: 180px;
  margin: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.calendar-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #f8faf6;
  border: 1px solid var(--line);
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
}

.calendar-card span,
.calendar-card small {
  color: var(--muted);
  font-weight: 800;
}

.calendar-card strong {
  font-size: 22px;
}

.calendar-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.calendar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.places-editor,
.preferences-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f8faf6;
}

.blocked-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.blocked-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  background: #f8faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.blocked-list span {
  display: grid;
  gap: 3px;
}

.blocked-list small {
  color: var(--muted);
  font-weight: 800;
}

.muted-row {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 18px;
}

label,
legend {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin-top: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #f8faf6;
  border: 1px solid #ccd8d0;
  border-radius: 8px;
}

textarea {
  height: auto;
  min-height: 92px;
  resize: vertical;
}

input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  line-height: 22px;
}

input[type="date"]::-webkit-date-and-time-value {
  min-height: 22px;
  text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  margin: 0;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.radio-card,
.plan-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  background: #f8faf6;
  border: 1px solid #ccd8d0;
  border-radius: 8px;
  cursor: pointer;
}

.radio-card input,
.plan-options input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--leaf);
}

.payment-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-options .radio-card {
  min-height: 76px;
  align-items: center;
  justify-content: flex-start;
}

.whish-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.whish-option img {
  width: 82px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
  flex: 0 0 auto;
}

.whish-payment-box {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(238, 0, 70, 0.24);
  border-radius: 8px;
  background: #fff5f8;
}

.whish-payment-box > img {
  width: 96px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
}

.whish-payment-box p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.whish-payment-box .whish-note {
  font-size: 13px;
  margin-top: -6px;
}

.whish-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.whish-copy-grid > div {
  padding: 12px;
  border: 1px solid rgba(238, 0, 70, 0.22);
  border-radius: 8px;
  background: var(--white);
}

.whish-copy-grid span,
.whish-copy-grid strong {
  display: block;
}

.whish-copy-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.whish-copy-grid strong {
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.whish-button {
  width: fit-content;
  min-height: 42px;
  margin: 4px 0 12px;
  color: var(--white);
  background: #ed0046;
}

.whish-button:hover {
  background: #c9003b;
}

.plan-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.is-hidden {
  display: none !important;
}

.info-band,
.menu-preview {
  position: sticky;
  top: 104px;
  border-radius: 8px;
}

.info-band {
  padding: 34px;
  color: var(--white);
  background: var(--ink);
}

.info-band ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
}

.menu-preview {
  display: grid;
  gap: 14px;
}

.menu-preview div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
}

.menu-preview span {
  color: var(--muted);
  font-weight: 800;
}

.menu-preview strong {
  font-size: 30px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(520px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
  transform: translateY(140%);
  transition: transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
}

dialog {
  width: min(620px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(25, 35, 31, 0.42);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font-size: 24px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

pre {
  white-space: pre-wrap;
  margin: 0;
  padding: 22px;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}

.dashboard {
  padding: clamp(32px, 5vw, 64px) clamp(18px, 5vw, 64px);
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.dashboard h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.chip.active {
  color: var(--white);
  background: var(--leaf);
  border-color: var(--leaf);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stats article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
}

.stats strong {
  font-size: 34px;
}

.table-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.table-top h2 {
  margin: 0;
  font-size: 28px;
}

.table-top input {
  max-width: 360px;
  margin: 0;
}

.responsive-table {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  font-size: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.paid {
  color: #0f5f3c;
  background: #dff5e6;
}

.unpaid {
  color: #8d2d25;
  background: #ffe2dd;
}

.map-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--leaf-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty-state {
  display: none;
  margin: 18px 0 0;
  color: var(--muted);
}

.empty-state.show {
  display: block;
}

@media (max-width: 1180px) {
  .topbar {
    gap: 18px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .presentation-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
    gap: 36px;
  }

  .presentation-content h1 {
    font-size: clamp(62px, 9vw, 94px);
  }

  .weekly-menu-grid {
    grid-template-columns: repeat(7, minmax(270px, 31vw));
  }

  .settings-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats,
  .account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .presentation-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  }

  .presentation-content h1 {
    font-size: clamp(58px, 8.5vw, 82px);
  }

  .profile-figure,
  .profile-figure img {
    min-height: 560px;
  }

  .split,
  .reverse {
    grid-template-columns: 1fr;
  }

  .info-band,
  .menu-preview {
    position: static;
  }

  .menu-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-head,
  .table-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-top input {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .topbar,
  .dashboard-head,
  .table-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro,
  .split,
  .reverse,
  .presentation-grid,
  .stats,
  .account-summary,
  .client-card,
  .choice-grid,
  .settings-form {
    grid-template-columns: 1fr;
  }

  .places-editor,
  .preferences-editor,
  .form-actions,
  .menu-editor {
    grid-column: auto;
  }

  .profile-figure,
  .profile-figure img {
    min-height: 520px;
  }

  .info-band,
  .menu-preview {
    position: static;
  }

  .hero {
    min-height: 720px;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
    min-height: auto;
    gap: 14px;
    padding: 12px 16px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand small {
    font-size: 12px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a,
  .nav-links button,
  .language-picker {
    width: 100%;
    justify-content: center;
    text-align: center;
    background: #f8faf6;
    border: 1px solid var(--line);
  }

  .language-picker {
    grid-column: 1 / -1;
  }

  .language-picker select {
    max-width: 150px;
  }

  .presentation-hero,
  .section,
  .dashboard {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dashboard {
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .dashboard h1 {
    font-size: clamp(32px, 12vw, 46px);
  }

  .dashboard-head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .presentation-content h1 {
    font-size: clamp(44px, 17vw, 72px);
    margin-bottom: 24px;
  }

  .bio-text {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .profile-figure {
    order: -1;
  }

  .profile-figure,
  .profile-figure img {
    min-height: 430px;
  }

  .choice-card {
    min-height: 132px;
  }

  .page-hero {
    min-height: 380px;
    padding: 44px 16px;
  }

  .page-hero h1,
  h1.form-title {
    font-size: clamp(38px, 14vw, 58px);
  }

  .weekly-menu-grid {
    grid-template-columns: repeat(7, minmax(255px, 82vw));
    gap: 12px;
    margin-left: -2px;
    margin-right: -2px;
  }

  .menu-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-day {
    min-height: 540px;
  }

  .panel,
  .table-shell,
  .settings-shell,
  .accounting-shell {
    padding: 18px;
  }

  .stats,
  .account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .dashboard-page .chip {
    width: 100%;
    border-radius: 8px;
  }

  .responsive-table {
    margin-left: -8px;
    margin-right: -8px;
    padding: 0 8px;
  }

  table {
    min-width: 720px;
  }

  .dashboard-page .responsive-table {
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .dashboard-page table,
  .dashboard-page thead,
  .dashboard-page tbody,
  .dashboard-page tr,
  .dashboard-page th,
  .dashboard-page td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .dashboard-page thead {
    display: none;
  }

  .dashboard-page tr {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    padding: 14px;
    background: #f8faf6;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .dashboard-page td {
    display: grid;
    grid-template-columns: minmax(94px, 0.36fr) minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border-bottom: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .dashboard-page td::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .dashboard-page #recordsTable td:nth-child(1)::before {
    content: "Customer";
  }

  .dashboard-page #recordsTable td:nth-child(2)::before {
    content: "Type";
  }

  .dashboard-page #recordsTable td:nth-child(3)::before {
    content: "Details";
  }

  .dashboard-page #recordsTable td:nth-child(4)::before {
    content: "Payment";
  }

  .dashboard-page #recordsTable td:nth-child(5)::before {
    content: "Email";
  }

  .dashboard-page #recordsTable td:nth-child(6)::before {
    content: "Created";
  }

  .dashboard-page #recordsTable td:nth-child(7)::before {
    content: "Action";
  }

  .dashboard-page #recordsTable td:nth-child(8)::before {
    content: "Remove";
  }

  .dashboard-page .account-table td:nth-child(1)::before {
    content: "Date";
  }

  .dashboard-page .account-table td:nth-child(2)::before {
    content: "Type";
  }

  .dashboard-page .account-table td:nth-child(3)::before {
    content: "Details";
  }

  .dashboard-page .account-table td:nth-child(4)::before {
    content: "Amount";
  }

  .dashboard-page .account-table td:nth-child(5)::before {
    content: "Status";
  }

  .dashboard-page .menu-editor-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .menu-editor-grid {
    grid-template-columns: repeat(7, minmax(240px, 82vw));
  }

  .dashboard-page .menu-editor {
    padding: 14px;
  }

  .dashboard-page .table-top select,
  .dashboard-page .table-top input {
    width: 100%;
    max-width: none;
  }

  .dashboard-page .calendar-controls,
  .dashboard-page .calendar-actions {
    width: 100%;
  }

  .dashboard-page .calendar-controls input,
  .dashboard-page .calendar-controls .filters {
    width: 100%;
  }

  .whish-option span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .payment-options .radio-card {
    justify-content: center;
  }

  .whish-option img {
    width: 112px;
    height: 46px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    justify-content: flex-start;
  }

  .hero-overlay {
    margin-left: 18px;
  }

  fieldset,
  .plan-options,
  .whish-payment-box,
  .whish-copy-grid,
  .field-grid,
  .inline-form {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .topbar {
    padding: 10px 12px;
  }

  .dashboard-page .brand-logo {
    width: 52px;
    height: 52px;
  }

  .dashboard-page .brand strong {
    font-size: 17px;
  }

  .dashboard-page .brand small {
    font-size: 11px;
  }

  .dashboard-page .panel,
  .dashboard-page .table-shell,
  .dashboard-page .settings-shell,
  .dashboard-page .accounting-shell {
    padding: 14px;
  }

  .dashboard-page .table-top h2 {
    font-size: 24px;
  }

  .dashboard-page .settings-form {
    gap: 12px;
  }

  .dashboard-page .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .calendar-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .blocked-list li {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .dashboard-page td {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .nav-links {
    grid-template-columns: 1fr;
  }

  .presentation-content h1 {
    font-size: clamp(40px, 18vw, 60px);
  }

  .profile-figure,
  .profile-figure img {
    min-height: 360px;
  }

  .stats,
  .account-summary {
    grid-template-columns: 1fr;
  }

  .menu-preview,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .weekly-menu-grid,
  .menu-editor-grid {
    grid-template-columns: repeat(7, minmax(250px, 90vw));
  }

  .admin-login-card {
    padding: 22px;
  }
}
