:root {
  color-scheme: dark;
  --bg: #050d1b;
  --surface: #0a192d;
  --surface-2: #0d2038;
  --line: rgba(111, 157, 218, .2);
  --text: #edf5ff;
  --muted: #8ea5c3;
  --blue: #287dff;
  --cyan: #1fd2e8;
  --green: #27c996;
  --danger: #ff667b;
  --shadow: 0 24px 70px rgba(0, 4, 15, .4);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text); background: linear-gradient(rgba(90, 145, 215, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 145, 215, .025) 1px, transparent 1px), radial-gradient(circle at 82% 0, rgba(31, 210, 232, .13), transparent 30%), radial-gradient(circle at 20% 35%, rgba(40, 125, 255, .1), transparent 38%), linear-gradient(180deg, #050d1b 0, #07172b 58%, #050d1b 100%); background-size: 48px 48px, 48px 48px, auto, auto, auto; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }
.mobile-shell { width: min(100%, 760px); min-height: 100vh; margin: 0 auto; padding: env(safe-area-inset-top) 16px calc(28px + env(safe-area-inset-bottom)); }

.brand-bar { display: flex; align-items: center; gap: 11px; padding: 18px 2px 14px; }
.brand-bar img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.brand-bar div { display: grid; gap: 2px; }
.brand-bar strong { font-size: 15px; letter-spacing: .04em; }
.brand-bar span { color: #7f9bbb; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy { padding: 18px 2px 8px; }
.eyebrow { color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.hero-copy h1, .success-screen h1 { margin: 9px 0 8px; font-size: clamp(27px, 8vw, 42px); line-height: 1.18; letter-spacing: -.04em; }
.hero-copy p, .success-screen > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.referral-card { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 13px 14px; border: 1px solid rgba(38, 211, 156, .27); border-radius: 16px; background: rgba(18, 85, 78, .25); }
.avatar-mark { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 12px; color: #052e2a; background: var(--green); font-weight: 900; }
.referral-card div { display: grid; gap: 2px; min-width: 0; }
.referral-card small { color: #8db6ae; font-size: 10px; }
.referral-card strong { font-size: 14px; }
.referral-card i { margin-left: auto; color: var(--green); font-size: 11px; font-style: normal; font-weight: 800; }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
.notice.warning { color: #ffd29a; background: rgba(176, 104, 21, .2); border: 1px solid rgba(255, 176, 80, .26); }

.stepper { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 18px; }
.step { position: relative; display: grid; justify-items: center; gap: 6px; color: #617c9e; font-size: 10px; font-weight: 700; }
.step::before { content: ""; position: absolute; z-index: 0; top: 14px; left: 0; right: 0; height: 2px; background: #18355c; }
.step:first-child::before { left: 50%; }
.step:last-child::before { right: 50%; }
.step b { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #24466f; border-radius: 50%; color: #728fb2; background: #081a35; }
.step.active, .step.done { color: #b8cdf0; }
.step.active b { color: #fff; border-color: var(--cyan); background: #087ca8; box-shadow: 0 0 0 5px rgba(25, 212, 235, .09); }
.step.done b { color: #03221c; border-color: var(--green); background: var(--green); }

#inquiryForm { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(9, 30, 62, .86); box-shadow: var(--shadow); }
.form-step { display: none; padding: 20px 16px 6px; }
.form-step.active { display: block; animation: enter .23s ease; }
@keyframes enter { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-heading > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--cyan); background: rgba(25, 212, 235, .1); font-weight: 900; }
.section-heading div { display: grid; gap: 3px; }
.section-heading h2 { margin: 0; font-size: 18px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.field-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field > span { color: #cbd9ec; font-size: 12px; font-weight: 750; }
.field em { color: #ff7488; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #24466f; border-radius: 12px; outline: none; color: var(--text); background: #0b2142; padding: 12px 13px; transition: .2s ease; }
.field textarea { min-height: 82px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #89a9ce 50%), linear-gradient(135deg, #89a9ce 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 35px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25, 212, 235, .08); }
.field input::placeholder, .field textarea::placeholder { color: #557497; }
.field-help { margin-top: -3px; color: #6f8cac; font-size: 10px; line-height: 1.45; }
.check-line { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 18px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(16, 42, 81, .5); }
.check-line input { width: 19px; height: 19px; accent-color: var(--cyan); }
.check-line span { display: grid; gap: 3px; }
.check-line b { font-size: 12px; }
.check-line small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.scenario-title { display: grid; gap: 3px; margin: 5px 0 15px; padding-top: 17px; border-top: 1px solid var(--line); }
.scenario-title b { color: var(--cyan); font-size: 13px; }
.scenario-title small { color: var(--muted); font-size: 10px; }
.privacy-note { margin: 2px 0 18px; padding: 14px; border-radius: 14px; color: #8ea8c8; background: #081b37; }
.privacy-note b { color: #bfd0e8; font-size: 11px; }
.privacy-note p { margin: 5px 0 0; font-size: 10px; line-height: 1.65; }
.form-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 13px 16px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(8, 26, 53, .97); backdrop-filter: blur(16px); }
.primary-button, .secondary-button { min-height: 49px; border: 0; border-radius: 13px; padding: 0 18px; color: #fff; font-weight: 800; cursor: pointer; }
.primary-button { background: linear-gradient(110deg, #0d6ff2, #18c5e7); box-shadow: 0 10px 25px rgba(10, 119, 237, .25); }
.secondary-button { border: 1px solid #2a4d76; color: #bbcee6; background: #102949; }
.primary-button:disabled { opacity: .55; cursor: wait; }

.success-screen { min-height: 76vh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 38px 8px; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 24px; color: #022a25; background: var(--green); font-size: 34px; font-weight: 900; box-shadow: 0 14px 38px rgba(38, 211, 156, .23); }
.success-screen > p { max-width: 460px; }
.number-card { width: 100%; display: grid; gap: 5px; margin: 24px 0 14px; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.number-card small { color: var(--muted); font-size: 10px; }
.number-card strong { margin-bottom: 10px; color: var(--cyan); font-size: 17px; }
.assigned-result { width: 100%; margin-bottom: 14px; padding: 13px; border-radius: 13px; color: var(--green); background: rgba(38, 211, 156, .1); font-size: 12px; font-weight: 800; }
.wide { width: 100%; }
footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 13px 3px; color: #536f92; font-size: 9px; }
footer a { color: #7695bb; text-decoration: none; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border: 1px solid #33567d; border-radius: 12px; opacity: 0; pointer-events: none; color: #f4f8ff; background: #102847; box-shadow: var(--shadow); font-size: 12px; transform: translate(-50%, 12px); transition: .22s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 620px) {
  .mobile-shell { padding-left: 24px; padding-right: 24px; }
  .field-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-step { padding: 26px 28px 10px; }
  .form-actions { padding-left: 28px; padding-right: 28px; }
}

/* 方案 1：曜石蓝数据指挥舱 · 客户登记端 */
body,
button,
input,
select,
textarea {
  font-feature-settings: "tnum" 1, "ss01" 1;
}

.brand-bar {
  position: relative;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(111, 157, 218, .15);
  border-radius: 15px;
  background: rgba(8, 24, 43, .66);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(18px);
}

.brand-bar::after {
  content: "SECURE BUSINESS INTAKE";
  margin-left: auto;
  color: #587696;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
}

.brand-bar img {
  padding: 2px;
  border: 1px solid rgba(89, 164, 245, .22);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 9px 22px rgba(0, 6, 19, .3);
}

.hero-copy {
  padding: 34px 5px 13px;
}

.hero-copy h1,
.success-screen h1 {
  max-width: 620px;
  background: linear-gradient(105deg, #fff 15%, #d8ebff 62%, #8bdff0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-shadow: 0 0 18px rgba(31, 210, 232, .34);
}

.referral-card {
  border-color: rgba(39, 201, 150, .26);
  background: linear-gradient(110deg, rgba(19, 85, 75, .26), rgba(9, 40, 57, .58));
  box-shadow: inset 3px 0 var(--green);
}

.stepper {
  margin-top: 29px;
}

.step::before {
  height: 1px;
  background: #193858;
}

.step.active b {
  border-color: #73dcff;
  background: linear-gradient(135deg, #1e6bea, #17aec8);
  box-shadow: 0 0 0 5px rgba(31, 210, 232, .07), 0 0 24px rgba(31, 210, 232, .18);
}

#inquiryForm {
  position: relative;
  border-color: rgba(93, 154, 224, .24);
  background: linear-gradient(155deg, rgba(12, 31, 55, .97), rgba(6, 21, 39, .97));
  box-shadow: 0 30px 80px rgba(0, 4, 15, .43), inset 0 1px rgba(255, 255, 255, .03);
}

#inquiryForm::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), transparent 90%);
  box-shadow: 0 0 22px rgba(31, 210, 232, .34);
}

.section-heading > span {
  border: 1px solid rgba(31, 210, 232, .18);
  background: linear-gradient(145deg, rgba(31, 210, 232, .15), rgba(40, 125, 255, .08));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.field > span {
  color: #c7d6e9;
}

.field input,
.field select,
.field textarea {
  border-color: rgba(91, 143, 201, .32);
  background: rgba(6, 24, 45, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(83, 169, 247, .48);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(31, 210, 232, .07), 0 0 26px rgba(40, 125, 255, .08);
}

.field select option {
  color: var(--text);
  background: #0a1b30;
}

.check-line,
.privacy-note {
  border-color: rgba(111, 157, 218, .17);
  background: rgba(13, 37, 65, .68);
}

.form-actions {
  border-color: rgba(111, 157, 218, .18);
  background: rgba(6, 21, 39, .95);
}

.primary-button {
  border: 1px solid rgba(99, 185, 255, .22);
  background: linear-gradient(105deg, #1f69eb, #168df5 58%, #19bed9);
  box-shadow: 0 12px 28px rgba(18, 105, 235, .3), inset 0 1px rgba(255, 255, 255, .18);
}

.secondary-button {
  border-color: rgba(103, 151, 210, .28);
  background: rgba(16, 41, 73, .9);
}

.primary-button,
.secondary-button {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

@media (hover: hover) {
  .primary-button:hover,
  .secondary-button:hover {
    transform: translateY(-1px);
    border-color: rgba(108, 206, 255, .45);
  }
}

.number-card {
  background: linear-gradient(155deg, rgba(13, 35, 61, .95), rgba(7, 23, 42, .95));
  box-shadow: var(--shadow);
}

.toast {
  border-color: rgba(78, 156, 245, .33);
  background: #0d2746;
  box-shadow: 0 18px 45px rgba(0, 5, 18, .44), 0 0 30px rgba(40, 125, 255, .1);
}

* {
  scrollbar-color: #24496f #08172a;
  scrollbar-width: thin;
}

@media (max-width: 520px) {
  .brand-bar::after {
    display: none;
  }

  .hero-copy {
    padding-top: 27px;
  }
}

@media (min-width: 900px) {
  .mobile-shell {
    padding-top: 16px;
    padding-bottom: 42px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  #inquiryForm {
    border-radius: 20px;
  }
}

/* 最终可用性修正：短表单、统一字号与原生下拉箭头。 */
.hero-copy {
  padding-top: 38px;
  padding-bottom: 24px;
}

.hero-copy .eyebrow {
  font-size: 13px;
  letter-spacing: .08em;
}

.hero-copy p,
.section-heading p,
.field-help,
.privacy-note p,
footer {
  font-size: 14px;
}

.field > span,
.privacy-note b,
.optional-details summary span {
  font-size: 15px;
}

#inquiryForm {
  overflow: visible;
}

.short-form-card {
  padding-bottom: 18px;
}

.field select {
  appearance: none;
  background-color: #faf7f2;
  background-image: linear-gradient(45deg, transparent 50%, #788395 50%), linear-gradient(135deg, #788395 50%, transparent 50%);
  background-position: calc(100% - 19px) 23px, calc(100% - 14px) 23px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.optional-details {
  margin: 4px 0 20px;
  border: 1px solid #ded8cf;
  border-radius: 14px;
  background: #f8f4ee;
}

.optional-details summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.optional-details summary::-webkit-details-marker { display: none; }
.optional-details summary::after { content: "+"; color: #d85e50; font-size: 22px; line-height: 1; }
.optional-details[open] summary::after { content: "−"; }
.optional-details summary small { color: var(--muted); font-size: 13px; }
.optional-content { padding: 0 16px 4px; }
.optional-content .full-row { grid-column: 1 / -1; }

.form-actions {
  grid-template-columns: 1fr;
  padding-top: 4px;
}

.supplement-card {
  width: 100%;
  margin: 18px 0;
  padding: 22px;
  border: 1px solid #ded8cf;
  border-radius: 18px;
  text-align: left;
  background: #fffdf9;
  box-shadow: 0 12px 32px rgba(56, 46, 35, .07);
}

.supplement-card > div:first-child { margin-bottom: 18px; }
.supplement-card strong { color: var(--text); font-size: 18px; }
.supplement-card > div p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.supplement-result { margin: 14px 0 0; text-align: center; color: var(--green); font-size: 14px; font-weight: 700; }

@media (max-width: 520px) {
  .hero-copy h1 { font-size: 32px; }
  .optional-details summary { display: grid; gap: 4px; }
  .optional-details summary::after { position: absolute; right: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 方案 2：暖白极简高奢 · 客户登记端 */
:root {
  color-scheme: light;
  --bg: #f4f0e9;
  --surface: #fffdf9;
  --surface-2: #ffffff;
  --line: rgba(47, 57, 72, .13);
  --text: #243044;
  --muted: #697589;
  --blue: #ef6a5b;
  --cyan: #de8c71;
  --green: #2d9488;
  --danger: #d95050;
  --shadow: 0 22px 58px rgba(56, 46, 35, .1);
}

html,
body {
  background: var(--bg);
}

body {
  min-width: 320px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 90% 0, rgba(239, 106, 91, .1), transparent 28%),
    radial-gradient(circle at 0 45%, rgba(45, 148, 136, .06), transparent 27%),
    #f4f0e9;
}

.mobile-shell {
  width: min(100%, 780px);
  padding-left: 18px;
  padding-right: 18px;
}

.brand-bar {
  margin-top: 12px;
  padding: 15px 17px;
  border-color: rgba(47, 57, 72, .1);
  border-radius: 15px;
  background: rgba(255, 253, 249, .92);
  box-shadow: 0 9px 26px rgba(56, 46, 35, .05);
}

.brand-bar::after {
  content: "BUSINESS INTAKE";
  color: #a28d7a;
  font-size: 12px;
  letter-spacing: .12em;
}

.brand-bar img {
  border-color: rgba(47, 57, 72, .09);
  background: #fff;
  box-shadow: 0 7px 18px rgba(48, 49, 53, .07);
}

.brand-bar strong {
  color: var(--text);
  font-size: 16px;
}

.brand-bar span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
}

.hero-copy {
  padding: 36px 5px 16px;
}

.eyebrow {
  color: #d85e50;
  font-size: 12px;
  letter-spacing: .14em;
  text-shadow: none;
}

.hero-copy h1,
.success-screen h1 {
  margin-top: 10px;
  max-width: 660px;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(32px, 7vw, 46px);
  line-height: 1.18;
}

.hero-copy p,
.success-screen > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.referral-card {
  padding: 15px 16px;
  border-color: #cbe3df;
  background: #edf7f5;
  box-shadow: inset 3px 0 #2d9488;
}

.avatar-mark {
  color: #fff;
  background: #2d9488;
}

.referral-card small {
  color: #65817e;
  font-size: 12px;
}

.referral-card strong {
  color: #284943;
  font-size: 15px;
}

.referral-card i {
  color: #267c72;
  font-size: 12px;
}

.notice {
  font-size: 13px;
}

.notice.warning {
  border-color: #ead4b8;
  color: #8a5b28;
  background: #fbf2e5;
}

.stepper {
  margin: 31px 0 20px;
}

.step {
  color: #8b94a2;
  font-size: 12px;
}

.step::before {
  background: #ddd5cb;
}

.step b {
  width: 32px;
  height: 32px;
  border-color: #d4cbc0;
  color: #7c8795;
  background: #f8f4ee;
}

.step.active,
.step.done {
  color: #4e5a6b;
}

.step.active b {
  border-color: #ef6a5b;
  color: #fff;
  background: #ef6a5b;
  box-shadow: 0 0 0 5px rgba(239, 106, 91, .08);
}

.step.done b {
  border-color: #2d9488;
  color: #fff;
  background: #2d9488;
}

#inquiryForm {
  border-color: rgba(47, 57, 72, .11);
  border-radius: 22px;
  background: rgba(255, 253, 249, .98);
  box-shadow: var(--shadow);
}

#inquiryForm::before {
  width: 84px;
  right: auto;
  height: 4px;
  background: #ef6a5b;
  box-shadow: none;
}

.form-step {
  padding: 24px 20px 8px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading > span {
  width: 46px;
  height: 46px;
  border-color: #f1d0ca;
  color: #d85e50;
  background: #fff0ec;
  box-shadow: none;
}

.section-heading h2 {
  color: var(--text);
  font-size: 20px;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.field {
  gap: 9px;
  margin-bottom: 19px;
}

.field > span {
  color: #465164;
  font-size: 14px;
}

.field em {
  color: #d95050;
}

.field input,
.field select,
.field textarea {
  min-height: 52px;
  border-color: #ddd7ce;
  border-radius: 12px;
  color: var(--text);
  background: #faf7f2;
  padding: 13px 14px;
  font-size: 15px;
  box-shadow: none;
}

.field textarea {
  min-height: 96px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cfc5b9;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #ef8b7f;
  box-shadow: 0 0 0 4px rgba(239, 106, 91, .1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa2ae;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, #788395 50%), linear-gradient(135deg, #788395 50%, transparent 50%);
}

.field select option {
  color: var(--text);
  background: #fff;
}

.field-help {
  color: #7d8796;
  font-size: 13px;
}

.check-line,
.privacy-note {
  border-color: #e6ded5;
  background: #f7f3ed;
}

.check-line {
  padding: 15px;
}

.check-line input {
  accent-color: #ef6a5b;
}

.check-line b,
.privacy-note b {
  color: #465164;
  font-size: 14px;
}

.check-line small,
.privacy-note p {
  color: var(--muted);
  font-size: 13px;
}

.scenario-title {
  border-color: #e7e0d7;
}

.scenario-title b {
  color: #d85e50;
  font-size: 14px;
}

.scenario-title small {
  color: var(--muted);
  font-size: 13px;
}

.form-actions {
  gap: 11px;
  padding-top: 15px;
  padding-bottom: calc(15px + env(safe-area-inset-bottom));
  border-color: #e7e0d7;
  background: rgba(255, 253, 249, .96);
}

.primary-button,
.secondary-button {
  min-height: 50px;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: .01em;
}

button:focus {
  outline: none;
}

button:focus-visible {
  outline: 3px solid rgba(239, 106, 91, .22);
  outline-offset: 2px;
}

button:active {
  transform: translateY(0) scale(.98);
}

.primary-button {
  border-color: #e86254;
  background: #ef6a5b;
  box-shadow: 0 11px 24px rgba(207, 81, 68, .2), inset 0 1px rgba(255, 255, 255, .22);
}

.secondary-button {
  border-color: #d9d1c7;
  color: #536074;
  background: #fffdf9;
  box-shadow: 0 5px 15px rgba(52, 48, 42, .045);
}

@media (hover: hover) {
  .primary-button:hover {
    border-color: #d95547;
    background: #e75f51;
    box-shadow: 0 13px 28px rgba(207, 81, 68, .25);
  }

  .secondary-button:hover {
    border-color: #c9beb2;
    background: #fff;
  }
}

.success-icon {
  color: #fff;
  background: #2d9488;
  box-shadow: 0 14px 36px rgba(34, 126, 116, .2);
}

.number-card {
  border-color: rgba(47, 57, 72, .11);
  background: #fffdf9;
  box-shadow: var(--shadow);
}

.number-card small {
  color: var(--muted);
  font-size: 13px;
}

.number-card strong {
  color: #d85e50;
  font-size: 18px;
}

.assigned-result {
  color: #267c72;
  background: #eaf6f3;
  font-size: 14px;
}

footer {
  color: #7b8492;
  font-size: 12px;
}

footer a {
  color: #d85e50;
}

.toast {
  border: 0;
  color: #fff;
  background: #273447;
  box-shadow: 0 18px 45px rgba(37, 46, 60, .24);
  font-size: 13px;
}

* {
  scrollbar-color: #c8bfb4 #f3eee7;
}

@media (max-width: 520px) {
  .brand-bar::after {
    display: none;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .form-step {
    padding: 22px 17px 7px;
  }

  .section-heading > span {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 620px) {
  .mobile-shell {
    padding-left: 26px;
    padding-right: 26px;
  }

  .form-step {
    padding: 31px 32px 13px;
  }

  .form-actions {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 900px) {
  .mobile-shell {
    padding-top: 18px;
    padding-bottom: 46px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }
}

/* 方案 2 的最终覆盖，避免早期主题规则重新接管组件。 */
.hero-copy { padding-top: 38px; padding-bottom: 24px; }
.hero-copy .eyebrow { font-size: 13px; letter-spacing: .08em; }
.hero-copy p,
.section-heading p,
.field-help,
.privacy-note p,
footer { font-size: 14px; }
.field > span,
.privacy-note b,
.optional-details summary span { font-size: 15px; }
#inquiryForm { overflow: visible; }
.short-form-card { padding-bottom: 18px; }
.field select {
  appearance: none;
  background-color: #faf7f2;
  background-image: linear-gradient(45deg, transparent 50%, #788395 50%), linear-gradient(135deg, #788395 50%, transparent 50%);
  background-position: calc(100% - 19px) 23px, calc(100% - 14px) 23px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.optional-details { margin: 4px 0 20px; border: 1px solid #ded8cf; border-radius: 14px; background: #f8f4ee; }
.optional-details summary { display: flex; justify-content: space-between; gap: 14px; padding: 16px; cursor: pointer; list-style: none; }
.optional-details summary::-webkit-details-marker { display: none; }
.optional-details summary::after { content: "+"; color: #d85e50; font-size: 22px; line-height: 1; }
.optional-details[open] summary::after { content: "−"; }
.optional-details summary small { color: var(--muted); font-size: 13px; }
.optional-content { padding: 0 16px 4px; }
.optional-content .full-row { grid-column: 1 / -1; }
.form-actions { grid-template-columns: 1fr; padding-top: 4px; }
.supplement-card { width: 100%; margin: 18px 0; padding: 22px; border: 1px solid #ded8cf; border-radius: 18px; text-align: left; background: #fffdf9; box-shadow: 0 12px 32px rgba(56, 46, 35, .07); }
.supplement-card > div:first-child { margin-bottom: 18px; }
.supplement-card strong { color: var(--text); font-size: 18px; }
.supplement-card > div p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.supplement-result { margin: 14px 0 0; text-align: center; color: var(--green); font-size: 14px; font-weight: 700; }

@media (max-width: 520px) {
  .hero-copy h1 { font-size: 32px; }
  .optional-details summary { display: grid; gap: 4px; position: relative; padding-right: 46px; }
  .optional-details summary::after { position: absolute; top: 17px; right: 16px; }
}

/* 单公司白标：公开页采用组织品牌色，并兼容长公司名称。 */
:root { --brand-primary: #2563eb; --brand-accent: #06b6d4; }
.brand-bar div { min-width: 0; }
.brand-bar strong { overflow: hidden; max-width: min(48vw, 340px); text-overflow: ellipsis; white-space: nowrap; }
.primary-button {
  border-color: var(--brand-primary);
  background: linear-gradient(110deg, var(--brand-primary), var(--brand-accent));
  box-shadow: 0 11px 24px color-mix(in srgb, var(--brand-primary) 24%, transparent), inset 0 1px rgba(255, 255, 255, .22);
}
.section-heading > span,
.eyebrow { color: var(--brand-primary); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 10%, transparent); }
@media (hover: hover) {
  .primary-button:hover { border-color: var(--brand-primary); filter: brightness(.96); background: linear-gradient(110deg, var(--brand-primary), var(--brand-accent)); }
}
