:root {
  --navy: #172747;
  --navy-soft: #2c3e63;
  --muted: #5a6b8c;
  --blue: #326ff3;
  --blue-dark: #2456c9;
  --blue-100: #eaf2ff;
  --blue-050: #f4f8ff;
  --teal: #30c9a0;
  --teal-dark: #1a9c7a;
  --amber: #d98324;
  --red: #c94a45;
  --green: #1f9d63;
  --surface: #ffffff;
  --card: #eaf2ff;
  --line: #d8e4f7;
  --shadow-1: 0 6px 18px rgba(23, 39, 71, 0.06);
  --shadow-2: 0 14px 36px rgba(23, 39, 71, 0.12);
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 12px;
  --nav-h: 66px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: #dde8f9;
  color: var(--navy);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(50, 111, 243, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}

.shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--blue-050);
  box-shadow: 0 0 0 1px rgba(23, 39, 71, 0.04), 0 30px 80px rgba(23, 39, 71, 0.18);
  overflow: hidden;
}

#app {
  min-height: 100dvh;
}

.screen {
  min-height: 100dvh;
  padding: 16px 18px calc(var(--nav-h) + 34px);
  animation: screen-in 240ms var(--ease-out) both;
}

.screen--plain {
  padding-bottom: 32px;
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

button {
  font: inherit;
  color: inherit;
}

a {
  color: var(--blue-dark);
}

:focus-visible {
  outline: 3px solid rgba(50, 111, 243, 0.55);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---------- top bars ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 14px;
}

.topbar__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  margin-left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms var(--ease-out);
}

.icon-btn:hover {
  background: rgba(50, 111, 243, 0.08);
}

.brandbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 2px;
}

.brandbar__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 4px;
}

.brandbar__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brandbar__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brandbar__campus {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.demo-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.demo-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2.35 / 1;
  min-height: 156px;
  background: linear-gradient(120deg, #eaf2ff 0%, #eaf2ff 48%, #d8e9ff 100%);
  box-shadow: var(--shadow-1);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 248, 255, 0.99) 0%, rgba(243, 248, 255, 0.93) 34%, rgba(243, 248, 255, 0.25) 58%, rgba(243, 248, 255, 0) 74%);
}

.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  max-width: 62%;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-dark);
}

.hero__title {
  font-size: clamp(21px, 6vw, 26px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
  text-decoration: none;
}

.btn:hover {
  background: var(--blue-dark);
}

.btn:active {
  transform: scale(0.98);
}

.btn--hero {
  align-self: flex-start;
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(50, 111, 243, 0.28);
}

.btn--block {
  width: 100%;
}

.btn--ghost {
  background: #fff;
  color: var(--blue-dark);
  border: 1.5px solid #c7d9f8;
}

.btn--ghost:hover {
  background: var(--blue-100);
}

.btn--teal {
  background: var(--teal);
  color: #063d2f;
}

.btn--teal:hover {
  background: #28b891;
}

.btn--danger {
  background: #fff;
  color: var(--red);
  border: 1.5px solid #f0c9c6;
}

.btn--danger:hover {
  background: #fdf1f0;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* ---------- sections ---------- */
.section {
  margin-top: 22px;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.section__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 32px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.section__note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.entry-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.preview-head img {
  width: 46px;
  height: 46px;
}

.preview-head > div {
  flex: 1;
  display: grid;
  gap: 1px;
}

.preview-head b {
  font-size: 16px;
  font-weight: 800;
}

.preview-head span:not(.status) {
  font-size: 12px;
  color: var(--muted);
}

.promo-lead {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.hall-intro {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.choice-list {
  display: grid;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.choice-list .list-row {
  cursor: pointer;
}

.choice-list input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.btn--danger-solid {
  background: var(--red);
  color: #fff;
}

.btn--danger-solid:hover {
  background: #b23c37;
}

.action-card--issue {
  background: #fff9f0;
  border: 1px solid #f4dfbf;
}

.screen .section:first-of-type {
  margin-top: 16px;
}

/* ---------- service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 14px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  text-align: left;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.service-card__icon {
  width: 52px;
  height: 52px;
}

.service-card__name {
  font-size: 16px;
  font-weight: 800;
}

.service-card__meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.service-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
}

.service-card__price em {
  font-style: normal;
  font-size: 20px;
}

.service-card__arrow {
  position: absolute;
  right: 14px;
  top: 16px;
  color: #9db1d1;
}

.more-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.more-service {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px dashed #c6d6ef;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-align: left;
}

.more-service img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
}

.more-service span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-soft);
  line-height: 1.3;
}

.more-service i {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- demo steps ---------- */
.steps-card {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.steps-card__title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.steps b {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-dark);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ---------- notice / callback ---------- */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #eafaf4;
  border: 1px solid #c6efe1;
  color: #165c47;
  font-size: 13px;
  line-height: 1.55;
}

.notice--warn {
  background: #fff6ea;
  border-color: #f6e0c2;
  color: #7a4a11;
}

.notice--info {
  background: var(--blue-100);
  border-color: #d3e2fb;
  color: var(--navy-soft);
}

.notice__icon {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field__label {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field__label span {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

.field__hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.55;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(50, 111, 243, 0.14);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--red);
  background: #fffafa;
}

.field-error {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper__btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.stepper__btn:hover {
  background: var(--blue-100);
}

.stepper__btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper__value {
  min-width: 52px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.stepper__value small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.amount-input {
  position: relative;
}

.amount-input .input {
  padding-left: 38px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.amount-input__unit {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--muted);
}

/* ---------- cards / summaries ---------- */
.card {
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.card + .card {
  margin-top: 12px;
}

.kv {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 14px;
}

.kv__k {
  color: var(--muted);
  flex: 0 0 auto;
}

.kv__v {
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.kv--total {
  border-top: 1px dashed var(--line);
  margin-top: 6px;
  padding-top: 13px;
  font-size: 15px;
}

.kv--total .kv__v {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  white-space: nowrap;
}

.price-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- status ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status[data-tone="blue"] {
  background: #e8f0ff;
  color: #2456c9;
}

.status[data-tone="indigo"] {
  background: #ecebff;
  color: #4b46b8;
}

.status[data-tone="teal"] {
  background: #e2f8f1;
  color: #167a5e;
}

.status[data-tone="green"] {
  background: #e4f6ea;
  color: #1a7a45;
}

.status[data-tone="gray"] {
  background: #eef1f6;
  color: #5b6780;
}

.status[data-tone="amber"] {
  background: #fff1df;
  color: #9a5a12;
}

.status-hero {
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--blue-100);
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 8px;
}

.status-hero[data-tone="teal"] {
  background: #e4f8f2;
}

.status-hero[data-tone="green"] {
  background: #e6f7ec;
}

.status-hero[data-tone="amber"] {
  background: #fff3e3;
}

.status-hero[data-tone="gray"] {
  background: #eef1f6;
}

.status-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.status-hero__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.status-hero__desc {
  font-size: 13px;
  color: var(--navy-soft);
  line-height: 1.55;
}

.status-hero__no {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding-bottom: 18px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin: 5px 0 0 5px;
  border-radius: 50%;
  background: #c9d8ef;
  box-shadow: 0 0 0 4px #fff;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 19px;
  bottom: -1px;
  width: 2px;
  background: #e2eaf7;
}

.timeline li.is-current .timeline__dot {
  background: var(--blue);
}

.timeline li.is-current .timeline__label {
  color: var(--navy);
  font-weight: 700;
}

.timeline li.is-done .timeline__dot {
  background: var(--teal);
}

.timeline__label {
  font-size: 13px;
  color: var(--navy-soft);
  line-height: 1.45;
}

.timeline__time {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

/* ---------- order cards ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  margin: 4px 0 14px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-soft);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}

.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: block;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.order-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.order-card__icon {
  width: 34px;
  height: 34px;
}

.order-card__name {
  font-size: 15px;
  font-weight: 800;
  flex: 1;
}

.order-card__route {
  font-size: 13px;
  color: var(--navy-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
}

.order-card__route svg {
  flex: 0 0 auto;
  color: var(--muted);
}

.order-card__meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 6px;
}

.order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.order-card__price {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.order-card__price small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

/* ---------- task cards hall ---------- */
.task-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.task-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-card__head img {
  width: 38px;
  height: 38px;
}

.task-card__title {
  font-size: 16px;
  font-weight: 800;
  flex: 1;
}

.task-card__reward {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  background: #e2f8f1;
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.task-card__reward em {
  font-style: normal;
  font-size: 18px;
}

.task-card__rows {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--navy-soft);
}

.task-card__row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.task-card__row svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--muted);
}

.task-card__foot {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.task-card__foot .btn {
  flex: 1;
}

/* ---------- empty state ---------- */
.empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 30px 18px;
  text-align: center;
}

.empty img {
  width: 132px;
  height: 132px;
}

.empty__title {
  font-size: 16px;
  font-weight: 800;
}

.empty__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 260px;
}

.empty .btn {
  margin-top: 4px;
  min-width: 160px;
}

/* ---------- actions ---------- */
.action-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.action-card__title {
  font-size: 14px;
  font-weight: 800;
}

.action-card__desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.action-card__btns {
  display: grid;
  gap: 10px;
}

.action-row {
  display: flex;
  gap: 10px;
}

.action-row .btn {
  flex: 1;
}

.role-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  font-size: 13px;
}

.role-switch b {
  font-weight: 800;
}

.role-switch button {
  border: 1.5px solid #b9d1f9;
  background: #fff;
  color: var(--blue-dark);
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- review ---------- */
.success-art {
  display: grid;
  justify-items: center;
  margin: 8px 0 4px;
}

.success-art img {
  width: 132px;
  height: 132px;
}

.stars {
  display: flex;
  gap: 6px;
  padding: 6px 0;
}

.star-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #c9d6ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms var(--ease-out), color 150ms var(--ease-out);
}

.star-btn:hover {
  transform: scale(1.08);
}

.star-btn.is-on {
  color: #f2b33c;
}

.star-btn.is-on svg {
  fill: currentColor;
}

.review-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: #fff8ec;
  border: 1px solid #f6e3c4;
}

.review-box__stars {
  display: inline-flex;
  gap: 2px;
  flex: 0 0 auto;
}

.review-box__stars span {
  color: #d8dfe8;
}

.review-box__stars .is-on {
  color: #f2b33c;
}

.review-box__stars .is-on svg {
  fill: currentColor;
}

.review-box__text {
  font-size: 13px;
  color: var(--navy-soft);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.review-box__empty {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- profile ---------- */
.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eaf2ff, #f7fbff);
  box-shadow: var(--shadow-1);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex: 0 0 auto;
}

.avatar[data-role="runner"] {
  background: var(--teal);
  color: #063d2f;
}

.profile-card__name {
  font-size: 17px;
  font-weight: 800;
}

.profile-card__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.list-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #eef2f9;
  background: #fff;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}

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

.list-row:hover {
  background: #f8fbff;
}

.list-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.list-row__text {
  flex: 1;
  display: grid;
  gap: 1px;
}

.list-row__title {
  font-weight: 700;
}

.list-row__desc {
  font-size: 12px;
  color: var(--muted);
}

.list-row--danger .list-row__icon {
  background: #fdeeee;
  color: var(--red);
}

.list-row--danger .list-row__title {
  color: var(--red);
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-list li {
  display: flex;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.about-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--teal-dark);
}

.version {
  text-align: center;
  font-size: 11px;
  color: #93a4c2;
  margin-top: 22px;
  letter-spacing: 0.4px;
}

/* ---------- bottom nav ---------- */
.nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e4ecf9;
  z-index: 40;
}

.nav__item {
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8296b6;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: color 180ms var(--ease-out);
}

.nav__item.is-active {
  color: var(--blue-dark);
}

.nav__item svg {
  transition: transform 180ms var(--ease-out);
}

.nav__item.is-active svg {
  transform: translateY(-1px);
}

/* ---------- promo ---------- */
.promo-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: var(--blue-100);
}

.promo-hero img {
  width: 100%;
  height: auto;
}

.promo-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.promo-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.promo-point__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #063d2f;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.promo-point b {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.promo-point p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 28, 51, 0.48);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 80;
  animation: fade-in 180ms var(--ease-out) both;
}

.modal {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  animation: sheet-up 260ms var(--ease-out) both;
}

.modal__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal__body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheet-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 18px);
  transform: translateX(-50%);
  max-width: 330px;
  width: calc(100% - 48px);
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(23, 39, 71, 0.94);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  z-index: 90;
  animation: toast-in 220ms var(--ease-out) both;
  box-shadow: 0 10px 26px rgba(23, 39, 71, 0.28);
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.noscript {
  padding: 20px;
  text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 480px) {
  body {
    background: var(--blue-050);
  }

  body::before {
    display: none;
  }

  .shell {
    box-shadow: none;
  }

  .screen {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 350px) {
  .hero__content {
    max-width: 68%;
    padding: 16px;
  }

  .more-services {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
