/* ============================================================
   Photographer Shoot Brief - Theme
   Dark editorial + 暖金 accent (适合 B 端摄影业务)
   ============================================================ */

:root {
  --bg: #0F0F12;
  --bg-soft: #14141A;
  --card: #1A1A20;
  --card-hover: #20202A;
  --text: #FFFFFF;
  --text-2: #B4B4BE;
  --text-3: #6B6B76;
  --border: rgba(255, 255, 255, 0.06);
  --border-2: rgba(255, 255, 255, 0.12);
  --accent: #D4A14A;
  --accent-2: #E8B86B;
  --accent-deep: #B08840;
  --danger: #EF4444;
  --success: #10B981;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

body {
  background:
    radial-gradient(900px 480px at 50% -80px, rgba(212, 161, 74, 0.10), transparent 70%),
    linear-gradient(180deg, #0E0E11 0%, #0F0F12 100%);
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* ---------- Layout ---------- */
.page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 14px 24px;
}

.page--with-submit {
  padding-bottom: 140px;
}

.brand {
  /* 品牌区竖排：Logo 在上、标题在下。文字大小保留紧凑版。 */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 10px;
  text-align: center;
}

.brand__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  flex: 0 0 auto;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(212, 161, 74, 0.12), transparent 70%);
}
.brand__logo::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(212, 161, 74, 0.18);
}
.brand__logo svg { width: 76px; height: 76px; }
 .brand__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.brand__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}
.brand__sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.brand__site-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 5px 11px;
  color: var(--accent-2);
  border: 1px solid rgba(232, 184, 107, 0.35);
  border-radius: 999px;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.brand__site-link:active,
.brand__site-link:hover { color: var(--bg); background: var(--accent-2); }

/* ---------- Form card ---------- */
.form {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 6px 0;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  min-height: 64px;
  transition: background 0.15s ease;
}
.field:last-child { border-bottom: none; }
.field:active { background: var(--card-hover); }

.field__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.field__icon svg { width: 20px; height: 20px; }

.field__body {
  flex: 1 1 auto;
  min-width: 0;
}
.field__label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 4px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.field__value {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 地址字段单独放开换行（最多 3 行，line-clamp 防超高）；
   其它字段（含 select，选项就一两个字）继续单行省略号 */
.field--location .field__value {
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 用户明确要求 2 行；3 行容易出现"第三行只有一个字"的难看孤儿 */
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
/* location 字段的占位提示：用更淡的色 + 透明度，跟 native input placeholder 接近 */
.field__value--placeholder { color: var(--text-3); font-weight: 500; opacity: 0.6; }

.field__chev {
  color: var(--text-3);
  flex: 0 0 16px;
  display: grid;
  place-items: center;
}
.field__chev svg { width: 14px; height: 14px; }

/* 纯输入字段（无弹窗） */
.field--input { padding: 14px 22px; align-items: stretch; cursor: text; }
.field--input .field__body { display: flex; flex-direction: column; }

/* ---------- List（多行可增删输入，如「真实优势」3 行 + "+" 加行） ---------- */
.field--list { padding: 12px 22px 14px; align-items: stretch; }
.field--list .field__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
/* 收起时只露 label + 一行提示，点 body 展开 1 2 3 ... */
.field--list .field__list-hint {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.3px;
  margin-top: 4px;
}
.field--list.is-collapsed .field__list { display: none; }
.field--list .field__body { cursor: pointer; }
.field--list .field__list-input,
.field--list .field__list-add,
.field--list .field__list-del { cursor: pointer; }
.field--list .field__list-input { cursor: text; }
.field__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.field__list-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.field__list-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #0F0F12;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.field__list-input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  padding: 9px 12px;
  outline: none;
  -webkit-appearance: none;
}
.field__list-input::placeholder { color: var(--text-3); }
.field__list-input:focus { border-color: var(--accent); }
.field__list-del {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-3);
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}
.field__list-del:active { background: var(--card-hover); color: var(--text); }
.field__list-add {
  align-self: flex-start;
  background: transparent;
  border: 1px dashed var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.field__list-add:active { background: rgba(212, 161, 74, 0.12); }
.field--input input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding: 6px 0 0;
  font-size: 16px;
  color: var(--text);
}
.field--input input::placeholder { color: var(--text-2); font-weight: 500; opacity: 0.5; }

/* 日期字段（原生 picker） */
.field--date input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(74%) sepia(56%) saturate(412%) hue-rotate(359deg) brightness(101%) contrast(91%);
  cursor: pointer;
  opacity: 0.9;
}

.field--date .field__date-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
}
.field--date {
  position: relative;
}
.field--date .field__date-display {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0 0;
  pointer-events: none;
}
.field--date .field__date-display--placeholder {
  color: var(--text-3);
  font-weight: 400;
}
.field--date .field__date-input:focus {
  outline: none;
}
.field--date .field__date-input::-webkit-datetime-edit {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
.field--date .field__date-input::-webkit-datetime-edit-fields-wrapper {
  color: var(--text);
}
.field--date .field__date-input::-webkit-calendar-picker-indicator {
  filter: invert(74%) sepia(56%) saturate(412%) hue-rotate(359deg) brightness(101%) contrast(91%);
  cursor: pointer;
  opacity: 0.9;
}
.field--date .field__date-input::placeholder {
  color: var(--text-3);
  font-weight: 400;
}

.form__hint {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  padding: 16px 22px 4px;
  letter-spacing: 0.3px;
}

.form__required-hint {
  display: flex;
  align-items: center;
  margin: 4px 4px 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(212, 161, 74, 0.07);
  border: 1px solid rgba(212, 161, 74, 0.18);
  font-size: 12.5px;
  color: var(--text-2);
  letter-spacing: 0.3px;
  line-height: 1.5;
}
.form__required-hint__text em {
  font-style: normal;
  color: var(--danger);
  font-weight: 700;
  margin: 0 1px;
}

/* ---------- Submit button (sticky bottom) ---------- */
.submit-wrap {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px calc(14px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(15, 15, 18, 0) 0%, rgba(15, 15, 18, 0.85) 30%, #0F0F12 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 30;
}
.submit {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
  height: 52px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #0F0F12;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  box-shadow: 0 8px 20px rgba(212, 161, 74, 0.32);
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.submit:active { transform: translateY(1px); box-shadow: 0 4px 12px rgba(212, 161, 74, 0.28); }
.submit[disabled] { opacity: 0.55; cursor: not-allowed; }

.footer-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  padding: 18px 0 0;
  letter-spacing: 0.4px;
}
.footer-icp {
  text-align: center;
  font-size: 10px;
  color: var(--text-3);
  padding: 6px 0 0;
  letter-spacing: 0.3px;
  opacity: 0.85;
}

/* ---------- ActionSheet (底部弹起单选) ---------- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet[hidden] { display: none; }
.sheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sheet.is-open .sheet__mask { opacity: 1; }
.sheet__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  padding: 8px 0 calc(20px + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet__grabber {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 8px auto 12px;
}
.sheet__title {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  padding: 4px 22px 16px;
  letter-spacing: 0.5px;
}
.sheet__options {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sheet__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  min-height: 56px;
  transition: background 0.12s ease;
}
.sheet__option:last-child { border-bottom: none; }
.sheet__option:active { background: var(--card-hover); }
.sheet__option.is-active { color: var(--accent-2); }
.sheet__check {
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.sheet__check svg { width: 20px; height: 20px; }
.sheet__option.is-active .sheet__check { opacity: 1; }
.sheet__option-meta {
  font-size: 12px;
  color: var(--text-3);
  margin-left: 8px;
}
.sheet__cancel {
  display: block;
  width: calc(100% - 32px);
  margin: 14px 16px 0;
  height: 52px;
  background: var(--bg-soft);
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.sheet__cancel:active { background: var(--card-hover); }

/* 其他输入弹窗 */
.sheet__input-wrap {
  padding: 8px 22px 4px;
  border-top: 1px solid var(--border);
}
.sheet__input {
  width: 100%;
  height: 48px;
  background: var(--bg-soft);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  font-size: 16px;
  color: var(--text);
  margin-top: 8px;
}
.sheet__input:focus { border-color: var(--accent); }
.sheet__btns {
  display: flex;
  gap: 10px;
  padding: 12px 22px 4px;
}
.sheet__btn {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.sheet__btn--primary {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  border: none;
  color: #0F0F12;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: rgba(20, 20, 26, 0.96);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--border-2);
  z-index: 200;
  max-width: 80vw;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- Alert (success/error dialog) ---------- */
.alert {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.alert[hidden] { display: none; }
.alert__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.alert.is-open .alert__mask { opacity: 1; }
.alert__panel {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 32px 28px 24px;
  text-align: center;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.18s ease;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}
.alert.is-open .alert__panel { transform: scale(1); opacity: 1; }
.alert__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}
.alert--err .alert__icon {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}
.alert__icon svg { width: 36px; height: 36px; }
.alert__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}
.alert__text {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 0 22px;
  line-height: 1.6;
  white-space: pre-line;
  text-align: left;
}
.alert__btn {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  color: #0F0F12;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 360px) {
  .brand__title { font-size: 22px; }
  .field { padding: 16px 18px; }
}
@media (min-width: 600px) {
  body { padding-bottom: var(--safe-bottom); }
}

.select-sheet {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.select-sheet[hidden] { display: none; }
.select-sheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.select-sheet.is-open .select-sheet__mask { opacity: 1; }
.select-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  padding: 8px 0 calc(14px + var(--safe-bottom));
  max-height: 70vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  -webkit-overflow-scrolling: touch;
}
.select-sheet.is-open .select-sheet__panel { transform: translateY(0); }
.select-sheet__grabber {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 8px auto 12px;
}
.select-sheet__title {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0.4px;
  margin: 0 22px 12px;
}
.select-sheet__options {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.select-sheet__option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 50px;
  line-height: 1.45;
  transition: background 0.12s ease;
  text-align: center;
}
.select-sheet__option > span:first-child {
  display: inline-block;
  text-align: center;
}
.select-sheet__option > .select-sheet__check {
  flex: 0 0 22px;
  margin-left: 4px;
}
.select-sheet__option:last-child { border-bottom: none; }
.select-sheet__option:active { background: var(--bg-soft); }
.select-sheet__option.is-active { color: var(--accent-2); }
.select-sheet__check {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  border: 1.5px solid var(--accent);
  flex: 0 0 22px;
  opacity: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.select-sheet__option:not(.is-active) .select-sheet__check {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.select-sheet__option.is-active .select-sheet__check {
  background: var(--accent);
  border-color: var(--accent);
}
.select-sheet__check svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 3; fill: none; }
.select-sheet__option:not(.is-active) .select-sheet__check svg { display: none; }
.select-sheet__option.is-active .select-sheet__check svg { stroke: #0F0F12; }
.select-sheet__cancel {
  display: block;
  width: calc(100% - 44px);
  margin: 14px auto 0;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border-2);
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* ---------- Inline Select (内联 checkbox 列表，点字段行展开) ---------- */
.field--select .select__panel { display: none; }
.field--select .field__body { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* 让 select 字段打开后，展开的面板能独占一整行（不被挤在同一行） */
.field--select { flex-wrap: wrap; }
.field--select .select__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.2s ease;
  padding: 0 22px;
  /* 强制占满一整行（flex-basis 100% 在 .field 这个 flex 容器里换行 + 拉满），
     之前没设 → 面板被挤成 109px，导致选项文字被压成 3-4 行出现"孤儿字" */
  flex-basis: 100%;
  width: 100%;
}
.field--select.is-open .select__panel {
  max-height: 620px;
  padding: 12px 22px 18px;
}
.select__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.select__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.06s;
  -webkit-tap-highlight-color: transparent;
}
.select__option:active { transform: scale(0.985); }
.select__option.is-active {
  border-color: var(--accent);
  background: rgba(212, 161, 74, 0.08);
}
.select__check {
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.select__option.is-active .select__check {
  background: var(--accent);
  border-color: var(--accent);
}
.select__check svg {
  width: 14px;
  height: 14px;
  stroke: #0F0F12;
  stroke-width: 3;
  fill: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.select__option.is-active .select__check svg { opacity: 1; }
.select__label {
  flex: 1;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.2px;
}
.select__option.is-other .select__label { color: var(--text-2); }
.field--select.is-open .field__chev {
  transform: rotate(90deg);
  color: var(--accent);
}

/* 隐藏 input / date 字段的 chevron（它们没有展开态） */
.field--input .field__chev,
.field--date .field__chev { display: none; }

/* ---------- Confirm 提交确认弹窗（iOS sheet 风格，自下而上） ---------- */
.confirm {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.confirm[hidden] { display: none; }
.confirm__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.confirm.is-open .confirm__mask { opacity: 1; }
.confirm__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  padding: 12px 22px calc(20px + var(--safe-bottom));
  max-height: 92vh;
  overflow-y: visible;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  -webkit-overflow-scrolling: touch;
}
.confirm.is-open .confirm__panel { transform: translateY(0); }
.confirm__handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 4px auto 16px;
}
.confirm__title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}
.confirm__sub {
  font-size: 13px;
  color: var(--text-3);
 text-align: center;
  margin: 0 0 18px;
  letter-spacing: 0.3px;
}
.confirm__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--border);
  margin-bottom: 8px;
}
.confirm__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.confirm__row-label {
  flex: 0 0 88px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.3px;
  padding-top: 2px;
}
.confirm__row-value {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  word-break: break-word;
  line-height: 1.5;
}
.confirm__opt-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.confirm__opt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
}
.confirm__opt-row.is-active {
  color: var(--accent);
  font-weight: 600;
}
.confirm__opt-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #0F0F12;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 18px;
}
.confirm__btns {
  display: flex;
  gap: 10px;
  padding: 0 0 4px;
}
.confirm__btn {
  flex: 1;
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--border-2);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.confirm__btn--ghost {
  background: transparent;
  color: var(--text-2);
}
.confirm__btn--primary {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  color: #0F0F12;
  border: none;
  box-shadow: 0 8px 20px rgba(212, 161, 74, 0.32);
  flex: 1.4;
}

/* 紧凑模式：拍短视频等字段多的弹窗，常用手机高度一次全显，不需手动滚动 */
.confirm__panel--compact {
  max-height: 72vh;
  overflow-y: visible;
  padding: 8px 18px calc(18px + var(--safe-bottom));
}
.confirm__panel--compact .confirm__handle { margin: 0 auto 8px; }
.confirm__panel--compact .confirm__title { font-size: 17px; margin: 0 0 4px; }
.confirm__panel--compact .confirm__sub { font-size: 12px; margin: 0 0 10px; }
.confirm__panel--compact .confirm__list {
  gap: 6px;
  padding: 10px 0 12px;
  margin-bottom: 4px;
}
.confirm__panel--compact .confirm__row { padding: 8px 12px; }
.confirm__panel--compact .confirm__row-label { font-size: 12px; flex: 0 0 80px; }
.confirm__panel--compact .confirm__row-value { font-size: 13px; line-height: 1.45; }
.confirm__panel--compact .confirm__btn { height: 46px; font-size: 15px; }

/* ============================================================
   首页 - 服务大类卡片（编号 01/02/03 大卡片）
   ============================================================ */

.services {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  /* 拉大一倍（10px → 20px）让四张卡片之间的呼吸更足 */
  gap: 20px;
}

.services__heading {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.6px;
  padding: 0 4px;
  margin-bottom: 4px;
}

.service-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  min-height: 64px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.service-card:active {
  transform: scale(0.985);
  border-color: rgba(212, 161, 74, 0.4);
  background: var(--card-hover);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.service-card:active::before { opacity: 1; }

.service-card__num {
  font-family: "SF Mono", "Menlo", "Roboto Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
  flex: 0 0 auto;
  width: 26px;
  text-align: center;
  font-weight: 600;
  opacity: 0.85;
}

.service-card__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 161, 74, 0.16), rgba(212, 161, 74, 0.04));
  border: 1px solid rgba(212, 161, 74, 0.18);
  display: grid;
  place-items: center;
  color: var(--accent-2);
}
.service-card__icon svg { width: 26px; height: 26px; }
 .service-card__icon svg { width: 20px; height: 20px; }

.service-card__body {
  flex: 1 1 auto;
  min-width: 0;
  /* 统一四张卡片的文字块高度：按描述 2 行算，其它 1 行的卡会撑出对齐的多余高度 */
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: 0.3px;
}
.service-card__desc {
  font-size: 12px;
  color: var(--text-3);
  margin: 0;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.service-card__chev {
  flex: 0 0 auto;
  color: var(--text-3);
  display: grid;
  place-items: center;
}
.service-card__chev svg { width: 18px; height: 18px; }
 .service-card__chev svg { width: 16px; height: 16px; }

.services__hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 10px;
  letter-spacing: 0.4px;
  opacity: 0.7;
}

/* ---------- Form Head (服务标题区) ---------- */
.form-head {
  position: relative;
  margin-top: 16px;
  padding: 4px 0 14px;
}
.form-head__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.form-head__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}
.form-head__back:active { background: var(--card-hover); }
.form-head__back svg { width: 14px; height: 14px; }
.form-head__home {
  flex: 0 0 auto;
  padding: 6px 11px;
  color: var(--accent-2);
  border: 1px solid rgba(232, 184, 107, 0.35);
  border-radius: 999px;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.form-head__home:active,
.form-head__home:hover { color: var(--bg); background: var(--accent-2); }
.form-head__title {
  font-size: 22px;
  font-weight: 700;
  margin: 14px 4px 4px;
  letter-spacing: 0.3px;
}
.form-head__sub {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 4px 14px;
  letter-spacing: 0.3px;
}

/* ============================================================
   地图选点 sheet（高德地图 AMAP）
   ============================================================ */
.map-picker {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  flex-direction: column;
}
.map-picker[hidden] { display: none; }
.map-picker__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.map-picker.is-open .map-picker__mask { opacity: 1; }
.map-picker__panel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
  margin-top: auto;
  height: 100vh;
}
.map-picker.is-open .map-picker__panel { transform: translateY(0); }

.map-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px 12px;
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}
.map-picker__cancel {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.map-picker__cancel:active { background: var(--card-hover); }
.map-picker__title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text);
}
.map-picker__head-spacer {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}
.map-picker__hint {
  margin: -4px 18px 10px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-3);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  text-align: center;
  flex: 0 0 auto;
}
.map-picker__search-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.map-picker__search-toggle:active { background: var(--card-hover); }
.map-picker__search-toggle svg { width: 18px; height: 18px; }
.map-picker__search-toggle.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0F0F12;
}

.map-picker__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 14px 10px;
  padding: 0 12px;
  height: 40px;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  flex: 0 0 auto;
  /* 作为搜索结果弹层的定位锚点，使结果紧贴搜索框下方，跟顶部 hint 横幅解耦 */
  position: relative;
  z-index: 20;
}
.map-picker__search[hidden] { display: none; }
.map-picker__search-icon {
  color: var(--text-3);
  display: grid;
  place-items: center;
}
.map-picker__search-icon svg { width: 16px; height: 16px; }
.map-picker__search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
}
.map-picker__search-input::placeholder { color: var(--text-3); }
/* 聚焦时给搜索条加高亮边框，强化“这里才是主入口”的视觉信号 */
.map-picker__search.is-focused {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.map-picker__search-results {
  position: absolute;
  /* 改为相对 .map-picker__search（position: relative）定位：紧贴搜索框下沿弹出，
     不管上面是 hint 横幅还是别的元素都不会覆盖到输入框 */
  top: calc(100% + 4px);
  left: -1px;
  right: -1px;
  max-height: 50vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  z-index: 21;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  -webkit-overflow-scrolling: touch;
}
.map-picker__search-results[hidden] { display: none; }
.map-picker__search-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.map-picker__search-item:last-child { border-bottom: none; }
.map-picker__search-item:active { background: var(--card-hover); }
.map-picker__search-item-name {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2px;
}
.map-picker__search-item-addr {
  font-size: 12px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-picker__search-empty,
.map-picker__search-error {
  padding: 14px 16px;
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
}
.map-picker__search-empty { color: var(--text-3); }
.map-picker__search-error { color: #E76F51; }

.map-picker__map {
  flex: 1 1 auto;
  width: 100%;
  background: #1A1A20;
  position: relative;
  min-height: 240px;
}
.map-picker__marker {
  width: 26px;
  height: 32px;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'><path d='M12 0a12 12 0 0 0-12 12c0 9 12 16 12 16s12-7 12-16A12 12 0 0 0 12 0zm0 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10z' fill='black'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'><path d='M12 0a12 12 0 0 0-12 12c0 9 12 16 12 16s12-7 12-16A12 12 0 0 0 12 0zm0 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10z' fill='black'/></svg>") center/contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  transform: translateY(-4px);
}

.map-picker__locate {
  position: absolute;
  right: 14px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border-2);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}
.map-picker__locate:active { background: var(--card-hover); }
.map-picker__locate svg { width: 22px; height: 22px; }

.map-picker__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--card) 100%);
  border-top: 1px solid var(--border);
  flex: 0 0 auto;
}
.map-picker__addr {
  flex: 1;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
  letter-spacing: 0.2px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.map-picker__confirm {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  color: #0F0F12;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(212, 161, 74, 0.32);
}
.map-picker__confirm[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* 字段被选点后高亮 */
.field--location.is-picked .field__icon { color: var(--accent-2); }
.field--location.is-picked .field__value { color: var(--text); }

/* 高德地图内置 UI 微调（适配暗色） */
.map-picker__map .amap-logo,
.map-picker__map .amap-copyright {
  display: none !important;
}
