.page-shell.profile-page {
  background: #fff;
}

.pf-main {
  padding: 2.4rem 0 4rem;
}

.pf-head {
  position: relative;
  width: 33.5rem;
  margin: 0 auto;
}

.pf-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.8rem;
  text-align: left;
}

.pf-title img {
  width: 1.6rem;
  height: 1.6rem;
  transition: transform 0.2s ease;
}

.pf-title.is-open img {
  transform: rotate(180deg);
}

.pf-section-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 3.4rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 0.8rem 0;
  background: #fff;
  border: 0.1rem solid var(--h5-line);
  border-radius: 0.8rem;
  box-shadow: var(--h5-shadow-card);
}

.pf-section-menu[hidden] {
  display: none;
}

.pf-section-menu a,
.pf-section-menu button {
  display: block;
  width: 100%;
  padding: 1rem 1.6rem;
  color: #333;
  font-size: 1.4rem;
  line-height: 2.2rem;
  text-align: left;
  background: none;
}

.pf-section-menu a.is-on,
.pf-section-menu a:active,
.pf-section-menu button:active {
  color: var(--h5-primary);
}

.pf-tabs {
  display: flex;
  gap: 1.6rem;
  width: 33.5rem;
  margin: 1.6rem auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pf-tabs::-webkit-scrollbar {
  display: none;
}

.pf-tabs a,
.pf-tabs button {
  flex-shrink: 0;
  position: relative;
  padding: 0 0 0.7rem;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
  white-space: nowrap;
  background: none;
}

.pf-tabs a.is-on,
.pf-tabs button.is-on {
  color: var(--h5-primary);
}

.pf-tabs a.is-on::after,
.pf-tabs button.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3rem;
  height: 0.2rem;
  margin-left: -1.5rem;
  background: var(--h5-primary);
}

.pf-tabs button em {
  margin-left: 0.2rem;
  color: var(--h5-primary);
  font-style: normal;
  font-weight: 700;
}

.pf-lead {
  width: 33.5rem;
  margin: 1.6rem auto 0;
}

.pf-lead h1 {
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

.pf-lead p {
  margin-top: 0.4rem;
  color: var(--h5-muted);
  font-size: 1.2rem;
  line-height: 2rem;
}

.pf-card {
  width: 33.5rem;
  margin: 1.6rem auto 0;
  padding: 2.4rem 1.6rem 2.8rem;
  background: #fff;
  border: 0.1rem solid var(--h5-line);
  border-radius: 0.8rem;
  box-shadow: 0.2rem 0.4rem 0 rgba(0, 0, 0, 0.15);
}

.pf-loading {
  color: var(--h5-muted);
  font-size: 1.2rem;
  text-align: center;
}

.pf-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.6rem;
}

.pf-avatar-img {
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--h5-bg);
}

.pf-avatar-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.pf-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  background: var(--h5-primary);
  font-size: 2rem;
  font-weight: 700;
}

.pf-avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16.6rem;
  height: 3.2rem;
  margin-top: 1.6rem;
  border: 0.1rem solid var(--h5-primary);
  border-radius: 999px;
  color: var(--h5-primary);
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.pf-avatar-hint {
  margin-top: 1rem;
  color: #999;
  font-size: 1rem;
  line-height: 1.8rem;
  text-align: center;
}

.pf-card .field,
.pf-subform .field {
  margin-top: 1.6rem;
}

.pf-card .field:first-of-type,
.pf-subform .field:first-of-type {
  margin-top: 0;
}

.pf-card .field label,
.pf-label,
.pf-subform .field label {
  color: #333;
  font-size: 1.4rem;
  line-height: 2.4rem;
}

.pf-card .field label em,
.pf-label em,
.pf-subform .field label em {
  margin-left: 0.1rem;
  color: var(--h5-primary);
  font-style: normal;
}

.pf-card .field input,
.pf-card .field select,
.pf-subform .field input,
.pf-subform .field select {
  border-color: #ccc;
  background-image: none;
}

.pf-card .field:has(> select),
.pf-subform .field:has(> select) {
  position: relative;
}

.pf-card .field:has(> select)::after,
.pf-subform .field:has(> select)::after,
.pf-date-box::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: 1.1rem;
  width: 1.4rem;
  height: 1.4rem;
  background: url("../../assets/profile/select-chevron.svg") center / contain no-repeat;
  transform: rotate(90deg);
  pointer-events: none;
}

.pf-date-box::after {
  right: 0.6rem;
  bottom: auto;
  top: 50%;
  margin-top: -0.7rem;
}

.pf-card .field>select,
.pf-subform .field>select {
  padding-right: 2.8rem;
}

.pf-card .field input[readonly] {
  color: #666;
  background: #fafafa;
}

.pf-gender {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 0.4rem;
}

.pf-card .pf-gender label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #333;
  font-size: 1.4rem;
  line-height: 2.4rem;
}

.pf-card .pf-gender input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: url("../../assets/profile/radio-off.svg") center / contain no-repeat;
}

.pf-card .pf-gender input:checked {
  background-image: url("../../assets/profile/radio-on.svg");
}

.pf-birthday {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.pf-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.pf-date-box {
  position: relative;
  flex: 1;
  min-width: 0;
}

.pf-date-box select {
  width: 100%;
  height: 3.6rem;
  padding: 0 2.2rem 0 0.8rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.4rem;
  background: #fff;
}

.pf-date>span {
  flex-shrink: 0;
  color: #333;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.pf-card .form-error,
.pf-card .form-success,
.pf-subform .form-error {
  margin: 1.2rem 0 0;
  font-size: 1.2rem;
  line-height: 1.8rem;
  text-align: center;
}

.pf-card .form-error,
.pf-subform .form-error {
  color: var(--h5-primary);
}

.pf-card .form-success {
  color: #00a05a;
}

.pf-save {
  display: flex;
  width: auto;
  max-width: 100%;
  margin: 1.8rem auto 0;
}

.pf-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  background: rgba(17, 17, 17, 0.45);
}

.pf-dialog[hidden] {
  display: none;
}

.pf-dialog-card {
  width: min(32rem, 100%);
  padding: 2.4rem 1.8rem 2rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.18);
}

.pf-dialog-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 2.4rem;
}

.pf-dialog-card p {
  margin: 0 0 1.6rem;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.pf-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.pf-dialog-actions button {
  min-height: 3.6rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  font-weight: 700;
}

.pf-dialog-cancel {
  border: 0.1rem solid #ddd;
  background: #fff;
}

.pf-dialog-ok {
  border: 0;
  background: var(--h5-primary);
  color: #fff;
}

.pf-card-title {
  margin: 0 0 0.8rem;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

.pf-panel-title {
  width: 33.5rem;
  margin: 2.4rem auto 0;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

.pf-empty,
.pf-loading {
  width: 33.5rem;
  margin: 1.2rem auto 0;
  color: var(--h5-muted);
  font-size: 1.2rem;
  line-height: 2rem;
  text-align: center;
}

.pf-subform .field {
  margin-top: 1.6rem;
}

.pf-subform .field:first-of-type {
  margin-top: 0;
}

.addr-list .pf-empty,
.addr-list .pf-loading,
.veh-list .pf-empty,
.veh-list .pf-loading {
  width: auto;
  margin: 0;
}

.addr-list,
.veh-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 33.5rem;
  margin: 1.2rem auto 0;
}

.addr-item,
.veh-card {
  padding: 1.6rem;
  border-radius: 0.8rem;
}

.addr-item.is-red {
  background: #fff7f7;
  border: 0.1rem solid #ff4d47;
}

.addr-item.is-green {
  background: #f9fff9;
  border: 0.1rem solid #8bff82;
}

.addr-item.is-yellow {
  background: #fffef7;
  border: 0.1rem solid #ffd84d;
}

.veh-card {
  background: #fff;
  border: 0.1rem solid var(--h5-line);
}

.addr-item-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.addr-item-name strong {
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

.addr-default-tag {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding: 0 0.8rem;
  border-radius: 2px;
  background: #ff4d47;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin-left: auto;
}

.addr-item-phone,
.addr-item-line {
  margin-top: 0.6rem;
  color: #333;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.addr-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 1.2rem;
}

.pf-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  /* width: 12.5rem; */
  flex: 1;
  height: 3.2rem;
  border-radius: 999px;
  background: #fff;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.pf-chip img {
  width: 1.4rem;
  height: 1.4rem;
}

.pf-chip.is-edit {
  border: 0.1rem solid #0048ff;
  color: #0048ff;
}

.pf-chip.is-delete {
  border: 0.1rem solid #ff4d47;
  color: #ff4d47;
}

.addr-set-default {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  color: #0048ff;
  font-size: 1.2rem;
  line-height: 1.8rem;
  background: none;
}

.addr-set-default img {
  width: 1.4rem;
  height: 1.4rem;
}

.veh-preview {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.veh-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.veh-logo {
  flex-shrink: 0;
  width: 7.4rem;
  height: 5rem;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #f6f6f6;
}

.veh-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.veh-preview-head strong {
  min-width: 0;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
  text-align: right;
  word-break: break-word;
}

.veh-preview-desc {
  display: block;
  color: #666;
  font-size: 1.2rem;
  line-height: 2.2rem;
  word-break: break-word;
}

.veh-del-preview {
  margin: 0 0 1.6rem;
  padding: 1.2rem;
  border: 0.1rem solid var(--h5-line);
  border-radius: 0.8rem;
}

.del-alert {
  display: flex;
  gap: 0.8rem;
  width: 33.5rem;
  margin: 1.6rem auto 0;
  padding: 1.2rem 1.4rem;
  background: #fff7f7;
  border: 0.1rem solid #ff4d47;
  border-radius: 0.8rem;
}

.del-alert img {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.2rem;
}

.del-alert strong {
  display: block;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

.del-alert p {
  margin-top: 0.2rem;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.del-card {
  padding: 2rem 1.6rem;
}

.del-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 0.8rem;
}

.del-grid li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #333;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.del-grid img {
  width: 1.4rem;
  height: 1.4rem;
}

.del-form {
  width: 33.5rem;
  margin: 2.4rem auto 0;
}

.del-submit {
  display: flex;
  width: 30.3rem;
  margin: 0 auto;
  padding: 0 1.2rem;
  font-size: 1.3rem;
}

.pf-dialog-form {
  max-height: 80vh;
  overflow: auto;
}

.pf-dialog-form h2,
.pf-dialog-lead {
  margin: 0 0 1.2rem;
}

.pf-dialog-lead {
  color: #666;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.pf-dialog-body {
  margin: 0 0 1.6rem;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.pf-dialog-full {
  display: flex;
  width: 100%;
  margin-top: 1.2rem;
  justify-content: center;
}

.pf-dialog .form-error {
  margin: 0 0 1.2rem;
  color: var(--h5-primary);
  font-size: 1.2rem;
  text-align: center;
}

.pf-warn-head {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
}

.pf-warn-head img {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.4rem;
}

.pf-warn-head h2 {
  margin: 0;
}

.pf-dialog .pf-save {
  width: 100%;
}

.pf-desc {
  width: 33.5rem;
  margin: 0.8rem auto 0;
  color: var(--h5-muted);
  font-size: 1.2rem;
  line-height: 2rem;
}

.pf-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin: 2.4rem auto 0;
}

.pf-pager button {
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;
  border: 0.1rem solid var(--h5-primary);
  background: #fff;
  color: #333;
  font-size: 1.4rem;
  line-height: 2rem;
}

.pf-pager button.is-fill {
  background: var(--h5-primary);
  color: #fff;
}

.pf-pager button:disabled {
  opacity: 0.35;
}

.pf-pager .page-num {
  color: var(--h5-primary);
  font-size: 1.4rem;
  font-weight: 700;
}

.pf-pager .page-total {
  color: #333;
  font-weight: 400;
}

.cp-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 35.5rem;
  margin: 2rem auto 0;
}

.cp-card {
  display: grid;
  grid-template-columns: 9.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  height: 9.9rem;
  padding: 0 2rem 0 2rem;
  background: url("../../assets/profile/coupon-ticket.svg") center / 100% 100% no-repeat;
}

.cp-card.is-used,
.cp-card.is-expired {
  background-image: url("../../assets/profile/coupon-ticket-muted.svg");
}

.cp-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding-right: 0.4rem;
}

.cp-amount {
  color: var(--h5-primary);
  line-height: 2.8rem;
  white-space: nowrap;
}

.cp-amount strong {
  font-size: 2.4rem;
  font-weight: 700;
}

.cp-amount span {
  margin-left: 0.1rem;
  font-size: 1.4rem;
  font-weight: 400;
}

.cp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  border: 0.1rem solid var(--h5-primary);
  border-radius: 999px;
  color: var(--h5-primary);
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.cp-meta {
  min-width: 0;
  padding-left: 0.8rem;
  border-left: 0.1rem dashed #ffb3b0;
  color: var(--h5-primary);
  font-size: 1rem;
  line-height: 1.6rem;
}

.cp-card.is-used .cp-amount,
.cp-card.is-expired .cp-amount,
.cp-card.is-used .cp-badge,
.cp-card.is-expired .cp-badge,
.cp-card.is-used .cp-meta,
.cp-card.is-expired .cp-meta {
  color: #999;
}

.cp-card.is-used .cp-badge,
.cp-card.is-expired .cp-badge {
  border-color: #ccc;
}

.cp-card.is-used .cp-meta,
.cp-card.is-expired .cp-meta {
  border-left-color: #ddd;
}

.cp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 7.2rem;
  height: 2.6rem;
  padding: 0 0.6rem;
  border: 0.2rem solid #fff;
  border-radius: 999px;
  background: linear-gradient(104deg, #f86864 0%, #ff4d47 100%);
  box-shadow: 0.2rem 0.4rem 0 rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.4rem;
  white-space: nowrap;
}

span.cp-action {
  background: #f2f2f2;
  box-shadow: none;
  border-color: transparent;
  color: #999;
}

.fv-grid {
  display: grid;
  grid-template-columns: 16.4rem 16.4rem;
  gap: 0.7rem;
  width: 33.5rem;
  margin: 2rem auto 0;
}

.fv-card {
  position: relative;
  padding: 0.8rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.8rem;
}

.fv-link {
  display: block;
  color: inherit;
}

.fv-media {
  aspect-ratio: 164 / 93;
  overflow: hidden;
  border-radius: 0.8rem;
  background: #ededed;
}

.fv-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.fv-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 1.2rem;
  color: #1a1a1a;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.4rem;
}

.fv-sub {
  margin-top: 0.2rem;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.fv-price {
  margin-top: 0.4rem;
  padding-right: 2rem;
  color: #666;
  font-size: 1.2rem;
  line-height: 2rem;
}

.fv-tax,
.fv-unit {
  font-size: 1rem;
}

.fv-heart {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  background: none;
}

.fv-heart img {
  width: 1.4rem;
  height: 1.4rem;
}

.od-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: 33.5rem;
  margin: 1.6rem auto 0;
}

.od-status button {
  height: 3.2rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #f2f2f2;
  color: #666;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.od-status button.is-on {
  background: #ff4d47;
  color: #fff;
}

.od-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 33.5rem;
  margin: 1.6rem auto 0;
}

.od-card {
  padding: 1.6rem;
  background: #fff;
  border: 0.1rem solid var(--h5-line);
  border-radius: 0.8rem;
  box-shadow: 0.2rem 0.4rem 0 rgba(0, 0, 0, 0.15);
}

.od-top {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.od-media {
  flex-shrink: 0;
  width: 8rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #ededed;
}

.od-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.od-head {
  min-width: 0;
}

.od-head h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #1a1a1a;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.4rem;
}

.od-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  margin-top: 0.2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.4rem;
  white-space: nowrap;
}

.od-badge.is-1 {
  background: rgba(255, 209, 21, 0.1);
  color: #ffd115;
}

.od-badge.is-2,
.od-badge.is-4 {
  background: rgba(0, 217, 102, 0.1);
  color: #00d966;
}

.od-badge.is-3 {
  background: rgba(0, 72, 255, 0.08);
  color: #0048ff;
}

.od-badge.is-5,
.od-badge.is-6 {
  background: #f5f5f5;
  color: #999;
}

.od-rows {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0 0;
}

.od-rows>div {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
}

.od-rows dt,
.od-rows dd {
  margin: 0;
}

.od-rows dt {
  color: #666;
  font-size: 1.2rem;
  line-height: 2rem;
  flex-shrink: 0;
}

.od-rows dd {
  color: #333;
  font-size: 1.2rem;
  line-height: 2rem;
  text-align: right;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.od-rows dd.is-strong {
  font-size: 1.4rem;
  font-weight: 700;
}

.od-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.od-cancel {
  margin-right: auto;
  color: #999;
  font-size: 1.2rem;
  line-height: 1.4rem;
  background: none;
}

.od-detail,
.od-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13rem;
  height: 3.2rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.od-detail {
  border: 0.1rem solid #ccc;
  color: #666;
}

.od-pay {
  border: 0.2rem solid #fff;
  background: linear-gradient(104deg, #f86864 0%, #ff4d47 100%);
  box-shadow: 0.2rem 0.4rem 0 rgba(0, 0, 0, 0.4);
  color: #fff;
}

.od-badge.is-pending,
.od-badge.is-booked {
  background: rgba(255, 209, 21, 0.1);
  color: #ffd115;
}

.od-badge.is-scheduled,
.od-badge.is-complete {
  background: rgba(0, 217, 102, 0.1);
  color: #00d966;
}

.od-badge.is-using {
  background: rgba(71, 106, 255, 0.1);
  color: #3d5dff;
}

.od-badge.is-checking {
  background: rgba(255, 100, 96, 0.1);
  color: #fb5454;
}

.od-badge.is-done {
  background: rgba(51, 51, 51, 0.1);
  color: #333;
}

.vis-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.vis-service span {
  flex-shrink: 0;
  color: #666;
  font-size: 1.2rem;
  line-height: 2rem;
}

.vis-service strong {
  flex: 1;
  min-width: 0;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.pf-card .field textarea {
  width: 100%;
  min-height: 8.8rem;
  padding: 0.8rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.4rem;
  resize: vertical;
}

.pf-card .field textarea[readonly] {
  color: #666;
  background: #fafafa;
}

.supplier-page {
  background: #f7f7f7;
}

.supplier-page .pf-main {
  padding-top: 0;
}

.supplier-page .pf-head {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2.4rem 2rem 0;
  background: #fff;
}

.supplier-page .pf-title {
  width: 33.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.supplier-page .pf-section-menu {
  left: 50%;
  right: auto;
  width: 33.5rem;
  max-width: calc(100% - 4rem);
  transform: translateX(-50%);
}

.supplier-page .pf-desc {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.8rem max(2rem, calc(50% - 16.75rem)) 1.6rem;
  background: #fff;
}

.sp-page {
  width: 33.5rem;
  margin: 1.6rem auto 0;
  padding-bottom: 2.4rem;
}

.sp-card {
  margin-top: 1.2rem;
  padding: 1.6rem;
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0.2rem 0.3rem 0 rgba(0, 0, 0, 0.12);
}

.sp-card:first-child {
  margin-top: 0;
}

.sp-side h2 {
  margin: 0;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

.sp-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.sp-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.sp-badge.is-status-none,
.sp-badge.is-status-1 {
  background: rgba(255, 77, 71, 0.12);
  color: #ff4d47;
}

.sp-badge.is-status-2 {
  background: rgba(0, 217, 102, 0.12);
  color: #00a05a;
}

.sp-badge.is-status-3,
.sp-badge.is-status-4 {
  background: rgba(51, 51, 51, 0.1);
  color: #333;
}

.sp-hint {
  margin: 0.8rem 0 0;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.sp-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding: 1.6rem 1.2rem;
  border-radius: 0.8rem;
  background: #f7f7f7;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.8rem;
  text-align: center;
}

.sp-review img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.sp-review p {
  margin: 0;
}

.sp-review.has-reason {
  align-items: flex-start;
  background: #fff8f8;
  color: #333;
  text-align: left;
}

.sp-form-card {
  padding: 2rem 1.6rem 2.4rem;
}

.sp-field {
  margin-top: 1.6rem;
}

.sp-field:first-child {
  margin-top: 0;
}

.sp-field label {
  display: block;
  margin-bottom: 0.6rem;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

.sp-field label em {
  margin-left: 0.2rem;
  color: #ff4d47;
  font-style: normal;
}

.sp-field-hint {
  margin: -0.2rem 0 0.8rem;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.sp-field input,
.sp-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0.1rem solid #ccc;
  border-radius: 0.4rem;
  background: #fff;
  color: #333;
  font-size: 1.4rem;
  font-weight: 400;
}

.sp-field input {
  height: 4rem;
  padding: 0 1.2rem;
}

.sp-field textarea {
  min-height: 10rem;
  padding: 1rem 1.2rem 2.4rem;
  line-height: 1.6;
  resize: vertical;
}

.sp-field input::placeholder,
.sp-field textarea::placeholder {
  color: #ccc;
}

.sp-field input[readonly],
.sp-field textarea[readonly] {
  color: #666;
  background: #fafafa;
}

.sp-upload {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.2rem;
  padding: 1.6rem;
  border: 0.15rem dashed #ccc;
  border-radius: 0.8rem;
  background: #fafafa;
}

.sp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: 100%;
}

.sp-thumb {
  position: relative;
  width: 9rem;
  height: 6.4rem;
}

.sp-thumb-open {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0.1rem solid #e6e6e6;
  border-radius: 0.6rem;
  background: #fff;
  padding: 0;
}

.sp-thumb-open img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.sp-thumb-remove {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 999px;
  background: #999;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8rem;
  padding: 0;
}

.sp-add-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 4rem;
  border: 0.15rem solid #ff4d47;
  border-radius: 999px;
  background: #fff;
  color: #ff4d47;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0;
}

.sp-add-file img {
  width: 2.2rem;
  height: 1.8rem;
  object-fit: contain;
}

.sp-add-file:disabled {
  opacity: 0.55;
}

.sp-upload-note,
.sp-upload-empty {
  margin: 0;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.8rem;
  text-align: center;
}

.sp-textarea {
  position: relative;
}

.sp-count {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  color: #999;
  font-size: 1.2rem;
  line-height: 1;
  pointer-events: none;
}

.sp-form-card .form-error {
  margin: 1.6rem 0 0;
  color: #ff4d47;
  font-size: 1.2rem;
  line-height: 1.8rem;
  text-align: center;
}

.sp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 4.4rem;
  margin: 2.4rem auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(104deg, #f86864 0%, #ff4d47 100%);
  box-shadow: 0.2rem 0.3rem 0 rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0;
}

.sp-submit:disabled {
  opacity: 0.55;
}

.sp-preview {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  background: rgba(0, 0, 0, 0.55);
}

.sp-preview img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.sp-preview button {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 2rem;
  line-height: 3.2rem;
}
