/* CookDoor — shared marketing + app UI */
:root {
  --ink: #1a1f1c;
  --ink-soft: #3d4741;
  --muted: #6b756f;
  --line: #e8e2d8;
  --paper: #f8f4ef;
  --white: #ffffff;
  --forest: #e07a2f;
  --forest-deep: #c45f16;
  --leaf: #f0a04b;
  --sand: #f3e6d4;
  --sand-deep: #d4b896;
  --coral: #c45c3e;
  --gold: #d4a017;
  --success: #c97820;
  --warn: #b8860b;
  --danger: #b33a2b;
  --info: #2a6f8f;
  --shadow: 0 12px 40px rgba(26, 31, 28, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header-h: 72px;
  --sidebar-w: 260px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.marketing {
  background:
    radial-gradient(ellipse at top right, rgba(243, 230, 212, 0.7), transparent 42%),
    radial-gradient(ellipse at 20% 30%, rgba(224, 122, 47, 0.1), transparent 40%),
    var(--paper);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest);
  text-decoration: none;
}

a:hover {
  color: var(--leaf);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.center {
  text-align: center;
}

.mt-lg {
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem 1.5rem;
  background: rgba(247, 245, 241, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 232, 228, 0.8);
}

.brand {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--forest);
}

.brand--logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand--logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
}

.sidebar .brand--logo img,
.brand--logo-light img {
  height: 64px;
  max-width: 210px;
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.site-footer .brand--logo img {
  height: 56px;
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav > a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav > a:not(.btn):hover {
  color: var(--forest);
}

.site-nav-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.site-nav-actions form {
  display: inline;
  margin: 0;
}

.site-nav-actions .btn {
  width: auto;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* Hero — split marketing layout */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn-soft {
  background: var(--white);
  color: var(--forest);
  border-color: var(--line);
}

.btn-soft:hover {
  border-color: var(--forest);
  color: var(--forest-deep);
}

.btn-light {
  background: var(--white);
  color: var(--forest-deep);
}

.btn-light:hover {
  background: var(--sand);
  color: var(--ink);
}

.hero--split {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  color: var(--ink);
  background: transparent;
}

.hero-copy {
  animation: riseIn 0.85s var(--ease) both;
}

.hero-eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #fcefe3;
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.brand-mark {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--forest);
  letter-spacing: -0.03em;
}

.hero--split h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  color: var(--ink);
  margin-bottom: 0.85rem;
  max-width: 14ch;
}

.hero--split .lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
}

.hero-trust li {
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-trust strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  animation: riseIn 1s var(--ease) 0.1s both;
}

.hero-photo--main {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(26, 31, 28, 0.05), rgba(26, 31, 28, 0.35)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1400&q=85") center / cover no-repeat;
  box-shadow: 0 30px 60px rgba(26, 31, 28, 0.18);
  transition: background-image 0.35s ease;
}

.hero-admin-preview {
  min-height: 220px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(26, 31, 28, 0.05), rgba(26, 31, 28, 0.28)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=900&q=80") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-float {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  animation: floatSoft 4.5s ease-in-out infinite;
}

.hero-float--rate {
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  gap: 0.15rem;
}

.hero-float--rate span,
.hero-float--chef span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-float--rate strong,
.hero-float--chef strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.hero-float--chef {
  left: 1rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation-delay: 0.6s;
}

.hero-float-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: url("https://images.unsplash.com/photo-1583394293214-28ded15ee548?w=120&q=80") center / cover;
}

.trust-strip {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 1rem 0;
}

.trust-strip-inner p {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.city-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.city-picker-kicker {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.city-picker select {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 2.25rem 0.45rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
  max-width: 11.5rem;
}

.city-picker select option {
  color: #1a1a1a;
}

.city-detect-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.city-picker--app .city-picker-kicker {
  color: var(--muted);
}

.city-picker--app select {
  border: 1px solid var(--line);
  background-color: var(--white);
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1a1a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.city-picker--app .city-detect-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.services-carousel {
  position: relative;
  padding: 0 2.75rem 1.5rem;
}

.carousel-viewport {
  overflow: hidden;
}

.service-cards.carousel-track {
  display: flex;
  gap: 1.35rem;
  grid-template-columns: none;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.services-carousel .service-card {
  flex: 0 0 calc((100% - 2.7rem) / 3);
  min-width: 0;
}

.carousel-btn {
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.carousel-btn:hover {
  border-color: var(--forest);
  color: var(--forest-deep);
  background: #fff8f1;
}

.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #dbc7b0;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--forest);
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .services-carousel .service-card {
    flex-basis: calc((100% - 1.35rem) / 2);
  }
}

@media (max-width: 640px) {
  .services-carousel {
    padding: 0 2.4rem 1.25rem;
  }

  .services-carousel .service-card {
    flex-basis: 100%;
  }
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-img {
  aspect-ratio: 16 / 10;
  background: var(--sand);
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.service-card:hover .service-card-img img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-card-body .price {
  font-weight: 650;
  color: var(--forest);
  margin-bottom: 0.45rem;
}

.section-events {
  background:
    radial-gradient(ellipse at left top, rgba(224, 122, 47, 0.12), transparent 45%),
    linear-gradient(180deg, #f6eee4, var(--paper));
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.event-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.event-card:hover {
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--forest);
  color: var(--white);
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.event-day {
  font-family: var(--display);
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 700;
}

.event-mon {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.event-body h3 {
  font-family: var(--font);
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}

.event-body p {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.event-meta a {
  font-weight: 650;
}

.occasion-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.occasion-chip {
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font-weight: 560;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.occasion-chip:hover {
  border-color: var(--forest);
  color: var(--forest-deep);
  background: #fdf3e9;
}

.section-chefs {
  background: var(--white);
}

.req {
  color: var(--danger);
}

.muted-opt {
  color: var(--muted);
  font-weight: 400;
}

.register-form .panel {
  margin-bottom: 1.15rem;
}

.register-form input[type="file"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #fffcf8;
  font: inherit;
}

.register-form input[type="file"]:hover {
  border-color: var(--leaf);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.55rem 1rem;
  margin-top: 0.5rem;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}

.check-grid input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--forest);
}

.workplace-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.workplace-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.workplace-years {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.workplace-years input {
  flex: 1;
}

.partner-band {
  background:
    linear-gradient(120deg, rgba(196, 95, 22, 0.08), rgba(240, 160, 75, 0.12)),
    var(--white);
  border-block: 1px solid var(--line);
}

.partner-band-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.partner-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.partner-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.partner-points li {
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
}

.partner-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--forest);
}

@media (max-width: 860px) {
  .partner-band-inner {
    grid-template-columns: 1fr;
  }
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

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

/* Floating help / chat */
.help-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.help-fab-btn {
  border: 0;
  cursor: pointer;
  background: var(--forest);
  color: var(--white);
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(196, 95, 22, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.help-fab-btn:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.help-fab-btn[aria-expanded="true"] {
  background: var(--ink);
}

.help-fab-panel {
  width: min(300px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0.85rem;
  animation: riseIn 0.25s var(--ease);
}

.help-fab-panel[hidden] {
  display: none;
}

.help-fab-title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.help-fab-action {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  margin-bottom: 0.35rem;
}

.help-fab-action:last-child {
  margin-bottom: 0;
}

.help-fab-action:hover {
  background: #fff8f1;
  border-color: #f0d2b4;
  color: inherit;
}

.help-fab-action strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.help-fab-action small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.help-fab-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fcefe3;
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-fab-icon--call {
  font-size: 1rem;
}

.help-chat-sheet {
  position: fixed;
  right: 1.25rem;
  bottom: 5.2rem;
  z-index: 91;
  width: min(340px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(26, 31, 28, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(420px, 70vh);
}

.help-chat-sheet[hidden] {
  display: none;
}

.help-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--forest);
  color: var(--white);
}

.help-chat-close {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.help-chat-body {
  padding: 1rem;
  overflow-y: auto;
  display: grid;
  gap: 0.65rem;
  background: #fffaf5;
}

.help-chat-bubble {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.help-chat-bubble--soft {
  background: #fcefe3;
  border-color: #f0d2b4;
}

.help-chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
}

.help-chat-form input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font: inherit;
}

.help-chat-form input:focus {
  outline: none;
  border-color: var(--leaf);
}

@media (max-width: 640px) {
  .help-fab {
    right: 1rem;
    bottom: 1rem;
  }

  .help-chat-sheet {
    right: 1rem;
    left: 1rem;
    width: auto;
    bottom: 4.8rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background:
    radial-gradient(ellipse at top right, rgba(232, 220, 200, 0.55), transparent 55%),
    var(--white);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.steps li {
  padding-top: 0.5rem;
  border-top: 2px solid var(--forest);
  animation: riseIn 0.7s var(--ease) both;
}

.steps li:nth-child(2) { animation-delay: 0.08s; }
.steps li:nth-child(3) { animation-delay: 0.16s; }
.steps li:nth-child(4) { animation-delay: 0.24s; }

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.chef-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.chef-tile {
  min-width: 0;
}

.service-block {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.service-block .price {
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.service-block a {
  font-weight: 600;
}

.chef-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--sand) center / cover no-repeat;
  background-image: var(--img);
  margin-bottom: 1rem;
  transition: transform 0.5s var(--ease);
}

.chef-tile:hover .chef-photo {
  transform: scale(1.02);
}

.cta-band {
  background:
    linear-gradient(135deg, var(--forest-deep), var(--forest) 55%, #f0a04b);
  color: var(--white);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-inner {
  text-align: center;
  max-width: 40rem;
}

.seo-prose h1,
.seo-prose h2,
.faq-list h2 {
  font-family: var(--font);
}

.seo-prose > p,
.seo-prose li,
.seo-grid p {
  color: var(--muted, #5c5348);
  line-height: 1.6;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 1.25rem;
}

.seo-grid h2,
.seo-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.seo-more {
  margin-top: 1.25rem;
}

.seo-more a {
  margin-right: 0.35rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list details.panel {
  cursor: pointer;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 0.75rem;
}

@media (max-width: 800px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.site-footer .brand {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--sand);
}

.copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Auth */
.auth-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  position: relative;
  background:
    linear-gradient(160deg, rgba(196, 95, 22, 0.78), rgba(26, 31, 28, 0.9)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1200&q=80") center / cover;
  color: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.auth-visual--chef {
  background:
    linear-gradient(160deg, rgba(26, 31, 28, 0.82), rgba(224, 122, 47, 0.85)),
    url("https://images.unsplash.com/photo-1577219491135-ce391730fb2c?w=1200&q=80") center / cover;
}

.auth-visual--admin {
  background:
    linear-gradient(160deg, rgba(26, 31, 28, 0.9), rgba(192, 110, 40, 0.75)),
    url("https://images.unsplash.com/photo-1556911220-bff31c812dba?w=1200&q=80") center / cover;
}

.auth-visual--super {
  background:
    linear-gradient(160deg, rgba(26, 31, 28, 0.95), rgba(196, 95, 22, 0.8)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1200&q=80") center / cover;
}

.auth-role-pill {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-kicker--chef { color: var(--coral); }
.auth-kicker--admin { color: var(--info); }
.auth-kicker--super { color: var(--warn); }

.auth-page--signup .auth-panel--scroll {
  align-items: flex-start;
  overflow-y: auto;
  padding: 2rem 1.25rem 2.5rem;
}

.auth-card--wide {
  width: min(520px, 100%);
}

.auth-panel--scroll .auth-card {
  margin: auto 0;
}

.signup-section-label {
  font-family: var(--font);
  font-weight: 650;
  font-size: 1rem;
  color: var(--ink);
  margin: 0.35rem 0 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.signup-map {
  min-height: 180px;
  margin-top: 0.35rem;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.portal-card {
  display: block;
  padding: 1.4rem 1.35rem;
  border-radius: 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.portal-card:hover {
  transform: translateY(-3px);
  border-color: var(--leaf);
  color: inherit;
}

.portal-card h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  margin: 0.55rem 0 0.4rem;
}

.portal-card p {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.portal-tag {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #fcefe3;
  color: var(--forest-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-tag--chef { background: #f8e7e1; color: var(--coral); }
.portal-tag--admin { background: #d7eaf3; color: var(--info); }
.portal-tag--super { background: #f5ecd0; color: var(--warn); }

.portal-cta {
  font-weight: 650;
  color: var(--forest);
}

@media (max-width: 720px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

.auth-visual h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--white);
}

.auth-card {
  width: min(420px, 100%);
}

.auth-card h2 {
  margin-bottom: 0.35rem;
}

.role-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
}

.role-tabs a {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.role-tabs a.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 560;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.form-group:has([required]) > label::after,
.auth-check:has([required]) > span::after {
  content: "*";
  color: #e53935;
  font-size: 0.72em;
  font-weight: 700;
  margin-left: 0.18em;
  vertical-align: super;
  line-height: 0;
}

.register-form .form-group:has([required]) > label::after,
.register-form .auth-check:has([required]) > span::after {
  content: none;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid,
.register-form input.is-invalid,
.register-form select.is-invalid,
.register-form textarea.is-invalid,
.register-form input[type="file"].is-invalid,
.register-form .chips.is-invalid {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.16);
  background-color: #fff8f7;
}

.register-form .auth-check.is-invalid,
.form-group.is-invalid > label {
  color: #c62828;
}

.register-form .auth-check.is-invalid input {
  outline: 2px solid #e53935;
  outline-offset: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-group .auth-check,
.form-group .same-address-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  max-width: 100%;
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-weight: 500;
  cursor: pointer;
}

.form-group .auth-check input[type="checkbox"],
.form-group .same-address-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--forest);
  border: none;
  border-radius: 0;
  background: transparent;
}

.form-group .auth-check span,
.form-group .same-address-check span {
  white-space: nowrap;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--leaf);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* App shell */
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100svh;
}

.sidebar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.25rem 1rem 1rem;
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar .brand {
  color: var(--white);
  display: block;
  padding: 0.5rem 0.75rem 1.25rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.sidebar-account {
  flex-shrink: 0;
  margin-top: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-account .sidebar-section {
  margin-top: 0.5rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  font-size: 0.92rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.sidebar-nav a.active {
  background: var(--forest);
}

.sidebar-nav .nav-count {
  margin-left: auto;
  min-width: 1.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #f4c7a8;
  color: #1a3a2a;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.sidebar-logout {
  margin: 0.35rem 0 0;
}

.sidebar-logout button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.sidebar-logout button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.sidebar-section {
  margin: 1.25rem 0.75rem 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background:
    radial-gradient(ellipse at top left, rgba(232, 220, 200, 0.35), transparent 45%),
    var(--paper);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar h1 {
  font-size: 1.35rem;
  margin: 0;
  font-family: var(--font);
  font-weight: 650;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.topbar-actions form.header-auth {
  display: inline;
  margin: 0;
  flex-shrink: 0;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sand) center / cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow);
}

.profile-menu {
  position: relative;
}

.profile-menu-btn {
  display: block;
  padding: 0;
  cursor: pointer;
}

.profile-menu-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 90;
}

.profile-menu-name {
  margin: 0;
  padding: 0.45rem 0.8rem 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.profile-menu-drop a,
.profile-menu-drop button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.profile-menu-drop a:hover,
.profile-menu-drop button:hover {
  background: var(--sand);
  color: var(--ink);
}

.content {
  padding: 1.5rem;
  min-width: 0;
}

/* Stats & panels */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-grid.stats-3 {
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

a.stat {
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

a.stat:hover {
  border-color: var(--forest);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.08);
}

.stat .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.stat .value {
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--ink);
  margin: 0;
}

.stat .delta {
  font-size: 0.8rem;
  color: var(--forest);
  margin-top: 0.35rem;
}

.stat .delta a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font);
  font-weight: 650;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.menu-estimate-layout {
  align-items: start;
}

.menu-estimate-layout .estimate-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.menu-estimate-layout .menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.85rem 0.65rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.data th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}

.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.table-actions {
  display: flex;
  gap: 0.4rem;
  margin: 0;
}

.pager {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Badges & chips */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--sand);
  color: var(--ink);
}

.badge-success { background: #fce8d4; color: var(--success); }
.badge-warn { background: #f5ecd0; color: var(--warn); }
.badge-danger { background: #f5d9d4; color: var(--danger); }
.badge-info { background: #d7eaf3; color: var(--info); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-soft);
}

.chip.active,
.chip:has(:checked),
.chip:hover {
  border-color: var(--forest);
  color: var(--forest-deep);
  background: #fdf3e9;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Chef / booking cards (interaction containers) */
.card-list {
  display: grid;
  gap: 1rem;
}

.entity-card {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.entity-card--available {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(240, 160, 75, 0.28);
  background: #fff8f0;
}

.entity-card .thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: var(--sand) center / cover;
}

.entity-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-family: var(--font);
}

.entity-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.diet-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
}

.menu-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (max-width: 720px) {
  .menu-rows {
    grid-template-columns: 1fr;
  }
}

.menu-row.is-hidden,
[data-menu-empty].is-hidden,
.signature-dish.is-hidden,
.summary-list .row.is-hidden {
  display: none !important;
}

.menu-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-row[data-diet="veg"] {
  background: rgba(200, 230, 201, 0.5);
  border-color: rgba(76, 175, 80, 0.35);
}

.menu-row[data-diet="nonveg"] {
  background: rgba(255, 205, 210, 0.5);
  border-color: rgba(229, 57, 53, 0.35);
}

.menu-row[data-diet="mix"] {
  background: rgba(255, 236, 179, 0.5);
  border-color: rgba(255, 179, 0, 0.35);
}

.menu-row.selected {
  border-color: var(--forest);
}

.menu-row[data-diet="veg"].selected {
  background: rgba(165, 214, 167, 0.65);
  border-color: #2e7d32;
}

.menu-row[data-diet="nonveg"].selected {
  background: rgba(239, 154, 154, 0.65);
  border-color: #c62828;
}

.menu-row h4 {
  margin: 0;
  font-size: 0.98rem;
  font-family: var(--font);
}

.menu-row .diet-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.menu-item {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
}

.menu-item.selected,
.menu-item:hover {
  border-color: var(--forest);
}

.menu-item .pic {
  aspect-ratio: 4 / 3;
  background: var(--sand) center / cover;
}

.menu-item .body {
  padding: 0.85rem;
}

.menu-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-family: var(--font);
}

.menu-item .rate {
  color: var(--forest);
  font-weight: 600;
  font-size: 0.9rem;
}

.menu-item .qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.qty-stepper button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--forest-deep);
}

.qty-stepper button:hover {
  background: #fdf3e9;
}

.qty-stepper span {
  min-width: 1.4rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.chip .tab-count {
  display: inline-flex;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: var(--sand);
  color: var(--ink);
}

.chip.active .tab-count {
  background: var(--forest);
  color: var(--white);
}

/* Map & payment UI shells */
.map-shell {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 240px;
  margin: 0.75rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.map-shell.map-shell--live {
  background: #d7e0db;
}

.map-shell.map-shell--live::before {
  display: none;
}

.map-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224, 122, 47, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 122, 47, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin {
  position: absolute;
  left: 52%;
  top: 46%;
  width: 18px;
  height: 18px;
  background: var(--coral);
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  animation: pinBounce 1.6s var(--ease) infinite;
}

@keyframes pinBounce {
  0%, 100% { transform: translate(-50%, -100%) rotate(-45deg); }
  50% { transform: translate(-50%, -110%) rotate(-45deg); }
}

.map-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
  z-index: 2;
}

.radius-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 160px;
  height: 160px;
  border: 2px dashed var(--leaf);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(224, 122, 47, 0.1);
  z-index: 1;
}

.pay-methods {
  display: grid;
  gap: 0.75rem;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--white);
}

.pay-option.active,
.pay-option:hover {
  border-color: var(--forest);
  background: #fdf3e9;
}

.pay-option input {
  accent-color: var(--forest);
}

.summary-list {
  display: grid;
  gap: 0.65rem;
}

.summary-list .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.summary-list .row.total {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Calendar */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
}

.calendar .dow {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  padding: 0.35rem;
}

.cal-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.cal-day {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
  color: inherit;
  width: 100%;
  padding: 0.2rem;
  position: relative;
  z-index: 1;
  user-select: none;
  -webkit-user-select: none;
  text-decoration: none;
}

.cal-day .cal-num {
  line-height: 1.1;
}

.cal-day .cal-count {
  font-size: 0.62rem;
  font-weight: 650;
  margin-top: 0.18rem;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

.cal-day .cal-count--empty {
  opacity: 0.45;
  font-weight: 500;
}

.cal-day.busy {
  background: #f5ecd0;
  border-color: #e2d19a;
}

.cal-day.free {
  background: #fdf3e9;
  border-color: #f0c9a0;
}

.cal-day.today {
  box-shadow: inset 0 0 0 2px var(--saffron, #e07a2f);
}

.cal-day.selected {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.cal-day.muted {
  opacity: 0.35;
  pointer-events: none;
}

/* Timeline / tracking */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
  margin-left: 0.6rem;
}

.timeline li {
  position: relative;
  padding: 0 0 1.25rem 1.25rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand-deep);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--line);
}

.timeline li.done::before {
  background: var(--leaf);
  box-shadow: 0 0 0 2px #f0c9a0;
}

.timeline li.active::before {
  background: var(--coral);
  box-shadow: 0 0 0 2px #f0c7bb;
  animation: pulse 1.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.notif-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.notif-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--leaf);
  flex-shrink: 0;
}

.notif-item.read .notif-dot {
  background: var(--line);
}

/* Progress wizard */
.wizard {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.wizard-step {
  flex: 1;
  min-width: 110px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  transition: color 0.2s, border-color 0.2s;
}

a.wizard-step:hover {
  color: var(--forest-deep);
  border-color: var(--leaf);
}

.wizard-step.done,
.wizard-step.active {
  color: var(--forest);
  border-color: var(--forest);
}

.wizard-step.is-locked {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

/* Empty / helper */
.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

.mobile-nav-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.sidebar-backdrop {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero--split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero--split h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 380px;
    order: -1;
  }

  .steps,
  .service-grid,
  .service-cards,
  .chef-row,
  .stat-grid,
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .auth-visual {
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav-actions {
    margin-left: 0;
    width: 100%;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(280px, 86vw);
    z-index: 60;
    transform: translateX(-105%);
    transition: transform 0.3s var(--ease);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 31, 28, 0.45);
    z-index: 55;
  }

  .mobile-nav-btn {
    display: inline-flex;
  }

  .entity-card {
    grid-template-columns: 72px 1fr;
  }

  .entity-card .actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .steps,
  .service-grid,
  .service-cards,
  .chef-row,
  .stat-grid,
  .event-grid,
  .grid-2,
  .grid-3,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 72px 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-photo--main {
    border-radius: 20px;
  }

  .content {
    padding: 1rem;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--leaf);
  background: #fff8f1;
}

.icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.kyc-modal[hidden] {
  display: none !important;
}

.cd-modal[hidden] {
  display: none !important;
}

.cd-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cd-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 16, 0.45);
}

.cd-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(28, 22, 16, 0.22);
  padding: 1.25rem 1.3rem 1.3rem;
}

.cd-modal-dialog h3 {
  margin: 0 0 0.5rem;
}

.cd-modal-dialog--wide {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
}

.launch-soon[hidden] {
  display: none !important;
}

.launch-soon:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

body.launch-soon-open {
  overflow: hidden;
}

.launch-soon-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 28, 0.52);
}

.launch-soon-card {
  position: relative;
  z-index: 1;
  width: min(28.5rem, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.1rem 1.85rem 1.75rem;
  text-align: center;
}

.launch-soon-x {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.launch-soon-x:hover {
  color: var(--ink);
}

.launch-soon-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--forest-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-soon-logo {
  width: 4.25rem;
  height: auto;
  margin: 0 auto 1rem;
}

.launch-soon-card h2 {
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin-bottom: 0.65rem;
}

.launch-soon-copy {
  margin: 0 auto 1.35rem;
  max-width: 22rem;
  color: var(--ink-soft);
}

.launch-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

@media (max-width: 520px) {
  .launch-soon-card {
    padding: 1.7rem 1.2rem 1.4rem;
  }

  .launch-soon-actions {
    flex-direction: column;
  }

  .launch-soon-actions .btn {
    width: 100%;
  }
}

.service-cards--modal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-cards--modal .service-card-img {
  aspect-ratio: 16 / 9;
}

@media (max-width: 700px) {
  .service-cards--modal {
    grid-template-columns: 1fr;
  }
}

.kyc-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.kyc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 16, 0.45);
}

.kyc-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(28, 22, 16, 0.22);
  padding: 1.1rem 1.2rem 1.25rem;
}

.kyc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.kyc-modal-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.kyc-doc {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.kyc-doc:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.kyc-doc h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.kyc-doc iframe,
.kyc-doc img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf7f2;
}

.kyc-doc iframe {
  height: 420px;
}

.legal-doc {
  max-width: 46rem;
}
.legal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-doc h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}
.legal-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.1rem 0 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.legal-doc .panel h2 {
  font-family: var(--font);
  font-size: 1.12rem;
  margin: 1.5rem 0 0.55rem;
}
.legal-doc .panel h2:first-child {
  margin-top: 0;
}
.legal-doc .panel p,
.legal-doc .panel li {
  color: var(--ink-soft);
  line-height: 1.65;
}
.legal-doc .panel ul,
.legal-doc .panel ol {
  margin: 0.4rem 0 0.9rem 1.15rem;
  padding: 0;
}
.legal-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.payments-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.payments-filters {
  margin-bottom: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
}

.payments-job-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.payments-job-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.payments-job-chip--pay {
  margin-left: 0;
  background: #eef6f1;
  border-color: #cfe0d6;
}

.payments-job-chip--pay strong {
  font-size: 1rem;
}

.payments-cal-dialog {
  width: min(400px, 100%);
}

.payments-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
  isolation: isolate;
}

.payments-cal-panel {
  min-width: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.payments-cal-panel .panel-head {
  margin-bottom: 0.65rem;
}

.payments-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
  max-width: 100%;
  overflow: hidden;
}

.payments-cal .cal-day {
  aspect-ratio: auto;
  height: 2.45rem;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  z-index: 0;
  font-size: 0.78rem;
  padding: 0.1rem;
  overflow: hidden;
}

.payments-cal .cal-count {
  font-size: 0.58rem;
  margin-top: 0.05rem;
}

.payments-table-panel {
  min-width: 0;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.payments-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.payments-table {
  min-width: 1080px;
}

.payments-table tfoot td {
  border-bottom: 0;
  background: var(--sand);
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.payments-table th,
.payments-table td {
  white-space: nowrap;
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .payments-layout {
    grid-template-columns: 1fr;
  }

  .payments-cal-panel {
    max-width: 360px;
  }

  .payments-job-chip {
    margin-left: 0;
  }
}

.offline-menu-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 0.85rem 0 0.65rem;
  flex-wrap: wrap;
}

.offline-menu-courses {
  margin: 0 0 0.75rem;
}

.offline-course-label {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.offline-menu-toolbar input[type="search"] {
  flex: 1;
  min-width: 160px;
  border: 3px solid #1a1a1a;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  background: var(--white);
}

.offline-menu-toolbar input[type="search"]::placeholder {
  color: #1a1a1a;
  font-weight: 800;
  text-transform: lowercase;
}

.offline-menu-diets {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 800;
  white-space: nowrap;
}

.offline-menu-diets .auth-check {
  font-weight: 800;
  text-transform: lowercase;
}

.offline-menu {
  max-height: 420px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offline-menu .offline-dish {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.75rem 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
}

.offline-dish-main {
  min-width: 0;
}

.offline-dish-main h4 {
  font-weight: 800;
  line-height: 1.2;
}

.offline-sig {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.offline-avail-preview {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.5rem 0 0.75rem;
}

.offline-avail-preview-row {
  display: grid;
  grid-template-columns: 1.2fr auto auto auto;
  gap: 0.5rem;
  font-size: 0.86rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffaf4;
}

@media (max-width: 720px) {
  .offline-avail-preview-row {
    grid-template-columns: 1fr;
  }
}

.offline-avail-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.offline-avail-day {
  margin-bottom: 1.1rem;
}

.offline-avail-day h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.offline-avail-chef {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--white);
}

.offline-avail-chef.is-dim {
  opacity: 0.45;
}

.offline-avail-chef-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  margin-bottom: 0.55rem;
}

.offline-avail-chef-head strong {
  font-size: 1rem;
}

.offline-slot-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.offline-slot-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
}

.offline-slot-radios label:has(:checked) {
  border-color: var(--forest);
  color: var(--forest-deep);
  background: #fdf3e9;
}

.earn-kpis-web { margin-bottom: 0.75rem; }
.earn-views-web {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}
.earn-chart-scroll {
  overflow-x: auto;
  padding-bottom: 0.35rem;
}
.earn-bar-chart {
  display: flex;
  align-items: stretch;
  gap: 0.3rem;
  height: 220px;
  min-width: 100%;
}
.earn-bar-day { min-width: 36rem; }
.earn-bar-col {
  flex: 1;
  min-width: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.earn-bar-col em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  color: #a94300;
  margin-bottom: 0.2rem;
  white-space: nowrap;
}
.earn-bar-day .earn-bar-col em { display: none; }
.earn-bar-col i {
  display: block;
  width: 100%;
  max-width: 2.2rem;
  min-height: 4px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #ffb366, #d35400);
}
.earn-bar-col.has-val i {
  background: linear-gradient(180deg, #ff9933, #a94300);
}
.earn-bar-col span {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted, #6d7872);
}

