:root {
  --green: #18c77d;
  --green-dark: #06ad70;
  --green-deep: #079861;
  --orange: #ff633d;
  --red: #ef3f2f;
  --ink: #20252b;
  --muted: #8e98a3;
  --line: #edf1f4;
  --bg: #f3f6f8;
  --card: #ffffff;
  --shadow: 0 10px 26px rgba(20, 38, 52, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #dfe4e9;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

.mobile-app {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--bg);
  padding-bottom: 104px;
}

body.auth-pending .mobile-app {
  display: none;
}

body.is-onboarding-checking .mobile-app {
  display: none;
}

body.is-customer-onboarding .mobile-app {
  display: none;
}

body.is-authed .login-screen {
  display: none;
}

.onboarding-gate {
  display: none;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  place-items: center;
  padding: 24px;
  background: #f4f8f6;
}

body.is-onboarding-checking .onboarding-gate {
  display: grid;
}

.onboarding-gate > div {
  display: grid;
  gap: 8px;
  width: 100%;
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.onboarding-gate strong {
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
}

.onboarding-gate span {
  color: #75808b;
  font-weight: 800;
}

.login-screen {
  display: grid;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 75% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #18c77d 0 38%, #f3f6f8 38%);
}

.login-card {
  width: 100%;
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 38, 52, 0.16);
}

.login-brand {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--green-deep);
}

.login-brand strong {
  font-size: 28px;
  font-weight: 900;
}

.login-brand span {
  color: #6e7a84;
  font-weight: 800;
}

.login-card h1 {
  font-size: 25px;
}

.login-card p {
  margin-top: 8px;
  color: #7a8590;
  line-height: 1.5;
}

.login-location {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  margin-top: 18px;
  border: 1px solid #dcefe8;
  border-radius: 10px;
  padding: 12px;
  background: #f5fffb;
  color: var(--ink);
  text-align: left;
}

.login-location span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.login-location strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.login-location em {
  color: var(--green-deep);
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.login-card form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: #39424c;
  font-weight: 900;
}

.login-card input {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce5eb;
  border-radius: 12px;
  outline: none;
  padding: 13px 14px;
  background: #f8fafb;
  color: var(--ink);
}

.code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.code-row button,
.login-submit,
.demo-account button {
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.code-row button {
  padding: 0 14px;
  white-space: nowrap;
}

.login-hint {
  margin: -4px 0 0;
  color: #6b7785;
  font-size: 12px;
  line-height: 1.5;
}

.login-submit {
  margin-top: 6px;
  padding: 14px;
  font-size: 18px;
}

.demo-account {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  align-items: center;
}

.demo-account span {
  width: 100%;
  color: #8a949e;
  font-size: 13px;
  font-weight: 900;
}

.demo-account button {
  padding: 8px 10px;
  background: #ecfbf4;
  color: var(--green-deep);
}

.mobile-app.screen-confirm {
  padding-bottom: 92px;
  background: linear-gradient(180deg, #c8ffe4 0 180px, var(--bg) 180px);
}

.mobile-app.screen-message {
  background: linear-gradient(180deg, #d6ffe9 0 170px, #f2f6f8 170px);
}

.mobile-app.screen-my,
.mobile-app.screen-orders,
.mobile-app.screen-chat,
.mobile-app.screen-utility {
  background: linear-gradient(180deg, #dcffec 0 190px, #f2f6f8 190px);
}

.webview-bar {
  display: grid;
  grid-template-columns: 42px 1fr 54px;
  align-items: center;
  height: 96px;
  padding: 20px 14px 10px;
  background: #f6f6f6;
  text-align: center;
}

.webview-bar strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.webview-bar span {
  display: block;
  margin-top: 3px;
  color: #69717b;
  font-size: 15px;
  font-weight: 700;
}

.app-location {
  display: inline-grid;
  grid-template-columns: auto minmax(0, auto);
  align-items: center;
  max-width: 240px;
  gap: 4px;
  margin-top: 5px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef9f3;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.app-location span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.app-location em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.chrome-btn,
.chrome-more {
  background: transparent;
  color: #101418;
  font-size: 34px;
  line-height: 1;
}

.chrome-more {
  font-size: 24px;
  letter-spacing: 2px;
}

.green-hero {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #2dcc7d, #0bc783);
  color: #fff;
  padding: 18px 12px 0;
}

.screen-merchant .green-hero,
.screen-apply .green-hero,
.screen-confirm .green-hero,
.screen-message .green-hero,
.screen-my .green-hero,
.screen-orders .green-hero,
.screen-chat .green-hero,
.screen-utility .green-hero {
  display: none;
}

.brand-line {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.brand-line strong {
  flex: 0 0 auto;
  font-size: 25px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-line span {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 70px;
  min-height: 126px;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
}

.city-shape {
  position: relative;
  left: auto;
  bottom: auto;
  width: 86px;
  height: 62px;
  opacity: 0.45;
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.54) 0 44px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0 14px, transparent 14px 20px);
  clip-path: polygon(0 100%, 0 48%, 10% 48%, 10% 28%, 19% 28%, 19% 58%, 32% 58%, 32% 8%, 44% 8%, 44% 64%, 58% 64%, 58% 36%, 70% 36%, 70% 70%, 82% 70%, 82% 22%, 94% 22%, 94% 100%);
}

.hero-stats {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
}

.hero-stats p {
  width: fit-content;
  max-width: 100%;
  margin: 7px 0;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.78);
  color: #3cae78;
  font-size: 11px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-stats strong {
  color: #ff5a33;
  font-size: 15px;
}

.hero-girl {
  position: relative;
  z-index: 1;
  display: grid;
  width: 70px;
  height: 96px;
  place-items: center;
  justify-self: end;
  border-radius: 24px 24px 12px 12px;
  background: linear-gradient(180deg, #ffffff, #e5fff2);
  color: var(--green-deep);
  box-shadow:
    inset 0 -18px 0 rgba(13, 151, 96, 0.12),
    0 12px 22px rgba(0, 120, 78, 0.12);
}

.hero-girl span {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(7, 152, 97, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fffb, #cffff0);
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
}

.quick-tray {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  transform: translateY(18px);
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 176, 112, 0.68);
  box-shadow: 0 12px 24px rgba(0, 135, 82, 0.18);
}

.quick-tray button {
  display: grid;
  gap: 5px;
  min-height: 72px;
  place-items: center;
  background: transparent;
  color: #fff;
}

.line-icon {
  font-size: 27px;
  line-height: 1;
}

.quick-tray strong {
  font-size: 14px;
}

.page-screen {
  display: none;
  padding: 30px 12px 0;
}

.page-screen.is-active {
  display: block;
}

.top-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.health-card,
.charity-card,
.coupon-panel,
.split-board,
.speed-board,
.orders-mini,
.merchant-list article {
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.health-card,
.charity-card {
  min-height: 138px;
  padding: 12px;
}

.section-head,
.coupon-title,
.merchant-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.section-head h2,
.coupon-title h2,
.merchant-title h2 {
  font-size: 18px;
  font-weight: 900;
}

.section-head button,
.coupon-title button,
.merchant-title button {
  background: transparent;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.round-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.round-services button {
  display: grid;
  gap: 7px;
  place-items: center;
  min-height: 78px;
  border: 1px solid #e4eee9;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfffd, #f3fbf7);
  color: var(--ink);
  font-weight: 900;
}

.round-face {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(7, 152, 97, 0.18);
  background: linear-gradient(180deg, #ecfff7, #dff8ef);
  color: var(--green-deep);
  font-size: 20px;
  box-shadow: inset 0 -8px 0 rgba(24, 199, 125, 0.08);
}

.round-face.light {
  border-color: rgba(255, 99, 61, 0.18);
  background: linear-gradient(180deg, #fff7f2, #ffe9dd);
  color: var(--orange);
}

.charity-card {
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 8px;
  background: linear-gradient(135deg, #fff7f1, #fff);
}

.charity-card h2 {
  font-size: 18px;
}

.charity-card p {
  margin-top: 10px;
  color: #68727c;
  font-size: 14px;
  line-height: 1.6;
}

.charity-card button {
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.charity-figure {
  display: grid;
  width: 74px;
  height: 102px;
  place-items: center;
  align-self: end;
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, #ffd9c9, #ffecee);
  color: var(--orange);
  font-size: 36px;
}

.coupon-panel {
  margin-top: 12px;
  padding: 12px;
}

.coupon-title h2 {
  color: var(--red);
}

.coupon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.coupon {
  position: relative;
  display: grid;
  min-height: 90px;
  place-items: center;
  border: 1px solid #ffe3dc;
  border-radius: 10px;
  background: #fff1ef;
  color: var(--orange);
  text-align: center;
}

.coupon strong {
  font-size: 25px;
}

.coupon span {
  color: #ff6b4f;
  font-size: 12px;
  font-weight: 900;
}

.coupon button {
  border-radius: 6px;
  padding: 5px 12px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.split-board {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 0;
  margin-top: 12px;
  overflow: hidden;
}

.split-board article {
  min-height: 176px;
  padding: 12px;
}

.split-board article + article {
  border-left: 1px solid var(--line);
}

.spa-card {
  position: relative;
  min-height: 128px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #e9fff6, #fff);
}

.spa-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88px;
  height: 88px;
  border-radius: 999px 0 0 0;
  background: linear-gradient(135deg, rgba(24, 199, 125, 0.16), rgba(255, 99, 61, 0.16));
}

.spa-card span {
  font-weight: 900;
}

.spa-card p {
  margin-top: 4px;
  color: #67717c;
  font-size: 12px;
}

.spa-card strong {
  position: absolute;
  left: 12px;
  bottom: 14px;
  color: var(--red);
  font-size: 26px;
}

.spa-card em {
  position: absolute;
  right: 12px;
  bottom: 18px;
  border-radius: 6px;
  padding: 3px 6px;
  background: #fff4ef;
  color: var(--orange);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.newcomer-row,
.speed-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mini-person {
  display: grid;
  gap: 6px;
  place-items: center;
  text-align: center;
}

.person-figure {
  display: grid;
  width: 58px;
  height: 80px;
  place-items: center;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, #f3f2ff, #fff);
  color: #101418;
  font-weight: 900;
}

.mini-person strong {
  font-size: 14px;
}

.speed-board,
.orders-mini {
  margin-top: 12px;
  padding: 12px;
}

.merchant-screen {
  padding-top: 18px;
}

.booking-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 2px solid #13b883;
  border-radius: 999px;
  padding: 11px 13px;
  background: #fff;
}

.booking-search button,
.booking-search label {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}

.booking-search button:last-child {
  color: var(--green-deep);
  font-size: 17px;
}

.booking-search label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-left: 1px solid #d4dde4;
  padding-left: 12px;
  color: var(--green-deep);
}

.booking-search input {
  min-width: 0;
  border: 0;
  outline: none;
  color: var(--ink);
}

.booking-search input::placeholder {
  color: #b5bdc5;
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 14px -12px 14px;
  padding: 0 12px 4px;
  scrollbar-width: none;
}

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

.filter-row button {
  flex: 0 0 auto;
  border-radius: 14px;
  padding: 9px 14px;
  background: #eef4f5;
  color: #252b31;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.filter-row button.is-active {
  border: 1px solid #ffd9cf;
  background: #fff4ef;
  color: var(--orange);
}

.advanced-filter-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  border: 1px solid #e8edf0;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 38, 52, 0.06);
}

.advanced-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.advanced-filter-head strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.advanced-filter-head button {
  border-radius: 999px;
  padding: 7px 12px;
  background: #edf4f2;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.advanced-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.advanced-filter-group::-webkit-scrollbar {
  display: none;
}

.advanced-filter-group span {
  flex: 0 0 40px;
  color: #69757e;
  font-size: 13px;
  font-weight: 900;
}

.advanced-filter-group button {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 11px;
  background: #f4f7f8;
  color: #33404a;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.advanced-filter-group button.is-active {
  border-color: #f5c8bc;
  background: #fff4ef;
  color: var(--red);
}

.merchant-view-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
  border-radius: 12px;
  padding: 5px;
  background: #e8eef1;
}

.merchant-view-toggle button {
  border-radius: 10px;
  padding: 10px 0;
  background: transparent;
  color: #65717b;
  font-size: 15px;
  font-weight: 900;
}

.merchant-view-toggle button.is-active {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 18px rgba(20, 38, 52, 0.08);
}

.merchant-map-panel {
  display: none;
}

.merchant-screen.is-map .merchant-map-panel {
  display: block;
}

.merchant-screen.is-map .merchant-list {
  display: none;
}

.merchant-map-stage {
  position: relative;
  height: clamp(390px, 52vh, 480px);
  min-height: 390px;
  overflow: hidden;
  border-radius: 16px;
  background: #dce8ef;
  box-shadow: var(--shadow);
}

.merchant-map-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4f6, #d7e7ed);
}

.merchant-map-canvas {
  position: absolute;
  inset: 0;
}

.merchant-map-bg::before,
.merchant-map-bg::after {
  content: none;
  position: absolute;
  border-radius: 999px;
  background: rgba(246, 201, 120, 0.78);
  transform-origin: center;
}

.merchant-map-bg::before {
  left: -18%;
  top: 48%;
  width: 140%;
  height: 16px;
  transform: rotate(-18deg);
}

.merchant-map-bg::after {
  left: -22%;
  top: 30%;
  width: 145%;
  height: 12px;
  transform: rotate(25deg);
}

.map-road {
  display: none;
}

.map-road.main {
  left: 7%;
  top: 18%;
  width: 96%;
  height: 18px;
  transform: rotate(42deg);
}

.map-road.second {
  left: -20%;
  top: 63%;
  width: 120%;
  height: 14px;
  transform: rotate(4deg);
}

.map-road.third {
  left: 54%;
  top: -8%;
  width: 14px;
  height: 82%;
  transform: rotate(12deg);
}

.map-tech-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 56px;
  transform: translate(-50%, -50%);
  place-items: center;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(20, 38, 52, 0.18);
}

.map-tech-marker span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #232d37, #4b5c67);
  color: #fff;
  font-weight: 900;
}

.map-tech-marker em {
  position: absolute;
  left: 50%;
  top: 48px;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(20, 38, 52, 0.78);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.map-tech-marker.is-estimated {
  opacity: 0.72;
}

.map-tech-marker.is-real {
  border: 2px solid #2aa876;
  box-shadow: 0 12px 22px rgba(42, 168, 118, 0.26);
}

.map-tech-marker.is-real span {
  background: linear-gradient(180deg, #177a59, #2aa876);
}

.map-tech-marker.is-real em {
  background: #177a59;
}

.map-tech-marker.is-active {
  width: 58px;
  height: 66px;
  background: var(--red);
}

.map-tech-marker.is-active span {
  width: 42px;
  height: 42px;
  background: #fff;
  color: var(--red);
}

.map-tech-marker.is-active em {
  top: 58px;
  background: var(--red);
}

.amap-tech-pin {
  display: grid;
  width: 40px;
  height: 48px;
  place-items: center;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(20, 38, 52, 0.18);
}

.amap-tech-pin span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #177a59, #2aa876);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.amap-tech-pin.is-active {
  background: var(--red);
}

.amap-tech-pin.is-active span {
  background: #fff;
  color: var(--red);
}

.merchant-map-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 24px;
  color: #6d7882;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.map-tech-carousel {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  z-index: 4;
  display: block;
  padding: 0;
  pointer-events: none;
}

.map-tech-rail-shell {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 6px;
  width: min(100%, 318px);
  margin: 0 auto;
  pointer-events: auto;
}

.map-tech-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0;
}

.map-tech-track::-webkit-scrollbar {
  display: none;
}

.map-card-nav {
  display: grid;
  width: 30px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: rgba(28, 34, 39, 0.72);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  pointer-events: auto;
  position: absolute;
  top: 96px;
  transform: translateY(-50%);
  z-index: 2;
}

.map-card-nav.is-prev {
  left: 8px;
}

.map-card-nav.is-next {
  right: 8px;
}

.map-card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(28, 34, 39, 0.78);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  pointer-events: auto;
}

.map-card-nav:disabled {
  opacity: 0.45;
}

.map-tech-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: none;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 22px rgba(20, 38, 52, 0.17);
  scroll-snap-align: center;
  border: 2px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.map-tech-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 99, 61, 0.26);
  box-shadow: 0 18px 30px rgba(20, 38, 52, 0.22);
}

.map-tech-photo {
  position: relative;
  display: grid;
  height: 58px;
  place-items: center;
  background: linear-gradient(180deg, #eef2f4, #d7e1e8);
}

.map-tech-photo span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #222b33, #4d5d69);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.map-tech-photo em {
  position: absolute;
  right: 32px;
  bottom: 6px;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.map-tech-trust {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 5px 8px;
  background: #5c5f64;
  scrollbar-width: none;
}

.map-tech-trust::-webkit-scrollbar {
  display: none;
}

.map-tech-trust span {
  flex: 0 0 auto;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.map-tech-card header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 0;
}

.map-tech-card h3 {
  font-size: 12px;
  font-weight: 900;
}

.map-tech-card header p {
  margin-top: 2px;
  color: #7d8791;
  font-size: 8px;
  font-weight: 800;
}

.map-tech-card header strong {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
}

.map-tech-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin: 6px 8px 0;
  border-radius: 8px;
  padding: 4px;
  background: #f8fbfa;
}

.map-tech-facts article {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.map-tech-facts em {
  color: #8f99a3;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.map-tech-facts strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-tech-intro {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 8px 0;
  color: #4d5963;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.map-tech-card footer {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.2fr;
  gap: 6px;
  padding: 7px 8px 8px;
}

.map-tech-card footer button {
  border-radius: 999px;
  padding: 6px 0;
  background: #f0f4f5;
  color: #4a5660;
  font-size: 9px;
  font-weight: 900;
}

.map-tech-card footer button:last-child {
  background: var(--red);
  color: #fff;
}

.map-tech-card footer button:disabled {
  background: #e7ecef;
  color: #b5bec6;
}

.map-tech-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.map-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.map-card-dot.is-active {
  width: 18px;
  background: #fff;
}

.merchant-map-empty {
  display: grid;
  min-height: 460px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 28px;
  background: #fff;
  color: #7d8791;
  text-align: center;
  box-shadow: var(--shadow);
}

.merchant-map-empty span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #fff1eb;
  color: var(--red);
  font-size: 30px;
}

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

.merchant-empty {
  display: grid;
  gap: 8px;
  place-items: center;
  border-radius: 14px;
  padding: 34px 18px;
  background: #fff;
  color: #7d8791;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.merchant-empty span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #eafff5;
  color: var(--green-deep);
  font-size: 24px;
}

.tech-detail-hero {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #eef2f4 0 58%, #fff 58%);
  box-shadow: var(--shadow);
}

.detail-back-btn {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(39, 45, 50, 0.52);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.tech-detail-photo {
  display: grid;
  width: 154px;
  height: 154px;
  place-items: center;
  justify-self: center;
  margin-top: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #202832, #4c5b66);
  color: #fff;
  font-size: 56px;
  font-weight: 900;
}

.tech-detail-meta {
  display: grid;
  gap: 5px;
}

.tech-detail-meta h2 {
  font-size: 26px;
  font-weight: 900;
}

.tech-detail-meta p {
  color: #68747d;
  font-weight: 800;
}

.tech-detail-meta strong {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.tech-detail-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tech-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-cert-row span {
  border-radius: 999px;
  padding: 6px 9px;
  background: #effbf5;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
}

.tech-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tech-fact-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-radius: 10px;
  padding: 10px;
  background: #f8fbfa;
}

.tech-fact-grid span {
  color: #8d98a2;
  font-size: 12px;
  font-weight: 800;
}

.tech-fact-grid strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-intro {
  color: #53616b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.detail-trust-card {
  gap: 14px;
}

.tech-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tech-score-row article {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-radius: 12px;
  padding: 10px 8px;
  background: #f6faf7;
  text-align: center;
}

.tech-score-row strong {
  overflow: hidden;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-score-row span {
  color: #84919b;
  font-size: 12px;
  font-weight: 800;
}

.tech-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tech-gallery-grid figure {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #edf5f2, #f9fbfa);
}

.tech-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-gallery-grid span {
  color: var(--green-deep);
  font-size: 28px;
  font-weight: 900;
}

.detail-cert-tags span {
  background: #fff7e9;
  color: #9a5a09;
}

.similar-tech-card {
  margin-bottom: 96px;
}

.similar-tech-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.similar-tech-list button {
  display: grid;
  gap: 5px;
  min-width: 0;
  border-radius: 12px;
  padding: 10px 6px;
  background: #f8fbfa;
  text-align: center;
}

.similar-tech-list button span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: #e8f7ef;
  color: var(--green-deep);
  font-weight: 900;
}

.similar-tech-list strong,
.similar-tech-list em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.similar-tech-list strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.similar-tech-list em,
.similar-tech-list p {
  color: #87939d;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-section-head h3 {
  font-size: 18px;
}

.detail-section-head span {
  color: #8f9aa3;
  font-size: 12px;
  font-weight: 800;
}

.tech-service-list {
  display: grid;
  gap: 8px;
}

.tech-service-list article {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 10px;
  padding: 11px;
  background: #f8fbfa;
}

.tech-service-list strong,
.tech-service-list em {
  font-weight: 900;
}

.tech-service-list span {
  display: block;
  margin-top: 4px;
  color: #8d98a2;
  font-size: 12px;
  font-weight: 800;
}

.tech-service-list em {
  flex: 0 0 auto;
  color: var(--red);
  font-style: normal;
}

.tech-detail-actions {
  position: sticky;
  bottom: 88px;
  z-index: 8;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.15fr;
  gap: 10px;
  margin-top: 12px;
  border-radius: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(20, 38, 52, 0.13);
}

.tech-detail-actions button {
  border-radius: 999px;
  padding: 13px 0;
  background: #fff1e9;
  color: var(--orange);
  font-size: 16px;
  font-weight: 900;
}

.tech-detail-actions button:last-child {
  background: var(--red);
  color: #fff;
}

.tech-detail-actions button:disabled {
  background: #edf1f4;
  color: #aab4bc;
}

.apply-screen {
  min-height: calc(100vh - 96px);
  padding: 0 12px 32px;
  background: linear-gradient(180deg, #c8ffe7 0 260px, #b8ffea 260px);
}

.apply-hero {
  display: grid;
  grid-template-columns: 1fr 116px;
  align-items: center;
  min-height: 236px;
  margin: 0 -12px;
  padding: 28px 22px 18px;
  background: linear-gradient(135deg, #d7ffd0, #c8fff0);
}

.apply-hero h1 {
  color: #14251e;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
}

.apply-hero p {
  display: inline-block;
  margin-top: 18px;
  border-radius: 10px;
  padding: 9px 14px;
  background: #10bf50;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.apply-hero > span {
  display: grid;
  width: 108px;
  height: 146px;
  place-items: center;
  border-radius: 999px 999px 26px 26px;
  background: linear-gradient(180deg, #fff, #85f09f);
  color: var(--green-deep);
  font-size: 26px;
  font-weight: 900;
  box-shadow: inset 0 -28px 0 rgba(24, 199, 125, 0.2);
}

#applyForm {
  display: grid;
  gap: 18px;
  margin-top: -6px;
}

.apply-card {
  border-radius: 18px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.apply-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.apply-card-head h2 {
  font-size: 25px;
  font-weight: 900;
}

.apply-card-head button {
  border: 1px solid #bdebbd;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f2fff4;
  color: #244033;
  font-weight: 900;
}

.apply-card-head span {
  color: #6d7b76;
  font-weight: 800;
}

.identity-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  border: 1px solid #dcefe2;
  border-radius: 12px;
  padding: 12px;
  background: #f7fff8;
}

.identity-row label,
.apply-radio label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.identity-row input,
.apply-radio input {
  width: 24px;
  height: 24px;
  accent-color: var(--green);
}

.apply-info-card {
  display: grid;
  gap: 14px;
}

.service-config-card {
  display: grid;
  gap: 14px;
  border: 1px solid #dcefe2;
  border-radius: 16px;
  padding: 14px;
  background: #fbfffc;
}

.apply-location-grid,
.address-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.apply-location-grid .apply-field {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px 12px;
}

.apply-location-grid .apply-field span,
.apply-location-grid .apply-field input,
.apply-location-grid .apply-field select {
  text-align: left;
}

.apply-map-fill,
.jd-address-map-pick {
  width: 100%;
  border-radius: 12px;
  padding: 12px;
  background: #eafff5;
  color: var(--green-deep);
  font-weight: 900;
}

.apply-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid #dcefe2;
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.68);
}

.apply-field span {
  color: #17221d;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.apply-field em {
  color: var(--red);
  font-style: normal;
}

.apply-field input,
.apply-field select {
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  text-align: right;
}

.apply-field input::placeholder {
  color: #b8c8be;
}

.service-tags-field {
  align-items: start;
  padding-top: 12px;
  padding-bottom: 12px;
}

.service-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-tag-grid label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #2c3b35;
  font-size: 15px;
  font-weight: 900;
}

.service-tag-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.settlement-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  padding: 12px;
  background: #ecfff4;
  color: #244033;
  font-weight: 900;
}

.settlement-preview span {
  color: #68766f;
}

.settlement-preview strong {
  color: var(--green-deep);
}

.apply-radio {
  display: flex;
  justify-content: end;
  gap: 28px;
}

.code-field {
  grid-template-columns: 1fr auto;
}

.code-field input {
  text-align: left;
}

.code-field button {
  background: transparent;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 900;
}

.verify-entry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 158px;
  border: 1px solid #dcefe2;
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.verify-entry-card p {
  font-size: 17px;
  font-weight: 900;
}

.verify-entry-card strong {
  margin-left: 8px;
  color: #e05a45;
}

.verify-entry-card button {
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.verify-entry-card span {
  display: block;
  margin-top: 8px;
  color: var(--green-deep);
  font-weight: 900;
}

.apply-verify-screen {
  min-height: calc(100vh - 96px);
  padding: 18px 12px 120px;
  background: linear-gradient(180deg, #c8ffe7 0 190px, #f2f6f8 190px);
}

.apply-verify-head,
.verify-upload-card {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.apply-verify-head {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.apply-verify-head h2 {
  font-size: 26px;
}

.apply-verify-head p {
  color: #5f6e67;
  line-height: 1.5;
  font-weight: 800;
}

.verify-upload-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.verify-upload-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.verify-upload-card strong,
.verify-upload-card span {
  display: block;
}

.verify-upload-card strong {
  font-size: 17px;
}

.verify-upload-card span {
  margin-top: 6px;
  color: #7a8881;
  font-size: 13px;
  font-weight: 800;
}

.verify-upload-card button {
  border-radius: 12px;
  padding: 11px 16px;
  background: #eafff5;
  color: var(--green-deep);
  font-weight: 900;
}

.verify-save-btn {
  margin-top: 16px;
}

.apply-submit {
  width: 100%;
  margin-top: 12px;
  border-radius: 999px;
  padding: 17px;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(24, 199, 125, 0.26);
}

.merchant-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 12px;
  min-height: 138px;
  padding: 14px 12px;
}

.merchant-card::before {
  content: "优";
  position: absolute;
  left: 7px;
  top: 7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #f5d58c;
  border-radius: 8px;
  color: #d8a839;
  font-size: 14px;
  font-weight: 900;
}

.merchant-avatar {
  display: grid;
  width: 76px;
  height: 92px;
  place-items: center;
  align-self: center;
  border: 1px solid #e3ece8;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fffc, #eef9f4);
  color: var(--green-deep);
  font-size: 25px;
  font-weight: 900;
}

.merchant-avatar em {
  align-self: end;
  width: 70px;
  border-radius: 999px;
  padding: 4px 0;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  text-align: center;
}

.merchant-name {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}

.merchant-name h3 {
  font-size: 21px;
  font-weight: 900;
}

.badge {
  border-radius: 999px;
  padding: 2px 6px;
  background: #fff1eb;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.badge.new {
  background: #defbed;
  color: var(--green-deep);
}

.badge.gender {
  background: #eef7ff;
  color: #2878c8;
}

.badge.gender.male {
  background: #e8f3ff;
  color: #1673d1;
}

.badge.gender.female {
  background: #fff0f7;
  color: #d84d91;
}

.badge.gender.all {
  background: #ecfbf4;
  color: var(--green-deep);
}

.merchant-meta {
  margin-top: 12px;
  color: #9aa2ab;
  font-size: 14px;
  font-weight: 800;
}

.merchant-meta strong {
  color: var(--orange);
  font-size: 18px;
}

.merchant-stats {
  margin-top: 16px;
  color: #9aa2ab;
  font-size: 14px;
  font-weight: 800;
}

.merchant-stats .free {
  color: var(--orange);
}

.merchant-side {
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: end;
}

.merchant-side span {
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.order-btn {
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.favorite-mini {
  border: 1px solid #dce9e4;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  color: #68737d;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.favorite-mini.is-active {
  border-color: #ffb766;
  background: #fff4e6;
  color: var(--orange);
}

.contact-mini {
  border: 1px solid rgba(24, 199, 125, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  background: #f2fff8;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.contact-mini:disabled {
  border-color: #e3e8ec;
  background: #f5f7f8;
  color: #aeb7bf;
}

.order-btn:disabled {
  background: #c4cbd2;
  cursor: not-allowed;
}

.confirm-screen {
  padding-top: 18px;
}

.address-card,
.confirm-card {
  width: 100%;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.address-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px 10px;
  padding: 18px 16px;
  color: var(--ink);
  text-align: left;
}

.address-card .address-pin {
  grid-column: 1;
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #eafff5;
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 900;
}

.address-card strong {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 900;
}

.address-card em {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7d8791;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.address-card i {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: #a7afb8;
  font-size: 28px;
  font-style: normal;
}

.confirm-card {
  margin-top: 12px;
  padding: 16px;
}

.service-meta-card {
  display: grid;
  gap: 14px;
}

.service-meta-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-meta-card span,
.confirm-row span {
  color: #6c7680;
  font-size: 17px;
}

.service-meta-card strong,
.service-meta-card button {
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-align: right;
}

.confirm-service-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.service-thumb {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 10px;
  border: 2px solid #ffad52;
  background: linear-gradient(135deg, #eafff5, #fff7eb);
  color: var(--green-deep);
  font-weight: 900;
}

.confirm-service-card h2 {
  min-width: 0;
  font-size: 20px;
  line-height: 1.25;
}

.confirm-service-card p {
  margin-top: 7px;
  color: #9aa3ac;
  font-size: 15px;
}

.confirm-service-card > div > strong {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-size: 23px;
}

.quantity-control,
.sheet-qty {
  display: grid;
  grid-template-columns: 36px 42px 36px;
  align-items: center;
  justify-items: center;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
}

.quantity-control {
  grid-column: 2;
  justify-self: end;
  margin-top: -44px;
}

.quantity-control button,
.sheet-qty button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f3f6f8;
  color: #151b21;
  font-size: 22px;
}

.quantity-control button:last-child,
.sheet-qty button:last-child {
  background: var(--green);
  color: #fff;
}

.confirm-row,
.confirm-total {
  grid-column: 1 / -1;
}

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

.confirm-row + .confirm-row {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.confirm-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.confirm-row button {
  border-radius: 6px;
  padding: 4px 8px;
  background: transparent;
  color: #9aa3ac;
  font-size: 16px;
  font-weight: 800;
}

.confirm-row button.is-active {
  border: 1px solid var(--green);
  color: var(--green-deep);
}

.confirm-total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  text-align: right;
}

.confirm-total strong {
  font-size: 25px;
}

.note-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.note-head h2 {
  font-size: 18px;
}

.note-card label {
  position: relative;
  display: block;
  margin-top: 12px;
}

.note-card textarea {
  width: 100%;
  min-height: 100px;
  border: 0;
  border-radius: 10px;
  outline: none;
  padding: 14px;
  resize: none;
  background: #f3f7f9;
  color: var(--ink);
}

.note-card label span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #b5bdc4;
}

.note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.note-tags button {
  border-radius: 7px;
  padding: 8px 10px;
  background: #f5f8fa;
  color: #a7afb8;
  font-weight: 800;
}

.pay-tip {
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff8df;
  color: #d79b43;
  font-weight: 800;
}

.pay-card label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  cursor: pointer;
}

.pay-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #eafff5, #cfefe2);
  color: #fff;
  color: var(--green-deep);
  font-weight: 900;
}

.pay-icon.wechat {
  background: linear-gradient(180deg, #22c983, #0fa86c);
  color: #fff;
}

.pay-card strong {
  font-size: 17px;
}

.pay-card em {
  justify-self: start;
  border: 1px solid #f0a097;
  border-radius: 3px;
  padding: 2px 5px;
  color: var(--red);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.pay-card i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid #cfd6dc;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

.pay-card i.is-checked {
  border-color: var(--green);
  background: var(--green);
}

.message-screen {
  position: relative;
  min-height: calc(100vh - 96px);
  padding-top: 24px;
}

.message-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-radius: 18px;
  padding: 24px 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.message-quick button {
  display: grid;
  gap: 12px;
  place-items: center;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.im-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(15, 195, 146, 0.18);
  border-radius: 16px;
  padding: 13px 14px;
  background: #f4fffb;
  color: var(--ink);
}

.im-status-card strong {
  font-size: 15px;
}

.im-status-card p {
  margin: 4px 0 0;
  color: #6c7780;
  font-size: 12px;
  line-height: 1.4;
}

.im-status-card span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: #0fc392;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.message-thread-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.message-thread-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(40, 52, 64, 0.06);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 22px rgba(40, 52, 64, 0.06);
}

.message-thread-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #e5fff4, #c9f4e7);
  color: #079861;
  font-weight: 900;
}

.message-thread-card strong,
.chat-session-head strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-thread-card p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #697781;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-thread-card em,
.message-thread-card i {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #ff5b4a;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.message-thread-card i {
  background: transparent;
  color: #b4bec6;
  font-size: 22px;
}

.message-thread-card b {
  border-radius: 999px;
  padding: 4px 7px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
}

.message-icon {
  display: grid;
  width: 70px;
  height: 58px;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(40, 52, 64, 0.12);
}

.message-icon.order {
  background: linear-gradient(135deg, #4fe0bb, #0fc392);
}

.message-icon.activity {
  background: linear-gradient(135deg, #ffb96e, #ff7048);
}

.message-icon.system {
  background: linear-gradient(135deg, #71e89b, #19c76f);
}

.message-icon.service {
  background: linear-gradient(135deg, #69c7ff, #2098ea);
}

.message-empty {
  display: grid;
  min-height: 560px;
  place-items: center;
  color: #dbe2e8;
}

.message-thread-list:not(:empty) + .message-empty {
  display: none;
}

.message-empty span {
  position: relative;
  display: grid;
  width: 82px;
  height: 66px;
  place-items: center;
  border-radius: 16px 16px 20px 16px;
  background: #e9eef3;
  font-size: 28px;
}

.message-empty span::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  background: #e9eef3;
}

.message-float {
  position: fixed;
  right: calc(50% - 192px);
  bottom: 118px;
  z-index: 22;
  display: grid;
  gap: 16px;
  border-radius: 999px;
  padding: 16px 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 28, 40, 0.12);
}

.message-float button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: transparent;
  color: #182028;
  font-size: 28px;
}

.my-screen {
  padding-top: 24px;
  padding-bottom: 130px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto 50px;
  align-items: center;
  gap: 10px;
}

.profile-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(7, 152, 97, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, #f3fffa, #d8f7ec);
  color: var(--green-deep);
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 -18px 0 rgba(24, 199, 125, 0.08);
}

.profile-hero h2 {
  font-size: 24px;
  line-height: 1.2;
}

.profile-hero span {
  display: inline-block;
  margin-top: 8px;
  border: 1px solid #83e5b8;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.profile-hero button {
  display: grid;
  gap: 4px;
  place-items: center;
  min-width: 0;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 8px;
  background: transparent;
  color: #172027;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.profile-gear-btn {
  width: 50px;
  height: 50px;
  border: 1px solid #dce9e4;
  border-radius: 50%;
  background: #fff !important;
  color: var(--green-deep) !important;
  font-size: 23px;
  box-shadow: 0 10px 22px rgba(24, 199, 125, 0.12);
}

.wallet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  margin-top: 28px;
}

.coupon-wallet,
.balance-card,
.my-orders-card,
.quick-action-card,
.city-news-card,
.app-download-card {
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.coupon-wallet {
  padding: 14px;
}

.coupon-wallet > div:first-child,
.my-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coupon-wallet span,
.balance-card span {
  color: #606a74;
  font-size: 15px;
  line-height: 1.25;
}

.coupon-wallet strong {
  color: var(--ink);
  font-size: 22px;
}

.coupon-wallet button,
.my-card-head button {
  background: transparent;
  color: #8d98a3;
  font-weight: 900;
}

.coupon-strip {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  border-radius: 12px;
  padding: 10px;
  background: #ffead2;
}

.coupon-strip strong {
  min-width: 0;
  font-size: 18px;
  line-height: 1.25;
}

.coupon-strip em {
  display: grid;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

.coupon-strip button {
  border-radius: 999px;
  padding: 8px 10px;
  background: #ff8a3b;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.balance-card {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 14px;
  text-align: center;
}

.balance-card strong {
  margin-top: 14px;
  font-size: 27px;
  line-height: 1;
}

.balance-card button {
  margin-top: 16px;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.my-orders-card {
  margin-top: 14px;
  padding: 18px;
}

.my-card-head h2 {
  font-size: 24px;
}

.order-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 20px;
}

.order-status-grid button {
  display: grid;
  gap: 9px;
  place-items: center;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.order-status-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(180deg, #f8fffc, #edf9f4);
}

.order-status-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #18252b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.order-status-icon .accent,
.order-status-icon .accent-line {
  stroke: var(--green);
}

.order-status-icon .accent {
  fill: #dffbf0;
}

.order-status-grid button:active .order-status-icon,
.order-status-grid button:hover .order-status-icon {
  background: #e6fff5;
}

.order-status-grid button:active svg,
.order-status-grid button:hover svg {
  stroke: var(--green-deep);
}

.order-status-grid strong {
  line-height: 1.1;
  white-space: nowrap;
}

.no-service-card {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(135deg, #b9ffe1, #8ef0d2);
}

.no-service-card > span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 16px;
  background: #32d883;
  color: #fff;
  font-size: 32px;
}

.no-service-card strong {
  font-size: 19px;
}

.no-service-card p {
  margin-top: 6px;
  color: #fff;
  font-weight: 900;
}

.no-service-card button {
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.quick-action-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  overflow: hidden;
}

.quick-action-card button {
  min-height: 72px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.quick-action-card button + button {
  border-left: 1px solid var(--line);
}

.city-news-card,
.app-download-card {
  margin-top: 12px;
  padding: 16px;
}

.city-news-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.city-news-card strong {
  font-size: 21px;
  font-style: italic;
}

.city-news-card span {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  padding: 8px 10px;
  background: #e9fff4;
  color: #50636b;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-download-card {
  min-height: 120px;
  background: linear-gradient(135deg, #d9fff0, #baf9dd);
}

.app-download-card strong {
  font-size: 21px;
}

.app-download-card p {
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.all-orders-screen {
  min-height: calc(100vh - 96px);
  padding-top: 26px;
}

.orders-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.orders-page-head h2 {
  font-size: 25px;
}

.orders-page-head button {
  background: transparent;
  color: #303941;
  font-size: 18px;
  font-weight: 900;
}

.orders-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 28px;
}

.orders-tabs button {
  position: relative;
  background: transparent;
  color: #505a64;
  font-size: 18px;
  font-weight: 900;
}

.orders-tabs button.is-active {
  color: var(--ink);
}

.orders-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 34px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--green);
}

.all-orders-list {
  margin-top: 28px;
}

.orders-empty {
  display: grid;
  min-height: 520px;
  place-items: center;
  color: #dbe2e8;
}

.orders-empty span {
  display: grid;
  width: 70px;
  height: 82px;
  place-items: center;
  border-radius: 14px;
  background: #e9eef3;
  font-size: 32px;
}

.orders-empty p {
  margin-top: -180px;
}

.order-list-card {
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.order-list-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-list-card span {
  color: var(--green-deep);
  font-weight: 900;
}

.order-list-card p {
  margin-top: 8px;
  color: #707b86;
}

.order-list-card button {
  margin-top: 12px;
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.order-list-card .order-action-row button,
.order-list-card .order-review button {
  margin-top: 0;
}

.order-list-card .ghost-danger {
  border: 1px solid #ffd0ca;
  background: #fff4f2;
  color: #d9483b;
}

.order-action-row.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.utility-screen {
  min-height: calc(100vh - 96px);
  padding-bottom: 104px;
}

.utility-hero,
.utility-panel,
.utility-list-card,
.utility-coupon-card {
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.utility-hero {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.utility-hero.card {
  background: linear-gradient(135deg, #18c87d, #eafff5);
  color: #0c2a24;
}

.utility-hero h2 {
  font-size: 24px;
}

.utility-hero p,
.utility-panel p,
.utility-list-card p,
.utility-coupon-card p {
  color: #68737d;
  line-height: 1.5;
  font-weight: 800;
}

.utility-hero.card h2 {
  font-size: 36px;
}

.utility-panel,
.utility-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.utility-panel {
  padding: 16px;
}

.utility-panel h3 {
  font-size: 19px;
}

.utility-account-grid {
  display: grid;
  gap: 10px;
}

.utility-account-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #e5eee9;
  border-radius: 12px;
  padding: 12px;
  background: #f8fafb;
}

.utility-account-row span {
  color: #7b8690;
  font-size: 13px;
  font-weight: 900;
}

.utility-account-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-group {
  display: grid;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.settings-row {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 0;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.settings-row + .settings-row {
  border-top: 1px solid #edf1f4;
}

.settings-row span {
  min-width: 0;
  font-size: 16px;
  font-weight: 900;
}

.settings-row em {
  overflow: hidden;
  color: #7b8690;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-row i {
  color: #a5b1b8;
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  text-align: right;
}

.settings-group.danger {
  margin-top: 18px;
}

.settings-row.settings-logout {
  grid-template-columns: 1fr;
  justify-items: center;
  color: var(--red);
  font-size: 16px;
  text-align: center;
}

.jd-address-head {
  display: grid;
  gap: 8px;
  border-radius: 14px;
  padding: 18px 18px 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.jd-address-head h2 {
  font-size: 22px;
}

.jd-address-head p {
  color: #6f7b84;
  font-size: 13px;
  font-weight: 800;
}

.jd-address-list,
.jd-address-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.jd-address-list,
.jd-address-form {
  padding-bottom: 96px;
}

.jd-address-card {
  display: grid;
  gap: 12px;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.jd-address-card.is-default {
  border: 1px solid rgba(24, 199, 125, 0.24);
  background: linear-gradient(180deg, #f4fffa, #fff);
}

.jd-address-main {
  display: grid;
  gap: 8px;
}

.jd-address-main > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.jd-address-main strong {
  font-size: 17px;
}

.jd-address-main span {
  color: #6f7b84;
  font-size: 13px;
  font-weight: 800;
}

.jd-address-main em {
  border-radius: 999px;
  padding: 2px 8px;
  background: #eafff5;
  color: var(--green-deep);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.jd-address-main p {
  color: #57616a;
  line-height: 1.45;
  font-size: 14px;
  font-weight: 800;
}

.jd-address-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.jd-address-actions button,
.jd-address-add,
.jd-address-save {
  border-radius: 12px;
  padding: 11px 12px;
  background: #f3faf7;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.jd-address-actions button:disabled {
  background: #edf1f4;
  color: #8c98a2;
}

.jd-address-add,
.jd-address-save {
  background: var(--green);
  color: #fff;
}

.jd-address-field {
  display: grid;
  gap: 8px;
  color: #3b4650;
  font-weight: 900;
}

.jd-address-field span {
  font-size: 14px;
}

.jd-address-field input,
.jd-address-field select {
  width: 100%;
  border: 1px solid #dce5eb;
  border-radius: 12px;
  outline: none;
  padding: 12px;
  background: #f8fafb;
  color: var(--ink);
  font-size: 15px;
}

.address-map-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.address-map-grid .jd-address-field:last-child {
  grid-column: 1 / -1;
}

.jd-address-default {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3b4650;
  font-weight: 900;
}

.utility-list-card,
.utility-coupon-card,
.utility-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.utility-item {
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid #e5eee9;
  border-radius: 16px;
  background: #fff;
}

.utility-avatar,
.utility-coupon-card > strong {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: #eafff5;
  color: var(--green-deep);
  font-size: 20px;
  font-weight: 900;
}

.utility-list-card h3,
.utility-coupon-card h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
}

.utility-list-card span {
  display: inline-block;
  margin-top: 4px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #fff4ef;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.utility-list-card button,
.utility-coupon-card button,
.utility-primary {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.utility-secondary {
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.utility-coupon-card > strong {
  background: #ffead2;
  color: var(--orange);
}

.discover-grid,
.amount-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.discover-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.discover-grid button,
.amount-grid button {
  display: grid;
  gap: 5px;
  border: 1px solid #dce9e4;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow);
}

.amount-grid button.is-active {
  border-color: var(--green);
  background: #eafff5;
  color: var(--green-deep);
}

.discover-grid strong,
.amount-grid button {
  font-size: 17px;
  font-weight: 900;
}

.discover-grid span {
  color: #7b8690;
  font-size: 13px;
  font-weight: 800;
}

.amount-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amount-grid button {
  display: block;
  text-align: center;
}

.utility-field {
  display: grid;
  gap: 8px;
  color: #3b4650;
  font-weight: 900;
}

.utility-field input,
.utility-field select,
.utility-field textarea {
  width: 100%;
  border: 1px solid #dce5eb;
  border-radius: 12px;
  outline: none;
  padding: 12px;
  background: #f8fafb;
  color: var(--ink);
  font-size: 15px;
}

.utility-field textarea {
  min-height: 110px;
  resize: none;
}

.chat-screen {
  min-height: calc(100vh - 96px);
  padding: 16px 12px 88px;
}

.chat-session-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(15, 195, 146, 0.14);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 52, 64, 0.06);
}

.chat-session-head p {
  margin: 5px 0 0;
  color: #71808a;
  font-size: 12px;
}

.chat-session-head span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf9f4;
  color: #079861;
  font-size: 12px;
  font-weight: 900;
}

.chat-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.chat-tools button {
  border-radius: 999px;
  padding: 6px 9px;
  background: #edf9f4;
  color: #079861;
  font-size: 12px;
  font-weight: 900;
}

.chat-list {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 560px;
}

.chat-bubble {
  display: grid;
  gap: 4px;
  max-width: 82%;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  line-height: 1.5;
}

.chat-bubble small {
  color: #8c99a3;
  font-size: 11px;
  font-weight: 800;
}

.chat-bubble.from-me {
  justify-self: end;
  border-radius: 16px 16px 4px 16px;
  background: var(--green);
  color: #fff;
}

.chat-bubble.from-me small {
  color: rgba(255, 255, 255, 0.78);
}

.chat-bubble.is-sending {
  opacity: 0.72;
}

.chat-bubble.is-failed {
  background: #fff1f0;
  color: #b42318;
}

.chat-bubble.from-me.is-failed {
  background: #d92d20;
  color: #fff;
}

.chat-image-message,
.chat-order-card {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.chat-image-message img {
  width: min(190px, 100%);
  border-radius: 10px;
  object-fit: cover;
}

.chat-order-card {
  border: 1px solid rgba(7, 152, 97, 0.18);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.chat-order-card strong,
.chat-order-card span,
.chat-order-card em {
  color: inherit;
}

.chat-order-card em {
  font-style: normal;
  font-weight: 900;
}

.chat-input {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 28;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(100%, 430px);
  transform: translateX(50%);
  padding: 12px;
  background: #fff;
}

.chat-input input {
  min-width: 0;
  border: 1px solid #dce4ea;
  border-radius: 999px;
  padding: 12px 16px;
  outline: none;
}

.chat-input button {
  border-radius: 999px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.card-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 2px 36px;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff3f1;
  color: var(--red);
  font-weight: 900;
}

.card-discount button {
  background: transparent;
  color: var(--red);
  font-weight: 900;
}

.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: none;
  background: rgba(0, 0, 0, 0.48);
}

.sheet-mask.is-visible {
  display: block;
}

.order-sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 40;
  width: min(100%, 430px);
  max-height: 72vh;
  overflow-y: auto;
  transform: translate(50%, 104%);
  border-radius: 24px 24px 0 0;
  padding: 18px 12px 86px;
  background: #f5f8fa;
  transition: transform 0.22s ease;
}

.order-sheet.is-visible {
  transform: translate(50%, 0);
}

.sheet-close {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #f4f6f8;
  color: var(--ink);
  font-size: 28px;
}

.sheet-service-main,
.sheet-projects {
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.sheet-service-main {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.sheet-service-main h2 {
  font-size: 19px;
}

.sheet-service-main p {
  margin-top: 5px;
  color: #8c96a0;
  font-size: 15px;
}

.sheet-service-main strong {
  display: inline-block;
  margin-top: 8px;
  color: var(--red);
  font-size: 24px;
}

.sheet-service-main del {
  color: #aab2ba;
  font-size: 18px;
  font-weight: 900;
}

.sheet-merchant {
  display: grid;
  gap: 5px;
  justify-items: center;
  background: transparent;
  color: #505963;
  font-weight: 900;
}

.sheet-merchant span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #f2f3ff;
  color: var(--ink);
}

.sheet-projects {
  position: relative;
  margin-top: 12px;
  padding: 16px;
  min-height: 210px;
}

.sheet-project-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sheet-project-head h2 {
  font-size: 18px;
}

.sheet-project-head div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f4f6;
}

.sheet-project-head button {
  padding: 6px 16px;
  background: transparent;
  color: #6b747e;
  font-weight: 900;
}

.sheet-project-head button.is-active {
  background: #fff;
  color: var(--ink);
}

.project-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.project-chip-row button {
  position: relative;
  border: 1px solid #dce5e9;
  border-radius: 8px;
  padding: 9px 14px;
  background: #fff;
  color: #49535d;
  font-size: 17px;
  font-weight: 900;
}

.project-chip-row button.is-active {
  border-color: var(--green);
  color: var(--green-deep);
}

.project-chip-row span {
  position: absolute;
  left: 10px;
  top: -17px;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
}

.project-chip-row em {
  margin-left: 4px;
  border: 1px solid #b6ead5;
  border-radius: 6px;
  padding: 1px 4px;
  color: var(--green-deep);
  font-size: 13px;
  font-style: normal;
}

.project-chip-row em.gender-mark {
  border-color: #cfe0ff;
  color: #2878c8;
}

.sheet-qty {
  position: absolute;
  right: 16px;
  bottom: 18px;
}

.sheet-bottom,
.confirm-bottom {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 42;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(100%, 430px);
  transform: translateX(50%);
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: #fff;
}

.sheet-bottom p,
.confirm-bottom p {
  color: var(--ink);
  font-size: 17px;
}

.sheet-bottom strong,
.confirm-bottom strong {
  color: var(--red);
  font-size: 28px;
}

.sheet-bottom button,
.confirm-bottom button {
  border-radius: 999px;
  padding: 13px 28px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.confirm-bottom {
  display: none;
  z-index: 30;
}

.screen-confirm .confirm-bottom {
  display: grid;
}

.screen-confirm .tabbar,
.screen-confirm .location-fail {
  display: none;
}

.screen-message .location-fail {
  display: none;
}

.screen-orders .tabbar,
.screen-orders .location-fail,
.screen-chat .tabbar,
.screen-chat .location-fail,
.screen-apply .tabbar,
.screen-apply .location-fail,
.screen-applyVerify .tabbar,
.screen-applyVerify .location-fail,
.screen-utility .tabbar,
.screen-my .location-fail,
.screen-utility .location-fail {
  display: none;
}

.screen-home .message-float,
.screen-merchant .message-float,
.screen-apply .message-float,
.screen-confirm .message-float,
.screen-my .message-float,
.screen-orders .message-float,
.screen-chat .message-float,
.screen-utility .message-float,
.screen-home .message-screen,
.screen-merchant .message-screen,
.screen-apply .message-screen,
.screen-confirm .message-screen,
.screen-my .message-screen,
.screen-orders .message-screen,
.screen-chat .message-screen,
.screen-utility .message-screen {
  display: none;
}

.orders-mini .empty-order {
  border-radius: 10px;
  padding: 14px;
  background: #f8fafb;
  color: #808b96;
  text-align: center;
}

.home-tech-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 12px;
  background: #f8fafb;
}

.home-tech-card + .home-tech-card {
  margin-top: 10px;
}

.home-tech-avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #e1ece7;
  border-radius: 15px;
  background: linear-gradient(180deg, #f8fffc, #edf8f3);
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
}

.home-tech-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.home-tech-title h3 {
  font-size: 16px;
}

.home-tech-title span {
  border-radius: 999px;
  padding: 2px 7px;
  background: #ecfbf4;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
}

.home-tech-card p,
.home-tech-card small {
  display: block;
  margin-top: 5px;
  color: #7a8590;
  font-size: 12px;
  line-height: 1.35;
}

.home-tech-card p strong {
  color: var(--orange);
}

.home-book-btn {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.order-card {
  border-radius: 10px;
  padding: 12px;
  background: #f8fafb;
}

.order-card + .order-card {
  margin-top: 8px;
}

.order-card h3 {
  font-size: 15px;
}

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.order-card-head span {
  border-radius: 999px;
  padding: 4px 8px;
  background: #e8fff4;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.order-card p {
  margin-top: 5px;
  color: #7a8590;
  font-size: 13px;
}

.order-card small {
  display: block;
  margin-top: 6px;
  color: #a06a31;
  font-size: 12px;
  font-weight: 800;
}

.order-action-row,
.order-review {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.order-action-row {
  grid-template-columns: 1fr auto;
}

.order-action-row input,
.order-review select,
.order-review textarea {
  min-width: 0;
  border: 1px solid #dde4ea;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
}

.order-review textarea {
  min-height: 64px;
  resize: vertical;
}

.order-action-row button,
.order-review button {
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.location-fail {
  position: fixed;
  right: calc(50% - 203px);
  bottom: 76px;
  z-index: 20;
  display: none;
  grid-template-columns: 1fr auto;
  width: 406px;
  max-width: calc(100vw - 24px);
  gap: 2px 12px;
  border-radius: 12px;
  padding: 14px;
  background: rgba(47, 49, 53, 0.72);
  color: #fff;
}

.location-fail strong {
  font-size: 17px;
}

.location-fail span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.location-fail button {
  grid-row: span 2;
  align-self: center;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.location-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  background: rgba(9, 18, 28, 0.5);
}

.location-mask.is-visible {
  display: block;
}

.location-sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 74;
  width: min(100%, 430px);
  max-height: min(96vh, 760px);
  overflow-y: auto;
  transform: translate(50%, 104%);
  border-radius: 22px 22px 0 0;
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -14px 38px rgba(11, 29, 42, 0.2);
  transition: transform 0.22s ease;
  visibility: hidden;
  pointer-events: none;
}

.location-sheet.is-visible {
  transform: translate(50%, 0);
  visibility: visible;
  pointer-events: auto;
}

body.is-customer-onboarding .location-mask,
body.is-customer-onboarding .preference-mask {
  display: block;
  background: #f4f8f6;
}

body.is-customer-onboarding .location-sheet,
body.is-customer-onboarding .preference-sheet {
  top: 0;
  bottom: auto;
  min-height: 100vh;
  max-height: none;
  overflow-y: auto;
  border-radius: 0;
  box-shadow: none;
  transform: translate(50%, 0);
  padding: 18px 16px calc(26px + env(safe-area-inset-bottom));
}

.location-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f1f4f6;
  color: #29323a;
  font-size: 24px;
}

.location-sheet header {
  display: grid;
  gap: 4px;
  padding-right: 42px;
}

.location-sheet header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-sheet header strong {
  font-size: 20px;
  font-weight: 900;
}

.location-sheet header span {
  color: #75808b;
  line-height: 1.35;
  font-size: 13px;
  font-weight: 700;
}

.location-preset-row {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.location-preset-row button {
  border: 1px solid #dce9e4;
  border-radius: 10px;
  padding: 9px 10px;
  background: #f7fbf9;
  color: #26313a;
  text-align: left;
  font-size: 14px;
  font-weight: 900;
}

.location-preset-row button.is-active {
  border-color: var(--green);
  background: #eafff5;
  color: var(--green-deep);
}

.location-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.location-fields label {
  display: grid;
  gap: 6px;
  color: #3b4650;
  font-size: 13px;
  font-weight: 900;
}

.location-fields select,
.location-fields input {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce5eb;
  border-radius: 10px;
  outline: none;
  padding: 10px 9px;
  background: #f8fafb;
  color: var(--ink);
  font-size: 15px;
}

.location-detail-field {
  grid-column: 1 / -1;
}

.location-coordinate-field {
  display: none !important;
}

.location-next {
  border-radius: 999px;
  padding: 7px 14px;
  background: #eef9f3;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.location-sheet.is-onboarding .location-close {
  display: none;
}

.location-sheet.is-onboarding header {
  padding-right: 0;
}

.location-sheet.is-onboarding .location-fields {
  grid-template-columns: 1fr;
  gap: 10px;
}

.location-sheet.is-onboarding .location-save {
  margin-top: 18px;
}

.map-picker-card {
  display: none;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid #dce9e4;
  border-radius: 14px;
  padding: 10px;
  background: #f8fbfa;
}

.map-picker-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.map-picker-card strong {
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.map-picker-card span {
  color: #75808b;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.map-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.map-search-row input {
  min-width: 0;
  border: 1px solid #dce5eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.map-search-row button {
  border-radius: 10px;
  padding: 0 14px;
  background: #eef9f3;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.map-suggestion-list {
  display: none;
  gap: 8px;
}

.map-suggestion-list.is-visible {
  display: grid;
}

.map-suggestion-item {
  display: grid;
  gap: 4px;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  text-align: left;
}

.map-suggestion-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.map-suggestion-item span {
  color: #75808b;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
}

.map-picker {
  display: grid;
  min-height: 238px;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e7f8f0, #f7fbf9);
  color: var(--green-deep);
  font-weight: 900;
}

.map-picker.is-fallback {
  border: 1px dashed #b9d8cc;
}

.location-save {
  width: 100%;
  margin-top: 16px;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.preference-mask {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: none;
  background: rgba(9, 18, 28, 0.5);
}

.preference-mask.is-visible {
  display: block;
}

.preference-sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 82;
  width: min(100%, 430px);
  transform: translate(50%, 104%);
  border-radius: 22px 22px 0 0;
  padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -14px 38px rgba(11, 29, 42, 0.2);
  transition: transform 0.22s ease;
}

.preference-sheet.is-visible {
  transform: translate(50%, 0);
}

.preference-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f1f4f6;
  color: #29323a;
  font-size: 24px;
}

.preference-sheet.is-onboarding .preference-close {
  display: none;
}

.preference-sheet header {
  display: grid;
  gap: 6px;
  padding-right: 42px;
}

.preference-sheet.is-onboarding header {
  padding-right: 0;
}

.preference-sheet header strong {
  font-size: 22px;
  font-weight: 900;
}

.preference-sheet header span {
  color: #75808b;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 700;
}

.preference-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.preference-group span {
  flex: 0 0 100%;
  color: #3b4650;
  font-size: 13px;
  font-weight: 900;
}

.preference-group button {
  border: 1px solid #dce9e4;
  border-radius: 999px;
  padding: 9px 13px;
  background: #f7fbf9;
  color: #26313a;
  font-size: 14px;
  font-weight: 900;
}

.preference-group button.is-active {
  border-color: var(--green);
  background: #eafff5;
  color: var(--green-deep);
}

.preference-save {
  width: 100%;
  margin-top: 20px;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.time-mask {
  position: fixed;
  inset: 0;
  z-index: 76;
  display: none;
  background: rgba(9, 18, 28, 0.5);
}

.time-mask.is-visible {
  display: block;
}

.time-sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 80;
  width: min(100%, 430px);
  transform: translate(50%, 104%);
  border-radius: 22px 22px 0 0;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -14px 38px rgba(11, 29, 42, 0.2);
  transition: transform 0.22s ease;
}

.time-sheet.is-visible {
  transform: translate(50%, 0);
}

.time-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f1f4f6;
  color: #29323a;
  font-size: 24px;
}

.time-sheet header {
  display: grid;
  gap: 6px;
  padding-right: 42px;
}

.time-sheet header strong {
  font-size: 22px;
  font-weight: 900;
}

.time-sheet header span {
  color: #75808b;
  line-height: 1.45;
  font-size: 14px;
  font-weight: 700;
}

.time-date-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.time-date-row button {
  display: grid;
  gap: 4px;
  border: 1px solid #dce9e4;
  border-radius: 12px;
  padding: 10px 8px;
  background: #f7fbf9;
  color: #26313a;
}

.time-date-row strong,
.time-date-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-date-row strong {
  font-size: 15px;
  font-weight: 900;
}

.time-date-row span {
  color: #7c8791;
  font-size: 12px;
  font-weight: 800;
}

.time-date-row button.is-active {
  border-color: var(--green);
  background: #eafff5;
  color: var(--green-deep);
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.time-slot-grid button {
  display: grid;
  gap: 3px;
  place-items: center;
  border: 1px solid #dce5eb;
  border-radius: 12px;
  min-height: 64px;
  padding: 10px 8px;
  background: #f8fafb;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.time-slot-grid button em {
  color: #7d8b95;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.time-slot-grid button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.time-slot-grid button.is-active em {
  color: rgba(255, 255, 255, 0.88);
}

.time-slot-grid button:disabled {
  border-color: #edf1f4;
  background: #f4f6f8;
  color: #b7c0c7;
}

.time-slot-grid button.is-occupied {
  border-color: #ffd9b3;
  background: #fff7ed;
  color: #c26a20;
}

.time-slot-grid button.is-occupied em {
  color: #d4853d;
}

.time-save {
  width: 100%;
  margin-top: 18px;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.coupon-mask {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: none;
  background: rgba(9, 18, 28, 0.5);
}

.coupon-mask.is-visible {
  display: block;
}

.coupon-sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 86;
  width: min(100%, 430px);
  transform: translate(50%, 104%);
  border-radius: 22px 22px 0 0;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -14px 38px rgba(11, 29, 42, 0.2);
  transition: transform 0.22s ease;
}

.coupon-sheet.is-visible {
  transform: translate(50%, 0);
}

.coupon-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f1f4f6;
  color: #29323a;
  font-size: 24px;
}

.coupon-sheet header {
  display: grid;
  gap: 6px;
  padding-right: 42px;
}

.coupon-sheet header strong {
  font-size: 22px;
  font-weight: 900;
}

.coupon-sheet header span {
  color: #75808b;
  line-height: 1.45;
  font-size: 14px;
  font-weight: 700;
}

.coupon-option-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.coupon-option-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  border: 1px solid #dce5eb;
  border-radius: 12px;
  padding: 13px 12px;
  background: #f8fafb;
  color: var(--ink);
  text-align: left;
}

.coupon-option-list strong,
.coupon-option-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coupon-option-list strong {
  font-size: 16px;
  font-weight: 900;
}

.coupon-option-list span {
  color: #7c8791;
  font-size: 13px;
  font-weight: 800;
}

.coupon-option-list em {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--red);
  font-style: normal;
  font-size: 18px;
  font-weight: 900;
}

.coupon-option-list button.is-active {
  border-color: var(--green);
  background: #eafff5;
}

.coupon-option-list button:disabled {
  background: #f4f6f8;
  color: #b3bdc5;
}

.tabbar {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 18;
  display: grid;
  width: min(100%, 430px);
  height: 78px;
  transform: translateX(50%);
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.08);
}

.tabbar button {
  display: grid;
  gap: 3px;
  place-items: center;
  background: transparent;
  color: #a4adb6;
  font-weight: 800;
}

.tabbar button.is-active {
  color: var(--green-deep);
}

.tabbar strong {
  font-size: 13px;
}

.tab-logo {
  display: grid;
  width: 64px;
  height: 52px;
  place-items: center;
  border: 4px solid #e9fff4;
  border-radius: 18px;
  background: linear-gradient(180deg, #20cf85, #0dae70);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 141, 91, 0.22);
}

.center-tab {
  transform: translateY(-24px);
}

.center-tab span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 5px solid #e9fff4;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.16;
  box-shadow: 0 8px 18px rgba(0, 174, 109, 0.3);
}

.toast {
  position: fixed;
  right: 50%;
  bottom: 164px;
  z-index: 30;
  max-width: min(340px, calc(100vw - 32px));
  transform: translate(50%, 12px);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(18, 24, 30, 0.9);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}

.toast.is-visible {
  transform: translate(50%, 0);
  opacity: 1;
}

.global-error {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid #fed7aa;
  padding: 10px 14px;
  background: #fff7ed;
  color: #8a4b12;
}

.global-error[hidden] {
  display: none;
}

.global-error div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.global-error span {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.global-error button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.order-after-sale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff7ed;
  color: #8a4b12;
  font-size: 12px;
}

.order-after-sale button,
.after-sale-steps button {
  border: 0;
  background: transparent;
  color: #0b8f61;
  font-weight: 800;
}

.after-sale-steps,
.complaint-card ol {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 12px;
}

.after-sale-steps li,
.complaint-card li {
  margin: 6px 0;
}

.after-sale-steps span {
  display: block;
  margin-top: 2px;
  color: #8a94a6;
}

.complaint-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.complaint-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.complaint-card span {
  border-radius: 999px;
  padding: 3px 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
}

.complaint-card em {
  display: inline-block;
  margin: 4px 4px 0 0;
  border-radius: 6px;
  padding: 3px 6px;
  background: #f3f4f6;
  color: #374151;
  font-style: normal;
}

.app-dialog-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-dialog-root.is-visible {
  display: flex;
}

.app-dialog-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.app-dialog-card {
  position: relative;
  z-index: 1;
  width: min(340px, calc(100vw - 40px));
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
}

.app-dialog-card header,
.app-dialog-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-dialog-card header strong {
  color: #111827;
  font-size: 16px;
}

.app-dialog-card header button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #64748b;
  font-size: 20px;
}

.app-dialog-card p {
  margin: 10px 0 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.app-dialog-card input,
.app-dialog-card textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 11px 12px;
  color: #111827;
  font: inherit;
  resize: none;
}

.app-dialog-card footer {
  margin-top: 14px;
}

.app-dialog-card footer button {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.dialog-secondary {
  background: #f3f4f6;
  color: #475569;
}

.dialog-primary {
  background: #111827;
  color: #fff;
}

.dialog-primary.is-danger {
  background: #dc2626;
}

@media (max-width: 430px) {
  .mobile-app {
    width: 100%;
  }

  .location-fail {
    right: 12px;
  }

  .message-float {
    right: 18px;
  }
}

@media (max-width: 380px) {
  .merchant-card {
    grid-template-columns: 72px 1fr;
  }

  .merchant-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }
}
