/* =========================================================
   PathGo — campus delivery pilot, UW–Green Bay
   Responsive campus storefront
   ========================================================= */

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  line-height: 1.5;
  height: 100%;
}
html {
  scroll-padding-top: 140px;
  -webkit-text-size-adjust: 100%;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Utility */
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  z-index: 999;
}

/* PathGo campus theme — optimised v2 */
:root {
  --bg: #fcfbf7;
  --text: #173f32;
  --muted: #68766d;
  --stroke: #e3e7df;
  --green: #164c3b;
  --lime: #d9f28a;
  --surface: #f0f3e6;
  --shadow: none;
  --radius: 20px;
  --gap: 22px;
  --page-gutter: max(5vw, env(safe-area-inset-left), env(safe-area-inset-right));
}
body {
  background: var(--bg);
  min-height: 100%;
  height: auto;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
body.has-cart-dock {
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a:hover {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #72962a;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1240px, calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fcfbf7f5;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.topbar__inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -1.7px;
  gap: 11px;
}
.brand-period {
  color: #91b94a;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--lime);
  width: 37px;
  height: 38px;
  border-radius: 12px;
  font-size: 32px;
  position: relative;
}
.brand-mark span {
  position: absolute;
  right: 3px;
  top: 0;
  font-size: 15px;
}
.nav {
  display: flex;
  gap: 22px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  padding: 12px 3px;
  border-radius: 0;
  color: #69766d;
}
.nav__link.is-active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
.campus-label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
}
.bag-button {
  min-height: 44px;
  min-width: 64px;
  padding: 0 15px;
  border: 1px solid var(--stroke);
  background: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mode-banner {
  background: #edf2e4;
  font-size: 12px;
  padding: 10px 0;
  color: #45604c;
}
.mode-banner > .container {
  display: flex;
  align-items: center;
  gap: 9px;
}
.mode-banner a {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tiny-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background: #6f9c45;
  border-radius: 100%;
}
.hero {
  display: grid;
  overflow: hidden;
  margin-top: 35px;
  padding: 54px 50px;
  background: #f0f2e5;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
  min-height: 450px;
  grid-template-columns: 1.05fr 1fr;
  gap: 15px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 750;
  display: block;
  line-height: 1.5;
}
.hero h1 {
  font-size: clamp(42px, 4.7vw, 67px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -3px;
  margin: 21px 0 20px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #729041;
}
.hero p {
  font-size: 16px;
  max-width: 36ch;
  line-height: 1.8;
  color: #687261;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 14px 19px;
  min-height: 45px;
  border-radius: 9px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 650;
  justify-content: center;
}
.btn--primary {
  background: var(--green);
  color: white;
}
.btn--primary span {
  margin-left: 15px;
}
.btn--secondary {
  background: transparent;
  border: 1px solid #c8d2bc;
  color: var(--text);
}
.btn:hover {
  filter: brightness(1.08);
  box-shadow: none;
}
.hero-foot {
  margin-top: 29px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6a7564;
}
.hero-foot strong {
  color: #40513b;
  font-weight: 600;
}
.line-icon {
  font-size: 25px;
  color: #789054;
}
.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  position: relative;
}
.hero-art {
  height: 100%;
  min-height: 330px;
  width: 100%;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px solid #d5ddc4;
  border-radius: 50%;
  width: 330px;
  height: 330px;
  transform: rotate(-20deg);
}
.orbit-two {
  width: 430px;
  height: 210px;
  transform: rotate(-26deg);
}
.robot-art {
  width: 105%;
  max-height: 325px;
  object-fit: contain;
  z-index: 1;
  transform: rotate(-5deg);
}
.floating-label {
  position: absolute;
  z-index: 2;
  background: #fffdfa;
  border: 1px solid #e5e8dc;
  box-shadow: 0 6px 20px #24482008;
  border-radius: 10px;
  font-size: 10px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.label-top {
  top: -4px;
  right: 13px;
  transform: rotate(4deg);
}
.label-bottom {
  bottom: 10px;
  left: 0;
  transform: rotate(-4deg);
  font-weight: 650;
}
.label-bottom small {
  display: block;
  font-size: 8px;
  color: #7b8575;
  font-weight: 400;
  margin-top: 5px;
}
.parcel-icon {
  background: #f0f4de;
  border-radius: 8px;
  padding: 8px;
  font-size: 18px;
}
.art-note {
  position: absolute;
  bottom: -26px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #778266;
}
.benefits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 10px;
  border-bottom: 1px solid var(--stroke);
  font-size: 11px;
  gap: 12px;
}
.benefits b {
  font-size: 10px;
  color: #88a150;
  margin-right: 8px;
}
.pilot-badge {
  font-size: 8px;
  letter-spacing: 1.2px;
  border: 1px solid #cbd6bc;
  border-radius: 5px;
  padding: 7px 9px;
}
.section {
  margin-top: 48px;
}
.section__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.section__title {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin: 9px 0 24px;
  font-weight: 650;
}
.search {
  display: flex;
  align-items: center;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 0 12px;
  gap: 3px;
}
.search__input {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-width: 0;
  height: 48px;
  width: 230px;
  padding-left: 8px;
  font-size: 16px;
}
.clear-search {
  border: 0;
  background: transparent;
  color: var(--text);
  min-width: 44px;
  min-height: 44px;
  font-size: 24px;
}
.menu-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-toggle {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: white;
  color: var(--text);
  font-size: 14px;
}
.filter-toggle[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.sort-control select {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 28px 8px 12px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: white;
  color: var(--text);
  font-size: 16px;
}
.browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin: 0 0 23px;
}
.categories {
  display: flex;
  gap: 9px;
  max-width: 100%;
  flex-wrap: wrap;
}
.cat {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 25px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: #6a7567;
  font-weight: 500;
  display: block;
  box-shadow: none;
}
.cat.is-active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.sample-note {
  font-size: 12px;
  color: var(--muted);
}
.menu-results {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  contain: layout;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e7e8e0;
  background: white;
  border-radius: 15px;
  box-shadow: none;
  cursor: default;
  contain: layout style;
}
.card__quantity {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid #cbd6bc;
  border-radius: 20px;
  padding: 5px 10px;
  background: #fffefa;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}
.card__img {
  height: 190px;
  flex-shrink: 0;
  background: #edeedc;
  display: grid;
  place-items: center;
}
.card__img:after {
  display: none;
}
.card__img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.card:nth-child(2) .card__img {
  background: #f8e9da;
}
.card:nth-child(3) .card__img {
  background: #eee9db;
}
.card:nth-child(4) .card__img {
  background: #ede4d9;
}
.card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__title {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
  font-weight: 650;
  letter-spacing: -0.3px;
}
.card__sub {
  font-size: 10px;
  line-height: 1.7;
  min-height: 34px;
  margin-top: 7px;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
}
.card__tag {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #607447;
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
}
.add-button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #dfe5d8;
  background: #f3f7e9;
  color: var(--green);
  font-size: 22px;
  font-weight: 400;
}
.empty {
  padding: 30px;
  border: 1px dashed var(--stroke);
  border-radius: 10px;
  text-align: center;
}
.empty p {
  margin: 0 0 16px;
}
.connect-banner {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #f1e9dc;
  padding: 29px 34px;
  border-radius: 14px;
  margin: 45px 0;
}
.connect-banner h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 8px 0;
}
.connect-banner p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  color: #7a796b;
}
.connect-banner .btn {
  margin-left: auto;
  flex-shrink: 0;
}
.connect-symbol {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid #d9d5bf;
  display: grid;
  place-items: center;
  font-size: 30px;
  flex-shrink: 0;
}
.how-section {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 35px;
  padding: 20px 0 60px;
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}
.how-section h2 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 14px 0;
}
.how-section p {
  font-size: 14px;
  line-height: 1.9;
  color: #74806f;
}
.how-card {
  border-top: 1px solid #ced8c6;
  padding-top: 22px;
  margin-top: 4px;
}
.how-card > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #7b8d68;
}
.how-card h3 {
  font-size: 15px;
  letter-spacing: -0.4px;
  margin-top: 27px;
}
.footer {
  padding: 25px 0;
  padding-bottom: max(25px, env(safe-area-inset-bottom));
  background: #f1f3e9;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}
.footer .brand {
  font-size: 26px;
  gap: 0;
}
.footer p {
  font-size: 12px;
  line-height: 1.7;
  margin-right: auto;
}
.footer small {
  font-size: 9px;
  color: #6d7e67;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 20px;
  align-items: center;
}
.footer__links a,
.footer__links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.text-btn {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-heading {
  padding: 55px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page-heading h1 {
  font-size: 42px;
  letter-spacing: -1.8px;
  margin: 14px 0;
}
.page-heading h1 span,
dialog h2 span {
  color: #8fa94e;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
}
.page {
  min-height: 60vh;
}
.campus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.info-card {
  padding: 32px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: white;
}
.info-card h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.info-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.tag {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 5px;
  background: #edf3e1;
  color: #537038;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.8px;
}
.tag.peach {
  background: #f4e9da;
  color: #8a693c;
}
.connection-list {
  font-size: 11px;
}
.connection-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--stroke);
  padding: 12px 0;
}
.connection-list dd {
  margin: 0;
  color: #62754f;
  text-align: right;
}
.fine,
.info-card p.fine {
  font-size: 10px;
  line-height: 1.7;
  color: #6c7865;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.location-card {
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: white;
  font-size: 13px;
}
.location-card p {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 0;
}
.notice {
  padding: 20px;
  background: #f0f3e8;
  border-radius: 10px;
  margin: 35px 0;
  font-size: 12px;
  line-height: 1.7;
  color: #52634a;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px;
  background: white;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  margin-bottom: 15px;
}
.order-card h3 {
  font-size: 16px;
  margin: 8px 0;
}
.order-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0;
  line-height: 1.6;
}
.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.order-id {
  font-size: 9px;
  letter-spacing: 1px;
  color: #7c8b70;
}
.empty-large {
  text-align: center;
  border: 1px dashed #cdd5c2;
  border-radius: 16px;
  padding: 65px 20px;
  margin-bottom: 45px;
}
.empty-large > span {
  font-size: 40px;
}
.empty-large h2 {
  font-size: 24px;
}
.empty-large p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.empty-large .btn {
  margin-top: 12px;
}
.dispatch-summary {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.stat {
  padding: 22px;
  flex: 1;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #f2f4e9;
  font-size: 11px;
}
.stat b {
  display: block;
  font-size: 30px;
  margin-bottom: 5px;
}
.login-form {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 25px;
  background: #f1f3e6;
  border-radius: 12px;
  margin-bottom: 25px;
}
.login-form label {
  flex: 1;
}
.login-form p {
  margin: 0;
}
dialog {
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  width: min(560px, calc(100% - 28px));
  color: var(--text);
  background: var(--bg);
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 30px 100px #12302633;
}
dialog::backdrop {
  background: #0e281f66;
  backdrop-filter: blur(5px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.dialog-header h2 {
  font-size: 28px;
  margin: 7px 0;
  letter-spacing: -1px;
}
.close-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--stroke);
  background: white;
  border-radius: 50%;
  font-size: 23px;
  color: var(--text);
}
form label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin: 15px 0 0;
}
label span {
  color: #87917e;
  font-weight: 400;
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 12px 11px;
  background: white;
  border: 1px solid #d9dfd3;
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  margin-top: 7px;
}
textarea {
  resize: vertical;
}
form input:focus,
form textarea:focus {
  border-color: #6e8647;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-pair > label,
.login-form label,
.order-card > div,
.tracking-route > div {
  min-width: 0;
}
.order-card,
#trackingContent {
  overflow-wrap: anywhere;
}
.wide {
  width: 100%;
}
.error {
  font-size: 12px;
  color: #a83b28;
  line-height: 1.6;
}
.bag-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--stroke);
  padding: 12px 0;
}
.bag-row img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #f0efdf;
  object-fit: cover;
  flex-shrink: 0;
}
.bag-row h3 {
  font-size: 14px;
  overflow-wrap: anywhere;
  margin: 0 0 5px;
}
.bag-row p {
  font-size: 11px;
  margin: 0;
  color: #6b795f;
}
.quantity {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 12px;
}
.quantity button {
  width: 44px;
  height: 44px;
  border: 1px solid #d7dfcd;
  background: white;
  border-radius: 50%;
  color: var(--text);
}
.bag-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 15px 0;
}
.cart-dock {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, 92%);
  min-height: 70px;
  padding: 14px 20px;
  border: 1px solid #1b5b44;
  border-radius: 18px;
  background: var(--green);
  color: white;
  box-shadow: 0 8px 32px #173f3233;
  text-align: left;
  font-size: 16px;
}
.cart-dock > span:first-child {
  margin-right: auto;
}
.cart-dock small {
  display: block;
  margin-top: 3px;
  color: #e0eacb;
  font-size: 12px;
}
.has-cart-dock #toast {
  bottom: calc(104px + env(safe-area-inset-bottom));
}
.tracking-route {
  padding: 20px;
  background: #f0f3e5;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  align-items: center;
}
.tracking-route small {
  display: block;
  font-size: 9px;
  color: #7a896e;
  margin-bottom: 7px;
}
.tracking-route strong {
  font-size: 12px;
}
.timeline {
  list-style: none;
  padding: 12px 0;
  margin: 15px 0;
}
.timeline li {
  position: relative;
  padding: 0 0 25px 32px;
  font-size: 12px;
  color: #9aa28e;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 12px;
  height: 12px;
  border: 2px solid #d0d8c7;
  border-radius: 50%;
  background: var(--bg);
}
.timeline li:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  height: 24px;
  width: 1px;
  background: #d8dfcf;
}
.timeline li:last-child:after {
  display: none;
}
.timeline .done {
  color: var(--green);
}
.timeline .done:before {
  background: var(--green);
  border-color: var(--green);
}
.timeline small {
  font-size: 9px;
  color: #7c8a70;
  display: block;
  margin-top: 5px;
}
.tracking-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#toast {
  position: fixed;
  bottom: max(25px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 30px);
  padding: 13px 20px;
  border-radius: 9px;
  background: var(--green);
  color: white;
  box-shadow: 0 8px 30px #173f3222;
  font-size: 12px;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
#toast.visible {
  opacity: 1;
}
#privacyDialog p {
  font-size: 13px;
  line-height: 1.8;
}
.small-link {
  color: #57753a;
  text-decoration: underline;
  font-size: 11px;
}
#orderCount {
  font-size: 9px;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 0;
    min-height: 480px;
  }
}
@media (max-width: 1000px) {
  .nav {
    display: flex;
    gap: 12px;
  }
  .campus-label {
    display: none;
  }
  .hero {
    padding: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-art {
    min-height: 300px;
  }
  .orbit-one {
    width: 260px;
    height: 260px;
  }
  .orbit-two {
    width: 320px;
    height: 180px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card__img {
    height: 220px;
  }
  .how-section {
    grid-template-columns: 1fr 1fr;
  }
  .benefits .pilot-badge {
    display: none;
  }
  .connect-banner {
    gap: 15px;
    padding: 24px;
  }
  .connect-symbol {
    display: none;
  }
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__inner {
    gap: 20px;
  }
  .footer__links {
    gap: 12px;
  }
  .sample-note {
    max-width: 120px;
    text-align: right;
  }
}
@media (max-width: 760px) {
  :root {
    --page-gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  }
  html {
    scroll-padding-top: calc(124px + env(safe-area-inset-top));
  }
  .topbar__inner {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
    margin-bottom: 0;
    padding-top: max(10px, env(safe-area-inset-top));
  }
  .topbar__actions {
    margin-left: auto;
  }
  .brand {
    font-size: 26px;
  }
  .brand-mark {
    width: 32px;
    height: 34px;
    font-size: 28px;
  }
  .nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: static;
    order: 3;
    width: 100%;
    margin-top: 8px;
    justify-content: space-between;
    gap: 0;
    border-top: 1px solid var(--stroke);
  }
  .nav__link {
    justify-content: center;
    text-align: center;
    min-width: 0;
    font-size: 12px;
    padding: 10px 2px;
  }
  .mode-banner {
    font-size: 12px;
    padding: 0;
  }
  .mode-banner .container {
    flex-wrap: wrap;
    gap: 6px;
    min-height: 44px;
  }
  .mode-banner .text-btn,
  .mode-banner a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  #modeDetail {
    display: none;
  }
  .mode-banner a {
    font-size: 12px;
  }
  .hero {
    margin-top: 16px;
    padding: 22px;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 25px;
    border-radius: 17px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 49px);
    letter-spacing: -2.2px;
    margin: 17px 0;
  }
  .hero p {
    font-size: 15px;
  }
  .hero__right {
    display: none;
  }
  .hero__cta {
    gap: 8px;
    margin-top: 21px;
  }
  .hero__cta .btn {
    width: 100%;
    padding: 13px 12px;
    font-size: 14px;
  }
  .hero-foot {
    margin-top: 20px;
    font-size: 12px;
  }
  .hero-art {
    height: 280px;
    min-height: 280px;
    max-width: 100%;
    margin: auto;
  }
  .robot-art {
    max-height: 250px;
  }
  .orbit-one {
    width: min(250px, 100%);
    height: 250px;
  }
  .orbit-two {
    width: min(300px, 110%);
    height: 170px;
  }
  .label-top {
    right: 5px;
    top: 5px;
    font-size: 9px;
  }
  .label-bottom {
    left: 5px;
    bottom: 21px;
    font-size: 9px;
  }
  .art-note {
    bottom: 0;
    font-size: 7px;
  }
  .benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 19px 0;
    gap: 13px;
    font-size: 12px;
    align-items: start;
  }
  .benefits span {
    line-height: 1.7;
  }
  .benefits b {
    display: block;
    margin: 0 0 2px;
  }
  .section {
    margin-top: 32px;
  }
  .section__header {
    display: block;
  }
  .section__title {
    font-size: 23px;
    margin-bottom: 17px;
  }
  .search {
    margin-bottom: 17px;
  }
  .search__input {
    width: 100%;
    height: 48px;
  }
  .browse-toolbar {
    display: block;
    margin-bottom: 17px;
  }
  .categories {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 4px 8px;
    scroll-padding-inline: 4px;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .cat {
    white-space: nowrap;
    font-size: 13px;
    padding: 9px 12px;
  }
  .sample-note {
    display: block;
    max-width: none;
    text-align: left;
    font-size: 12px;
    margin-top: 7px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card {
    display: grid;
    grid-template-columns: clamp(88px, 25vw, 140px) minmax(0, 1fr);
    border-radius: 11px;
  }
  .card--text {
    display: flex;
  }
  .card__img {
    height: 100%;
    min-height: 140px;
  }
  .card__body {
    padding: 14px;
  }
  .card__quantity {
    top: 8px;
    left: 8px;
    right: auto;
    padding: 3px 7px;
    font-size: 10px;
  }
  .card__title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .card__sub {
    font-size: 9px;
    line-height: 1.6;
    min-height: 44px;
  }
  .card__tag {
    font-size: 11px;
  }
  .card__meta {
    font-size: 16px;
    margin-top: auto;
  }
  .add-button {
    width: 44px;
    height: 44px;
  }
  .connect-banner {
    display: block;
    padding: 25px;
    margin-top: 30px;
  }
  .connect-banner h2 {
    font-size: 23px;
  }
  .connect-banner .btn {
    margin-top: 20px;
    width: 100%;
  }
  .how-section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 35px;
  }
  .how-section > div:first-child p {
    max-width: 280px;
  }
  .how-card {
    padding-top: 18px;
  }
  .how-card h3 {
    margin-top: 14px;
  }
  .how-section p {
    font-size: 14px;
  }
  .footer__inner {
    align-items: start;
    gap: 15px;
  }
  .footer p {
    flex: 1;
    margin: 0;
    font-size: 12px;
  }
  .footer small {
    font-size: 11px;
  }
  .footer__links {
    width: 100%;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--stroke);
  }
  .page-heading {
    padding: 35px 0 25px;
    display: block;
  }
  .page-heading h1 {
    font-size: clamp(28px, 8vw, 34px);
    overflow-wrap: anywhere;
  }
  .page-heading > .btn {
    margin-top: 10px;
  }
  .campus-grid {
    grid-template-columns: 1fr;
  }
  .info-card {
    padding: 22px;
    min-width: 0;
  }
  .info-card p,
  .page-heading p {
    font-size: 14px;
  }
  .connection-list {
    font-size: 12px;
  }
  .connection-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 0.8fr);
  }
  .connection-list dt,
  .connection-list dd {
    overflow-wrap: anywhere;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .order-card {
    display: block;
    padding: 20px;
  }
  .order-actions {
    justify-content: start;
    margin-top: 17px;
  }
  .dispatch-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .stat {
    padding: 12px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .stat b {
    font-size: 25px;
  }
  .login-form {
    display: block;
    padding: 20px;
  }
  .login-form .btn {
    margin-top: 12px;
    width: 100%;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bag-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px 12px;
  }
  .bag-row img {
    grid-row: 1 / span 2;
    align-self: start;
  }
  .bag-row > div {
    grid-column: 2;
  }
  .bag-row .quantity {
    margin-left: 0;
    justify-self: start;
  }
  dialog {
    --dialog-padding-inline: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
    inset: 0;
    margin: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)));
    padding: 20px var(--dialog-padding-inline) max(24px, env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }
  .dialog-header {
    position: sticky;
    top: -20px;
    z-index: 3;
    margin: -20px calc(-1 * var(--dialog-padding-inline)) 18px;
    padding: 16px var(--dialog-padding-inline);
    background: var(--bg);
    border-bottom: 1px solid var(--stroke);
  }
  .dialog-header h2 {
    font-size: 26px;
    line-height: 1.2;
  }
  .tracking-route {
    padding: 15px;
    gap: 10px;
  }
  .tracking-route strong {
    font-size: 13px;
  }
  .tracking-route small,
  .timeline small {
    font-size: 11px;
  }
  .timeline li {
    font-size: 14px;
  }
  .tracking-actions > .btn {
    flex: 1 1 100%;
  }
  .fine,
  .info-card p.fine,
  .location-card p,
  .order-card p,
  .bag-row p {
    font-size: 12px;
  }
  .order-card h3 {
    font-size: 14px;
  }
  .empty-large {
    padding: 45px 18px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .cart-dock {
    width: calc(100% - 2 * var(--page-gutter));
    gap: 12px;
    padding: 12px 16px;
  }
  .cart-dock > strong {
    white-space: nowrap;
  }
  .cart-dock small {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .menu-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .filter-toggle {
    justify-self: start;
  }
  .sort-control {
    justify-content: space-between;
  }
  .sort-control select {
    flex: 1;
    min-width: 0;
    max-width: 220px;
  }
  .footer__links {
    gap: 4px 12px;
  }
}
@media (max-width: 1000px) and (max-height: 500px) {
  html {
    scroll-padding-top: 16px;
  }
  .topbar {
    position: relative;
  }
  dialog {
    max-height: calc(100dvh - 16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
