    :root {
      --brand: #0b6e4f;
      --brand-dark: #075a3f;
      --brand-light: #e6f4ef;
      --accent: #ff7a00;
      --danger: #dc2626;
      --text: #1f2937;
      --text-muted: #6b7280;
      --bg: #f5f7f6;
      --card: #ffffff;
      --border: #e5e7eb;
      --radius: 14px;
      --shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
      --max-width: 1200px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html { -webkit-text-size-adjust: 100%; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: none; background: none; }
    input { font: inherit; }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 16px;
    }

    /* ========== Header ========== */
    .site-header {
      position: relative;
      z-index: 10;
      background: var(--brand);
      color: #fff;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 56px;
      padding: 8px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.5px;
    }

    .logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: #fff;
      color: var(--brand);
      display: grid;
      place-items: center;
      font-size: 16px;
      font-weight: 800;
    }

    .header-link {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.92);
      padding: 5px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      white-space: nowrap;
    }

    .header-link:active { background: rgba(255, 255, 255, 0.14); }

    /* ========== 顶部装饰 ========== */
    .auth-banner {
      position: relative;
      height: 132px;
      background:
        radial-gradient(520px 220px at 85% -20%, rgba(255, 122, 0, 0.24), transparent 62%),
        radial-gradient(420px 180px at 6% 120%, rgba(255, 255, 255, 0.10), transparent 60%),
        linear-gradient(135deg, #0d4a3a 0%, #0b6e4f 55%, #12926b 100%);
    }

    /* ========== 卡片 ========== */
    .auth-wrap {
      flex: 1;
      margin-top: -96px;
      position: relative;
      z-index: 5;
      padding-bottom: 32px;
    }

    .auth-card {
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 24px 20px;
      max-width: 440px;
      margin: 0 auto;
    }

    /* 品牌区 */
    .brand {
      text-align: center;
      margin-bottom: 20px;
    }

    .brand-mark {
      width: 54px;
      height: 54px;
      border-radius: 15px;
      background: linear-gradient(135deg, var(--brand), var(--brand-dark));
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 26px;
      font-weight: 800;
      margin: 0 auto 12px;
      box-shadow: 0 6px 16px rgba(11, 110, 79, 0.26);
    }

    .brand h1 {
      font-size: 20px;
      font-weight: 800;
      letter-spacing: 0.3px;
      line-height: 1.4;
    }

    .brand p {
      margin-top: 5px;
      font-size: 12.5px;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ========== 步骤条 ========== */
    .steps-bar {
      list-style: none;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 24px;
      position: relative;
    }

    .steps-bar::before {
      content: "";
      position: absolute;
      top: 15px;
      left: 16.6%;
      right: 16.6%;
      height: 2px;
      background: var(--border);
      z-index: 0;
    }

    .step-item {
      position: relative;
      z-index: 1;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }

    .step-num {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid var(--border);
      color: var(--text-muted);
      display: grid;
      place-items: center;
      font-size: 13px;
      font-weight: 700;
      line-height: 1;
      transition: all 0.2s;
    }

    .step-item.active .step-num {
      border-color: var(--brand);
      background: var(--brand);
      color: #fff;
      box-shadow: 0 3px 10px rgba(11, 110, 79, 0.28);
    }

    .step-item.done .step-num {
      border-color: var(--brand);
      background: var(--brand-light);
      color: var(--brand-dark);
    }

    .step-name {
      font-size: 11.5px;
      color: var(--text-muted);
      font-weight: 500;
      white-space: nowrap;
    }

    .step-item.active .step-name {
      color: var(--brand-dark);
      font-weight: 700;
    }

    .step-item.done .step-name { color: var(--brand-dark); }

    /* ========== 表单 ========== */
    .field { margin-bottom: 14px; }

    .field-label {
      display: block;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 6px;
    }

    .input {
      width: 100%;
      height: 46px;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 0 14px;
      font-size: 15px;
      color: var(--text);
      background: var(--bg);
      outline: none;
      transition: border-color 0.2s, background 0.2s;
      letter-spacing: 0.3px;
    }

    .input::placeholder { color: #9ca3af; letter-spacing: 0; }

    .input:focus { border-color: var(--brand); background: #fff; }

    .input.is-error { border-color: var(--danger); background: #fef2f2; }

    .field-err {
      display: none;
      margin-top: 5px;
      font-size: 11.5px;
      color: var(--danger);
      line-height: 1.5;
    }

    .field-err.show { display: block; }

    /* 验证码行 */
    .code-row {
      display: flex;
      gap: 8px;
    }

    .code-row .input { flex: 1; min-width: 0; }

    .code-btn {
      flex-shrink: 0;
      height: 46px;
      padding: 0 14px;
      border-radius: 10px;
      border: 1px solid var(--brand);
      color: var(--brand-dark);
      background: #fff;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      transition: all 0.2s;
    }

    .code-btn:active { background: var(--brand-light); }

    .code-btn:disabled {
      border-color: var(--border);
      color: var(--text-muted);
      background: var(--bg);
      cursor: default;
    }

    /* 密码可见切换 */
    .pwd-wrap { position: relative; }

    .pwd-wrap .input { padding-right: 48px; }

    .pwd-eye {
      position: absolute;
      right: 4px;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      font-size: 17px;
      opacity: 0.5;
      line-height: 1;
    }

    .pwd-eye:active { opacity: 0.8; }

    /* 密码强度 */
    .pwd-strength {
      margin-top: 7px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .ps-bars {
      flex: 1;
      display: flex;
      gap: 4px;
    }

    .ps-bar {
      flex: 1;
      height: 4px;
      border-radius: 2px;
      background: #e5e7eb;
      transition: background 0.2s;
    }

    .ps-bar.on-weak { background: #f59e0b; }
    .ps-bar.on-mid { background: #3b82f6; }
    .ps-bar.on-strong { background: var(--brand); }

    .ps-text {
      flex-shrink: 0;
      font-size: 11px;
      color: var(--text-muted);
      min-width: 26px;
      text-align: right;
    }

    .ps-text.weak { color: #b45309; }
    .ps-text.mid { color: #1d4ed8; }
    .ps-text.strong { color: var(--brand-dark); }

    /* 主按钮 */
    .btn-primary {
      width: 100%;
      height: 48px;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 15.5px;
      font-weight: 700;
      letter-spacing: 0.5px;
      transition: background 0.2s, opacity 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-top: 18px;
    }

    .btn-primary:active { background: var(--brand-dark); }

    .btn-primary.is-loading { opacity: 0.72; pointer-events: none; }

    /* 辅助链接 */
    .auth-help {
      margin-top: 14px;
      text-align: center;
      font-size: 12.5px;
      color: var(--text-muted);
    }

    .auth-help a {
      color: var(--brand-dark);
      font-weight: 600;
      border-bottom: 1px solid var(--brand-light);
    }

    /* ========== 完成态 ========== */
    .done-pane {
      text-align: center;
      padding: 8px 0 4px;
    }

    .done-ico {
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: var(--brand-light);
      color: var(--brand);
      display: grid;
      place-items: center;
      font-size: 34px;
      font-weight: 800;
      margin: 0 auto 16px;
      line-height: 1;
      box-shadow: 0 4px 16px rgba(11, 110, 79, 0.14);
    }

    .done-title {
      font-size: 18px;
      font-weight: 800;
      line-height: 1.4;
    }

    .done-desc {
      margin-top: 7px;
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.75;
    }

    .done-actions {
      margin-top: 22px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .btn-ghost {
      width: 100%;
      height: 46px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--border);
      color: var(--text);
      font-size: 14.5px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-ghost:active { background: var(--bg); }

    /* 页面底部 */
    .page-foot {
      padding: 20px 16px 28px;
      text-align: center;
      font-size: 11.5px;
      color: var(--text-muted);
      line-height: 1.8;
    }

    /* Toast */
    .toast {
      position: fixed;
      left: 50%;
      bottom: 60px;
      transform: translateX(-50%) translateY(10px);
      background: rgba(31, 41, 55, 0.94);
      color: #fff;
      font-size: 13px;
      padding: 10px 18px;
      border-radius: 999px;
      z-index: 300;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s, transform 0.25s;
      max-width: 80vw;
      text-align: center;
      line-height: 1.5;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ========== 平板 ≥768px ========== */
    @media (min-width: 768px) {
      .container { padding: 0 24px; }
      .header-inner { min-height: 64px; padding: 8px 24px; }
      .logo { font-size: 20px; }

      .auth-banner { height: 180px; }

      .auth-wrap { margin-top: -120px; }

      .auth-card { padding: 30px 32px; }

      .brand-mark { width: 60px; height: 60px; font-size: 29px; }
      .brand h1 { font-size: 22px; }
      .brand p { font-size: 13px; }

      .input, .code-btn { height: 48px; }

      .steps-bar::before { left: 16%; right: 16%; }

      .step-num { width: 34px; height: 34px; font-size: 14px; }
      .step-name { font-size: 12.5px; }
    }

    /* ========== 桌面 ≥1024px ========== */
    @media (min-width: 1024px) {
      .header-inner { min-height: 72px; padding: 8px 24px; }
      .logo { font-size: 22px; }
      .header-link { font-size: 14px; }

      .auth-banner { height: 220px; }

      .auth-wrap { margin-top: -150px; }

      .auth-card { padding: 36px 40px; }
    }

    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; }
    }
