:root {
  color-scheme: light;
  --primary: #1e6bff;
  --primary-hover: #1558d6;
  --primary-light: #e8f0ff;
  --ink: #1a1a2e;
  --ink-secondary: #4a5568;
  --muted: #9ca3af;
  --border: #e5e7eb;
  --border-focus: #93c5fd;
  --surface: #ffffff;
  --error: #ef4444;
  --shadow-card: 0 24px 64px rgba(30, 107, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  --radius-card: 16px;
  --radius-input: 8px;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
}

body {
  font-family: var(--font-display);
  color: var(--ink);
  background: linear-gradient(135deg, #dce8ff 0%, #eef3ff 35%, #f5f0ff 70%, #e8f0ff 100%);
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* 背景装饰 */
.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: rgba(147, 197, 253, 0.45);
}

.orb-2 {
  width: 360px;
  height: 360px;
  bottom: -100px;
  right: -60px;
  background: rgba(196, 181, 253, 0.35);
}

.orb-3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 55%;
  background: rgba(191, 219, 254, 0.3);
}

/* 主容器 */
.login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.login-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  width: min(960px, 100%);
  min-height: 560px;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* 左侧品牌区 */
.brand-panel {
  display: flex;
  flex-direction: column;
  padding: 48px 40px 32px;
  background: linear-gradient(160deg, #f0f6ff 0%, #e8f2ff 45%, #f5f8ff 100%);
  border-right: 1px solid rgba(30, 107, 255, 0.06);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo svg {
  width: 48px;
  height: 48px;
  display: block;
}

.brand-name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #0f2d6e;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-en {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #64748b;
}

.brand-slogan {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.brand-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 280px;
}

.iso-scene {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* 右侧表单区 */
.form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px 40px;
}

.form-title {
  margin: 0 0 36px;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-icon svg {
  width: 18px;
  height: 18px;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
  color: #c0c4cc;
}

.field input:hover {
  border-color: #d1d5db;
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.12);
}

.field input.is-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.toggle-password {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.toggle-password:hover {
  color: var(--ink-secondary);
  background: #f3f4f6;
}

.toggle-password svg {
  width: 18px;
  height: 18px;
}

.form-error {
  min-height: 0;
  margin: -8px 0 0;
  font-size: 13px;
  color: var(--error);
  line-height: 1.4;
}

.form-error:not(:empty) {
  min-height: 18px;
  margin-top: -4px;
}

.btn-login {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: var(--radius-input);
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(30, 107, 255, 0.35);
}

.btn-login:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(30, 107, 255, 0.4);
}

.btn-login:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-login:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.link-register {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.link-register:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.browser-tip {
  margin: auto 0 0;
  padding-top: 48px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 24px;
  background: rgba(26, 26, 46, 0.92);
  color: #fff;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
  pointer-events: none;
}

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

/* 登录后首页 */
.dashboard-page {
  min-height: 100vh;
  background: #f0f4fa;
}

.home-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 107, 255, 0.06);
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.home-brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.home-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.home-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #0f2d6e;
  line-height: 1.2;
}

.home-brand-en {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #64748b;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-btn,
.header-menu-btn,
.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.header-icon-btn {
  width: 36px;
  padding: 0;
  justify-content: center;
}

.header-icon-btn svg,
.header-menu-btn svg,
.user-menu-trigger svg {
  width: 18px;
  height: 18px;
}

.header-icon-btn:hover,
.header-menu-btn:hover,
.user-menu-trigger:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.chevron {
  width: 14px !important;
  height: 14px !important;
  color: #94a3b8;
}

.user-menu {
  position: relative;
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--primary);
}

.user-avatar svg {
  width: 16px;
  height: 16px;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 184px;
  padding: 14px 8px 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
  z-index: 200;
}

/* 透明桥接区，消除触发区与菜单之间的鼠标移动间隙 */
.user-dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
}

/* 可见菜单面板 */
.user-dropdown::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 45, 110, 0.12);
  z-index: 0;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.dropdown-item,
.dropdown-divider {
  position: relative;
  z-index: 1;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 15px;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 6px;
}

.dropdown-item-danger {
  color: #e11d48;
}

.dropdown-item-danger:hover {
  background: #fef2f2;
  color: #be123c;
}

.identity-section {
  position: relative;
  z-index: 1;
}

.dropdown-section-label {
  padding: 6px 14px 4px;
  color: var(--ink-muted, #94a3b8);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.identity-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.identity-item.is-current {
  background: #f1f5f9;
  color: var(--primary);
}

.identity-check {
  width: 12px;
  color: var(--primary);
  font-size: 13px;
}

.identity-name {
  flex: 1;
}

.rly-toast {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.home-hero {
  position: relative;
  padding: 48px 24px 56px;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(191, 219, 254, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, #e8f2ff 0%, #f0f4fa 100%);
}

.home-hero-bg::before,
.home-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.home-hero-bg::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: 15%;
  background: rgba(147, 197, 253, 0.4);
}

.home-hero-bg::after {
  width: 280px;
  height: 280px;
  top: -40px;
  right: 12%;
  background: rgba(196, 181, 253, 0.3);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.home-slogan {
  margin: 0 0 32px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #0f2d6e;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.home-search {
  display: flex;
  align-items: stretch;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(30, 107, 255, 0.1);
  overflow: hidden;
  border: 1px solid rgba(30, 107, 255, 0.08);
}

.home-search input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
}

.home-search input::placeholder {
  color: #c0c4cc;
}

.home-search-btn {
  width: 56px;
  flex-shrink: 0;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.home-search-btn:hover {
  background: var(--primary-hover);
}

.home-search-btn svg {
  width: 20px;
  height: 20px;
}

.home-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: -24px auto 0;
  padding: 0 24px 48px;
}

.app-section {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px 28px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(15, 45, 110, 0.04);
  border: 1px solid rgba(30, 107, 255, 0.05);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.section-link {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--primary-hover);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.app-grid-tools {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.app-grid-single {
  grid-template-columns: minmax(0, 360px);
}

.app-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  background: #fafbfd;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, background 0.2s;
}

.app-card:hover {
  border-color: rgba(30, 107, 255, 0.25);
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 107, 255, 0.08);
  transform: translateY(-1px);
}

.app-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.app-icon-blue {
  background: linear-gradient(135deg, #e8f0ff 0%, #d6e8ff 100%);
  color: var(--primary);
}

.app-icon svg {
  width: 22px;
  height: 22px;
}

.app-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.app-info strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.app-info span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 保费批量计算流程页 */
.workflow-page {
  background: #eef3fb;
}

.workflow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(191, 219, 254, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(196, 181, 253, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, #e8f2ff 0%, #eef3fb 40%, #f0f4fa 100%);
}

.workflow-main {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.workflow-card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 45, 110, 0.05);
  border: 1px solid rgba(30, 107, 255, 0.06);
}

.workflow-head-card {
  padding: 28px 32px 24px;
  margin-bottom: 16px;
}

.workflow-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.workflow-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.workflow-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.btn-outline {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: #e8f0ff;
}

.btn-primary {
  height: 40px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(30, 107, 255, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-primary.btn-sm {
  height: 34px;
  padding: 0 16px;
  font-size: 13px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.stepper-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  transition: all 0.25s;
}

.stepper-item.active .stepper-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.stepper-item.done .stepper-dot {
  border-color: var(--primary);
  background: #e8f0ff;
  color: var(--primary);
}

.stepper-item.active .stepper-label,
.stepper-item.done .stepper-label {
  color: var(--ink);
  font-weight: 600;
}

.stepper-line {
  width: 80px;
  height: 2px;
  margin: 0 12px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.stepper-line.done {
  background: var(--primary);
}

.workflow-body-card {
  padding: 24px 32px 28px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.link-action {
  border: none;
  background: none;
  padding: 0;
  font-size: 14px;
  color: var(--primary);
  cursor: pointer;
}

.link-action:hover {
  text-decoration: underline;
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 32px 24px;
  border: 1px dashed #c8d4e6;
  border-radius: 10px;
  background: #fafbfd;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.upload-zone.dragover {
  border-color: var(--primary);
  background: #f0f6ff;
}

.upload-zone.has-file {
  border-style: solid;
  border-color: rgba(30, 107, 255, 0.3);
  background: #f8fbff;
}

.file-input-hidden {
  display: none;
}

.upload-icon {
  color: var(--primary);
  margin-bottom: 12px;
}

.upload-icon svg {
  width: 56px;
  height: 56px;
}

.upload-text {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.upload-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
}

.upload-link:hover {
  text-decoration: underline;
}

.upload-file-name {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.upload-tips {
  margin: 16px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f2f5;
}

.panel-actions-center {
  justify-content: center;
  border-top: none;
  padding-top: 8px;
}

.calc-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 32px;
  text-align: center;
}

.calc-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #e8f0ff;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

.calc-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.calc-meta {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--muted);
}

.calc-progress {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background: #eef2f7;
  border-radius: 999px;
  overflow: hidden;
}

.calc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1e6bff, #4a90ff);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.calc-percent {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.result-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 8px;
  text-align: center;
}

.result-icon {
  color: #22c55e;
  margin-bottom: 16px;
}

.result-icon svg {
  width: 56px;
  height: 56px;
}

.result-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.result-meta {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--muted);
}

.result-file-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  padding: 16px 20px;
  background: #fafbfd;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  text-align: left;
}

.result-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e8f0ff;
  color: var(--primary);
  flex-shrink: 0;
}

.result-file-icon svg {
  width: 20px;
  height: 20px;
}

.result-file-info {
  flex: 1;
  min-width: 0;
}

.result-file-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-file-info span {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .workflow-head-top {
    flex-direction: column;
  }

  .stepper {
    flex-wrap: wrap;
    gap: 8px;
  }

  .stepper-line {
    display: none;
  }

  .workflow-head-card,
  .workflow-body-card {
    padding: 20px 16px;
  }

  .result-file-card {
    flex-wrap: wrap;
  }
}

/* 注册页 */
.register-panel .form-title {
  margin-bottom: 28px;
}

.register-panel .login-form {
  gap: 16px;
}

.link-back {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
}

.link-back:hover {
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 860px) {
  .login-card {
    grid-template-columns: 1fr;
    max-width: 440px;
    min-height: auto;
  }

  .brand-panel {
    padding: 32px 28px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(30, 107, 255, 0.06);
  }

  .brand-illustration {
    min-height: 180px;
    margin-top: 12px;
  }

  .iso-scene {
    max-width: 280px;
  }

  .form-panel {
    padding: 36px 28px 28px;
  }

  .form-title {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .browser-tip {
    padding-top: 32px;
  }

  .app-grid,
  .app-grid-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-header {
    padding: 0 20px;
  }

  .home-slogan {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .app-grid,
  .app-grid-tools {
    grid-template-columns: 1fr;
  }

  .header-menu-btn span,
  .header-menu-btn .chevron {
    display: none;
  }

  .home-hero {
    padding: 32px 16px 40px;
  }

  .home-content {
    padding: 0 16px 32px;
  }

  .app-section {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .login-shell {
    padding: 16px;
  }

  .form-panel {
    padding: 28px 20px 24px;
  }

  .brand-panel {
    padding: 24px 20px 20px;
  }
}

/* 热门应用双列（保费计算器 + 批量计算） */
.app-grid-dual {
  grid-template-columns: repeat(2, minmax(0, 360px));
}
@media (max-width: 900px) {
  .app-grid-dual { grid-template-columns: minmax(0, 1fr); }
}
