:root{font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:#17251f;background:#fbfcf9;--green:#124d34;--deep:#103b2a;--orange:#ff962f;--muted:#59685d;--line:#dbe4da}
*{box-sizing:border-box}
body{margin:0;line-height:1.55}
button,input{font:inherit}
button,a,input{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--green);outline-offset:3px}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.15;letter-spacing:-.045em}
h2{font-size:clamp(1.55rem,3vw,2.15rem)}
h3{font-size:1.15rem}
small,.metadata{font-size:.82rem;color:var(--muted)}
.shell{width:calc(100% - clamp(28px,5vw,64px));margin-inline:auto}
header{background:#fff;border-bottom:1px solid var(--line)}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 3px 12px #103b2a12;
}

html:has(.site-header) {
  scroll-padding-top: 88px;
}

@media (max-width: 1150px) {
  html:has(.site-header) {
    scroll-padding-top: 154px;
  }
}

@media (max-width: 660px) {
  html:has(.site-header) {
    scroll-padding-top: 64px;
  }
}
.top{display:flex;align-items:center;gap:18px;min-height:78px}
.brand{flex:none}
.brand img{width:104px;height:69px;object-fit:contain;display:block}
.location{display:flex;align-items:center;gap:10px;padding-left:18px;border-left:1px solid var(--line);line-height:1.35;white-space:nowrap}
.location>span{font-size:1.55rem;color:var(--green)}
.location small{display:block;font-weight:800;letter-spacing:.08em;font-size:.72rem}
.location strong{font-size:.88rem}
nav{display:flex;gap:7px;margin-left:auto}
nav a,.quiet,.primary,.outline{padding:10px 14px;font-size:.9rem;font-weight:800;border-radius:10px;white-space:nowrap}
nav a[aria-current],nav a:hover,.quiet:hover{background:#e9f2e9;color:var(--green)}
.quiet,.primary,.outline{border:1px solid transparent}
.quiet{background:transparent;color:var(--green)}
.primary{background:var(--green);color:#fff}
.primary:hover:not(:disabled){background:#0a3925}
.outline{background:#f3f8f3;color:var(--green);border-color:#99b9a2}
.outline:hover:not(:disabled){background:#e2f0e4}
main{min-height:65vh;padding:34px 0 60px}
.hero{display:grid;grid-template-columns:1fr .95fr;background:var(--deep);border-radius:25px;overflow:hidden;position:relative;color:#fff}
.hero-copy{padding:clamp(28px,5vw,64px);z-index:1}
.eyebrow{font-size:.78rem;letter-spacing:.17em;font-weight:800;color:var(--green);margin-bottom:15px}
.hero .eyebrow{color:#bbdec4}
.hero h1{font-size:clamp(3rem,6vw,5.3rem);font-weight:800;letter-spacing:-.075em}
.hero em{font-style:normal;color:#ffad58}
.hero-copy>p:not(.eyebrow){color:#e0ece4;margin:18px 0 25px;max-width:32ch}
.hero-image{background:linear-gradient(90deg,var(--deep),transparent 24%),url('https://images.unsplash.com/photo-1546833999-b9f581a1996d?w=1400&auto=format&fit=crop') center/cover,#275541}
.search{display:flex;align-items:center;gap:12px;background:#fff;color:var(--deep);border-radius:12px;padding:8px 14px;max-width:440px}
.search span{font-size:1.8rem;line-height:1}
.search input{width:100%;min-width:0;border:0;background:transparent;padding:8px 0;color:inherit}
.cravings{margin:36px 0}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem clamp(.5rem, 2vw, 1.35rem);
  margin-top: 14px;
}

.categories button {
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 60px;
  gap: .3rem;
  padding: .2rem .25rem;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
}

.categories button:hover {
  color: var(--deep);
}

.categories button[aria-pressed=true] {
  color: var(--deep);
}

.categories button[aria-pressed=true] .category-photo {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.category-photo {
  display: flex;
  width: 40px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #e7eee3;
}

.categories button:nth-child(even) .category-photo {
  border-radius: 55% 45% 52% 48% / 48% 55% 45% 52%;
}

.category-photo > span {
  flex: 1;
  background: url('/menu-photos.jpg') var(--photo-position, 0 0) / auto 200% no-repeat;
}

.category-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-photo > span + span {
  border-left: 1px solid #fff;
}
.section-head,.card-title,.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.section-head{margin-bottom:17px}
.section-head p,.card-body p,.workspace p:not(.eyebrow){color:var(--muted);margin-top:5px}
.filter{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:.9rem;font-weight:700}
input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}
.cards,.tickets,.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (min-width: 1450px) {
  .cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
.card,.ticket,.metrics>div{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden}
.card-photo{height:clamp(140px,17vw,205px);position:relative;background:#d5e4d8}
.card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.card-photo > span:not(.dish-photo),.rating{font-size:.82rem;font-weight:800;border-radius:7px;padding:4px 8px}
.card-photo > span:not(.dish-photo){position:absolute;bottom:12px;left:12px;background:#e4f2e8;color:var(--deep)}
.rating{background:#e4f2e8;color:var(--green);flex-shrink:0}
.card-body,.ticket,.metrics>div{padding:18px}
.card-body .outline{margin-top:14px;width:100%}
footer{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:.9rem}

.workspace{background:#e8f2e9;border-radius:18px;padding:30px;margin-bottom:22px}
.workspace h1{font-size:clamp(2rem,4vw,3.5rem)}
.metrics{margin-bottom:28px}
.metrics span,.metrics strong{display:block}
.metrics strong{font-size:1.65rem;color:var(--green)}
.tickets{margin:14px 0 28px}
.ticket p{margin:8px 0}
.order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.menu-toggle{display:flex;align-items:center;gap:8px;margin-top:10px}
dialog{border:1px solid var(--line);border-radius:18px;width:min(570px,calc(100% - 28px));max-height:85vh;padding:24px;color:inherit}
dialog::backdrop{background:#0c221cd0}
.dialog-head{margin-bottom:16px}
.dialog-head button,.stepper button{border:1px solid #99b9a2;background:#f3f8f3;color:var(--green);border-radius:8px;min-width:38px;min-height:38px;font-size:1.3rem}
.dialog-head button:hover,.stepper button:hover:enabled{background:#e2f0e4}
.dish{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}
.dish p{margin:4px 0;color:var(--muted)}
.stepper{display:flex;align-items:center;gap:8px}
#checkout label,.order-actions label{display:block;font-weight:700;margin-top:12px}
#checkout input,.order-actions input{display:block;width:100%;border:1px solid var(--line);border-radius:8px;padding:8px;margin-top:4px}
.bill{display:grid;grid-template-columns:1fr auto;gap:6px;padding:15px 0}
#dialog-content>.ticket{margin-top:12px}
#notice:not(:empty){position:fixed;bottom:20px;left:50%;translate:-50% 0;z-index:5;border-radius:10px;padding:12px 18px;background:#17251f;color:white;max-width:calc(100% - 30px);width:max-content}
@media(max-width:960px){.top{flex-wrap:wrap;gap:8px;padding:4px 0 10px}.top nav{order:1;width:100%;margin:0;overflow:auto}.location{margin-right:auto}.tickets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.shell{width:calc(100% - 28px)}main{padding-top:18px}.top{gap:5px}.location{border:0;padding-left:0}.location small{display:none}.location strong{white-space:normal}.location>span{display:none}.brand img{width:72px;height:51px}.top button,.top nav a{padding:8px}.hero{grid-template-columns:1fr}.hero-image{height:175px;background-image:linear-gradient(180deg,var(--deep),transparent 26%),url('https://images.unsplash.com/photo-1546833999-b9f581a1996d?w=800&auto=format&fit=crop')}.hero-copy{padding:26px 22px}.hero-copy>p:not(.eyebrow){margin:13px 0 16px}.cards,.tickets{grid-template-columns:1fr}.metrics{grid-template-columns:1fr;gap:8px}}

.site-actions{display:flex;align-items:center;gap:6px}
@media(max-width:420px){.site-actions button{padding-inline:7px}.top .location{flex:1}.top nav{gap:2px}}

.order-group + .order-group{margin-top:22px}
.order-group>.ticket{margin-top:10px}
.delivery-timeline{list-style:none;margin:16px 0;padding:0}
.delivery-timeline li{position:relative;display:grid;grid-template-columns:27px 1fr;gap:10px;align-items:start;padding-bottom:10px}
.delivery-timeline li:last-child{padding-bottom:0}
.delivery-timeline li:not(:last-child)::before{content:"";position:absolute;left:13px;top:26px;bottom:0;border-left:1px solid var(--line)}
.delivery-timeline li>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#eff2ee;color:var(--muted);font-size:.82rem;font-weight:800}
.delivery-timeline li.complete>span{background:#e4f2e8;color:var(--green)}
.delivery-timeline li.current>span{background:var(--green);color:#fff}
.delivery-timeline li div{font-size:.92rem;font-weight:700}
.delivery-timeline small{display:block;font-weight:500}

.reorder{display:block;margin-top:12px}

.discovery-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px 16px;margin-bottom:18px}
.discovery-filters label{font-size:.88rem;font-weight:700}
.discovery-filters select{display:block;margin-top:4px;padding:8px 28px 8px 9px;min-height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--deep);font:inherit}
.discovery-filters .filter{min-height:40px}
.card-actions{display:flex;gap:8px}
.card-actions .favourite{width:auto;flex:none;font-size:1.1rem}
.favourite[aria-pressed=true],
.favourite[aria-pressed=true]:hover:not(:disabled) {
  border-color: var(--green);
  background: var(--green);
  color: var(--orange);
}

.order-review{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.order-review h4{margin:0}
.order-review summary{cursor:pointer;font-weight:800;color:var(--green)}
.order-review form{display:grid;gap:10px;margin-top:10px}
.order-review form label{display:grid;gap:4px;font-weight:700}
.order-review select,.order-review textarea{padding:8px;border:1px solid var(--line);border-radius:8px;font:inherit;color:inherit;background:#fff}
.order-review textarea{resize:vertical}

.order-actions select{display:block;margin-top:4px;padding:8px;border:1px solid var(--line);border-radius:8px;background:white;color:inherit;font:inherit}
.order-actions label{flex-basis:100%}


.activity-panel{padding:18px;margin-bottom:24px;border:1px solid var(--line);border-radius:14px;background:#fff}
.activity-panel ol{list-style:none;padding:0;margin:10px 0 0;max-height:300px;overflow:auto}
.activity-panel li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:8px 0;border-top:1px solid var(--line)}
.activity-panel time,.activity-panel p{color:var(--muted);font-size:.9rem}

.tracking-panel{margin-top:20px}
.tracking-panel form{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:10px 0}
.tracking-panel input{display:block;padding:8px;border:1px solid var(--line);border-radius:8px}
.tracking-panel a:not([hidden]){display:inline-block;margin-top:8px}

.finance-metrics{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:white}
.finance-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
.finance-table th,.finance-table td{padding:12px 14px;border-bottom:1px solid var(--line)}
.finance-table tbody tr:last-child>*{border-bottom:0}
.finance-table thead{background:#e9f2e9}
.ticket>a.outline{display:inline-block}

.payment-methods {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 1rem 0;
  padding: .75rem;
}

.payment-methods legend {
  padding: 0 .3rem;
  font-weight: 800;
}

#checkout .payment-choice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .25rem 0 .65rem;
}

#checkout .payment-choice input {
  width: auto;
  margin: 0;
}

.payment-unavailable {
  border-radius: .35rem;
  padding: .15rem .4rem;
  background: #fff0dc;
  color: #743c00;
  font-size: .75rem;
}

.upi-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 76px), 1fr));
  padding: 0;
  gap: .5rem;
  list-style: none;
}

.upi-apps li {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: .25rem;
  padding: .4rem .2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .75rem;
}

.upi-apps img {
  object-fit: contain;
}

.restaurant-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
}

.restaurant-photo:focus-visible {
  outline-offset: -4px;
}

.restaurant-photo img,
.dish-photo {
  transition: transform .2s ease;
}

.restaurant-photo:is(:hover, :focus-visible) :is(img, .dish-photo),
.dish-photo-button:hover .dish-photo {
  transform: scale(1.035);
}

.menu-dialog {
  width: min(740px, calc(100% - 28px));
}

:is(.menu-dialog, .dish-dialog) {
  --menu-padding: clamp(14px, 3vw, 24px);
  padding: 0 var(--menu-padding) var(--menu-padding);
  background: #f5f8f3;
  scrollbar-width: none;
}

:is(.menu-dialog, .dish-dialog)::-webkit-scrollbar {
  display: none;
}

:is(.menu-dialog, .dish-dialog) .dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0 calc(-1 * var(--menu-padding)) 12px;
  padding: var(--menu-padding);
  border-bottom: 1px solid var(--line);
  background: #f5f8f3;
}

:is(.menu-dialog, .dish-dialog) button {
  scroll-margin-top: 5rem;
}

.menu-summary {
  display: flex;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 116px;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  padding: 1rem;
  border-radius: 15px;
  background: var(--deep);
  color: white;
}

.menu-summary-cover {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.menu-summary-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.menu-summary-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #103b2a 8%, #103b2ad1 43%, #10271bad);
  content: '';
}

.menu-summary > p {
  font-weight: 800;
}

.menu-summary-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 700;
}

.menu-summary .rating {
  background: #fff0dc;
  color: #743c00;
}

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

.menu-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 5px 14px #103b2a0d;
}

.dish-photo-button {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 15px 15px 0 0;
  padding: 0;
  background: #e7eee3;
}

.dish-photo {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  width: 100%;
  aspect-ratio: 1;
  background: url('/menu-photos.jpg') var(--photo-position, 0 0) / 300% 200% no-repeat,
    var(--restaurant-photo) center / cover no-repeat;
}

.dish-photo-fish { --photo-position: 50% 0; }
.dish-photo-dum { --photo-position: 100% 0; }
.dish-photo-paneer { --photo-position: 0 100%; }
.dish-photo-momo { --photo-position: 50% 100%; }
.dish-photo-veg { --photo-position: 100% 100%; }

.dish-photo-action {
  position: absolute;
  inset: auto .6rem .6rem auto;
  display: inline-flex;
  align-items: center;
  padding: .35rem .65rem;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  color: white;
  background: #103b2aeb;
  font-size: .75rem;
  font-weight: 800;
}

.dish-photo-button:is(:hover, :focus-visible) .dish-photo-action {
  color: var(--deep);
  background: #ceeed4;
}

.menu-card-body,
.dish-detail-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  padding: .9rem;
}

.menu-card-body p,
.dish-detail-body p {
  color: var(--muted);
  font-size: .9rem;
}

.dish-type {
  display: inline-block;
  border-radius: .35rem;
  padding: .18rem .4rem;
  font-size: .72rem;
  font-weight: 800;
}

.dish-type.vegetarian {
  background: #e4f2e8;
  color: var(--green);
}

.dish-type.non-vegetarian {
  background: #f9ebe2;
  color: #823b20;
}

.menu-card-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
  padding-top: .45rem;
}

.menu-card-actions strong,
.menu-card-actions small {
  display: block;
}

.menu-card-actions strong {
  color: var(--deep);
  font-size: 1.08rem;
}

.menu-card-actions .menu-add {
  padding: .45rem .85rem;
  border-radius: 999px;
}

.dish-back {
  margin: 0 0 .7rem;
  padding: .3rem 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 800;
}

.dish-details {
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.dish-dialog button:enabled,
.dish-photo-button {
  cursor: default;
}

.dish-details .dish-detail-body {
  padding: .8rem .35rem;
}

.dish-order-panel {
  padding: .65rem .75rem;
  border: 1px solid #d3e5d5;
  border-radius: 12px;
  background: #eef6ec;
}

.dish-order-panel .order-limit {
  margin: .55rem 0 0;
  padding-top: .55rem;
  border-top: 1px solid #d3e5d5;
}

.dish-order-panel > p {
  margin-top: .4rem;
  font-size: .82rem;
}

.dish-detail-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 30vh;
  overflow: hidden;
  border-radius: 14px;
  background: #e7eee3;
}

.cart-confirmation {
  display: flex;
  position: sticky;
  z-index: 2;
  bottom: 0;
  align-items: center;
  gap: .7rem;
  margin-top: .8rem;
  padding: .65rem;
  border-radius: 12px;
  background: var(--deep);
  color: white;
  box-shadow: 0 8px 24px #102b1e3b;
}

.cart-confirmation-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  border-radius: 50%;
  color: var(--deep);
  background: #ceeed4;
  font-weight: 800;
}

.cart-confirmation strong,
.cart-confirmation [role='status'] span {
  display: block;
}

.cart-confirmation [role='status'] span {
  color: #dbece0;
  font-size: .8rem;
}

.cart-confirmation button {
  margin-left: auto;
  padding: .45rem .65rem;
  border: 0;
  border-radius: .45rem;
  background: #ceeed4;
  color: var(--deep);
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 800;
}

.cart-confirmation button:hover {
  background: #e4f2e8;
}

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

@media (prefers-reduced-motion: reduce) {
  .restaurant-photo img,
  .dish-photo {
    transition: none;
  }

  .restaurant-photo:is(:hover, :focus-visible) :is(img, .dish-photo) {
    transform: none;
  }
}

.order-limit {
  display: grid;
  width: 100%;
  gap: .3rem;
  margin: .65rem 0;
  color: var(--muted);
  font-size: .82rem;
}

.order-limit strong {
  color: var(--deep);
}

.order-limit [role='status']:empty {
  margin-top: -.3rem;
}

.order-limit [role='status']:not(:empty) {
  color: var(--deep);
  font-weight: 800;
}

.order-limit progress {
  display: block;
  width: 100%;
  height: .4rem;
  accent-color: var(--green);
}

.dish-photo-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 1.75rem .75rem .7rem;
  background: linear-gradient(transparent, #10271be0);
}

.dish-photo-caption .dish-type {
  padding: .35rem .55rem;
  border-radius: 999px;
}

.dish-price-chip {
  padding: .35rem .65rem;
  border-radius: 999px;
  background: #fff1df;
  color: #743c00;
  font-size: .8rem;
  font-weight: 800;
}

.dish-quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  width: 100%;
}

.dish-quantity strong,
.dish-quantity small {
  display: block;
}

.dish-quantity strong {
  color: var(--deep);
  font-size: 1.15rem;
}

.dish-quantity .stepper span {
  min-width: 2ch;
  text-align: center;
  font-weight: 800;
}

.cart-dialog {
  --cart-padding: clamp(12px, 3vw, 22px);
  width: min(640px, calc(100% - 24px));
  max-height: 88vh;
  max-height: 88dvh;
  padding: 0 var(--cart-padding) var(--cart-padding);
  background: #f5f8f3;
  scrollbar-width: none;
}

.cart-dialog::-webkit-scrollbar {
  display: none;
}

.cart-dialog .dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 calc(-1 * var(--cart-padding)) 12px;
  padding: var(--cart-padding);
  border-bottom: 1px solid var(--line);
  background: #f5f8f3;
}

.cart-dialog :is(input, button) {
  scroll-margin-top: 88px;
}

.cart-section,
.cart-dialog .payment-methods,
.cart-empty,
.cart-dialog .pending-payment {
  margin: 0 0 .75rem;
  padding: clamp(.75rem, 3vw, 1rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.cart-section:last-child,
.cart-empty:last-child {
  margin-bottom: 0;
}

.cart-empty {
  display: grid;
  justify-items: start;
  gap: .75rem;
}

.cart-item-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cart-item-photo {
  position: relative;
  width: clamp(38px, 9vw, 56px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #e7eee3;
}

.cart-item-name strong,
.cart-item-name small {
  display: block;
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: .2rem;
}

.cart-item-actions .stepper {
  gap: .3rem;
  font-size: .88rem;
  font-weight: 800;
}

.cart-item-actions .stepper button {
  min-width: 34px;
  min-height: 34px;
}

.cart-item-actions > strong {
  color: var(--green);
}

.cart-dialog #checkout input:not([type='radio']) {
  padding: .65rem;
  background: #f8faf6;
}

.cart-dialog #checkout .payment-choice {
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.cart-dialog #checkout .payment-choice:has(input:checked) {
  border-color: #8ab293;
  background: #eef6ec;
}

.cart-dialog #checkout .payment-choice input {
  accent-color: var(--green);
}

.cart-payment-symbol {
  display: grid;
  min-width: 2.1rem;
  min-height: 1.7rem;
  place-items: center;
  border-radius: 6px;
  background: #e4f2e8;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
}

.cart-bill {
  display: grid;
  gap: .3rem;
  margin: .8rem 0 0;
}

.cart-bill > div {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}

.cart-bill dd {
  margin: 0;
  font-weight: 700;
}

.cart-total {
  margin-top: .25rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line);
  color: var(--deep);
  font-size: 1.12rem;
  font-weight: 800;
}

.cart-submit {
  width: 100%;
  margin-top: .75rem;
  white-space: normal;
}

@media (max-width: 350px) {
  .cart-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cart-item-actions {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.orders-dialog {
  width: min(670px, calc(100% - 24px));
  padding: clamp(14px, 3vw, 24px);
  background: #f5f8f3;
  scrollbar-width: none;
}

.orders-dialog::-webkit-scrollbar {
  display: none;
}

.orders-cart-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: .9rem;
  padding: .75rem;
  border: 1px solid #a8c6ae;
  border-radius: 12px;
  background: #e9f4e9;
  color: var(--deep);
}

.orders-cart-full p {
  margin-top: .15rem;
  font-size: .85rem;
}

.order-count,
.order-quantity {
  display: inline-block;
  padding: .15rem .4rem;
  border-radius: 6px;
  background: #e8f2e9;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
}

.customer-order {
  padding: clamp(.8rem, 3vw, 1.1rem);
}

.customer-order .card-title {
  flex-wrap: wrap;
}

.order-status-active {
  background: #fff0dc;
  color: #743c00;
}

.order-items {
  display: grid;
  gap: .45rem;
  margin: .85rem 0;
  padding: 0;
  list-style: none;
}

.order-items li,
.order-payment,
.order-delivery-code {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.order-payment {
  justify-content: space-between;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: #f3f7ef;
  color: var(--green);
}

.order-tracking {
  margin-top: .9rem;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fbf7;
}

.order-tracking h4 {
  margin: 0;
}

.order-tracking .delivery-timeline {
  margin: .7rem 0 0;
}

.order-delivery-code {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: .65rem;
  padding: .55rem .75rem;
  border-radius: 9px;
  background: #fff0dc;
  color: #743c00;
}

.order-delivery-code small {
  display: block;
}

.order-delivery-code > strong {
  font-size: 1.2rem;
  letter-spacing: .18em;
}

.orders-empty {
  display: grid;
  justify-items: start;
  gap: .55rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.order-review.rating-card {
  padding: .8rem;
  border: 1px solid #9fbea8;
  border-inline-start: 4px solid var(--green);
  border-radius: 12px;
  background: linear-gradient(140deg, #e1f1e3, #f5faf3 72%);
}

.rating-card h4,
.rating-card summary {
  color: var(--deep);
}

.rating-card summary {
  border-radius: 6px;
}

.rating-card summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.rating-scale {
  min-inline-size: 0;
  margin: 0;
  padding: .35rem 0 .25rem;
  border: 0;
}

.rating-scale legend {
  padding: .1rem .4rem;
  border-radius: 6px;
  background: #d3ead8;
  color: var(--deep);
  font-weight: 800;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .35rem;
}

.rating-card form .rating-option {
  position: relative;
  justify-items: center;
  gap: 0;
  padding: .3rem .12rem;
  border: 1px solid #d3e3d1;
  border-radius: 8px;
  background: #e4f2e8;
  color: var(--green);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.rating-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.rating-option > span {
  font-size: 1.25rem;
  line-height: 1.2;
}

.rating-card form .rating-option:hover {
  transform: translateY(-2px);
}

.rating-option:hover > span,
.rating-option:has(input:checked) > span {
  color: var(--orange);
}

.rating-card form .rating-option:has(input:checked) {
  background: #cce9d2;
  border-color: #87aa91;
}

.rating-card form .rating-option:has(input:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.rating-card textarea {
  border-color: #9fbea8;
}

@media (prefers-reduced-motion: reduce) {
  .rating-card form .rating-option {
    transition: none;
  }

  .rating-card form .rating-option:hover {
    transform: none;
  }
}

html:has(.operations-workspace) {
  scrollbar-width: none;
}

html:has(.operations-workspace)::-webkit-scrollbar {
  display: none;
}

:is(.dispatch-header, .operations-workspace .workspace) {
  padding: clamp(1.1rem, 4vw, 2.25rem);
  border-radius: 18px;
  background: linear-gradient(120deg, var(--deep), var(--green));
  color: white;
}

.dispatch-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

:is(.dispatch-header, .operations-workspace .workspace) h1 {
  font-size: clamp(2rem, 5vw, 3.55rem);
}

.dispatch-header p,
.operations-workspace .workspace p:not(.eyebrow) {
  margin-top: .45rem;
  color: #e0eee3;
}

.operations-workspace .workspace .eyebrow {
  color: #cce8d2;
}

.dispatch-status {
  display: grid;
  gap: .3rem;
  min-width: 8rem;
  padding: .65rem .85rem;
  border: 1px solid #ffffff50;
  border-radius: 12px;
  background: #ffffff12;
  font-size: .85rem;
}

.dispatch-status strong::before,
.dispatch-event-dot {
  display: inline-block;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: #aebcb2;
}

.dispatch-status strong::before {
  content: '';
  margin-inline-end: .45rem;
}

.dispatch-status strong[data-online='true']::before {
  background: #a9e5b6;
}

.dispatch-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0;
}

:is(.dispatch-metrics, .operations-workspace .metrics) > div {
  padding: clamp(.6rem, 2.5vw, 1.1rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eef6ee;
}

.operations-workspace :is(.tickets, .metrics) {
  gap: .75rem;
}

.operations-workspace .ticket {
  border-radius: 14px;
}

.operations-workspace .ticket .card-title,
.operations-workspace .section-head {
  flex-wrap: wrap;
}

.operations-workspace .discovery-filters {
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eef6ee;
}

.operations-workspace .finance-table thead {
  background: #eef6ee;
  color: var(--deep);
}

.dispatch-metrics dt {
  font-size: .88rem;
  color: var(--muted);
}

.dispatch-metrics dd {
  margin: .15rem 0 0;
  color: var(--green);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
}

.dispatch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.dispatch-grid .activity-panel {
  margin: 0;
}

.dispatch-grid h2 {
  margin-bottom: .65rem;
}

.dispatch-events ol {
  max-height: none;
  overflow: visible;
}

.dispatch-events li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: .6rem;
}

.dispatch-event-dot[data-kind='online'] {
  background: #4f9d67;
}

.dispatch-event-dot[data-kind='delivery'] {
  background: var(--green);
}

.dispatch-events li small {
  display: block;
}

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

  .dispatch-grid .tracking-panel {
    grid-row: 1;
  }
}

.restaurant-stock ul {
  margin: .45rem 0 0;
  padding: 0;
  list-style: none;
}

.restaurant-stock li + li {
  border-top: 1px solid var(--line);
}

.stock-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  min-height: 3rem;
  padding: .35rem 0;
  cursor: pointer;
}

.stock-toggle strong,
.stock-toggle small {
  display: block;
}

.stock-toggle input {
  appearance: none;
  position: relative;
  flex: none;
  width: 2.55rem;
  height: 1.45rem;
  margin: 0;
  border: 1px solid #8ca797;
  border-radius: 999px;
  background: #e5eee6;
  cursor: pointer;
}

.stock-toggle input:checked {
  border-color: var(--green);
  background: var(--green);
}

.stock-toggle input::before {
  position: absolute;
  inset: .15rem auto .15rem .15rem;
  width: 1.05rem;
  border-radius: 50%;
  background: white;
  content: '';
}

.stock-toggle input:checked::before {
  inset-inline: auto .15rem;
}

.stock-toggle input:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.finance-periods {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1rem;
}

:is(.restaurant-header, .restaurant-workspace) :is(.outline, .quiet):hover:enabled,
.restaurant-workspace select:hover:enabled {
  color: #276b48;
}

.restaurant-workspace .outline:hover:enabled {
  background: #f3f8f3;
}

.restaurant-header .quiet:hover:enabled,
.restaurant-header nav a:hover:not([aria-current]) {
  background: transparent;
  color: #276b48;
}

.restaurant-header nav a[aria-current]:hover,
.restaurant-workspace .stock-toggle:hover:has(input:enabled) :is(strong, small) {
  color: #276b48;
}

.restaurant-workspace .primary:hover:enabled {
  background: var(--green);
  color: #cce9d2;
}


.rider-tools {
  align-items: stretch;
  margin-bottom: 1rem;
}

.rider-tools .rider-availability {
  display: grid;
  align-content: start;
  gap: .7rem;
  padding: clamp(.9rem, 3vw, 1.2rem);
  border: 1px solid #bed6c3;
  border-radius: 14px;
  background: linear-gradient(125deg, #e5f3e7, #f8fbf7);
}

.availability-heading,
.availability-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.rider-tools .availability-heading h2 {
  margin: 0;
}

.rider-availability p {
  color: var(--muted);
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .25rem .6rem;
  background: #eef1ee;
  color: #3f5046;
  font-size: .82rem;
  font-weight: 800;
}

.availability-status[data-online='true'] {
  background: #cce9d2;
  color: var(--deep);
}

.availability-status::before {
  width: .48rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.availability-switch {
  justify-self: start;
  min-height: 36px;
  padding: .3rem .5rem;
  border: 1px solid #9fbda7;
  border-radius: 10px;
  background: white;
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
}

.availability-switch:hover:enabled {
  background: #edf7ee;
}

.availability-track {
  display: flex;
  flex: none;
  align-items: center;
  width: 2.1rem;
  height: 1.15rem;
  padding: .15rem;
  border-radius: 999px;
  background: #76877b;
}

.availability-track > span {
  width: .85rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
}

.availability-switch[aria-checked='true'] .availability-track {
  justify-content: end;
  background: var(--green);
}

.rider-tools .tracking-panel input {
  width: min(100%, 16rem);
}

@media (max-width: 760px) {
  .rider-tools .tracking-panel {
    grid-row: auto;
  }
}

.cart-replacement {
  position: sticky;
  z-index: 2;
  bottom: 0;
  margin-top: .75rem;
  padding: .75rem;
  border: 1px solid #a8c6ae;
  border-radius: 12px;
  background: #eef6ec;
  color: var(--deep);
  box-shadow: 0 8px 24px #102b1e26;
}

.cart-replacement .card-actions {
  margin-top: .55rem;
}

.account-page {
  --account-pattern: radial-gradient(circle, #1d684c24 1px, transparent 1.5px);
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-items: center;
  padding: clamp(1.25rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 12% 12%, #b9deca 0, transparent 45%),
    radial-gradient(ellipse at 89% 90%, #f6e3bc 0, transparent 47%),
    var(--account-pattern) 0 0 / 16px 16px,
    linear-gradient(145deg, #e2efe5, #faf7ee 50%, #eaf2df);
}

.account-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 22px 56px #103b2a22, 0 4px 14px #103b2a12;
}

.account-cover {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  background: linear-gradient(165deg, #103b2ad9, #103b2a25 50%, #10271bf0),
    url('https://images.unsplash.com/photo-1547592180-85f173990554?w=900&auto=format&fit=crop') center / cover,
    var(--deep);
  color: white;
}

.account-cover-caption {
  display: grid;
  gap: .15rem;
}

.account-cover-caption strong {
  font-size: 1.7rem;
  line-height: 1.2;
}

.account-content {
  min-width: 0;
  padding: clamp(1.2rem, 3.5vw, 2rem);
  background: linear-gradient(160deg, #f3faf2, white 48%);
}

.account-heading {
  margin-bottom: 1.15rem;
}

.account-heading::before {
  display: block;
  width: 2.2rem;
  height: .3rem;
  margin-bottom: .65rem;
  border-radius: 999px;
  background: var(--green);
  content: '';
}

.account-heading h1 {
  color: var(--deep);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.account-heading p {
  margin-top: .55rem;
  color: var(--muted);
}

.account-cover a,
.account-alternate a {
  width: fit-content;
  text-decoration: underline;
}

.account-card form {
  display: grid;
  gap: .85rem;
}

.account-contact-fields {
  display: grid;
  gap: .85rem;
}

.account-card label {
  display: grid;
  gap: .32rem;
  color: var(--deep);
  font-size: .88rem;
  font-weight: 700;
}

.account-card input {
  width: 100%;
  min-height: 2.65rem;
  padding: .55rem .7rem;
  border: 1px solid #9fbea8;
  border-radius: 10px;
  background: white;
}

.account-phone {
  display: flex;
  align-items: center;
  border: 1px solid #9fbea8;
  border-radius: 10px;
  background: white;
}

.account-phone > span {
  flex: none;
  padding: 0 .55rem;
  border-inline-end: 1px solid var(--line);
  color: var(--green);
}

.account-phone input {
  min-width: 0;
  border: 0;
}

.account-phone:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.account-phone input:focus-visible {
  outline: none;
}

.account-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 2.8rem;
  margin-top: .3rem;
}

.account-submit span {
  font-size: 1.15rem;
  line-height: 1;
}

@media (min-width: 740px) {
  .account-contact-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .account-card {
    grid-template-columns: 1fr;
  }

  .account-cover {
    min-height: 160px;
  }
}

.account-card [role='alert'] {
  padding: .55rem .7rem;
  border-radius: 8px;
  background: #fff0ed;
  color: #852825;
}

.account-text-link {
  justify-self: start;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
}

.account-message {
  padding: .75rem;
  border: 1px solid #bed6c3;
  border-radius: 10px;
  background: #eaf5eb;
  color: var(--deep);
}

.account-alternate {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.account-alternate a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 420px) {
  .site-actions > a.quiet {
    padding-inline: 5px;
  }
}

.address-card {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
}

.address-side {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background:
    repeating-radial-gradient(ellipse at 112% 83%, transparent 0 22px, #ffffff14 23px 24px),
    linear-gradient(145deg, var(--deep), #1c6549);
  color: white;
}

.address-side a {
  width: fit-content;
  text-decoration: underline;
}

.address-side a:focus-visible {
  outline-color: white;
}

.address-side h1 {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
}

.address-side p {
  margin-top: .55rem;
  color: #deefe1;
}

.address-field-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 8rem);
  gap: .65rem;
}

@media (max-width: 600px) {
  .address-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .address-field-pair {
    grid-template-columns: 1fr;
  }
}

.policy-page {
  width: min(900px, calc(100% - 28px));
}

.policy-page .workspace > a {
  display: inline-block;
  margin-bottom: .65rem;
}

.policy-page .ticket + .ticket {
  margin-top: .75rem;
}

.policy-page a,
.menu-policy-link,
.checkout-policy a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.menu-policy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin: .75rem 0;
  padding: .6rem .75rem;
  border: 1px solid #bfd5c3;
  border-radius: 10px;
  background: #eef6ec;
  color: var(--deep);
  font-size: .82rem;
}

.menu-policy-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
}

.menu-policy-label > span {
  display: grid;
  width: 1.15rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #d4e8d7;
  font-family: Georgia, serif;
  line-height: 1;
}

.menu-policy-link {
  font-weight: 700;
}

.menu-policy-link:hover {
  color: var(--deep);
  text-decoration-thickness: 2px;
}

.checkout-policy {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .82rem;
}

.compliance-topics a.outline {
  max-width: 100%;
  white-space: normal;
}

.site-footer {
  border-top: 1px solid #285a42;
  padding: clamp(.5rem, 1.5vw, 1rem) 0;
  background: radial-gradient(ellipse at 0 100%, #1d6045, transparent 54%), var(--deep);
  color: #e0eee3;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
  gap: .85rem clamp(.75rem, 3vw, 1.8rem);
}

.footer-layout-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

.footer-layout:not(.footer-layout-workspace) {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.15fr);
}


.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .35rem;
  text-decoration: none;
}

.footer-brand-lockup:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.footer-brand-lockup img {
  width: 40px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}

.footer-brand strong {
  display: block;
  color: white;
  font-size: 1.45rem;
  line-height: 1.15;
}

.footer-links h2 {
  color: white;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-links {
  display: block;
  margin: 0;
  padding-inline-start: clamp(.65rem, 2vw, 1.1rem);
  border-inline-start: 1px solid #ffffff36;
}

.footer-links ul {
  display: grid;
  gap: .05rem .6rem;
  margin: .3rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-layout-workspace .footer-links ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a:hover,
.footer-links a[aria-current='page'] {
  background: transparent;
  color: white;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: .15rem .1rem;
  border-radius: 5px;
  color: #e0eee3;
  font-weight: 600;
  white-space: normal;
}

.footer-links a:focus-visible {
  outline-color: #cce9d2;
}

.footer-contact a {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  width: 100%;
  min-height: 28px;
  gap: .4rem;
  overflow-wrap: anywhere;
}

.footer-contact-label {
  color: #b9d8c4;
  font-size: .76rem;
  font-weight: 700;
}

.policy-page .workspace {
  background: linear-gradient(120deg, var(--deep), var(--green));
  color: white;
}

.policy-page .workspace :is(a, p) {
  color: #e0eee3;
}

.policy-page .workspace a:focus-visible {
  outline-color: #cce9d2;
}

.policy-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1rem;
}

.policy-navigation a {
  border: 1px solid #a4c1aa;
  background: #eef6ee;
  text-decoration: none;
}

.policy-navigation a:hover {
  background: #cce9d2;
}

.policy-page .ticket {
  border-inline-start: 4px solid #87aa91;
  scroll-margin-top: 1rem;
}

@media (min-width: 661px) and (max-width: 900px) {
  .footer-layout:not(.footer-layout-workspace) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .site-footer {
    padding-block: .45rem;
    font-size: .8rem;
  }

  .footer-layout:not(.footer-layout-workspace) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: .25rem;
    border-top: 1px solid #ffffff36;
  }

  .footer-links.footer-contact a {
    display: grid;
    min-height: 28px;
  }

  .footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem .65rem;
  }

  .footer-layout-workspace .footer-links {
    grid-column: 1 / -1;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .2rem .55rem;
    grid-column: 1 / -1;
    padding-bottom: .25rem;
    border-bottom: 1px solid #ffffff36;
  }

  .footer-brand-lockup {
    margin: 0;
  }

  .footer-brand-lockup img {
    width: 31px;
    height: 27px;
  }

  .footer-brand strong {
    font-size: 1.2rem;
  }

  .footer-links {
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .footer-links a {
    display: flex;
    min-height: 26px;
    padding: .14rem .12rem;
    font-size: .8rem;
  }

  .footer-links ul {
    margin-top: .2rem;
  }
}


.customer-header {
  background: #fffefa;
}

.customer-header .top {
  min-height: 72px;
}

.customer-header .site-actions .primary {
  border-radius: 999px;
  padding-inline: 1rem;
}

.customer-storefront .hero {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: clamp(360px, 34vw, 510px);
  border-radius: clamp(19px, 3vw, 36px);
  background: radial-gradient(ellipse at 0 100%, #1d6045, transparent 65%), var(--deep);
  box-shadow: 0 22px 48px #103b2a24, 0 4px 12px #103b2a14;
  isolation: isolate;
}

.customer-storefront .hero::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid #d7e9d34d;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 #ffffff22;
  pointer-events: none;
  content: '';
}

.customer-storefront .hero-copy {
  align-self: center;
}

.customer-storefront .hero h1 {
  color: #fff9ed;
  font-family: Georgia, serif;
  font-size: clamp(2.55rem, 5.25vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -.065em;
}

.customer-storefront .hero em {
  color: #f8d095;
  font-style: italic;
}

.customer-storefront .hero .eyebrow {
  color: #cfe4d2;
  letter-spacing: .19em;
}

.customer-storefront .hero-image {
  background-image: linear-gradient(90deg, var(--deep), transparent 23%),
    url('https://images.unsplash.com/photo-1546833999-b9f581a1996d?w=1400&auto=format&fit=crop');
}
.customer-storefront .search {
  max-width: 490px;
  padding: .3rem .3rem .3rem .75rem;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 0 0 1px #ffffff40, 0 8px 22px #09221855;
}

.customer-storefront .search:focus-within {
  box-shadow: 0 0 0 2px #cce9d2, 0 8px 22px #09221855;
}

.customer-storefront .search input:focus-visible {
  outline-offset: 0;
  outline-width: 2px;
}

.customer-storefront .search button {
  padding: .55rem .75rem;
  border-radius: 999px;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.restaurant-discovery #nearby:focus {
  outline: none;
}

.customer-storefront .search button:is(:hover, :focus-visible) {
  background: #236646;
  box-shadow: 0 3px 8px #103b2a40;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .customer-storefront .search button:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-storefront .search button {
    transition: none;
  }
}

.customer-storefront .cravings {
  margin: clamp(1.75rem, 4vw, 3.5rem) 0;
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.customer-storefront .cravings h2 {
  color: var(--deep);
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

.customer-storefront .categories {
  flex-wrap: nowrap;
  gap: .8rem clamp(.5rem, 2.25vw, 1.75rem);
  margin-top: 1rem;
  padding: .35rem .3rem .5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #a6bfae transparent;
}

.customer-storefront .categories button {
  flex: none;
  gap: .5rem;
  min-width: 64px;
  white-space: nowrap;
}

.customer-storefront .category-photo {
  width: 48px;
  border: 1px solid #ffffffb3;
  box-shadow: 0 0 0 1px #c9d9cd, 0 4px 9px #103b2a24;
  transition: box-shadow .18s ease, transform .18s ease;
}

.customer-storefront .categories button:hover .category-photo {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px #a6bfae, 0 6px 12px #103b2a30;
}

.customer-storefront .categories button[aria-pressed='true'] > span:last-child {
  text-decoration: underline;
  text-decoration-color: #94b8a0;
  text-underline-offset: .23rem;
}

@media (prefers-reduced-motion: reduce) {
  .customer-storefront .category-photo {
    transition: none;
  }

  .customer-storefront .categories button:hover .category-photo {
    transform: none;
  }
}

.restaurant-discovery .section-head {
  align-items: baseline;
  flex-wrap: wrap;
}

.restaurant-discovery .restaurant-result-count {
  margin: 0;
  font-size: .85rem;
  font-weight: 700;
}

.restaurant-discovery .discovery-filters {
  align-items: center;
  flex-wrap: nowrap;
  gap: .55rem clamp(.65rem, 2vw, 1.1rem);
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f1f6ee;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #a6bfae transparent;
}

.restaurant-discovery .discovery-filters > label {
  flex: none;
  white-space: nowrap;
}

.restaurant-discovery .card {
  display: flex;
  flex-direction: column;
  border-radius: 19px;
  box-shadow: 0 5px 16px #103b2a0c;
}

.restaurant-discovery .view-menu-button:is(:hover, :focus-visible) {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.restaurant-discovery .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.restaurant-discovery .card-body .card-actions {
  margin-top: auto;
}

.restaurant-discovery .card-body h3 {
  font-size: 1.25rem;
}

.restaurant-discovery .card-photo > span:not(.dish-photo) {
  border-radius: 999px;
  background: #fffefa;
}

.restaurant-discovery .card-body .outline {
  border-radius: 999px;
}

@media (max-width: 660px) {
  .customer-storefront .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .customer-storefront .hero-image {
    height: 145px;
    background-image: linear-gradient(180deg, var(--deep), transparent 35%),
      url('https://images.unsplash.com/photo-1546833999-b9f581a1996d?w=800&auto=format&fit=crop');
  }

  .customer-storefront .search {
    gap: .4rem;
  }

  .customer-storefront .search > span {
    display: none;
  }
}

.storefront-offer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  margin-top: 1.25rem;
  padding: clamp(.85rem, 2.5vw, 1.35rem);
  scroll-margin-top: 1rem;
  border: 1px solid #b9d2bf;
  border-radius: 15px;
  background: linear-gradient(110deg, #e5f3e7, #f7faf4);
  color: var(--deep);
}

.storefront-offer h2 {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
}

.storefront-offer p {
  margin-top: .2rem;
  color: var(--muted);
}

.storefront-offer code {
  padding: .45rem .65rem;
  border: 1px dashed #7ca389;
  border-radius: 8px;
  background: white;
  color: var(--green);
  font-weight: 800;
  letter-spacing: .04em;
}

.offer-code {
  margin-block: .35rem;
}

.offer-code > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}

.offer-code button {
  padding: .35rem .65rem;
}

.offer-code small {
  display: block;
}

.offer-code small:not(:empty) {
  margin-top: .25rem;
}

.storefront-offers {
  margin-top: 1.35rem;
}

.storefront-offers .storefront-offer {
  margin-top: .6rem;
}

.admin-offer-editor form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: .75rem;
  margin-top: .8rem;
}

.admin-offer-editor label {
  display: grid;
  gap: .3rem;
}

.admin-offer-editor :is(input, select) {
  width: 100%;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-image-upload {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.hero-image-upload input {
  max-width: 100%;
}

.hero-image-upload img {
  display: block;
  width: 100%;
  max-width: 360px;
  max-height: 180px;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
}

.hero-image-upload button {
  justify-self: start;
}

.admin-offer-editor .card-actions {
  grid-column: 1 / -1;
}

/* Shared responsive layout for the storefront and workspaces. */
.top > *,
.dispatch-grid > *,
.finance-periods > *,
.footer-layout > * {
  min-width: 0;
}

.top nav {
  flex-wrap: wrap;
  overflow: visible;
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.card-actions,
.order-actions {
  flex-wrap: wrap;
}

:is(.ticket, .activity-panel, .cart-section, .account-content) {
  overflow-wrap: anywhere;
}

:is(.ticket, .activity-panel, .order-actions, .storefront-offer) :is(.primary, .outline, .quiet) {
  max-width: 100%;
  white-space: normal;
}

.order-actions label,
.tracking-panel label {
  min-width: 0;
  max-width: 100%;
}

:is(.tracking-panel, .order-actions) :is(input, select) {
  max-width: 100%;
}

.table-scroll {
  max-width: 100%;
}

.table-scroll:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

body:has(dialog[open]) {
  overflow: hidden;
}

dialog {
  max-height: 85dvh;
  overscroll-behavior: contain;
}

.dialog-head > button {
  flex: none;
}

@media (min-width: 661px) and (max-width: 1024px) {
  .customer-storefront .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-workspace .metrics {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 1150px) {
  .top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(.4rem, 2vw, 1rem);
  }

  .top nav {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding-bottom: .3rem;
  }

  .top .site-actions {
    justify-self: end;
  }
}

@media (max-width: 660px) {
  .top {
    display: flex;
    flex-wrap: nowrap;
    gap: .35rem;
    min-height: 54px;
    padding-block: .25rem;
  }

  .customer-header .top {
    min-height: 54px;
  }

  .top > .location {
    display: none;
  }

  .top .brand img {
    width: 48px;
    height: 42px;
  }

  .top .site-actions {
    flex: none;
  }

  .customer-header .site-actions {
    gap: .15rem;
  }

  .customer-header .site-actions > * {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: .3rem;
    font-size: .78rem;
  }

  .customer-header .site-actions .primary {
    padding-inline: .5rem;
  }

  .top nav {
    order: 0;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    width: auto;
    gap: .15rem;
    padding-block: 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .top nav::-webkit-scrollbar {
    display: none;
  }

  .top nav a {
    flex: none;
    min-height: 44px;
    padding-inline: .45rem;
    font-size: .8rem;
  }

  .operations-workspace .discovery-filters > label {
    flex: 1 1 9rem;
  }

  .operations-workspace .discovery-filters select {
    width: 100%;
  }

  .dispatch-metrics {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 100px), 1fr));
  }

  .dispatch-events li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dispatch-events time {
    grid-column: 2;
  }

  .cart-dialog #checkout .payment-choice {
    min-height: 44px;
  }

  dialog:open {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  dialog .dialog-head button,
  dialog .stepper button {
    min-width: 44px;
    min-height: 44px;
  }

  :is(.customer-storefront, .operations-workspace, .account-page, dialog) :is(input:not([type='checkbox'],[type='radio']), select, textarea) {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .cart-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cart-item-actions {
    grid-column: 2;
  }

  .customer-header .site-actions .primary {
    padding-inline: .35rem;
  }
}

.customer-storefront .hero[data-palette='midnight'] {
  background: radial-gradient(ellipse at 0 100%, #345471, transparent 65%), #192c40;
}

.customer-storefront .hero[data-palette='spice'] {
  background: radial-gradient(ellipse at 0 100%, #854b31, transparent 65%), #48291e;
}

.hero-copy,
.hero-image {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image > img:not([hidden]) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-sponsor-link {
  display: inline-block;
  margin: .35rem 0 1rem;
  padding: .45rem .65rem;
  border: 1px solid #ffffff60;
  border-radius: 8px;
  color: white;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-sponsor-link:hover {
  background: #ffffff24;
}

.hero-sponsor-link:focus-visible,
.hero-theme-picker button:focus-visible {
  outline-offset: 2px;
}

.hero-sponsor-link:focus-visible {
  outline-color: white;
}

.hero-theme-picker {
  display: flex;
  gap: .5rem;
  margin-top: .65rem;
  padding: .25rem .25rem .45rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hero-theme-picker button {
  flex: none;
  min-height: 44px;
}

.hero-theme-picker button[aria-pressed='true'] {
  background: var(--green);
  color: white;
}
.delivery-coverage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.delivery-coverage h2 {
  font-size: 1rem;
  margin: 0;
}

.delivery-coverage p {
  margin: 4px 0 0;
}

.delivery-coverage-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
}

.delivery-coverage-controls input {
  width: 10rem;
  max-width: 100%;
}

.delivery-area-button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-align: left;
}

.delivery-area-button strong {
  display: block;
  max-width: clamp(4.75rem, 18vw, 12rem);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.delivery-address-form {
  display: grid;
  width: 100%;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
}

.delivery-address-form .delivery-coverage-controls {
  grid-column: 1 / -1;
}

.saved-address-list {
  display: grid;
  gap: .75rem;
  margin-bottom: 1rem;
}

.saved-address-list .ticket {
  overflow-wrap: anywhere;
}

.saved-address-list h2 {
  margin: 0;
  font-size: 1rem;
}

.saved-address-list h2 small {
  color: var(--muted);
}

#checkout select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-block: .3rem .5rem;
}

.delivery-address-form label {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: .3rem;
  font-weight: 700;
}

.delivery-address-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 660px) {
  .customer-header .top > .location {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    margin-inline: 0;
  }

  .customer-header .top .delivery-area-button {
    min-height: 44px;
    padding-inline: .25rem;
    white-space: nowrap;
  }

  .customer-header .delivery-area-button small {
    display: block;
    font-size: .62rem;
    letter-spacing: 0;
  }

  .customer-header .delivery-area-button strong {
    max-width: clamp(3.25rem, 18vw, 7rem);
    font-size: .75rem;
  }

  .customer-header .top nav {
    min-width: 2rem;
  }

  .customer-header .top nav .customer-nav-explore {
    display: none;
  }

  #delivery-area-title {
    scroll-margin-top: 5rem;
  }

  .delivery-coverage {
    padding: .875rem;
  }

  .delivery-address-form {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }

  .delivery-address-form input {
    font-size: 1rem;
  }

  #checkout .delivery-address-form label {
    margin-top: 0;
  }

  #checkout .delivery-address-form input {
    margin-top: 0;
  }

  .delivery-coverage-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-coverage-controls button {
    min-height: 44px;
    white-space: normal;
  }

  .delivery-coverage-controls .primary {
    grid-column: 1 / -1;
  }
}

.delivery-location-summary {
  margin: 0 0 .75rem;
  font-size: .875rem;
}

.delivery-availability-popup {
  position: fixed;
  z-index: 100;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  max-width: calc(100vw - 2rem);
  pointer-events: none;
}

.delivery-availability-popup p {
  margin: 0;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: var(--deep);
  color: white;
  box-shadow: 0 6px 24px rgb(0 0 0 / 18%);
}

.delivery-hero-popup-anchor {
  position: relative;
  z-index: 2;
}

.delivery-availability-popup-hero {
  position: absolute;
  inset: .75rem .75rem auto;
  display: flex;
  justify-content: center;
  max-width: none;
  text-align: center;
}
.order-updates-dot {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-inline-start: .2rem;
  border-radius: 50%;
  background: #ec741c;
}

.order-support form {
  display: grid;
  gap: .65rem;
  margin-block: .75rem;
}

.order-support :is(textarea,input,select) {
  display: block;
  width: 100%;
  min-height: 44px;
}

.support-messages {
  padding-inline-start: 1.25rem;
  overflow-wrap: anywhere;
}

.support-messages li {
  margin-block: .5rem;
}

.partner-form form {
  display: grid;
  gap: .75rem;
  margin-block: .75rem;
}

.partner-form :is(input:not([type="checkbox"]), select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
}

.partner-form label {
  min-width: 0;
}

.restaurant-workspace .partner-access {
  width: min(100%, 28rem);
  margin: clamp(.5rem, 3vw, 2rem) auto;
  padding: clamp(.875rem, 3vw, 1.75rem);
}

.restaurant-workspace .partner-access-application {
  width: min(100%, 44rem);
}

.partner-access h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.partner-access-application form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-access-wide {
  grid-column: 1 / -1;
}

.partner-access form label {
  display: grid;
  gap: .25rem;
}

.partner-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.partner-access-actions button {
  min-height: 44px;
}

@media (max-width: 560px) {
  .partner-access-application form {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-access-actions button {
    width: 100%;
  }
}

.partner-hours {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
}

.partner-dish-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: .5rem;
}

.partner-photo-input {
  display: grid;
  min-width: 0;
  gap: .45rem;
}

.partner-photo-preview {
  width: min(100%, 18rem);
  max-height: 11rem;
  object-fit: cover;
  border-radius: .5rem;
}

.restaurant-workspace :is(.partner-menu, .partner-schedule, .partner-finance, .partner-dashboard-heading),
.partner-operations .partner-application {
  min-width: 0;
  padding: clamp(.875rem, 3vw, 1.75rem);
  overflow-wrap: anywhere;
}

.restaurant-workspace :is(.partner-menu-grid, .partner-orders-grid),
.partner-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(.65rem, 2vw, 1rem);
}

.restaurant-workspace .partner-menu > form,
.partner-application > form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.restaurant-workspace .partner-menu > form > :is(.card-actions, label:has(textarea)),
.partner-application > form > button {
  grid-column: 1 / -1;
}

.partner-hours {
  min-width: 0;
  margin: 0;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-hours label:first-of-type {
  grid-column: 1 / -1;
}

.partner-finance .dispatch-metrics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
}

.partner-operations .partner-application {
  margin-top: .75rem;
}

@media (max-width: 660px) {
  .restaurant-header .top nav {
    overflow-x: auto;
    min-width: 0;
  }

  .restaurant-header .top nav a {
    padding-inline: clamp(.35rem, 2vw, .65rem);
  }

  .partner-form :is(input:not([type="checkbox"]), select, textarea) {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .restaurant-workspace .partner-menu > form,
  .partner-application > form {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(.partner-dashboard-heading, .partner-menu) .card-actions > button {
    flex: 1 1 auto;
    min-height: 44px;
  }
}

.commission-search {
  display: grid;
  gap: .35rem;
  margin-block: .75rem;
}

.commission-search input {
  width: min(100%, 28rem);
  min-height: 44px;
}

.delivery-live-map iframe {
  display: block;
  width: 100%;
  height: clamp(13rem, 42vh, 23rem);
  margin-top: .5rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
}

.joining-instructions {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin-navigation {
  display: none;
}

.admin-workspace {
  max-width: 96rem;
}

.admin-workspace :is(.ticket,.dispatch-grid,.tickets,.dispatch-metrics,.table-scroll) {
  min-width: 0;
}

.admin-workspace .tickets {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.admin-workspace .table-scroll {
  overscroll-behavior-inline: contain;
}

@media (max-width: 1200px) {
  html:has(.admin-header) {
    scroll-padding-top: 4.75rem;
  }

  .admin-header .top {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: .55rem;
    min-height: 58px;
    padding-block: .25rem;
  }

  .admin-header .top > :is(nav,.location) {
    display: none;
  }

  .admin-header .top .brand img {
    width: 50px;
    height: 44px;
  }

  .admin-navigation {
    display: block;
    flex: 1;
  }

  .admin-navigation > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    min-height: 44px;
    padding: .35rem .65rem;
    border: 1px solid var(--line);
    border-radius: .65rem;
    color: var(--deep);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
  }

  .admin-navigation summary::-webkit-details-marker {
    display: none;
  }

  .admin-header .admin-navigation > nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    gap: .25rem;
    width: 100%;
    max-height: 65dvh;
    margin: 0;
    padding: .5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    border-radius: .75rem;
    background: white;
    box-shadow: 0 8px 22px #103b2a26;
  }

  .admin-header .admin-navigation:not([open]) > nav {
    display: none;
  }

  .admin-header .site-actions button {
    min-height: 44px;
    padding-inline: .55rem;
  }
}

@media (max-width: 660px) {
  .admin-workspace .dispatch-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-workspace :is(.dispatch-header, .operations-workspace .workspace, .ticket) {
    padding: .875rem;
  }

  .admin-workspace :is(.discovery-filters, .finance-periods) {
    gap: .5rem;
  }

  .admin-workspace :is(.card-actions, .order-actions) button,
  .admin-workspace .admin-offer-editor input,
  .admin-workspace .admin-offer-editor select {
    min-height: 44px;
  }
}
.admin-access-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .35rem .5rem;
  max-width: 28rem;
}

.admin-access-field button {
  min-height: 44px;
}

.admin-access-field small {
  grid-column: 1 / -1;
}
.admin-permission-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .5rem;
  min-width: 0;
  margin: 0;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
}

.admin-permission-list label {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
}
.admin-signin {
  display: grid;
  align-items: center;
  justify-items: center;
  padding-block: clamp(1rem, 5vw, 3rem);
}

.admin-signin-card {
  width: min(100%, 28rem);
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: 1.15rem;
  box-shadow: 0 12px 32px #103b2a12;
}

.admin-signin-logo {
  display: block;
  object-fit: contain;
  margin-bottom: .65rem;
}

.admin-signin-card h1 {
  font-size: clamp(1.45rem, 5vw, 2rem);
}

.admin-signin-card form {
  gap: .95rem;
  margin-top: 1.15rem;
}

.admin-signin-card label {
  display: grid;
  gap: .3rem;
  font-weight: 750;
}

.admin-signin-card form input {
  min-height: 48px;
  padding: .65rem .8rem;
  border: 1px solid #afc2b5;
  border-radius: .65rem;
  background: #fff;
  font-size: 1rem;
}

.admin-signin-card .admin-access-field {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}

.admin-signin-card .admin-access-field > :is(label,button) {
  grid-area: 1 / 1;
}

.admin-signin-card .admin-access-field input {
  padding-inline-end: 4.5rem;
}

.admin-signin-card .admin-access-field button {
  z-index: 1;
  justify-self: end;
  align-self: end;
  min-width: 3.6rem;
  min-height: 44px;
  margin: 0 .2rem 2px 0;
  padding-inline: .5rem;
}

.admin-signin-card .admin-signin-submit {
  width: 100%;
  min-height: 46px;
}

.delivery-google-map {
  width: 100%;
  min-height: 240px;
  margin-top: .75rem;
  border-radius: .9rem;
  overflow: hidden;
}

.rider-footer {
  padding: 0;
  background: var(--deep);
  border-top: 1px solid #285a42;
  color: #ebf5ee;
}

.rider-footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .65rem 1rem;
  padding-block: .75rem;
  padding-bottom: max(.75rem, env(safe-area-inset-bottom));
}

.rider-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  justify-self: start;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.rider-footer-brand img {
  flex: none;
  object-fit: contain;
  border-radius: 9px;
  background: white;
}

.rider-footer-brand strong,
.rider-footer-brand small {
  display: block;
  line-height: 1.25;
}

.rider-footer-brand small {
  color: #b9d5c5;
  font-size: .72rem;
}

.rider-footer-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem;
  min-width: 0;
  border: 1px solid #39634f;
  border-radius: 12px;
}

.rider-footer-nav a,
.rider-footer-support {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  min-width: 0;
  padding: .35rem .75rem;
  border-radius: 8px;
  color: inherit;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.rider-footer-nav a[aria-current="page"] {
  background: #ffead7;
  color: #713407;
}

.rider-footer-support {
  justify-self: end;
  color: #ffd6ad;
}

.rider-footer a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.rider-footer a:focus-visible {
  outline: 2px solid #ffd6ad;
  outline-offset: 2px;
}

.rider-footer-support-short {
  display: none;
}

@media (max-width: 600px) {
  .rider-footer-layout {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .25rem;
    padding-block: .25rem;
    padding-bottom: max(.25rem, env(safe-area-inset-bottom));
  }

  .rider-footer-brand {
    min-width: 44px;
    justify-content: center;
  }

  .rider-footer-brand img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .rider-footer-brand > span,
  .rider-footer-support-label {
    display: none;
  }

  .rider-footer-nav {
    gap: .1rem;
    padding: 0;
    border-color: transparent;
  }

  .rider-footer-nav a {
    flex: 1 1 auto;
    padding-inline: .3rem;
  }

  .rider-footer-support {
    min-width: 44px;
    padding-inline: .15rem;
    gap: .15rem;
  }

  .rider-footer-support-short {
    display: inline;
  }
}

#root:has(> .rider-footer) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

#root > .rider-footer {
  flex: none;
  margin-top: auto;
}
