:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
  color: #1a3b50;
  background: #edf3f5;
  font-synthesis: none;
  --blue: #174d70;
  --muted: #657c8b;
  --line: #dce7ec;
  --green: #e4f1e9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.app {
  max-width: 760px;
  margin: auto;
  background: #fff;
  min-height: 100vh;
  position: relative;
  padding-bottom: 116px;
}
header {
  padding: 24px 28px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 3px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 3px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #abc8d7;
  border-radius: 50%;
  font-size: 24px;
  letter-spacing: 0;
}
.preview {
  font-size: 11px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
}
main {
  padding: 0 28px 28px;
}
h1 {
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: 1px;
  font-weight: 650;
  margin: 14px 0;
}
h2 {
  font-size: 22px;
  margin: 22px 0 12px;
}
h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
p {
  line-height: 1.8;
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  margin: 12px 0;
}
.hero {
  background: #edf5f8;
  border-radius: 3px;
  padding: 30px 25px 0;
  position: relative;
  overflow: hidden;
}
.hero p {
  font-size: 14px;
  max-width: 250px;
}
.hero-art {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 10px;
  position: relative;
}
.washer {
  width: 115px;
  height: 128px;
  background: #fff;
  border: 1px solid #b9d1dd;
  border-radius: 10px 10px 0 0;
  padding: 12px;
  box-shadow: 8px 3px 0 #dceaf0;
}
.washer:before {
  content: "•••";
  color: #96b8c9;
  display: block;
  border-bottom: 1px solid #ddeaf1;
  padding-bottom: 6px;
  letter-spacing: 5px;
}
.washer:after {
  content: "≈";
  display: grid;
  place-items: center;
  font-size: 60px;
  line-height: 60px;
  background: #dbedf4;
  color: #94c0d4;
  width: 74px;
  height: 74px;
  margin: 9px auto;
  border: 5px solid #c6dde7;
  border-radius: 50%;
}
.folded {
  width: 92px;
  height: 25px;
  position: relative;
  margin-right: 22px;
  margin-bottom: 0;
  background: #afcdc7;
  border-radius: 5px 5px 0 0;
  box-shadow:
    0 -22px #d3e6dd,
    0 -44px #f8f9f1;
}
.primary {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 14px 20px;
  font-weight: 600;
  letter-spacing: 1px;
  min-height: 48px;
}
.primary.wide {
  width: 100%;
}
.secondary {
  border: 1px solid #c5d7e0;
  background: #fff;
  color: var(--blue);
  border-radius: 7px;
  padding: 10px 16px;
  min-height: 44px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--blue);
  padding: 10px 0;
  min-height: 44px;
}
.service-row {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.service-icon {
  background: #eef5f8;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  color: #5f8da7;
  font-size: 24px;
}
.service-row strong {
  font-size: 15px;
}
.service-row p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.service-row .arrow {
  margin-left: auto;
  color: #9bb8c7;
}
.notice {
  padding: 14px 16px;
  background: #f3f7f5;
  font-size: 12px;
  line-height: 1.8;
  border-left: 3px solid #bdd6cb;
  margin: 20px 0;
}
.section-intro {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 24px;
}
.step-label {
  font-size: 12px;
  color: #6a8c9f;
  letter-spacing: 2px;
  margin: 26px 0 12px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend {
  font-weight: 650;
  margin-bottom: 12px;
}
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.item input {
  width: 70px;
  text-align: center;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mode {
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}
.mode:has(input:checked) {
  border-color: var(--blue);
  background: #f0f6f9;
}
label.field {
  display: block;
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 600;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 7px;
  min-height: 46px;
  border: 1px solid #cbdce5;
  border-radius: 6px;
  background: #fff;
  color: #24475d;
}
textarea {
  resize: vertical;
  min-height: 88px;
}
.item input:not([type="checkbox"]) {
  width: 72px;
  margin: 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.8;
  margin: 18px 0;
}
.check input {
  margin-top: 5px;
  accent-color: var(--blue);
}
.summary {
  background: #f1f6f8;
  padding: 18px;
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.8;
}
.summary ul {
  padding-left: 18px;
}
.booking {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.booking-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.status {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 16px;
  background: #f5efd9;
  color: #816b32;
}
.status.CONFIRMED {
  background: #e5f2e9;
  color: #3e7554;
}
.status.CANCELLED {
  background: #eef1f3;
  color: #778994;
}
.booking p {
  font-size: 14px;
  margin: 10px 0;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.empty {
  text-align: center;
  padding: 50px 10px;
  color: var(--muted);
}
.empty-icon {
  font-size: 42px;
  color: #acc4d0;
}
.success {
  padding: 30px 0;
  text-align: center;
}
.success-icon {
  display: grid;
  place-items: center;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  font-size: 30px;
  color: #54806a;
}
.success p {
  font-size: 14px;
}
.detail {
  font-size: 14px;
  line-height: 1.9;
  background: #f5f8fa;
  padding: 18px;
  border-radius: 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.quick button {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: #365a70;
  padding: 8px 12px;
  font-size: 12px;
  min-height: 38px;
}
.chat {
  padding: 20px 18px;
  background: #f1f6f8;
  margin: 18px 0;
  border-radius: 0 14px 14px 14px;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat .decision {
  font-size: 11px;
  display: block;
  color: #658092;
  margin-bottom: 10px;
  white-space: normal;
}
.error {
  color: #a8473b;
  font-size: 13px;
  line-height: 1.8;
}
.inline-form {
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 6px;
  margin-top: 12px;
}
nav {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 760px);
  display: flex;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  z-index: 5;
  padding: 8px 10px calc(5px + env(safe-area-inset-bottom));
}
nav button {
  flex: 1;
  border: 0;
  background: none;
  color: #8497a1;
  font-size: 11px;
  padding: 3px;
  min-height: 48px;
}
nav span {
  display: block;
  font-size: 24px;
  margin-bottom: 3px;
}
nav button.active {
  color: var(--blue);
  font-weight: 700;
}
footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 760px);
  height: 30px;
  background: #f4f7f8;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  color: #7b919e;
  font-size: 9px;
  z-index: 5;
}
footer button {
  border: 0;
  background: none;
  font-size: 10px;
  color: #607f92;
  padding: 5px;
}
footer span {
  margin-left: auto;
}
#toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 110px;
  background: #24475d;
  color: white;
  border-radius: 8px;
  max-width: 85%;
  font-size: 13px;
  padding: 0;
  z-index: 10;
}
#toast:not(:empty) {
  padding: 13px 18px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #83b9d6;
  outline-offset: 3px;
}
@media (min-width: 600px) {
  header {
    padding: 30px 48px;
  }
  main {
    padding: 0 48px 35px;
  }
  .hero {
    padding: 38px 36px 0;
  }
  .hero-art {
    height: 170px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero p {
    max-width: 350px;
  }
  .washer {
    width: 140px;
    height: 150px;
  }
  .washer:after {
    width: 90px;
    height: 90px;
  }
  .hero-art {
    margin-top: -70px;
  }
  .folded {
    width: 110px;
  }
  .app {
    box-shadow: 0 0 60px #dce5e9;
  }
}
.customer-wallet .balance-number {
  display: block;
  font-size: 34px;
  font-weight: 750;
  color: #174d70;
  margin-bottom: 24px;
}
.customer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}
.customer-badges .badge {
  padding: 4px 9px;
  background: #e7f2f8;
  border-radius: 5px;
  font-size: 12px;
  color: #174d70;
}
.customer-wallet .table-wrap {
  overflow: auto;
  margin-top: 24px;
  border: 1px solid #d9e5eb;
  border-radius: 8px;
}
.customer-wallet table {
  border-collapse: collapse;
  font-size: 12px;
  min-width: 700px;
  text-align: left;
}
.customer-wallet th,
.customer-wallet td {
  padding: 12px;
  border-bottom: 1px solid #e2eaf0;
  white-space: pre-wrap;
}
.customer-wallet th {
  background: #edf5f9;
}
.wallet-confirmation {
  background: #edf6fb;
  border: 2px solid #a1c7df;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}
.wallet-confirmation p {
  white-space: pre-line;
}
.customer-orders {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #d9e5eb;
}
.order-card .detail {
  white-space: pre-line;
}
.order-card h3 {
  margin-top: 16px;
}
