:root {
  --paper: #f3eadc;
  --paper-deep: #e7dccb;
  --card: #fffaf3;
  --ink: #241c16;
  --muted: #6e6256;
  --olive: #1e4334;
  --olive-soft: #e7f0ea;
  --clay: #c65a32;
  --clay-deep: #a34524;
  --gold: #c8963e;
  --line: rgba(36, 28, 22, 0.1);
  --ok: #1d6b45;
  --err: #9b2c2c;
  --shadow: 0 18px 40px rgba(36, 28, 22, 0.07);
  --radius: 22px;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--paper);
  background-image:
    radial-gradient(920px 520px at -8% -12%, rgba(198, 90, 50, 0.18), transparent 58%),
    radial-gradient(760px 480px at 112% -8%, rgba(30, 67, 52, 0.14), transparent 52%),
    radial-gradient(640px 420px at 80% 110%, rgba(200, 150, 62, 0.16), transparent 46%),
    radial-gradient(rgba(36, 28, 22, 0.045) 0.7px, transparent 0.7px);
  background-size: auto, auto, auto, 5px 5px;
}

body.has-dock { padding-bottom: 6rem; }

img { max-width: 100%; }

a { color: var(--olive); }

h1, h2, h3, .brand, .day-title, .set-name, .price strong {
  font-family: var(--serif);
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 620;
  line-height: 1.02;
}

.hero h1,
.home-hero h1,
.auth-shell h1 {
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  line-height: 0.98;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.1;
}

h3 { margin: 0.2rem 0; font-size: 1.35rem; font-weight: 600; }

p { margin: 0.35rem 0; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 234, 220, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.35rem;
}

.brand-logo {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: cover;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 2px var(--clay);
}
.logo-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.8rem; }
.logo-preview { width: 4.6rem; height: 4.6rem; object-fit: cover; border-radius: 18px; }
.company-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
input[type="color"] { height: 2.7rem; padding: 0.2rem; cursor: pointer; }

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fffaf3 0 28%, transparent 30%),
    radial-gradient(circle at 50% 50%, var(--gold) 0 46%, transparent 48%),
    var(--olive);
  box-shadow: 0 0 0 2px var(--clay);
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
}

.nav a,
.linkish {
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
}

.nav a:hover,
.linkish:hover { background: rgba(30, 67, 52, 0.08); }
.nav a.is-on { background: var(--olive); color: #fffaf3; }

.settings-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
}
.settings-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
}
.settings-nav a.is-on { background: var(--olive); color: #fffaf3; border-color: transparent; }

.day-extra {
  display: grid;
  gap: 0.75rem;
  margin: 0.35rem 0 0.85rem;
  padding: 0.85rem;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--olive) 6%, #fff);
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

.lede {
  max-width: 38rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 1.15rem;
}

.hero {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0 0.2rem;
}

.hero-actions,
.row { display: flex; align-items: center; }
.gap { gap: 0.55rem; }
.wrap-row, .row.wrap { flex-wrap: wrap; }
.stack { display: grid; gap: 0.85rem; }
.mt { margin-top: 1rem; }
.inline { display: inline; }
.muted { color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.card-link {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
  min-height: 8.5rem;
  align-content: end;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-link::before {
  content: "";
  position: absolute;
  width: 7rem;
  height: 7rem;
  right: -1.5rem;
  top: -2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 90, 50, 0.22), transparent 68%);
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(36, 28, 22, 0.1);
}

.card-link strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

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

.day-nav {
  position: sticky;
  top: 4.4rem;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}
.day-nav-move { display: flex; align-items: center; gap: 0.7rem; }
.day-nav-move strong { display: block; font-family: var(--serif); line-height: 1.1; }
.day-nav-move .muted { font-size: 0.85rem; }

.week-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.week-switch strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  font-weight: 700;
}

.icon-btn:hover { background: var(--olive); color: #fffaf3; }

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

.day-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise 0.55s ease both;
}

.day-card:nth-child(2) { animation-delay: 0.05s; }
.day-card:nth-child(3) { animation-delay: 0.1s; }
.day-card:nth-child(4) { animation-delay: 0.15s; }
.day-card:nth-child(5) { animation-delay: 0.2s; }
.day-card:nth-child(6) { animation-delay: 0.25s; }

.day-cover {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.day-body { padding: 1.1rem 1.15rem 1.25rem; }

.day-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.day-num {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 1.1rem;
  background: var(--olive);
  color: #fffaf3;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 650;
}

.day-title { margin: 0; font-size: 1.55rem; line-height: 1; }
.day-month { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.92rem; }

.set + .set {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(36, 28, 22, 0.14);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.7rem 0 0.9rem;
}

.price-row div {
  background: #f7f1e7;
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
}

.price-row span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-row strong {
  font-size: 1.2rem;
  color: var(--clay-deep);
}

.dish {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.8rem;
  margin: 0.85rem 0 0;
}

.dish.optional { opacity: 0.96; }

.dish-photo,
.dish img,
.thumb {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 18px;
  background: #efe4d4;
}

.dish-photo {
  display: grid;
  place-items: center;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.dish-body strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.02rem;
}

.dish-body p { color: var(--muted); font-size: 0.95rem; }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--olive-soft);
  color: var(--olive);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

.allergens { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }

.allergen {
  font-size: 0.75rem;
  color: var(--muted);
  background: #f3ece3;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}

.orders-strip { margin-top: 2rem; }

.order-list { display: grid; gap: 0.7rem; }

.order-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.85fr) minmax(0, 1.4fr) max-content;
  gap: 0.65rem 1rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.85rem 1rem;
}

.order-row strong,
.plan-preview .muted { display: block; }

.row-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem 0.5rem;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
}
.row-actions form { display: inline-flex; margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #efe4d4;
  color: var(--ink);
}

.badge-ok { background: #e5f6ec; color: var(--ok); }
.badge-wait { background: #fff1df; color: #8a4b12; }
.badge-off { background: #f3ece3; color: var(--muted); }

.form [hidden] { display: none !important; }

.form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.form input,
.form select,
.form textarea,
input[type="date"],
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="password"] {
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(36, 28, 22, 0.14);
  background: #fff;
  width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(198, 90, 50, 0.35);
  border-color: var(--clay);
}

.btn,
button:not(.linkish) {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.68rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(30, 67, 52, 0.22);
  background: #fffaf3;
}

button.primary,
.btn.primary,
.primary {
  background: var(--clay);
  color: #fffaf3;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(198, 90, 50, 0.28);
}

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

.btn.primary:hover,
button.primary:hover { background: var(--clay-deep); }

.check {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  grid-template-columns: none !important;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-weight: 600;
}

.check input { width: auto; }

.day-pick {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.6rem;
  background: #fff;
}

.day-pick-main {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--ink);
}

.day-pick-main input { width: 1.1rem; height: 1.1rem; accent-color: var(--olive); }

.day-pick-main strong { display: block; font-size: 1rem; }
.day-pick-main em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 0.88rem; }

.day-pick-extra {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.day-pick:has(input[name="dates[]"]:checked) {
  border-color: rgba(30, 67, 52, 0.35);
  background: #f7fbf8;
}

.day-pick:has(input[name="dates[]"]:checked) .day-pick-extra { display: grid; }

.weekday-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }

.weekday-pills label {
  position: relative;
  display: inline-flex;
  margin: 0;
}

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

.weekday-pills span {
  display: inline-flex;
  min-width: 2.7rem;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 700;
}

.weekday-pills input:checked + span,
.weekday-pills input:focus-visible + span {
  background: var(--olive);
  color: #fffaf3;
  border-color: var(--olive);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 0 0 1rem;
  padding: 0.9rem;
  background: rgba(255, 250, 243, 0.45);
}

legend {
  font-family: var(--serif);
  font-size: 1.15rem;
  padding: 0 0.35rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.form-grid label { margin: 0; }
.form.row { align-items: end; }
.form.row label { flex: 1; min-width: 12rem; margin-bottom: 0; }
.grid > .card > strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}

.pill {
  background: var(--olive-soft);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); }

.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--card); }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 0.7rem 0.75rem; text-align: left; vertical-align: top; }
.table th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.flash {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.flash-success { background: #e5f6ec; color: var(--ok); border-color: #b7e4c7; }
.flash-error { background: #fde8e8; color: var(--err); border-color: #f5c2c2; }
.flash-warn { background: #fff1df; color: #8a4b12; border-color: #f0d2a8; }

.allergen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.35rem; }
.list { padding-left: 1.1rem; }

.auth-shell {
  width: min(460px, 100%);
  margin: 1.5rem auto 0;
}
.auth-shell h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }

.auth-card { padding: 1.4rem 1.3rem 1.5rem; }

.home-hero {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem 0 0.5rem;
  max-width: 40rem;
}

.home-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  color: var(--olive);
  font-size: 1.2rem;
}

.empty {
  padding: 1.4rem;
  border: 1px dashed rgba(36, 28, 22, 0.2);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.55);
}

.track-stat {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 0.9;
  margin: 0.2rem 0 0.4rem;
  color: var(--olive);
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 1.2rem));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.2rem;
  padding: 0.35rem;
  background: rgba(22, 48, 40, 0.94);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(22, 48, 40, 0.28);
  z-index: 30;
}

.dock a {
  text-align: center;
  text-decoration: none;
  color: #f6efe4;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.68rem 0.3rem;
  border-radius: 999px;
}

.dock a.is-active { background: #fffaf3; color: var(--olive); }
.dock-badge {
  display: inline-block;
  min-width: 1.1rem;
  padding: 0 .25rem;
  margin-right: .15rem;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-size: .7rem;
  line-height: 1.2;
  text-align: center;
}

.stop-card { display: grid; gap: 0.25rem; }
.stop-no {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--clay);
  line-height: 1;
}

@media (min-width: 900px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1.4fr 0.8fr; align-items: end; }
}

@media (max-width: 700px) {
  .topbar-inner { flex-wrap: wrap; align-items: center; row-gap: 0.35rem; }
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .nav { flex: 1 1 auto; width: auto; justify-content: flex-end; }
  .nav.nav-stack { flex: 1 0 100%; width: 100%; justify-content: flex-start; }
  .dish { grid-template-columns: 76px 1fr; }
  .dish-photo, .dish img { width: 76px; height: 76px; }
  .day-pick-extra, .form-grid, .order-row { grid-template-columns: 1fr; }
  .week-switch strong { font-size: 0.95rem; }
  .day-nav { top: 7.2rem; }
  .site-footer { margin-bottom: 1rem; }
  .row-actions { flex-wrap: wrap; justify-content: flex-start; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.is-ops h1 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.is-ops .wrap { width: min(1180px, calc(100% - 2rem)); }

.week-board { display: grid; gap: 0.75rem; }
.week-day {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
}
.week-day-when { display: flex; align-items: center; gap: 0.7rem; }
.week-day-when strong { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -0.03em; }
.week-day-menu { min-width: 0; }
.set-line { margin: 0.15rem 0; }
.week-day-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; }

.copy-week {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr auto;
  gap: 0.8rem;
  align-items: end;
}
.copy-week h2 { margin-bottom: 0.25rem; }
.copy-week label { margin: 0; }

.plate-head, .plate-items { display: grid; gap: 0.8rem; }
.plate-head { grid-template-columns: 1fr auto; align-items: start; }
.slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 0.4rem 0 1rem; }
.slot-card { margin: 0; background: #fff; }
.slot-preview {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.6rem;
  background: #efe4d4;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  margin: 0.2rem 0 0.7rem;
}
button:disabled, .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.ops-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 1rem;
  align-items: start;
}
.ops-aside { position: sticky; top: 5.2rem; }
.dish-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.8rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
}
.dish-row img, .dish-row .dish-photo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
}
.dish-row strong, .dish-row .muted { display: block; }
.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.7rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.stat { margin: 0; }
.stat-num {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--olive);
}
.stop-index {
  display: inline-block;
  min-width: 1.2rem;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.plan-note { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.plan-settings {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 0.7fr;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 0.8rem;
}
.plan-settings label, .plan-prices label { margin: 0; }
.plan-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.8rem;
}
.plan-day { margin: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.plan-foot { margin-top: auto; display: grid; gap: 0.4rem; padding-top: 0.55rem; }
.plan-foot .btn { width: 100%; }
.plan-day-head { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.45rem; }
.plan-day-head strong { display: block; font-family: var(--serif); letter-spacing: -0.03em; }
.plan-day-head .badge { margin-left: auto; white-space: nowrap; }
.plan-prep { list-style: none; margin: 0.35rem 0 0.6rem; padding: 0; }
.plan-prep-kind {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-prep-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--line);
}
.plan-prep-row span { min-width: 0; }
.plan-prep-qty { flex: none; font-family: var(--serif); font-size: 1.35rem; line-height: 1; color: var(--olive); }
.plan-day.is-locked { background: #f6f0e6; }
.plan-day.is-ready { border-color: rgba(30, 67, 52, 0.45); }
.plan-links { margin-top: auto; padding-top: 0.4rem; font-size: 0.88rem; }

.kitchen-week { display: grid; gap: 0.9rem; }
.kitchen-day-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.kitchen-day-head h2 { margin: 0; }
.kitchen-day-head p { margin: 0.15rem 0 0; }
.prep-list { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.prep-kind {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.prep-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.prep-qty { font-family: var(--serif); font-size: 1.45rem; color: var(--olive); }
.order-lines { display: grid; gap: 0.55rem; margin-top: 0.8rem; }
.order-line {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.4fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.order-line p { margin: 0.2rem 0 0; }
.plan-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0.2rem 0 0.9rem;
  padding: 1rem 1.35rem;
  border-radius: 22px;
  background: var(--olive);
  color: #fffaf3;
  box-shadow: 0 16px 36px rgba(22, 48, 40, 0.22);
}
.plan-ready {
  margin: 0;
  font-weight: 650;
  line-height: 1.35;
}
.plan-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-left: auto;
}
.plan-grid + .plan-actions { margin-top: 0.9rem; }
.plan-actions .btn, .plan-actions button:not(.primary) { background: transparent; color: #fffaf3; border-color: rgba(255, 250, 243, 0.4); }
.plan-copy { margin-top: 1rem; }

.order-board h2 { margin-bottom: 0.35rem; }
.stop-list { display: grid; gap: 0.7rem; margin-top: 0.8rem; }
.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.order-card.is-stop {
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 1.25fr) auto;
}
.order-card.is-stop { cursor: grab; }
.order-card.is-dragging { opacity: 0.55; }
.order-card strong, .order-card .muted { display: block; }
.order-card p { margin: 0.2rem 0 0; }
.stop-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.stop-tools .stop-index {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}
.drag-handle, .stop-move {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
}
.drag-handle svg { width: 1rem; height: 1rem; fill: currentColor; }
.order-card-status {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  min-width: 9.4rem;
}
.order-card-status .badge { align-self: flex-end; }
.order-card-status .linkish { align-self: flex-end; padding: 0.15rem 0.2rem; }
.badge-warn { background: #fff1df; color: #8a4b12; }
.slot-picks { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; }
.plan-copy summary { cursor: pointer; font-weight: 700; }
.plan-copy .copy-week { margin-top: 0.8rem; }

@media (max-width: 900px) {
  .week-day, .copy-week, .ops-split, .plate-head, .slot-grid, .plan-settings, .order-card, .order-card.is-stop, .order-line { grid-template-columns: 1fr; }
  .plan-actions { flex-direction: column; align-items: stretch; }
  .plan-action-buttons { margin-left: 0; }
  .order-card-status { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .stop-tools { flex-direction: row; }
  .ops-aside { position: static; }
  .week-day-actions { justify-content: flex-start; }
}

/* Dev-only role switcher (DEBUG_MODE). W potoku strony, żeby nie zasłaniał kart. */
.dev-switch {
  position: static;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  justify-content: flex-end;
  font-size: 0.78rem;
}
.dev-switch label {
  display: grid;
  gap: 0.25rem;
  width: min(18rem, 100%);
  margin: 0;
  padding: 0.4rem 0.55rem;
  background: rgba(18, 22, 28, 0.92);
  color: #f3efe6;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.65rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.dev-switch span {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  font-size: 0.68rem;
}
.dev-switch select {
  width: 100%;
  border: 0;
  border-radius: 0.4rem;
  padding: 0.35rem 0.4rem;
  background: #fff;
  color: #142018;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
body.has-dock .dev-switch {
  margin-bottom: 6.5rem;
}

.date-toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.date-toolbar input[type="date"] { width: auto; min-width: 11rem; }

.tier-list { display: grid; gap: 0.55rem; }
.tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.55rem 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
}
.tier-price { text-align: right; }
.tier-price strong, .tier-row .muted { display: block; }
.form > .tier-box {
  box-shadow: none;
  background: #f7f1e7;
  border-radius: 18px;
  padding: 0.95rem 1rem 1rem;
  margin: 0.2rem 0 1rem;
}

.job-list { display: grid; gap: 0.7rem; }
.job-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: start;
  margin: 0;
}

/* —— Wydawanie (lada): zwarta lista, sort nazwiskiem —— */
body.is-counter .page-head.counter-head {
  margin-bottom: 0.45rem;
  gap: 0.4rem;
}
body.is-counter .page-head.counter-head h1 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.15;
}
body.is-counter .page-head.counter-head .date-toolbar {
  gap: 0.35rem;
}
body.is-counter .page-head.counter-head input[type="date"],
body.is-counter .page-head.counter-head button {
  min-height: 2.5rem;
  font-size: 0.95rem;
  padding: 0.4rem 0.65rem;
}
.job-list.is-counter {
  gap: 0.28rem;
}
.job-list.is-counter .job-card.is-issue {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.55rem;
  align-items: center;
  margin: 0;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.job-list.is-counter .job-card.is-issue.is-done {
  opacity: 0.72;
}
.job-list.is-counter .job-main { min-width: 0; }
.job-list.is-counter .job-line1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.45rem;
  line-height: 1.2;
}
.job-list.is-counter .job-line1 strong {
  display: inline;
  font-size: 1.05rem;
  margin: 0;
}
.job-list.is-counter .job-tel {
  display: inline;
  margin: 0;
  font-size: 0.9rem;
  white-space: nowrap;
}
.job-list.is-counter .job-line1 .badge {
  display: inline;
  margin: 0;
  font-size: 0.68rem;
  padding: 0.1rem 0.35rem;
  vertical-align: middle;
}
.job-list.is-counter .job-address {
  margin: 0.08rem 0 0;
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--olive);
}
.job-list.is-counter .job-meal {
  margin: 0.06rem 0 0;
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--muted, #5c564e);
}
.job-list.is-counter .job-extra { font-weight: 500; }
.job-list.is-counter .job-allergens { color: #8a4b12; font-weight: 600; }
.job-list.is-counter .job-side {
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
}
.job-list.is-counter .job-side form { margin: 0; }
.job-list.is-counter .job-side button {
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.95rem;
  white-space: nowrap;
}
.btn-quiet {
  padding: 0.25rem 0.5rem;
  font-size: 0.82rem;
}
.badge-next {
  background: var(--clay);
  color: #fff;
  font-size: 0.68rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* —— Widok kuriera (PWA, pełna szerokość) —— */
body.is-driver .wrap,
body.is-driver.is-ops .wrap {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  box-sizing: border-box;
}
body.is-driver .topbar .wrap,
body.is-driver.is-ops .topbar .wrap {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
body.is-driver .topbar-inner { padding: 0.45rem 0; gap: 0.55rem; }
body.is-driver .brand { font-size: 1.15rem; gap: 0.45rem; }
body.is-driver .brand-logo { width: 1.9rem; height: 1.9rem; }
body.is-driver .nav a,
body.is-driver .nav .linkish {
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
body.is-driver main.wrap { padding-bottom: 1rem; }

.driver-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem 0.7rem;
  margin: 0 0 0.55rem;
}
.driver-head h1 { margin: 0; font-size: 1.4rem; line-height: 1.15; }
.driver-counts {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: var(--muted, #5c564e);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
}
.driver-counts strong { color: var(--ink); }
.driver-status { opacity: 0.85; }
.driver-head-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.driver-head-tools form { margin: 0; }
.driver-head-tools .date-toolbar { gap: 0.35rem; }
.driver-head-tools .date-toolbar input[type="date"] {
  min-width: 0;
  width: 9.5rem;
  padding: 0.55rem 0.55rem;
  font-size: 1rem;
  min-height: 2.75rem;
}
.driver-head-tools button {
  padding: 0.55rem 0.85rem;
  font-size: 1rem;
  min-height: 2.75rem;
}
.gps-chip {
  font-size: 0.85rem;
  color: var(--muted, #5c564e);
  padding: 0.45rem 0.55rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.driver-flash { margin: 0 0 0.55rem; padding: 0.55rem 0.7rem; font-size: 1rem; }
.driver-empty { margin: 0.5rem 0; font-size: 1.05rem; }
.driver-section-title {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.1rem;
}

.driver-route { display: grid; gap: 0.12rem; }
.route-city-block { display: grid; gap: 0.12rem; }
.route-street-block { display: grid; gap: 0.12rem; margin: 0 0 0.15rem; }
.route-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.25rem 0.05rem;
  background: transparent;
  min-height: 2.75rem;
}
.route-group-head.is-street {
  padding: 0.15rem 0.05rem 0.2rem;
  min-height: 2.5rem;
}
.route-city {
  margin: 0;
  font-size: 1rem;
  color: var(--olive);
  font-weight: 700;
}
.route-street {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  opacity: 0.9;
}
.group-moves { display: flex; gap: 0.25rem; flex: none; }
body.is-driver .group-moves .stop-move,
body.is-driver .stop-tools .stop-move,
body.is-driver .drag-handle {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
}

.stop-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.5rem;
  align-items: start;
  margin: 0;
  padding: 0.55rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.stop-row:not(.is-next) {
  padding: 0.5rem 0.5rem;
}
.stop-row.is-dragging { opacity: 0.5; }
.stop-row.is-next {
  border-color: var(--clay);
  background: #fff8f3;
  box-shadow: inset 4px 0 0 var(--clay);
}
.stop-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.stop-tools .stop-index {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  min-width: 1.35rem;
  text-align: center;
}
.stop-body { min-width: 0; }
.stop-line1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  line-height: 1.3;
}
.stop-line1 strong { font-size: 1.1rem; }
.stop-tel {
  font-size: 1rem;
  white-space: nowrap;
  padding: 0.25rem 0;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.stop-addr {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--olive);
}
.stop-meal {
  margin: 0.12rem 0 0;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--muted, #5c564e);
}
.stop-extra { font-weight: 500; }
.stop-map {
  display: inline-flex;
  align-items: center;
  margin-top: 0.3rem;
  font-size: 1rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.15rem;
}
.stop-release { margin: 0.25rem 0 0; }
.stop-release button {
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  min-height: 2.75rem;
}

.driver-dock {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 0.7rem -0.4rem 0;
  padding: 0.55rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 2px solid var(--clay);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 0.45rem;
}
.driver-dock-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.55rem;
  font-size: 1rem;
}
.driver-dock-info strong { font-size: 1.1rem; }
.driver-dock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
}
.driver-dock-actions form { margin: 0; display: contents; }
.driver-dock-actions .btn,
.driver-dock-actions button {
  width: 100%;
  padding: 0.7rem 0.35rem;
  font-size: 1rem;
  min-height: 3rem;
  border-radius: 12px;
}
body.is-driver main.wrap {
  padding-bottom: 0.25rem;
}

.driver-pool { margin-top: 0.85rem; }
.pool-street { margin-top: 0.5rem; }
.pool-street-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.65rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  min-height: 2.75rem;
}
.pool-street-head form { margin: 0; }
.pool-street-head button {
  padding: 0.55rem 0.85rem;
  font-size: 1rem;
  min-height: 2.75rem;
}
.pool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  min-height: 3rem;
}
.pool-row form { margin: 0; }
.pool-row button {
  padding: 0.55rem 0.85rem;
  font-size: 1rem;
  min-height: 2.75rem;
}
.driver-done {
  margin: 0.8rem 0 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.driver-done summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}
.owner-driver-block { margin-top: 1rem; }
.owner-driver-block h3 { margin: 0 0 0.35rem; }
.ready-check { display: flex; align-items: flex-start; gap: 0.55rem; }
.ready-check input { margin-top: 0.35rem; }
.job-card.is-issue { grid-template-columns: minmax(0, 1fr) auto; }
.job-main { min-width: 0; }
.job-main > strong { display: block; font-size: 1.08rem; }
.job-main > a,
.job-main .badge,
.job-main .job-note {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.35rem;
}
.job-address { margin: 0.2rem 0 0; }
.job-meal { margin: 0.45rem 0 0; }
.job-note { margin: 0.25rem 0 0; }
.job-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}
.job-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}
.job-actions form { margin: 0; }
.card > .address-form {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(36, 28, 22, 0.14);
}

.staff-list { display: grid; gap: 0.7rem; }
.staff-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.staff-row strong,
.staff-row .muted { display: block; }
.staff-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; justify-content: flex-end; }
.staff-tools {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.15rem;
}
.staff-pass {
  display: flex;
  flex: 1 1 16rem;
  gap: 0.45rem;
  align-items: center;
  min-width: min(100%, 16rem);
  margin: 0;
}
.staff-pass input { margin: 0; flex: 1; min-width: 8rem; }
.staff-tools button,
.staff-pass button { flex: none; white-space: nowrap; }

.sms-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem 0.95rem;
}
.sms-row p { margin: 0; }

.day-edit { margin: 0; }
.day-edit .form-grid { margin-top: 0.65rem; }

.route-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}
.route-bar p { margin: 0; }

@media (max-width: 700px) {
  .job-card, .job-card.is-issue, .sms-row, .tier-row { grid-template-columns: 1fr 1fr; }
  .tier-row > :first-child,
  .job-card > .stop-no,
  .job-card > .job-main,
  .job-card.is-issue > .job-main,
  .job-side { grid-column: 1 / -1; }
  .job-side, .job-actions { align-items: flex-start; justify-content: flex-start; }
  .tier-price { text-align: left; }
  .staff-meta { justify-content: flex-start; }
  .date-toolbar { width: 100%; }
  .date-toolbar input[type="date"] { flex: 1; min-width: 0; }
  body.is-driver .driver-head { width: 100%; }
  body.is-driver .driver-head-tools { width: 100%; }
  body.is-driver .route-group-head.is-street { top: 2.1rem; }
  /* Lada: nie rozbijaj wiersza na pełną szerokość */
  body.is-counter .job-list.is-counter .job-card.is-issue {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  body.is-counter .job-list.is-counter .job-card.is-issue > .job-main,
  body.is-counter .job-list.is-counter .job-side {
    grid-column: auto;
  }
  body.is-counter .job-list.is-counter .job-side {
    align-items: center;
    justify-content: flex-end;
  }
}

/* Marketing landing styles: public/assets/css/landing.css */
