:root {
  --teal: #007e89;
  --ink: #173e44;
  --muted: #5b7379;
  --line: #dce7e8;
  --mint: #eaf6f3;
  --bg: #f6f9f9;
  --white: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  transition:
    background-color 0.18s,
    color 0.18s,
    border-color 0.18s;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #3cafbd;
  outline-offset: 3px;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.5;
  text-wrap: balance;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
h2 {
  font-size: 21px;
  font-weight: 650;
  margin-bottom: 16px;
}
h3 {
  font-size: 18px;
  margin-bottom: 9px;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1220px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: white;
  padding: 10px;
  z-index: 30;
}
.skip-link:focus {
  top: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.site-header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-logo {
  position: relative;
  width: 176px;
  height: 58px;
  overflow: hidden;
  display: block;
  flex: none;
}
.brand-logo img {
  position: absolute;
  width: 176px;
  height: auto;
  left: 0;
  top: -53px;
}
.brand-name {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  gap: 26px;
  white-space: nowrap;
}
.site-header nav a {
  padding: 8px 0;
  font-weight: 500;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--teal);
}
.site-header nav a[aria-current] {
  border-bottom: 2px solid var(--teal);
}
.notice {
  padding: 14px 18px;
  background: #fff6e5;
  color: #71532c;
  border-left: 3px solid #bd9358;
  margin-top: 22px;
  border-radius: 4px;
}
.member-heading {
  padding: 42px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.section-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--teal);
  display: block;
  margin: 0 0 11px;
}
.member-heading p:last-child {
  font-size: 14px;
  margin-bottom: 0;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.primary,
.secondary {
  border-radius: 8px;
  padding: 12px 21px;
  font-weight: 600;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  line-height: 1.5;
}
.primary {
  background: var(--teal);
  color: white;
}
.primary:hover {
  background: #006a76;
}
.secondary {
  background: white;
  border-color: #cbdcdf;
  color: #28575e;
}
.secondary:hover {
  background: #eff7f6;
  border-color: #9fc9c8;
}
.quiet,
.text-link {
  border: 0;
  padding: 4px 0;
  background: none;
  font-size: 13px;
  color: #466d74;
}
.quiet:hover,
.text-link:hover {
  color: var(--teal);
  text-decoration: underline;
}
.member-tabs {
  display: flex;
  gap: 36px;
  border-bottom: 1px solid #d1e1e1;
  margin-bottom: 30px;
  overflow: auto;
}
.member-tabs button {
  background: none;
  border: 0;
  padding: 15px 1px;
  color: var(--muted);
  white-space: nowrap;
  position: relative;
}
.member-tabs button[aria-current] {
  color: var(--teal);
  font-weight: 600;
}
.member-tabs button[aria-current]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
}
.member-tabs button > span {
  padding: 1px 6px;
  font-size: 11px;
  background: #e7efef;
  border-radius: 4px;
  margin-left: 6px;
}
.view {
  min-height: 460px;
  padding-bottom: 58px;
}
.overview-top {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}
.membership-card {
  padding: 26px 29px 21px;
  background: #dff0e9;
  border: 1px solid #cddfd5;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.membership-card:before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid #bfded1;
  border-radius: 50%;
  right: -165px;
  top: -130px;
  z-index: -1;
}
.membership-card:after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid #c8e2d9;
  border-radius: 50%;
  right: -165px;
  top: -130px;
  z-index: -1;
}
.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #396e62;
}
.card-topline > span:last-child {
  font:
    12px Arial,
    sans-serif;
  letter-spacing: 2px;
}
.member-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 29px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 16px;
  background: #f2f9f4;
  color: #467a68;
  font-size: 25px;
  border: 1px solid #c9dfd2;
}
.member-identity h2 {
  font-size: 25px;
  margin: 0 0 3px;
  overflow-wrap: anywhere;
}
.member-identity p {
  font:
    11px/1.8 Arial,
    sans-serif;
  margin: 0;
  color: #53776b;
  letter-spacing: 0.5px;
}
.member-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #c2dacd;
  font-size: 11px;
  color: #50776a;
}
.member-card-bottom button {
  border: 0;
  background: none;
  font: inherit;
  white-space: nowrap;
}
.next-journey {
  padding: 24px 28px;
  background: white;
  border-radius: 14px;
  border: 1px solid #e3ebeb;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 21px;
}
.panel-title h2 {
  font-size: 18px;
  margin: 0;
}
.panel-title > span {
  font-size: 11px;
  color: var(--muted);
}
.next-journey h3 {
  font-size: 20px;
  margin-bottom: 9px;
  max-width: 460px;
}
.journey-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.next-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.status {
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}
.status.pending {
  background: #fbf0de;
  color: #896325;
}
.status.confirmed {
  background: #e2f2f2;
  color: #166c77;
}
.status.completed {
  background: #e9f2e5;
  color: #51703d;
}
.status.cancelled {
  background: #edf0f0;
  color: #62767a;
}
.order-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.order-summary button {
  border: 0;
  background: none;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4px;
  color: var(--muted);
  font-size: 13px;
}
.order-summary button:last-child {
  border: 0;
}
.order-summary b {
  font:
    500 27px/1 Arial,
    sans-serif;
  color: #214e54;
}
.order-summary button:hover {
  color: var(--teal);
}
.overview-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 36px;
  margin-top: 28px;
}
.recent-orders {
  min-width: 0;
}
.recent-row {
  padding: 19px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}
.recent-row h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 7px;
  line-height: 1.8;
}
.recent-row p {
  font-size: 11px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.recent-row > div:last-child {
  text-align: right;
  display: grid;
  justify-items: end;
  gap: 9px;
}
.service-note {
  background: #edf4f4;
  border-radius: 10px;
  padding: 24px;
}
.service-note h2 {
  font-size: 21px;
}
.service-note p {
  font-size: 12px;
}
.service-phone {
  font:
    24px Arial,
    sans-serif;
  display: block;
  margin: 19px 0 12px;
  color: #275862;
}
.local-note {
  border-top: 1px solid #d5e5e5;
  margin-top: 26px;
  padding-top: 20px;
  font-size: 12px;
}
.local-note p {
  margin: 7px 0 15px;
}
.orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.status-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.status-filters button {
  border: 0;
  background: #eaf0f0;
  padding: 8px 17px;
  border-radius: 6px;
  font-size: 13px;
  color: #577279;
}
.status-filters button[aria-pressed="true"] {
  background: #d9eeeb;
  color: #006c75;
  font-weight: 600;
}
.order-search input {
  width: 240px;
  background: white;
}
.results-note {
  font-size: 12px;
  margin: 20px 0 13px;
}
.order-card {
  background: white;
  border: 1px solid #e1e9e9;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}
.order-card-top {
  background: #f0f5f5;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: #607c80;
}
.order-card-top > div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.order-reference {
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}
.order-card-body {
  padding: 25px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 135px 120px;
  gap: 30px;
  align-items: center;
}
.order-card h3 {
  font-size: 18px;
  font-weight: 600;
}
.order-card .journey-meta {
  margin-bottom: 10px;
}
.order-amount {
  font:
    600 25px Arial,
    sans-serif;
  color: #295860;
  white-space: nowrap;
}
.order-amount small {
  font-size: 14px;
  margin-right: 3px;
}
.order-amount-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.order-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}
.empty-state {
  background: white;
  text-align: center;
  padding: 65px 24px;
  border-radius: 12px;
}
.empty-state p {
  margin-bottom: 25px;
}
.booking-steps {
  display: flex;
  justify-content: center;
  gap: 55px;
  list-style: none;
  margin: 10px 0 32px;
  padding: 0;
}
.booking-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #647c81;
}
.booking-steps li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #e5eded;
  border-radius: 50%;
  font:
    12px Arial,
    sans-serif;
}
.booking-steps li.active {
  color: var(--teal);
  font-weight: 600;
}
.booking-steps li.active > span {
  color: white;
  background: var(--teal);
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}
.form-panel {
  background: white;
  padding: 32px;
  border: 1px solid #e1eaea;
  border-radius: 12px;
}
.form-panel > label,
.field-grid > label {
  display: block;
  font-size: 13px;
  color: #35575e;
  margin-bottom: 21px;
}
.form-panel h2 {
  font-size: 25px;
  margin-bottom: 13px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
input,
select {
  width: 100%;
  border: 1px solid #cbdadc;
  border-radius: 7px;
  padding: 11px 12px;
  margin-top: 8px;
  background: #fcfefe;
  color: #254b52;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
}
input::placeholder {
  color: #7a9297;
}
select {
  max-width: 100%;
}
.field-help {
  font-size: 11px;
  color: #657f84;
  margin-top: -5px;
  margin-bottom: 25px;
}
.route-preview {
  background: #f0f7f6;
  padding: 16px 18px;
  border-radius: 7px;
  margin: 0 0 24px;
}
.route-preview > strong {
  font-size: 13px;
}
.route-preview p {
  font-size: 12px;
  line-height: 1.9;
  margin: 7px 0 0;
  white-space: pre-line;
}
.form-error {
  color: #9b3d36;
  font-size: 13px;
  min-height: 0;
  margin: 0 0 12px;
}
.form-error:empty {
  display: none;
}
.cost-panel {
  background: #eaf3f2;
  border-radius: 12px;
  padding: 29px 25px;
}
.cost-panel > p {
  font-size: 11px;
  line-height: 1.9;
  margin: 17px 0 0;
}
.cost-panel h3 {
  font-size: 17px;
}
.fee-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  margin: 13px 0;
  color: #56747a;
}
.fee-line strong {
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fee-total {
  border-top: 1px solid #cdddde;
  padding-top: 18px;
  margin-top: 21px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.fee-total strong {
  font:
    600 30px Arial,
    sans-serif;
  color: #175d68;
  letter-spacing: -0.5px;
}
.fee-total strong small {
  font:
    13px "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}
.cost-footnote {
  padding-top: 22px;
  margin-top: 25px;
  border-top: 1px solid #d3e4e1;
  font-size: 12px;
}
.cost-footnote p {
  font-size: 11px;
  margin-top: 8px;
  margin-bottom: 0;
}
.review-panel,
.success-panel {
  max-width: 840px;
  margin-inline: auto;
  border-radius: 12px;
  padding: 38px;
  background: white;
  border: 1px solid #e0ebeb;
}
.review-panel > h2 {
  font-size: 28px;
}
.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  padding: 23px 0;
  margin: 18px 0;
  border-block: 1px solid var(--line);
}
.detail-meta dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-meta dd {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.review-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12px;
  margin-top: 27px;
  color: #4d6b73;
}
.check-line input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--teal);
}
.success-panel {
  text-align: center;
  padding: 45px;
}
.success-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e0f1e9;
  color: #227969;
  display: grid;
  place-items: center;
  font:
    30px Arial,
    sans-serif;
  margin: 0 auto 24px;
}
.success-panel h2 {
  font-size: 27px;
}
.success-panel > p {
  max-width: 540px;
  margin-inline: auto;
}
.success-panel .review-actions {
  justify-content: center;
}
.success-panel .order-reference {
  background: #f1f6f6;
  border-radius: 6px;
  padding: 13px 18px;
  display: inline-block;
  font-size: 16px;
  color: #325d65;
}
.profile-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.profile-layout .muted {
  font-size: 12px;
  margin-bottom: 26px;
}
fieldset {
  padding: 0;
  margin: 0 0 28px;
  border: 0;
}
legend {
  font-size: 13px;
  margin-bottom: 13px;
}
.preference-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.preference-options label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  background: #f5f8f8;
  border-radius: 6px;
  padding: 11px 13px;
}
.preference-options input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--teal);
}
.profile-explanation {
  padding-top: 20px;
  max-width: 400px;
}
.profile-explanation h2 {
  font-size: 25px;
}
.profile-explanation p {
  font-size: 13px;
  line-height: 2;
}
.profile-explanation dl {
  margin: 27px 0;
}
.profile-explanation dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 12px;
}
.profile-explanation dt {
  color: var(--muted);
}
.profile-explanation dd {
  margin: 0;
}
#profile-status {
  font-size: 12px;
  color: var(--teal);
  margin: 15px 0 0;
}
.site-footer {
  border-top: 1px solid #e0e9e9;
  background: #fff;
  padding: 28px 0;
  color: #638086;
  font-size: 11px;
}
.site-footer > .wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.site-footer strong {
  font-size: 12px;
  font-weight: 500;
}
.site-footer p {
  margin: 6px 0 0;
  font-size: 11px;
}
.site-footer > .wrap > div:last-child {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 8px;
}
.site-footer a:first-child {
  font:
    19px Arial,
    sans-serif;
}
.member-credentials {
  display: grid !important;
  grid-template-columns: 1.1fr 1.5fr 1.25fr 0.65fr 1fr auto;
  align-items: start;
  gap: 22px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e5eded;
}
.member-credentials > div {
  display: block !important;
  text-align: left !important;
}
.member-credentials span {
  display: block;
  margin-bottom: 4px;
  color: #82989c;
  font-size: 10px;
}
.member-credentials strong,
.member-credentials a {
  color: #355e64;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
}
.member-credentials .member-qualification-link {
  color: var(--teal);
  white-space: nowrap;
}
.state-card {
  padding: 85px 40px;
  max-width: 860px;
  min-height: 470px;
}
.state-card .text-link {
  margin-left: 20px;
}
.state-card h1 {
  font-size: 34px;
}
.state-card p {
  max-width: 600px;
  margin-bottom: 28px;
}
dialog {
  width: min(800px, calc(100% - 32px));
  max-height: calc(100dvh - 50px);
  border: 0;
  border-radius: 14px;
  padding: 30px;
  color: var(--ink);
  box-shadow: 0 25px 90px #143e4933;
  overflow: auto;
  background: white;
}
dialog::backdrop {
  background: #173c4666;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 25px;
}
.dialog-header h2 {
  margin: 0;
}
.dialog-header .section-kicker {
  margin-bottom: 5px;
}
.close-button {
  background: #f1f6f6;
  border: 0;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  flex: none;
  font:
    24px Arial,
    sans-serif;
  color: #486972;
}
.detail-intro {
  background: #edf6f4;
  border-radius: 8px;
  padding: 19px 20px;
  margin-bottom: 18px;
}
.detail-intro h3 {
  font-size: 20px;
}
.detail-intro > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.detail-intro .order-reference {
  font-size: 11px;
}
.detail-section-title {
  font-size: 16px;
  margin: 28px 0 15px;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}
.timeline li {
  padding: 0 0 24px 22px;
  border-left: 1px solid #cedfdf;
  position: relative;
  margin-left: 5px;
}
.timeline li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #bad5d2;
  border: 3px solid #eff7f5;
  box-sizing: content-box;
  border-radius: 50%;
  position: absolute;
  left: -7px;
  top: 3px;
}
.timeline li:first-child:before {
  background: var(--teal);
}
.timeline li:last-child {
  border: 0;
  padding-bottom: 5px;
}
.timeline strong {
  font-size: 13px;
  display: block;
  font-weight: 500;
}
.timeline time {
  font:
    11px/1.8 Arial,
    sans-serif;
  color: var(--muted);
  display: block;
  margin: 4px 0;
}
.timeline p {
  font-size: 11px;
  margin: 0;
}
.detail-cost {
  background: #f6f9f9;
  padding: 17px 21px;
  border-radius: 8px;
}
.detail-cost .fee-total {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.detail-cost .fee-total strong {
  font-size: 25px;
}
.detail-disclaimer {
  font-size: 11px;
  margin: 18px 0 0;
}
.detail-actions {
  display: flex;
  gap: 13px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.detail-actions .quiet {
  margin-left: auto;
}
#confirm-dialog {
  max-width: 460px;
}
#confirm-dialog p {
  font-size: 14px;
}
#confirm-dialog .review-actions {
  justify-content: flex-end;
}
@media (min-width: 1400px) {
  .member-heading {
    padding-top: 46px;
  }
}
@media (max-width: 1100px) {
  .brand-name {
    display: none;
  }
  .overview-bottom {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .site-header nav {
    gap: 22px;
  }
  .order-card-body {
    grid-template-columns: minmax(0, 1fr) 110px 100px;
    gap: 18px;
  }
  .booking-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 22px;
  }
  .profile-layout {
    gap: 35px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 86px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .brand-logo {
    width: 155px;
    height: 52px;
  }
  .brand-logo img {
    width: 155px;
    top: -47px;
  }
  .member-heading {
    padding: 29px 0 22px;
    align-items: flex-start;
  }
  .member-heading h1 {
    font-size: 27px;
  }
  .heading-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .heading-actions .secondary {
    padding: 10px 16px;
    font-size: 12px;
  }
  .overview-top {
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .membership-card,
  .next-journey {
    padding: 23px;
  }
  .member-identity {
    gap: 12px;
  }
  .member-identity h2 {
    font-size: 21px;
  }
  .avatar {
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-radius: 12px;
  }
  .member-card-bottom {
    flex-wrap: wrap;
    margin-top: 22px;
  }
  .next-journey h3 {
    font-size: 17px;
  }
  .overview-bottom {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 25px;
  }
  .orders-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }
  .order-search input {
    width: 100%;
    margin: 0;
  }
  .order-card-body {
    grid-template-columns: minmax(0, 1fr) 140px;
  }
  .order-card-action {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    padding-top: 15px;
  }
  .order-card h3 {
    font-size: 17px;
  }
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .cost-panel {
    padding: 25px;
  }
  .booking-steps {
    gap: 30px;
  }
  .profile-layout {
    grid-template-columns: 1fr 0.85fr;
    gap: 25px;
  }
  .form-panel {
    padding: 25px;
  }
  .profile-explanation h2 {
    font-size: 21px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    padding-block: 10px 0;
    min-height: 0;
    flex-wrap: wrap;
    gap: 3px;
  }
  .brand-logo {
    width: 151px;
    height: 50px;
  }
  .brand-logo img {
    width: 151px;
    top: -45px;
  }
  .site-header nav {
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    font-size: 13px;
    padding-bottom: 7px;
  }
  .site-header nav a {
    padding: 7px 0;
  }
  .member-heading {
    display: block;
    padding-top: 27px;
  }
  .member-heading h1 {
    font-size: 25px;
  }
  .member-heading p:last-child {
    font-size: 12px;
  }
  .heading-actions {
    margin-top: 19px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .section-kicker {
    font-size: 10px;
  }
  .member-tabs {
    gap: 27px;
    margin-bottom: 22px;
  }
  .member-tabs button {
    font-size: 13px;
    padding-block: 13px;
  }
  .member-tabs button > span {
    font-size: 10px;
    padding: 1px 4px;
    margin-left: 3px;
  }
  .overview-top {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .membership-card {
    padding: 22px 24px;
  }
  .member-identity {
    margin-top: 25px;
  }
  .member-identity h2 {
    font-size: 24px;
  }
  .avatar {
    width: 53px;
    height: 53px;
    font-size: 24px;
  }
  .member-card-bottom {
    margin-top: 24px;
    flex-wrap: nowrap;
  }
  .next-journey {
    padding: 22px 24px;
  }
  .next-journey h3 {
    font-size: 18px;
  }
  .order-summary {
    gap: 5px;
    padding: 23px 0;
    margin-bottom: 0;
  }
  .order-summary button {
    flex-direction: column;
    gap: 11px;
    font-size: 11px;
  }
  .order-summary b {
    font-size: 25px;
  }
  .overview-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 25px;
  }
  .recent-row {
    gap: 14px;
  }
  .recent-row h3 {
    font-size: 14px;
  }
  .recent-row p {
    font-size: 10px;
  }
  .service-note {
    padding: 25px;
  }
  .service-note h2 {
    margin-bottom: 10px;
  }
  .service-phone {
    display: inline-block;
    margin-right: 20px;
  }
  .local-note {
    margin-top: 18px;
  }
  .view {
    padding-bottom: 35px;
  }
  .status-filters {
    justify-content: space-between;
    gap: 5px;
  }
  .status-filters button {
    font-size: 12px;
    padding: 7px 12px;
  }
  .results-note {
    margin-top: 16px;
  }
  .order-card-top {
    padding: 11px 16px;
    gap: 8px;
    align-items: flex-start;
  }
  .order-card-top > div {
    gap: 4px;
    flex-direction: column;
    font-size: 10px;
  }
  .order-card-body {
    padding: 20px 16px;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .order-card h3 {
    font-size: 17px;
  }
  .order-card .journey-meta {
    font-size: 11px;
    gap: 11px;
  }
  .order-card-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }
  .order-amount {
    font-size: 23px;
  }
  .order-card-action {
    padding-top: 14px;
    gap: 17px;
  }
  .order-card-action .secondary {
    padding: 8px 16px;
    font-size: 12px;
  }
  .booking-steps {
    gap: 13px;
    margin-bottom: 24px;
    justify-content: space-between;
  }
  .booking-steps li {
    font-size: 10px;
    gap: 6px;
  }
  .booking-steps li > span {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .form-panel {
    padding: 23px 19px;
    border-radius: 10px;
  }
  .form-panel .panel-title {
    gap: 10px;
  }
  .form-panel .panel-title h2 {
    font-size: 19px;
  }
  .panel-title > span {
    font-size: 10px;
  }
  .field-grid {
    gap: 15px;
  }
  .field-grid label {
    font-size: 12px;
  }
  .field-grid input,
  .field-grid select {
    padding: 11px 8px;
    font-size: 13px;
  }
  .form-panel > label {
    font-size: 12px;
  }
  .form-panel h2 {
    font-size: 23px;
  }
  .route-preview {
    padding: 14px;
  }
  .form-panel .primary {
    width: 100%;
    font-size: 13px;
  }
  .cost-panel {
    padding: 25px;
  }
  .review-panel,
  .success-panel {
    padding: 27px 20px;
  }
  .review-panel > h2,
  .success-panel h2 {
    font-size: 23px;
  }
  .review-panel h3 {
    font-size: 18px;
  }
  .detail-meta {
    gap: 18px;
    padding: 20px 0;
  }
  .detail-meta dd {
    font-size: 13px;
  }
  .review-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
  .review-actions .primary,
  .review-actions .secondary {
    font-size: 12px;
    padding: 12px 14px;
  }
  .success-panel p {
    font-size: 12px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .profile-explanation {
    padding: 20px 4px 0;
    max-width: none;
  }
  .preference-options {
    gap: 10px;
  }
  .preference-options label {
    font-size: 12px;
    padding: 10px;
  }
  .site-footer > .wrap {
    display: block;
  }
  .site-footer > .wrap > div:last-child {
    text-align: left;
    margin-top: 18px;
    gap: 8px;
  }
  .site-footer p {
    font-size: 10px;
  }
  .state-card {
    padding: 55px 8px;
    min-height: 430px;
  }
  .state-card h1 {
    font-size: 27px;
  }
  .state-card .text-link {
    display: block;
    margin: 20px 0 0;
  }
  .state-card p {
    font-size: 13px;
  }
  dialog {
    padding: 24px 19px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 30px);
    border-radius: 11px;
  }
  .dialog-header h2 {
    font-size: 21px;
  }
  .detail-intro {
    padding: 16px;
  }
  .detail-intro h3 {
    font-size: 18px;
  }
  .detail-intro > div {
    flex-wrap: wrap;
    gap: 8px;
  }
  .detail-intro .order-reference {
    font-size: 10px;
  }
  .detail-cost {
    padding: 15px;
  }
  .detail-cost .fee-total {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-actions .primary,
  .detail-actions .secondary {
    font-size: 12px;
    padding: 10px 14px;
  }
  .detail-actions .quiet {
    margin-left: 0;
  }
  .empty-state {
    padding: 40px 20px;
  }
  .empty-state h2 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 720px) {
  .member-credentials {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
  }
  .member-credentials .member-qualification-link {
    grid-column: 1 / -1;
    margin-top: 3px;
  }
}
